commit a9a84b870ec6b8b34d7b2512de56ce672c007974
parent b348a8688e6f5832ee716f259dbe453cf9ca936e
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 14 Oct 2026 15:04:46 -0400
plans: umtool redesign — R5 wired to R4 (merge, seam, gates); [Unreleased] reworded
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 43 insertions(+), 0 deletions(-)
diff --git a/plans/umtool-redesign.md b/plans/umtool-redesign.md
@@ -2767,3 +2767,46 @@ skipped** (12.5 min). Screenshots re-taken in `r5-shots/` (20) from the full run
(2026-10-12 … 10-18), the at-once tick's "Nothing to cover yet — the next edition starts 2026-10-19" in the tick log,
and the quiet week after.
+**R4 merged and wired (orchestrator, 2026-10-14: R4 LIVE, `main` = `ux/integration` = `f3122815`).**
+- **Merge** `0dbf6e6b`: the Inbox's kinds and ranks (R4's `refresh-held`/`refresh-available` beside R5's
+ `tick-failed`/`tick-held`/`edition-ready`), `lib/inbox.ts`'s disk decisions (both), `bin/umtool.mjs`'s tsx commands
+ (one helper for `inbox`, `schedule` and `refresh`), the CHANGELOG (both), this plan (main's, R5's records after R4's;
+ one status row per phase: R4 LIVE, R5 shipped on the branch).
+- **The seam, wired** (`controller/reportTick.ts r4Steps`, `editor/app/api/ops/_reportSchedule.ts` through R4's
+ `refreshEditor`):
+ - `fetchAndBuild` → R4's `fetchScope` (stage 1 for `{channels, from?, to?}`: the editor's own paced fetches, then the
+ local build of the site that holds them, never a deploy). A step refused or skipped — a held or cooling platform,
+ a channel no build holds, a build that is not a site's — is a **warning on the tick** (the tick's `warnings`), never
+ its failure; only a build that ran and failed fails the tick.
+ - `refresh` → `report-draft {"task":"refresh","article"}` (the schedule's model and cap), the job awaited (a cancelled
+ tick cancels it), then `refresh.json`'s status is the outcome: `updated` → done (the new iteration), `no-change`,
+ `held-by-cap` (the cap's refusal and R4's estimate → `tick-held`, Your call). A cap refusal at the ask is held too.
+ - The tick's order: a **series** computes its window first (an empty one fetches nothing), runs stage 1 over the
+ window's channels and dates, then the edition. A **living** report with a report runs the refresh, which does its
+ own stage 1 over its report's scope and every channel its citations touch (a separate fetch before it would sync
+ twice); its first sweep (no report yet) runs stage 1 first. `autoMakeCurrent` acts only on `updated`.
+ - `notWiredFetch`/`notWiredRefresh` stay as what a deps without the editor's door gets (the unit tests' case).
+- **Specs.** Unit (`reportSchedule.test.ts`, +3): `r4Steps` over stubbed calls (the scope and signal passed, the
+ warnings, a failed build; each refresh status and a cap refusal), the wired tick (living no-change / held / updated
+ with autoMakeCurrent, a series' stage 1 over its window, nothing fetched for an empty window). Editor
+ `report-draft.spec` (+2): a **series edition over the fake model** (`synth-kitchen` an editor channel, the build holding
+ a recording from yesterday UTC; the sync through the editor's door, the build not a site's said as a warning, the
+ window check, the sweep with from/to, the edition titled "Contest · <yesterday>") and a **living report's refresh**
+ (its own sync, no change, $0, `autoMakeCurrent` leaving i1 current). `ops-api.spec`'s tick now runs stage 1 and fails
+ on the missing composed build, saying so.
+
+| sha | what |
+|---|---|
+| `0dbf6e6b` | merge `main` `f3122815` (R4 live) |
+| `e837ab70` | the seam wired: `r4Steps`, the tick's order, warnings on the tick; unit and editor specs |
+| (this commit) | this record, `[Unreleased]` reworded (a tick fetches first; a living tick is a Refresh) |
+
+Gates on `e837ab70`: repo-wide tsc clean; common **4144/4144** (`SETTINGS_FILE` at the primary's); editor unit
+**304/304**; umtool unit 858 tests, 856 pass, 2 skipped; `pnpm --filter umtool test` 28/28; test:scripts 1010, 1007 pass,
+3 skipped, 0 fail; `docs cli --check` and `settings example --check` clean; capped umtool build exit 0 (1.52 GB); capped
+editor build exit 0 (22.2 s compile); editor `ops-api.spec` + `report-draft.spec` alone **23/23** (the two new ticks
+among them); **full umtool e2e 465 tests: 459 passed, 0 failed, 6 skipped** (9.4 min); **full editor e2e 712 tests: 698
+passed, 2 failed, 12 skipped** (21.0 min) — `publish-lane.spec:78` (the known flake) and `storage-locations.spec:723`
+(the "timing saved" status not there within 5 s; the page snapshot shows it written, "Saved. A read may take 4 s", just
+late — no R5 file on that path); both specs alone **3× — 11/11, 11/11, 11/11**. No live schedule was made.
+