commit bb1cae641a37838a318af75b4eeef91174556e8d
parent 580543775501562e6a18df5a56d58076fb3a3d13
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 14 Oct 2026 14:07:35 -0400
plans: umtool redesign — R4 review follow-up (the coverage rule in the daily check, sources gone by where, changes not tracked before an older parent); the full editor and umtool e2e
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 37 insertions(+), 0 deletions(-)
diff --git a/plans/umtool-redesign.md b/plans/umtool-redesign.md
@@ -2540,3 +2540,40 @@ Refresh; the dialog is HandoffDialog's (the R2 plan-then-confirm) and the summar
`article-iterations`' stub job finished. Green in the full runs and in a rerun of the same three specs (22/22); the
refresh kinds add no card there (no check file; `UMTOOL_REFRESH_CHECK=0`). Not this lane's to change.
- **Not done:** a refresh's own run page; "make current automatically" (R5's living report decides that).
+
+**Follow-up (review, 2026-10-14).** Rulings accepted: no-change and held-by-cap end `done` with the outcome in
+`refresh.json` and iteration.json's `refresh`; "deleted" counts both kinds; changed recordings only from this release
+on; the update on the sweep route's model; not built — a refresh's run page, and "run just the update" from a held
+refresh (the held card's action stays **Refresh**). Three changes:
+- **The coverage rule in the daily check — no silent zeros** (`lib/inbox/refresh.ts` `pickCheckCorpus`). A check reads
+ the build the iteration read when it is on this machine AND holds every channel of the scope, else Research's local
+ corpus when THAT holds every channel; the entry says which (`corpus`: "its own build (local:…)" / "the research
+ corpus (local:…)"). When neither does, the entry is `status: "unchecked"` with the reason — "the build holding
+ harbor-radio, nowhere-chan is not on this machine; channels not in the research corpus: nowhere-chan" — never "0
+ new", and the article gets no `refresh-available` card. `umtool refresh --check` prints `UNCHECKED — <why>`, and a
+ checked one "over <corpus>". Unit-tested both ways (`lib/inbox/refresh.test.ts` +1): a build gone with the research
+ corpus holding the channel is a real check that finds the new recording; a channel no corpus here holds is unchecked
+ with that sentence and no card.
+- **The sources gone are said by where.** The delta keeps `deleted` and adds `goneFromArchive` and
+ `removedOnPlatform {source, state, platform}`; the summary line reads "2 sources deleted on YouTube · 1 source made
+ private on Rumble · 1 source gone from the archive" (`goneParts`; a record from before reads as it did). The editor's
+ disk reader takes the platform from the recording's metadata page; the revision's feedback names it.
+- **Changes not tracked before an older parent, never 0.** The basis says whether it carries matching-line counts
+ (`countsKnown`); when it does not, the delta's `changedTracked` is false with `changedSince`, the outcome's
+ `changed` is `null` (the log marker and iteration.json too), a warning reads "changed recordings are not tracked before
+ <date>: i<n> recorded no matching-line counts (new ones are still found)" (on the plan and the record), and the
+ Overview shows that line. Unit-tested (common `refresh.test.ts` +2).
+
+| sha | what |
+|---|---|
+| `9549f987` | the coverage rule (`unchecked`, with why), the sources gone by where, changes not tracked before an older parent; tests |
+
+Gates at `9549f987`: repo-wide tsc clean; common (`SETTINGS_FILE` at the primary's) **4116/4116**; mcp 365/365; umtool
+unit 854 tests, 852 pass, 2 skipped, 0 fail; `pnpm --filter umtool test` **28/28**; editor unit 304/304; test:scripts
+1005, 1003 pass, 2 skipped, 0 fail; docs cli `--check` clean; capped umtool build exit 0 (26.7 s compile, 1:35 wall,
+1.49 GB; the link removed); capped editor build exit 0 (42 s compile, 1:22 wall, 2.47 GB); **full umtool e2e 458 tests:
+452 passed, 0 failed, 6 skipped**, 9.1 min; **full editor e2e** (this worktree, `export/public` linked from the primary,
+0 dangling; queued, detached) **709 tests: 695 passed, 2 failed, 12 skipped**, 23.3 min. The reds,
+`operation-settings.spec:61` (the Saved status after a /settings save) and `publish-lane.spec:78` (the "pause
+publishing" button after Resume), touch no code of this lane (R4's editor reach is the report-draft route and the ops
+door); the two specs alone, three times: 9/9, 9/9, 9/9.