Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit d170d1ce9e4f77e4d7540a2265a2900d0da79cf1
parent 3c01a008a31d7ab7925adc829d0b15cff663582f
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 14 Oct 2026 09:23:23 -0400

plans: umtool redesign — P4a-2 follow-up (P5 merged, one policy link, one stage rule, the reader's buttons wait for hydration)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mplans/umtool-redesign.md | 41+++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+), 0 deletions(-)

diff --git a/plans/umtool-redesign.md b/plans/umtool-redesign.md @@ -1684,3 +1684,44 @@ Signal ring; `2`, `3`, `4`, `1` open Article, Iterations, Cut, Overview; `n` run time. Not new to this slice. - **`ReportProject`'s "a video of <article>"** in the head is now reached only by a project the redirect cannot find an article for at render time (a graph built a moment before); kept rather than removed. + +**Follow-up (review, 2026-10-14).** Decisions 1, 4, 5 and 6 accepted. Four changes: +- **`ux/integration` `8675bc57` merged** at `c6f5ec05`: P5 LIVE (`/create`, `/?from=` → `/create`, `/articles/new` → + `/create?make=article`, `/settings/generation` with the PolicyPanel, `/settings/system`). Conflicts: this plan (P5's + record, then this one; one status row per phase) and `hrefs.test.mjs` (Create's `newArticleHref` beside the article + piece's assertions). +- **One policy link.** `generationSettingsHref()` is folded into P5's `generationPolicyHref()` (`/settings/generation`): + the article piece's chip and `piece.spec` use it, as the rail's Settings page, ⌘K and Create already did. No policy + link names `/articles/new` (the dead `/articles` list's "new article" literal is not the policy and rides P5's + redirect). +- **One stage rule** (decision 3 reversed). `pieceSteps({kind, reached, lifecycle})` (`lib/pieces/tabs.mjs`) replaces + `stepsOf`/`articleSteps`, and `stageOfPiece` is its current step. The pieces graph records each piece's `reached` — + Research (iterations, or a board's hand-off), Article (a report), Video (a claimed project, one not reachable here, or + the report's own video; a project piece is its video), Deliver (looks done) — and an article's `stage`, Work's + `stageOf` and both piece frames read it. The current step is the **furthest stage reached**, as the canvas has it (a + built cut not yet delivered is at Video); the brief's parentheses read as where each stage is reached, not as + "first missing", which had put an article with a video in progress at Deliver. A skipped stage before the current one + is to do with its reason ("no report yet"). The graph's memo signature now includes the research cases (one stat + each), so a hand-off shows at once. Unit-tested: a standalone video (Video), a board's video (Video, Research done), an + article in the making with a video (Video, Article to do) and a published article with its video (Deliver) give the + same stage from the stepper and from Work's facet. On the fixture, Work (`life=all`) lists 48 pieces: research 1, + article 4, video 41, deliver 2 — none vanishes; the Inbox does not read the stage. `zeta` is at Video + (`article-iterations`, `inbox-engine`, `piece.spec` follow). +- **The reader's buttons wait for hydration.** A section's **+ note**, a citation and **+ whole article** were live + in the server HTML and a click before hydration was lost (`article-slides`' dev-mode red, the class of the editor + toggle `ff3baf6b`): disabled until `useHydrated()`. Probed four cold loads in dev: disabled before hydration, the + composer opens on every click. + +| sha | what | +|---|---| +| `c6f5ec05` | merge `ux/integration` `8675bc57` (P5); one policy href | +| `a62bd368` | one stage rule: `pieceSteps`/`stageOfPiece`, the graph's `reached`, Work's facet and both frames on it, the unit tests, the specs | +| `d6328e46` | the reader's note and citation buttons disabled until hydrated | +| `e6b0be39` | `piece.spec`: a board's article in the making is at Research | + +Gates at `d6328e46`: repo-wide tsc clean; umtool unit 846 tests, 844 pass, 2 skipped, 0 fail; `pnpm --filter umtool +test` 16/16; test:scripts 997, 995 pass, 2 skipped, 0 fail; capped build exit 0 (12.3 s compile, 57 s wall, 1.52 GB); +full umtool e2e at `d6328e46` 430 tests: 423 passed, 1 failed, 6 skipped, 9.8 min — `piece.spec`'s board article +asserted Research done under the old rule (in the making, its sweep running: Research is the furthest reached, so +current); fixed in `e6b0be39`, then `piece`/`work`/`article-iterations`/`inbox-engine` 25/25; **full umtool e2e at +`e6b0be39` 430 tests: 424 passed, 0 failed, 6 skipped** (the song-data skips), 8.6 min.