Repository navigation
Description
Problem
Scanning the Agents sidebar (or afx status) means re-reading every lane, including ones the owner already knows are waiting on something external — feedback requested, blocked on a third party, deliberately deprioritized. There is no way to record "I don't need to watch this until I say otherwise" where the row itself shows it, so the owner re-derives the same "skip that one" decision on every scan and attention surfaces keep counting lanes that need no attention.
Design: an attention axis, not a status
afx park sets an owner-set attention flag on a builder lane. It is orthogonal to protocol state: porch phases, builder status, gates, and delivery are untouched. Parking changes only what demands the owner's eyes.
Model (per builder row, all nullable):
parked_reason— short free text. Suggested vocabulary:on-hold,waiting-feedback,low-priority; the framework does not privilege values (teams own their semantics). Singular, not a tag set: one attention state per lane, set or cleared.parked_note— optional free text ("asked omar for logs").parked_at— timestamp, for the age display.parked_until— optional date: snooze semantics. On expiry the flag renders as expired (owner re-decides) rather than silently vanishing.
The rule that makes it safe — hard events break through. Parking suppresses soft attention only (activity, phase-change bells, idle nags, attention-view rollups). A parked lane that requests a gate, has escalated held mail, or goes blocked MUST still surface, rendered as parked-but-demanding (e.g. ⏸ parked ⚡ gate waiting), without clearing the flag. A parked lane's gate request rotting silently is the #1717 lost-approval failure; this rule is a requirement, not a preference.
Human-set only. Builders and architects do not park themselves; an agent sets a flag only on the owner's explicit word (the #1720 self-reporting lesson: a lane is the worst judge of whether it deserves attention). Enforced by documentation and review, not runtime identity checks, in v1.
Set paths (all write through one Tower endpoint)
- CLI (canonical):
afx park 0366 waiting-feedback --note "asked omar for logs" afx park 0366 on-hold --until 2026-09-26 afx unpark 0366 # alias: afx park 0366 --clear afx park # no args: list parked lanes across the workspace
- Sidebar right-click on a builder row: "Park lane…" → quick-pick (recently used values first, free text allowed) → optional note. Parked rows offer "Unpark" / "Edit note".
- Clicking the row's park chip: Clear / Edit note / Change until.
- Command palette: "Codev: Park Builder…". (Dashboard row action same as sidebar; Stream Deck park-focused-lane key is v2, not gating.)
Rendering
- Sidebar: parked rows DIM, sort to the bottom of their group, carry a chip
⏸ waiting-feedback (2d). Group headers split the count:MAIN (5, 2 parked). afx status: a PARKED column (reason + age).- Dashboard: same chip treatment; attention rollups and the VS Code Attention view EXCLUDE parked lanes (subject to the break-through rule).
Implementation tap-ins (verified against source)
- Resolution: reuse the single address resolver exactly as
afx interruptdoes — importdetectWorkspaceRoot/detectCurrentBuilderId/architectSenderIdfromsend.ts("there is exactly one address resolver" is documented doctrine ininterrupt.ts).interrupt.tsis the template for the command shape (~40 lines, lazy-imported module, TowerClient call). - Write: one new Tower endpoint mutating the three/four columns on the
buildersrow — never a direct DB write, same discipline as every other state change. - Broadcast: after the write, the same
TowerClient.refreshOverview()SSE nudgecleanupuses, so the chip appears the moment the command returns. - Columns are agent-neutral names on the
builderstable; DB migrates automatically on first start as usual.
Naming
park/unpark chosen deliberately over flag (collides with the extension's flag-for-review gestures — same surface, opposite meaning) and tag (implies an accumulating set; this is a singular state).
Related
- lane card: capture and surface the user's last ask per lane (hook-based, latest-only, loopback-only) #1674 (lane card: last user ask per lane) — complementary attention-surface work;
parked_noteis its manual cousin. - The VS Code Attention view (3.3.2) gains its missing exclusion input.
- architect liveness: characterize dead-architect visibility and send behavior (prior claims partly retracted); architect table pid=0; no architect recover command #1717 (break-through rationale), RFC: inter-agent exchanges need a loop bound and a human escalation gate #1720 (no self-parking rationale).
Activity