commit 051ab2fd9e1a71de05c8c4784ad8f214e49439b7
parent a661e4bfffd7a054697caff49e22543dbef623c6
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 14 Oct 2026 11:03:56 -0400
plans: umtool redesign — R4 refresh (fetch, what changed, auto update, the suggestion card) and R5 recurring reports, at the operator's request
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 55 insertions(+), 4 deletions(-)
diff --git a/plans/umtool-redesign.md b/plans/umtool-redesign.md
@@ -183,10 +183,12 @@ Each phase: its own branch from `main` (or the current integration branch), gate
```
NOW (beside r28) AFTER r28 IS ON main
-P0 design ─► P1 foundation ─┬─► P3 inbox/work/tools/URLs ─┬─► P2b jobs+drafts ─► P4a-1 ─► P4a-2 ─► P4a-3 ─► P4b ─► P6
- P2a engine ────┘ ├─► P5 create+settings (after P3)
- └─► R1 research: search+reader+inventory ─► R2 boards ─► R3 transparent runs (after r28)
+P0 design ─► P1 foundation ─┬─► P3 inbox/work/tools/URLs ─┬─► P2b jobs+drafts ─► P4a-1 ─► P4a-2 ─► P4a-3 ─► P4b ─┐
+ P2a engine ────┘ ├─► P5 create+settings (after P3) ├─► P6
+ └─► R1 research: search+reader+inventory ─► R2 boards ─► R3 transparent runs ─► R4 refresh ─► R5 recurring ─┘
```
+R4 and R5 were added 2026-10-14 at the operator's request (see their sections). R4 runs beside P4a-3/P4b; its
+Iterations-tab entry waits for P4b. R5 builds on R4 and on P5's Create.
### P0 — Design (no app code; operator sign-off gates P1)
- Use the frontend-design skill:
@@ -297,6 +299,53 @@ P0 design ─► P1 foundation ─┬─► P3 inbox/work/tools/URLs ─┬─
- on-screen (moved out of Build), narration, and "Draft with <model>" / "Draft everything" per section.
- One `JobProgress` for chain and editor jobs.
+### R4 — Refresh: re-fetch, see what changed, update (operator, 2026-10-14)
+A report iteration that is "fetch what's new, check it, update" — cheap and deterministic until something changed.
+- **Where:** a **Refresh** action on the article piece (head ⋯ menu; the Next card when a refresh is suggested; the
+ Iterations tab once P4b lands), and `umtool refresh <article>` / `pnpm ops report-draft {"task":"refresh"}`.
+- **Stage 1 — fetch (Archilyzer, no model).** Scope: the current report's iteration scope (channels, from/to) plus every
+ channel its citations touch. Plan, then the editor's own paced actions: `sync` per video channel, `fetch-posts` per
+ posts channel, `transcribe-bucket` for what lands — refused for a platform held or cooling down (polite scraping);
+ then a **local build** of the site whose build holds those channels (build only, never a deploy — through the publish
+ lock; Candace and other local-only channels stay local), because `report-draft` reads a composed build
+ (`corpusSource.ts`) and fresh videos are invisible to it until a build includes them (the research run's
+ `autoContinue: held` already waits on the same thing). The jobs show in the Running list.
+- **Stage 2 — what changed (deterministic, no model).** Re-run the original enumerate with the iteration's recorded
+ terms and scope (R3's trace `scope`/`terms`/`enumerate.ids`; a pre-R3 iteration: its question + channels, with the
+ citations as the old set) → **new** recordings (ids not matched before, including old videos that only now have a
+ transcript) and **changed** ones; re-verify every cited quote against today's transcript (R2's verify: changed words,
+ `en` vs `en-orig`, deleted sources). Written as the new iteration's `refresh.json`; shown as "4 new recordings
+ match · 2 quotes changed · 1 source deleted". **Nothing changed → the iteration ends "no change", $0.**
+- **Stage 3 — update (model) runs on its own** (operator ruling 2026-10-14) when stage 2 found anything, within the
+ policy's caps (per-job cap, daily cap; a cap refusal becomes a **Your call** card with the delta and the estimate).
+ Engine: `report-draft {"task":"refresh","article","iteration"}` = a sweep restricted to the new ids (a new
+ `ids` restriction on the sweep — channels and dates alone would miss late transcripts) over the parent's question,
+ then a revision of the parent report with those findings and the drift fixes, keeping everything still verified.
+ The result is a new iteration and an **iteration-ready** Review card — making it current stays the operator's call.
+- **Optional suggestion (operator: include it):** a cheap daily check per active or published article (stage 2's
+ enumerate only — no fetch, no model) → a `refresh-available` Inbox card "3 new recordings mention this since
+ <date>" whose action is **Refresh**. Muted/parked/done pieces are skipped.
+- Gates: common + editor tests and builds (the engine change), the full editor e2e at merge, an editor restart at ship.
+
+### R5 — Recurring reports (operator, 2026-10-14)
+The same topic, updated at an interval — e.g. a daily or weekly report of co-host updates.
+- **Create → "A recurring report"**: topic/question, scope (channels or a board's scope), cadence (daily · weekly on
+ <day> · every N days, at a time), and one of two shapes, each one sentence on the form:
+ - **Living report** — one article kept current: each tick runs R4's Refresh (stages 1–3) and lands an
+ iteration-ready card. Optionally "make current automatically" per series (default off).
+ - **Series** — a new dated **edition** each tick covering only the window since the previous edition
+ ("Co-host updates · week of 2026-10-13"): a sweep with `from` = the last edition's window end, after R4's stage 1
+ fetch + build. An empty window is recorded as a quiet edition (no article, $0). Editions belong to a series piece
+ `s:<series>` with its own page (editions newest first, the next tick, pause/resume, cadence) and one Work row.
+- **Scheduler: the editor**, the always-on process with the heartbeat, the caps, the pause gate and
+ `ARCHILYZER_IDLE_BOOT` — a `report-schedule` runner lane; the schedule is stored beside the article/series in the
+ article store, written only through an ops action (`pnpm ops report-schedule`). umtool shows and edits it; it never
+ runs a timer itself.
+- Surfaces: a cadence chip in the piece head ("weekly · next Mon 06:00", pause/resume); Work's "recurring" facet; each
+ finished edition or refresh → a Review card; a failed tick → Your call; spend per tick in the Running list.
+- The existing hand-kept co-host timeline (`quartering-leads`, `cohosts/UPDATE.md`) is the first candidate series — a
+ pilot after R5 ships, with the operator's go.
+
### P6 — Cleanup, docs, audit
- Redirects become 308.
- Delete `/drafts`, `BrowseHeader`, the dashboard panels and dead components.
@@ -358,7 +407,9 @@ P0 design ─► P1 foundation ─┬─► P3 inbox/work/tools/URLs ─┬─
| P4a-3 song pieces | `ux/p4a3` | in progress |
| R3 transparent runs | `ux/r3` → `main` `6362cf40` | LIVE 2026-10-14 (editor HqcZW4aJ…, umtool 85Ultdj2…) |
| P4b benches + Media | `ux/p4b` | in progress |
-| P6 cleanup, docs, audit | — | after P4a-3 and P4b |
+| R4 refresh | `ux/r4` | in progress |
+| R5 recurring reports | — | after R4 |
+| P6 cleanup, docs, audit | — | after P4a-3, P4b, R4, R5 |
### P2a, as shipped