Repository navigation
feat(ui): add the agent board panel and tasks search over ListAgentBoards (RIG-5409) - #2300
rigel-mintaka wants to merge 2 commits into
Conversation
|
Compass engineering docs preview: https://compass-ux-5409-board-panel.compass-eng-docs.pages.dev Deployed from |
Review result
Notes: round 1 on 2900a9c found 2 medium and 1 low.
The fixes are in 6f1ae8e, and round 2 found 0 findings. Each new test fails against its mutation. Gates: |
1e8efc4 to
85012ca
Compare
6f1ae8e to
7d022e0
Compare
85012ca to
75ad4ce
Compare
7d022e0 to
c89d5f0
Compare
75ad4ce to
1d3ec69
Compare
c89d5f0 to
8e9da03
Compare
Review result
Notes: Rebased onto #2292 1d3ec69 after compass-comms rebased the board line onto main 22d9fc0; empty interdiff against c89d5f0. compass-ui test 1635 pass, typecheck, stylelint and visual gate (19) green. The prior all-clear at 6f1ae8e carries. Gates: latest CI run green at this head; pre-push hooks passed. |
…ards (RIG-5409) AgentView shows the agent board under its header row. The panel reads ListAgentBoards, re-reads every 60 s and on each new board write for the agent, and opens an ask in its topic (or its channel when the message is not loaded). Palette search gains a tasks provider that matches task text and an exact ref and opens the agent. Spec-impact: none Refs RIG-5409 Co-authored-by: Matt Wilkinson <matt@rigel.build>
…links (RIG-5409) An automatic board patch keeps the write time, so the panel now re-reads on a per-agent board event count. A primary ref with an unsafe URL renders its text. Task search ranks across boards in server order. Spec-impact: none Refs RIG-5409 Co-authored-by: Matt Wilkinson <matt@rigel.build>
1d3ec69 to
e48fecd
Compare
8e9da03 to
ed3987f
Compare
Review result
Notes: Pure rebase by compass-comms onto #2292 e48fecd (itself rebased onto main 888ac07). git range-diff bfd7187..8e9da03 cad170c..ed3987f shows = for both commits; the interdiff against 8e9da03 is empty. The prior all-clear at ed3987f carries. Gates: latest CI run green at this head; pre-push hooks passed. |
This PR is part of a stack containing 4 PRs:
mainSummary
Finishes the UI half of the agent board (T9, D9 in
docs/designs/agent/compass-agent-status-record/design.md) overListAgentBoards.n/m, tip, stale approval), the note, waiting chips with theirblocksrefs, and subagents;ListAgentBoardsfor its agent through the shared query cache. It re-reads every 60 s and on eachAgentBoardChangedfor the agent, counted per agent in comms presence (boardEvents), because an automatic patch keeps the write time.openExternal.tasksdestination provider (kindtask): matches task title and note text, and does an exact ref read when the query looks like a ref. Rows keep server order across boards. Selecting a row opens the agent.Stack
On #2292 (asks and mirror state on boards). Below it: #2290 → #2285 → #2275 → main.
Tests
AgentBoard.test.tsx: the panel renders tasks, derived chips, waiting chips, subagents, asks (pending first) and untracked refs from a fixture.AgentBoard.test.tsxalso: a safe primary ref opens externally; an unsafe one renders as text.AgentBoardPanel.live.test.tsx:agentBoardChangedre-reads the board exactly once;destinations.test.ts: the tasks provider finds a ref (and tolerates a refused ref read) and opens the agent; rows keep server order across boards.compass-ui:test1614 pass, 0 fail; typecheck, stylelint and the visual gate (19 passed) green.Refs RIG-5409