commit 2b2e67468ab362f2cfe73a6190254ba4df66f917
parent 056dc06fb5b876d24d6cdf75a28a6f65f103457a
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 14 Oct 2026 16:22:19 -0400
plans: umtool redesign — P6a as shipped (deletes, Settings · system, the audit, the docs); [Unreleased] bullets
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 112 insertions(+), 1 deletion(-)
diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md
@@ -1,6 +1,12 @@
# Changelog
## [Unreleased]
+- **umtool's docs follow the redesign.** `umtool/docs/` has a sheet per place — `inbox.md`, `research.md`, `work.md`, `piece.md`, `tools.md`, `settings.md` — and `refresh.md` and `recurring.md`; the README lists the places, Create's lines and every old address with where it lands now. The dashboard, browse, decisions, sites and projects sheets are folded into them.
+- **umtool's Settings · system says its status in lines.** The tools and free disk, the roots, the index ("51 records · rebuilt 3 min ago", once — the tools panel no longer repeats it), umtool's own jobs, the projects by state, the deliverables, the sources nobody has checked (**Re-check N projects**), then storage last. **Check** / **Check again** probe the tools.
+- **In umtool a state is never a verdict colour.** "In the making", an open decision, an iteration running or queued, a research proposal waiting, a refresh held by the cap, open notes and a clip not fetched yet wear a neutral dashed tag; the moss, ochre and brick stay for judgements. **Use this iteration**, **Start iteration**, the research queue's **Yes** and **Continue into a sweep**, the song benches' buttons and the on-screen editors' saves are outlines — one filled action per view (the Next card's, the verdict bar's) — and a chosen toggle (a preset, a picked variant, the plan shown, an accepted cover) is pressed in, not lit.
+- **A song's cuts have one address: the song's full path.** The Cuts tab's cut cards, a cut page's plan links and a song's Inbox calls link `/projects/<path>/<cut>`; the short `/projects/<song>/<cut>` still opens it.
+- **umtool's Media tab says what is off, whole:** "Drafting is off: no article iteration made this project." / "Drafting waits for <article> i<n>, which is running."
+- **umtool's dead pages are gone, their addresses kept.** `/drafts` redirects to Create's article form (as it did); the old `/articles` and `/sites` list pages, already behind their redirects to Work, are deleted. The faces and trim pages light Tools in the rail. Needs a restart of umtool.
- **Refresh an article: fetch what is new, see what changed, update.** `pnpm ops report-draft --json '{"task": "refresh", "article": "<id>"}' --wait` (or umtool's **Refresh…**) takes the article's current report — or the iteration named by `"iteration"` — and runs ONE job on its own lane, `draft:refresh`: it fetches the report's scope and every channel its citations touch through the editor's own actions (`sync`, the channel's report, `transcribe-bucket` for only what landed; `fetch-posts` for a posts channel; a platform held or cooling down is skipped and said), builds the site whose build holds them locally (never a deploy), searches again with the report's own recorded enumerations (its trace; an older run's turns; else its question) and reads every cited quote again (words changed, `en` against `en-orig`, a source gone). Nothing changed: the new `refresh` iteration ends **no change**, $0. Something changed: a sweep of only the new and changed recordings, then a revision of the report with its findings and the quote fixes, within the caps — past one it ends **held by the cap** with the delta and the estimate. What it found is the iteration's `refresh.json`; the log ends `@@report-draft {…, refresh: {status, newIds, changed, drifted, deleted, summary}}`. `"fetch": false` reads the corpus as it stands; `"dryRun": true` answers the plan and writes nothing. Needs a restart of the editor and umtool.
- **umtool's Refresh: plan, then confirm.** The article piece's **⋯ → Refresh…**, the Iterations tab's **Refresh…** and the Next card (when one is suggested) open the plan — the iteration refreshed and what it searches again, each channel's fetches or why one is skipped, the site built, the model, the cap and the day's spend — and **Refresh** starts the job (the Running list follows it). The Overview then says what it found: "1 new recording matches · 1 quote changed" (or "Nothing new since <date>"), the new recordings, the quotes that changed and what they say now, the fetches and the build, the spend or the cap that held it; the sources gone are said by where ("1 source deleted on YouTube", "1 source gone from the archive"), and for an iteration made before match counts were kept, changed recordings are "not tracked before <date>" rather than none; a refresh's card on the Iterations tab carries the same line. A refresh with a report is an **iteration ready** card like any other; making it current stays yours.
- **The Inbox suggests a refresh.** Once a day per active article with a current report (parked, done and muted pieces are skipped), umtool runs the report's enumerations again over the corpus it read — no fetch, no model — and an article with new matches gets a **Review** card, "3 new recordings mention this since 2026-10-01: …", whose action is **Refresh**. The check reads the build the report read, else the research corpus — and only when that corpus holds every channel of the report's scope: otherwise the article is **unchecked**, with why ("the build holding harbor-radio is not on this machine; channels not in the research corpus: …"), and gets no card. A refresh the cap held is a **Your call** card until something newer runs. The check is kept in `REPORTS_ROOT/.umtool/refresh-check.json`; `umtool refresh --check` runs it now and prints the unchecked ones with their reason.
diff --git a/plans/umtool-redesign.md b/plans/umtool-redesign.md
@@ -443,7 +443,8 @@ edition reviewed with the operator before the schedule is left on.
| R5 recurring reports | `ux/r5` → `main` `0bf4aacd` | LIVE 2026-10-14 (editor 379S-Sk9…, umtool vWDhtigj…) |
| R6 triage first | `ux/r6` | in progress |
| Co-host pilot | — | after R6 (operator-approved) |
-| P6 cleanup, docs, audit | — | after P4a-3, P4b, R4–R6 |
+| P6a cleanup, docs, audit | `ux/p6a` | shipped on the branch (before R6) |
+| P6b 308s, screenshot audit | — | after R6 |
### P2a, as shipped
@@ -2828,3 +2829,107 @@ schedules, the lane armed and not held; a dry-run of the co-host series (`the-qu
2026-10-18 ("Co-host updates · week of 2026-10-12"), $5 a tick, and stores nothing; `/create` offers "A recurring
report"; `/work?recurring=1` 200. No schedule exists until the operator (or the pilot, with the operator) makes one.
+
+### P6a, as shipped
+
+**What.** The cleanup, the docs and the audit list that do not wait for R6; the 308 flip and the full screenshot audit are
+P6b's. No URL moved; every old address still lands.
+
+- **Deletes** (each with its proof: nothing imports it — a resolver over every `import`/`export … from` in `app`,
+ `components`, `lib`, `bin`, `e2e`, `scripts`, run before and after; or it is unreachable behind a redirect row):
+ - `components/BrowseHeader.tsx` — its 11 call sites render `AppShell` directly (same crumbs, note, `<header>`,
+ `.micro`, `[data-nav-group=song]`, `aria-current`); a tool page passes its own key, so `/tools/faces` and a trim set
+ light Tools (they lit Work).
+ - `app/articles/page.tsx`, `app/sites/page.tsx` — unreachable since P3's `/articles` and `/sites` rows.
+ - `app/drafts/page.tsx` — now a P6 row, `/drafts` → `/create?make=article` (where the page sent it).
+ - `components/shell/JobProgress.tsx` — a re-export for `RunningList` alone, which imports `components/ui/job-progress.tsx`.
+ - `components/ui/verdict.tsx` and its `.verdict` CSS — imported by nothing since P1.
+ - `components/dashboard/{Panel,ToolsPanel,NowPanel,StateStrip,SourcesPanel,DeliverablesPanel}.tsx` — the old dashboard
+ panels, rewritten as `components/system/{ToolsPanel,Status}.tsx` (+ `NowLive.tsx` moved) on the ui `Panel`, every
+ `data-*` kept. `components/dashboard/` keeps the Inbox's own (`InboxList`, `Lifecycle`, `ResumeChip`, `SlashFocus`,
+ `ToolList`, `CheckSourcesButton`).
+ - Kept, by rule: `lib/report/chain-run.mjs` (the resolver's only other "unused" file: it is executed, not imported).
+- **Settings · system in status lines.** The index is said once, in its panel ("51 records · rebuilt just now", or "No
+ index — every read walks the disk."); Tools & disk says the free space and the tools (**Check** / **Check again**);
+ roots "= reports · UMTOOL_MEDIA_DIR unset", an old cache "not read; safe to delete"; Sources one count line with
+ **Re-check N projects**; Activity, Projects (**Every project →**), Deliverables (**Built →**); Storage, the long list,
+ last.
+- **The audit list.**
+ - A state is never a verdict colour: `badgeVariants` gains `state` (a dashed ink edge) for "in the making", an open
+ decision's chip (`TONE.open`), an iteration running or queued, a research proposal waiting, a refresh held by the cap,
+ open notes, a clip not fetched yet.
+ - One filled action per view: IterationsTab's **Use this iteration** and **Start iteration**, ResearchSlot's **Yes** and
+ **Continue into a sweep**, StructureEditors' saves are outlines.
+ - The song benches (CutBench, ProvenancePanel, LoudnessTable, SpecSheet, ThumbBench, NoteField, VerdictChip, MomentMarks,
+ PlanDiffPanel, CopyButton) are `buttonVariants` outlines; a pressed toggle (blind, the picked variant, the plan shown,
+ an accepted cover, the chosen generation preset) wears the panel ground. Signal stays on focus and the cut slider.
+ - One address per cut: the Cuts tab's cards, the provenance plan links and a song's decision hrefs use the full path
+ (`songProjectId`, `lib/browse.ts`; the decision's `project` stays the basename, the notes' target); the short
+ `/projects/<song>/<cut>` still resolves through the basename alias.
+ - Media: "Drafting is off: no article iteration made this project." / "Drafting waits for <article> i<n>, which is
+ <status>."
+ - Found on the way: `umtool show` and `umtool check-sources` named `/browse/decisions` and "the dashboard"; Re-check in
+ sentence case.
+- **Docs.** `umtool/docs/`: `inbox.md`, `research.md`, `work.md`, `piece.md`, `tools.md`, `settings.md`, `refresh.md`,
+ `recurring.md` (new); README (the places, Create's lines, the old-address table); `dashboard`, `browse`, `decisions`,
+ `sites`, `projects` folded in and deleted; the other sheets' addresses and "project page" now name the tab; `notes.md`
+ keeps its agent loop and says where each kind of note is written. Every relative link and anchor checked by a script.
+ AGENTS.md (where notes are written), FACTS (a new section: places, piece ids, the `.umtool` files, the one stage rule,
+ the decisions API, the 16-row redirect table, a claimed project's redirect, a song's address, colour roles; three stale
+ lines fixed), OPERATING.md (Create, the Iterations tab, the Media tab, `/settings/generation`, the ⋯ deletes), REPORT.md.
+
+| sha | what |
+|---|---|
+| `0353424a` | deletes: BrowseHeader, the dead list pages, `/drafts`' page (a P6 row), the JobProgress re-export, the Verdict primitive; `shell.spec` (tool pages light Tools), `redirects.spec` (the P6 row) |
+| `9206e3da` | Settings · system: the dashboard panels to `components/system`, status lines; `settings.spec` (the index line, no index on Tools & disk) |
+| `1f8136f9` | the audit: `state` tag, outlines, the cut's full path, the Media line; `article-iterations`, `song-piece`, `media-surfaces`, `piece` specs |
+| `356b897a` | `umtool show` points at the Inbox |
+| `821c6be2` | Re-check in sentence case |
+| `658e992f` | the chosen preset is a pressed outline |
+| `3c7f88a1` | docs, AGENTS, FACTS, OPERATING, REPORT |
+| `4a224e58` | `umtool check-sources` names Settings · system |
+| `a4406b50` | the cut page's last Signal outlines (the full run's one red) |
+
+**Gates.**
+
+| Gate | Result |
+|---|---|
+| repo-wide `tsc --noEmit` | clean at `4a224e58` (and `0353424a`, `1f8136f9`); `pnpm --filter umtool typecheck` clean at every commit |
+| umtool unit (`node --test umtool/lib/*.test.mjs umtool/lib/*/*.test.mjs umtool/report-to-video/*.test.mjs`) | 858 tests, 856 pass, 2 skipped, 0 fail |
+| `pnpm --filter umtool test` | 28/28 |
+| `pnpm run test:scripts` (reads the capped build's traces) | 1010 tests, 1008 pass, 2 skipped, 0 fail |
+| `pnpm archilyzer docs cli --check` | clean |
+| capped umtool `next build` (corpus linked, `MemoryMax=5G`, heavy slot `--build --estimate 5120`) | exit 0 at `4a224e58`: compiled 13.2 s, 43 s wall, 1.54 GB max RSS; the link removed |
+| full umtool e2e, run 1 (`4a224e58`, detached, queued) | 470 tests: 463 passed, 1 failed, 6 skipped, 11.3 min. The red was this lane's new assertion on a cut page (`song-piece.spec:164`, no Signal-outline control in `main`): four more — the plan compare and the copy buttons — fixed in `a4406b50` |
+| `song-piece.spec` + the screenshot pass (`a4406b50`) | 30/30 (9 + 21 shots) |
+| full umtool e2e, run 2 (`a4406b50`, queued ~1.5 min behind `ux-r6`) | 470 tests: 461 passed, 3 failed, 6 skipped, 11.2 min. The reds: `board.spec`'s serial chain (`:102` — `s` did not mark the speaker checked under load — and the two after it that read its board). No board file is touched here; `board.spec` alone at the same tip **3× — 7/7, 7/7, 7/7** |
+| common, editor, mcp | not touched |
+
+**Screenshots** (job scratch `p6a-shots/{before,after}/`, 1366×768, dark and light, the e2e start build over the
+fixture; before = this branch's first commit, which changes no pixel but the faces and trim pages' rail): Settings ·
+system and · generation; an article in the making (its head and its Iterations tab); a song's Overview, Cuts, Spec,
+Cover, Notes and a cut page; a report video's Overview and Media tab; and every page moved off `BrowseHeader` —
+`/projects`, a sweep report, `/sites/priv`, an evidence walk, `/tools/{find,faces,sources,bench,trim/mk-hooks}`. Seen:
+the "IN THE MAKING", OPEN and running/queued tags dashed ink; Use this iteration and the song benches' controls ink
+outlines, the Next card's action the one filled button; the system page's index said once and storage last.
+
+**Found and left** — P6b inherits:
+- **The 308 flip** of all 16 `redirects.mjs` rows (`redirects.spec` asserts 307 today) and **the full screenshot audit
+ against the canvas**.
+- **R6's files, not touched here:** the paused schedule chip is the doubt colour on a state in `PieceFrame`'s head AND on
+ `app/series/[id]/page.tsx` — change both together; R6's triage kinds and the `watch` shape belong in `inbox.md`'s
+ tables and `recurring.md`; Create's, the series page's and the run page's audit.
+- **Signal or a verdict colour still on a state or an action, outside the listed benches** (38 files still name
+ `--color-sel`; most are focus rings): `NewArticleForm`'s **Start** and `NewProjectMenu`'s `/projects` submit and
+ `ActionPlan`'s confirm are `primary` (Signal outline); `OnscreenSection`'s "estimated" tag is `open`; `PlanDiffPanel`
+ colours swapped / added / removed deltas with the verdict colours; TrimBench (**play selection**, **run the chain** in
+ Signal, **clear trim** in the kept colour), FaceDeck, Deck, MixBench, PhraseConsole, WordSelector, ArticleReader,
+ NoteCards and NoteThread hand-roll Signal.
+- **Lowercase button labels** against the copy rule: the Build tab's **show the command** / **run** / **cancel**, the
+ Sources tab's **tag N videos**, the song benches' **mark this moment**, **promote … to …**, **retire**, **save**,
+ `/projects`' **+ new project**, **filter**, **copy the whole picture**, the deck's and the trim bench's.
+- `/settings/generation`'s Spend today aside renders "2026-10-14UTC" (no space).
+- **Names that outlived the dashboard:** `components/dashboard/` (now the Inbox's own components) and `lib/dashboard.ts`
+ (the projects note, the state rows, the source buckets) — a rename after R6 lands, which adds Inbox cards there.
+- **`/drafts` lands on Create's article form**, as the deleted page did; the plan's earlier notes said the Inbox. The
+ reviewer's call.