Skip to content

feat(framework): dashboard mode checkboxes for the active Open Loop modes (#272)#274

Merged
suleimansh merged 1 commit into
mainfrom
feat/dashboard-mode-checkboxes
Jul 5, 2026
Merged

feat(framework): dashboard mode checkboxes for the active Open Loop modes (#272)#274
suleimansh merged 1 commit into
mainfrom
feat/dashboard-mode-checkboxes

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Closes #272. Follow-up to #270 (AI meta-select).

A run under a domain preset now shows a Modes panel on the dashboard with the run's modes as read-only checkboxes, so the policy driving the build is visible next to the stack + loop panels:

Modes
[x] technical
[ ] autopilot

How

  • New modes framework event { all, active }, emitted once from runFramework when a domain preset is in effect (no preset = no event = no panel).
  • OPEN_LOOP_MODES is now the single source of truth for the mode ordering, shared by the dashboard and the meta-select router (META_SELECT_MODES aliases it).
  • Dashboard renders the panel (hidden until the event), read-only for now.
  • The event rides the persisted stream, so --resume rehydrates the panel too.

Verified

  • Live CLI (--fake --preset software-development --technical): terminal shows modes: [ ] autopilot [x] technical; the event carries active: ['technical'].
  • 137 framework tests green (+3): event emitted with the right active set / not emitted without a preset, checkbox formatting, panel + renderer ship in the page.
  • No headless browser tooling in this env, so the in-browser render itself was verified structurally (panel + renderModes present + the emit/format/SSE chain), not by screenshot.

Read-only reflects the resolved modes; making them togglable mid-run is a separate, larger change.

…odes (#272)

A run under a domain preset now emits a 'modes' framework event carrying the
known modes and the active subset; the dashboard renders them as read-only
checkboxes in a Modes panel. OPEN_LOOP_MODES is the single source of truth for
the ordering, shared with the meta-select router. No preset = no event, no panel.
The event persists, so --resume rehydrates the panel.
@suleimansh suleimansh added enhancement New feature or request priority: low Nice to have / latent labels Jul 5, 2026
@suleimansh suleimansh self-assigned this Jul 5, 2026
@suleimansh suleimansh merged commit 5f319ff into main Jul 5, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/dashboard-mode-checkboxes branch July 5, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: low Nice to have / latent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard: show the active Open Loop modes as checkboxes

1 participant