Repository navigation
Description
Stage 2 of #1562, split out so Stage 1 (PR #1768) can close that issue cleanly.
Where Stage 1 leaves things
After PR #1768, submitting a review queue moves the comments into a sent array in the same per-builder <worktree>/.codev/pending-comments.json (each entry is the PendingComment plus sentAt) instead of deleting them. The next submit with sent entries present asks: re-send, mark delivered, or cancel. That closes the loss window. What it does not do is tell anyone, afterwards, which sent feedback the builder has actually acted on. "Did it address all N?" still runs on memory and the builder thread.
What Stage 2 delivers
A sent → actioned lifecycle for diff comments, surfaced where the architect already looks:
- Per-builder rollup of sent-but-unactioned feedback in the Attention view (Contextual panel: wire the Attention fallback body from OverviewCache (participating feature of #1049, skeleton fast-follow) #1553's per-builder rollup is the natural home) and in the contextual panel's Code Review body (Contextual panel: wire the Code Review body — render the pending review-comment queue for the shown builder (participating feature of #1049) #1559 renders pending today; it should gain a "sent, awaiting action" section reading the
sentarray). - A way to mark actioned. Manual architect action at minimum (per entry and "all for this builder"). Anything smarter rides on the builder-side signal below.
- Builder-side signal (design decision). vscode: resolve state on review comments + builder workflow for signalling addressed (#1055 follow-up) #1131 is landing resolve state for spec/plan REVIEW markers with the vocabulary
resolved, builder-may-resolve, "resolved is a claim the architect spot-checks". The vscode: resolve state on review comments + builder workflow for signalling addressed (#1055 follow-up) #1131 plan proposes reusing that vocabulary for diff comments. Decide here whether a builder can mark a sent diff comment actioned (and through what channel: a porch task boundary, anafxcommand, or editing the sent file in its own worktree, which it owns) or whether marking stays architect-only in v1. - Store accessor. Contextual panel: wire the Code Review body — render the pending review-comment queue for the shown builder (participating feature of #1049) #1559 noted a brief false-empty on a fresh window before the async queue load; a proper fix needs a synchronous or awaited store accessor, which belongs to the review-queue code this issue owns. Include it.
Constraints
- The store stays per-builder JSON in the worktree; no Tower or types change unless the builder-side signal needs one (route to main if so).
commentskeeps its name and shape (pending only); Tower's queued count reads onlycomments.- One canonical entry point per action; no duplicate affordances across the Attention view and the panel.
- Protocol or role wording for a builder-side signal lands in both
codev/andcodev-skeleton/.
Acceptance sketch
- After a submit, the architect can see per builder what is sent and not yet actioned, in the Attention view and the panel.
- Marking actioned (manual) removes the entry from the rollup and the file.
- If a builder-side signal is adopted: a builder marking a comment actioned shows up in the rollup without architect action, and the architect can still override.
- Tests on the projection and the store transitions; a manual walkthrough in a real window.
Refs: #1562 (Stage 1, PR #1768), #1131 (resolve vocabulary), #1553 (Attention rollup), #1559 (Code Review body).
Activity