Controller report: daily roll-up, its guards and copy pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+58
−0
docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md+58 −0
CI cancelled — superseded by a newer push — run details
diff --git a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md| index 44aa2709..fbfd0e82 100644 |
| --- a/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md |
| +++ b/docs/superpowers/plans/CONTROLLER-REPORT-plan-3.md |
| @@ -7141,3 +7141,61 @@ effort high) reviewed the two strings branch empty-repo-merge adds, both |
| shown to people: it accepted `work.reason.merge_unborn_default` and revised |
| `work.triage.waiting` (rows above, COPY ACCEPTED BY DELEGATION (Astra, |
| 2026-11-11); copy.go matches). |
| + |
| +## Daily roll-up (2026-11-12) |
| + |
| +Paul, 2026-11-12: yesterday's scrollback is chaff; roll each finished day |
| +into a box that says what was done and links to the transcript. Fast lane |
| +with a self-review; no Astra code review (the coordinator's context is not |
| +touched: no change to Snapshot, the person API or the conversation |
| +package). |
| + |
| +- When: a day is rolled up once it is over in the person's zone. The app |
| + records no browser zone; the chat store's zone helper (UTC until a |
| + person's zone is known, the one housekeeping uses) decides, through the |
| + new `Store.Zone`. Today is never rolled up. |
| +- The box: date, message count, and rows from records (no model): |
| + Added, Merged, Finished, You decided (the answered card's own note), |
| + Still open; task titles link to their pages, five per row then |
| + "and N more". |
| +- The transcript opens inline (`?day=`, also the scriptless page): |
| + cards keep working where they stand, `?message=` links land in the one |
| + conversation with the composer, and chat-stream.js asks for opened days |
| + on every refresh so the live feed keeps them open. |
| +- Open items: cards still asking and tasks still underway from earlier |
| + days stand at the top of today with their buttons, once (left out of an |
| + opened day's transcript). |
| +- Loading: earlier days render boxes only (14 latest days with messages, |
| + plus any day asked for); a day's messages load when it is opened. |
| +- Not built: the optional model narrative (v1 is deterministic only). |
| + |
| +Guards, each broken once (then restored) to see its test fail: |
| + |
| +| Break | Failed | |
| +| --- | --- | |
| +| Today's window starts after midnight (`created_at > from`) | TestRollupDayBox: today's first message rolled up | |
| +| Today a microsecond earlier | TestRollupDayBox: yesterday's last message outside its box | |
| +| Earlier days and their records read up to tomorrow | TestRollupDayBox: today rolled up; TestRollupExpand: ?day=today opened something | |
| +| Open cards dropped from the store read | TestRollupDayBox: no Still open row | |
| +| Open cards not surfaced in today | TestRollupDayBox: open merge card not at the top of today; TestRollupExpand: shown 0 times | |
| +| Open card not removed from an opened day | TestRollupExpand: the open card shows 2 times | |
| +| Day never expands | TestRollupExpand: day not open | |
| +| `?message=` does not open its day | TestRollupExpand: the link did not open its day at the message | |
| + |
| +Verification (targeted): `go test ./internal/thintest -run TestRollup`, |
| +`go test -tags browser ./internal/thintest -run TestBrowserRollup` |
| +(1280 light, 390 dark), the existing conversation contract and page tests |
| +in thintest and plan3test, `go test ./internal/equipo ./internal/equipo/chat`, |
| +headless TestBrowserReceipts*, TestBrowserThinkingAndCards and |
| +TestBrowserRefreshRace, TestPlan3ReleaseBoundaries, budget size, vet and |
| +staticcheck on the changed packages: ok. |
| + |
| +## Delegated copy pass: daily roll-up (Astra, 2026-11-12) |
| + |
| +Paul delegated copy review on 2026-10-25. One Astra pass (gpt-6-astra, |
| +effort high) reviewed the 13 strings: it accepted ten, revised |
| +`chat.day.started` to "Added" and `chat.day.quiet` to "No tasks added or |
| +decisions made.", and proposed "Needs you" for `chat.day.open`. A |
| +follow-up gave the fact the brief left out (the row also lists unfinished |
| +work that asks nothing yet) and Astra kept "Still open". Rows above, COPY |
| +ACCEPTED BY DELEGATION (Astra, 2026-11-12); copy.go matches. |