Archilyzer · Source

archilyzer

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

commit 116d2301df9eccf7fa161aee34f363e1d9ee9856
parent b3c32fc4931af0423cd337851a2e9104528a9d5f
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 14 Oct 2026 04:28:42 -0400

plans: umtool redesign — P3 follow-up (server mutes, /articles parity, R1 and r28 smoke fixes merged, gates)

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

Diffstat:
Mplans/umtool-redesign.md | 42++++++++++++++++++++++++++++++++++++++++--
1 file changed, 40 insertions(+), 2 deletions(-)

diff --git a/plans/umtool-redesign.md b/plans/umtool-redesign.md @@ -349,7 +349,7 @@ P0 design ─► P1 foundation ─┬─► P3 inbox/work/tools/URLs ─┬─ | P2a engine | `ux/p2a` → `main` `fe1cb2d3` | LIVE 2026-10-14 (umtool BUILD_ID 4aRwqu6sh…) | | P1 foundation | `ux/p1` → `main` `37354f70` | LIVE 2026-10-14 (umtool BUILD_ID LQxTh16Pe…) | | R1 research | `ux/r1` → `ux/integration` `4ce2fc2c` | merged into the integration branch | -| P3 inbox/work/tools/URLs | `ux/p3` (release 28 merged in) | gates green; awaiting merge | +| P3 inbox/work/tools/URLs | `ux/p3` (release 28 and R1 merged in, `ux/integration` `b1e6e701`) | reviewed; follow-ups done, gates green; awaiting merge | | P2b, P4a, P5, R3, P4b, P6 | — | wait for r28 on `main` | ### P2a, as shipped @@ -735,7 +735,8 @@ redirected, the five-place rail and the ⌘K palette. Built on P2a's engine; no names again (the fixture's `find` is no longer shadowed; no `shadowed-name` row exists). - **Redirects** (`umtool/redirects.mjs`, 13 rows, all 307): `/browse` → `/work`; `/browse/decisions` → `/`; `/browse/{find,faces,sources}` and `/browse/trim/:set` → `/tools/…`; `/browse/at` → `/projects/at`; - `/browse/:path*` → `/projects/:path*` (after the reserved rows); `/articles` → `/work?kind=article`; `/sites` → + `/browse/:path*` → `/projects/:path*` (after the reserved rows); `/articles` → `/work?kind=article&site=articles` + (follow-up; the store only, as the old page was); `/sites` → `/work?by=site`; `/mix` → `/tools/mix`; `/:mode(sort|salvage|verify|keeps)` → `/tools/song/:mode`; `/bench` → `/tools/bench`. Next puts the request's query FIRST, then the destination's (`/articles?status=draft` → `/work?status=draft&kind=article`). Every `lib/hrefs.ts` builder emits the new address (new: `workHref`, @@ -841,3 +842,40 @@ and riding the redirects: `ReportProject`, `NarrationPage`, `DraftPanel`, `Draft - P1's `[Unreleased]` bullet still names the old places; the P3 bullets supersede it. - Machine under load during the gates (swap 16 GB used, an ollama server holding ~4 GB): some single-spec runs on the dev server crashed Chrome; the harness runs below are the record. + +**Follow-up (review rulings, 2026-10-14).** +- `/articles` keeps parity: it redirects to `/work?kind=article&site=articles`, the store's articles as the old page + listed them; `articlesHref` builds the same. The "Found and left" line on `/articles` and the store's mute question + are settled by this paragraph. +- **Mute is the server's**, beside the lifecycle: `REPORTS_ROOT/.umtool/mutes.json` (`lib/mutes.mjs` + `.ts`), + `{ format: "umtool-mutes", version: 1, mutes: { <piece>: { <decision kind>: { at } } } }`, every write a whole file + to a temp name and a rename, serialised, never over an unreadable file (409); `POST /api/pieces/mute {piece, kind, + muted}` (400 on junk, 404 for no such piece; it clears the rail's count). `annotate` (lib/inbox/groups.mjs) takes + `isMuted`: a muted kind's rows are `hidden` with `hiddenBy: "muted"` and `muted: true` (a parked or done piece's + reason, `hiddenBy: "parked" | "done"`, wins); never dropped. `readInbox` and `GET /api/browse/decisions` carry + `muted` (how many rows a mute hides) and `mutesError`. The Inbox header has **Muted N** (`/?muted=1`, a Muted group, + each card with **Unmute**) beside **Show hidden N** (parked and done only); the Undo bar takes a mute back too. The + localStorage mute is gone. Unit: `lib/mutes.test.mjs` 6, `groups.test.mjs` +1. +- `ux/integration` merged twice: `4ce2fc2c` (R1: `/research`, `/research/archive`, its API, lib and the mcp export; + two conflicts — `test:scripts` takes both `lib/research` and `lib/work`, the plan keeps both records) at + `47e986da`, then `b1e6e701` (r28 smoke fixes, clean) at `6143585a`. R1's pages pass `active="research"`, so the + rail lights Research on both; `shell.spec` asserts it. No integration fix was needed. +- `[Unreleased]`: P1's rail bullet names the new places, P1's "decisions is a lit list" bullet says "a list is a lit + list", and the P3 bullets carry the server mute and `/articles`'s parity. +- Found in the gate run: the pieces memo missed an article the editor's generation starts (no route of umtool's + clears it), so Work could miss it for 15 s (`article-new.spec`, once in three runs). The memo now also drops when + the article store's directory list changes (one readdir per read). + +| sha | what | +|---|---| +| `47e986da` | merge `ux/integration` `4ce2fc2c` (R1) | +| `f4642bdd` | the mutes store, its route, the Inbox's Muted view; `/articles` parity; Research in `shell.spec`; CHANGELOG | +| `6143585a` | merge `ux/integration` `b1e6e701` (r28 smoke fixes) | +| `b7c49fb5` | `muted` on the decisions API; the pieces memo follows the article store's list | + +Gates at `b7c49fb5`: repo-wide tsc clean; umtool unit 804 tests, 802 pass, 2 skipped, 0 fail; +`pnpm --filter umtool test` 11/11; `test:scripts` 955, 953 pass, 2 skipped, 0 fail; capped build exit 0 (9.5 s +compile, 32 s wall, 1.34 GB); full umtool e2e at `6143585a`: 379 passed, 2 failed (the decisions API lacked `muted`; +the article-new memo miss — both fixed in `b7c49fb5`), 6 skipped; **at `b7c49fb5`: 381 passed, 0 failed, 6 skipped, +7.0 min**, `research.spec` 9/9. Fresh dark 1366×768 screenshots of `/` and `/research` (job scratch +`p3-shots/followup/`).