feat(dashboard): default focus to agents pane
test / unit (pull_request) Successful in 18s
test / integration (pull_request) Successful in 1m9s

The dashboard is primarily an agent-management surface
(PRD 0020 + 0021); landing on the proposals pane was a holdover
from when proposals were the only thing the dashboard showed.
Default focus is now `PANE_AGENTS`, so j/k navigates the agents
list immediately on launch — the operator Tabs to proposals
when something queues. Focus choice still persists across
operations.
This commit is contained in:
2026-05-26 15:16:06 -04:00
parent 9646bc1c4c
commit 9622bdc619
+5 -1
View File
@@ -1220,7 +1220,11 @@ def _main_loop(stdscr: "curses._CursesWindow") -> None:
first_seen: dict[str, float] = {}
selected = 0
selected_agent = 0
focus = PANE_PROPOSALS
# Default focus on agents — the dashboard is now primarily an
# agent-management surface (PRD 0020 + 0021). The operator can
# Tab to proposals when something queues; until then, j/k go
# through the agents list.
focus = PANE_AGENTS
status_line = ""
# PRD 0020: bottles spun up from inside this dashboard session.
# Each entry: slug -> (context-manager, Bottle handle, identity).