commit 5ac393f557b0411ba9a6008ebc05fe06b944c570
parent 5d50b7b4684887ba3e2ed9c2747b9078cf57e25f
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 13 Oct 2026 13:37:13 -0400
plans: release 27 S8, as shipped — the umtool UI
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 35 insertions(+), 0 deletions(-)
diff --git a/plans/release-27.md b/plans/release-27.md
@@ -515,6 +515,41 @@ Gates:
- `docs env|files|cli --check`, `settings example --check`: clean.
- Editor build (heavy slot, 5 GB cap): clean in 49 s, `/api/ops/research-approve` and `/api/ops/report-draft` built. No editor e2e: the route has no spec of its own (its door and the job are in `_researchRuns.test.ts`).
+### S8, as shipped (2026-10-13, lane E, `r27/umtool-ui`)
+
+The umtool UI, on `r27/umtool-ui` from `r27/integration` `5962c543`, with S11's backend merged in at `b3f14445`.
+
+| Commit | What |
+| --- | --- |
+| `e1bd5439` | `lib/articles/generation.ts` (the editor over ops, the iterations view, the policy, the chain view), `lib/articles/compare.ts`; routes `app/api/articles/{policy,channels,generate,iterations,job,chain}`; `/articles/new` (`NewArticleForm`, `PolicyPanel`), the Iterations tab (`IterationsView`, `IterationsTab`, `ChainPanel`, `ResearchSlot`) in `ArticlePage`, `/articles/<id>/compare`; `/articles`' in-the-making list; `/drafts` redirects, the POC's lib, panel and route deleted; the editor stub's generation routes, `iterations-fixture.mjs` (zeta), the e2e env |
+| `f8a3875f` | e2e `article-new`, `article-iterations`, `article-compare`; the chain's steps read down; `docs/sites.md` |
+| `3556e54a` | merge `r27/integration` (S11's backend) |
+| `afbd921e` | the research route in the stub's presets; `autonomy` passed through; a research run copied with a model |
+| `dc5a1c5d` | `/drafts` redirects at request time; the CHANGELOG bullets |
+| (this commit) | this record |
+
+- **umtool writes nothing of the corpus but through the registry.** A generation, a copy, a narration and a cancel are the editor's (`report-draft`, `job cancel`), asked over `/api/ops` with `WORKER_TOKEN` (`agentToken`: the environment, else the editor's env files), which never reaches the browser. **Use this iteration** is common's `makeCurrent` in a umtool route: the registry's locked, validated writer, as the chain's `current` step already is.
+- **The policy** is `settings.generation`, read with `GET /api/ops/settings?key=generation` and written with `POST /api/ops/settings {patch: {generation: {routes|models|caps|cacheTtl}}}`; a preset is written as its routes. The editor's read redacts `apiKeyFile` (its name matches the secret pattern), so the panel reads the PATH from the checkout's `settings.json` (as `chain.mjs` reads `projectsRoot`) and only stats it; umtool never writes it. The day's spend is common's `dayUsage` over `paths.generationUsageFile`, read-only.
+- **The task picker:** the controller picks the sweep by the model's provider, so `/articles/new`'s agent / pipeline choice filters the models (Claude / local). The cap is sent for an agent only, and only at or under `caps.sweep`.
+- **Per-step model:** narration only (`task: narrate` with `model`). The extractor has no per-job key in `report-draft`; it is the policy's `models.extractor`, set on the panel.
+- **Polling:** the list every 3 s while an iteration is queued or running or a narration step runs; a job's log (`/api/ops/job/<id>?tail=12`) every 2.5 s; the chain every 2.5 s while its job runs.
+- **Make the video** is `planChain` with the policy's `projectsRoot`, started as a lib/jobs.ts job named `chain <id> i<n>` (one umtool job at a time, as every chain).
+- **An article in the making** (iterations, no report.json) opens on its Iterations tab (`?tab=iterations`; the meta says "in the making") and is listed on `/articles` above the store's table, never as a row of it.
+- **The research slot:** an iteration of kind `research` renders `ResearchSlot` (`data-research-slot`), its status only. S11's queue replaces its body.
+- **Labels (contracts):** buttons `Use this iteration`, `New iteration`, `Start iteration`, `Copy with model`, `Narrate`, `Make the video`, `Run the chain`, `Cancel the chain`, `Cancel i<n>`, `Start`, `Save caps`, the presets by name; regions `iterations`, `generation policy`, `i<n> video chain`; forms `new article`, `new iteration from i<n>`; selects `route <task>`, `<api|local|extractor> model`, `copy i<n> on model`, `narration model for i<n>`, `model for the new iteration from i<n>`, `i<n> chain from step`; checkboxes `compare i<n>`; the link `Compare i<a> and i<b>`; attributes `data-iteration`, `data-status`, `data-current`, `data-pending-article`, `data-side`, `data-chain-step`, `data-step-status`.
+
+Gates:
+- tsc clean (all packages), after the merge too.
+- `test:scripts` 851 pass + 3 skipped of 854. common, editor unit and mcp not touched (no file of theirs changed).
+- `docs env|files|cli --check`: clean.
+- umtool build (heavy slot, 5 GB cap, the corpus linked and removed): clean, 37 s, at `afbd921e`. The e2e start-mode build at `dc5a1c5d`: clean.
+- e2e (umtool suite, two specs a run, foreground):
+ - `article-new` + `article-compare` at `e1bd5439`: 5 passed, 1 failed, 37.3 s (a page-wide `alert` met Next's route announcer; the spec scopes it now). Re-run at `f8a3875f`: 6 passed, 16.3 s.
+ - `article-iterations` + `articles`: 6 passed, 0 failed, 45.5 s.
+ - After the merge, at `afbd921e`: `article-new` + `article-iterations` 7 passed, 40.2 s; `article-compare` + `articles` 5 passed, 11.4 s. At `dc5a1c5d`: `article-new` 3 passed, 30.0 s.
+
+Found: none outside the lane.
+
## Rollout
- Fast-forward `main`.