Archilyzer · Source

archilyzer

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

commit f283f14c5991bdacbd88a88331bd8eb0606a57e2
parent 7534b5b6c9757bd0b607f9568d72f9088898d044
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 14 Oct 2026 21:04:15 -0400

plans: umtool redesign — R6.2, as shipped (seen means judge-able: an untranscribed recording stays new; the listing's hasTranscript; the read-only proof — 96 of 23,290 without a transcript, 13 this week; gates); status row

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

Diffstat:
Mplans/umtool-redesign.md | 93++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 92 insertions(+), 1 deletion(-)

diff --git a/plans/umtool-redesign.md b/plans/umtool-redesign.md @@ -467,7 +467,7 @@ mis-transcriptions and adapt by adding its own terms. | P6a cleanup, docs, audit | `ux/p6a` → `main` `7fb90e6e` | LIVE 2026-10-14 (umtool VUNZhrt6…) | | P6b 308s, screenshot audit | `ux/p6b` → `main` `850e0989` | LIVE 2026-10-14 (umtool Te2jR-P8…) | | R6.1 honest tier 0 + R4.1 | `ux/r61` | shipped on the branch | -| R6.2 seen = transcribed | `ux/r62` | in progress | +| R6.2 seen = transcribed | `ux/r62` | shipped on the branch | | R6.3 learned spellings | — | after R6.2 (operator, 2026-10-14) | | Co-host pilot | — | tick 2 honest and quiet ($0); operator approved: reset after R6.2, terms + `Melanie`/`guests?` (done), then RESUME | @@ -3566,3 +3566,94 @@ no ZodError, no queued metas lost), then umtool. Read-only proof on the `jeralyz term match. The pilot's bad run reset with `report-schedule {"action":"reset-triage"}` (plan, then confirm): run 1, its 2,000-id seen set and the quiet edition it covered removed; the schedule stays paused; tick 2 started. +### R6.2, as shipped + +**What.** The co-host pilot's tick 2 (2026-10-14, after R6.1's reset) listed 23,290 recordings in scope from the +build's manifests and stored every one in `seen.json` — including recordings the build lists with no transcript yet +(synced but not transcribed, or a deleted upload with metadata only). A recording seen before its transcript lands is +never new again, so its late transcript is never judged: the gap R6's by-id rule exists to close. On the `jeralyzer` +build, 96 of the 23,290 have no transcript; 13 of them are this week's uploads (12 Rumble, 1 Quartering Live) waiting +on transcription. + +- **The listing says which recordings have text** (`mcp/src/enumerate.ts` `listRecordings`). Each row carries + `hasTranscript` (`ListedRecording`, `refresh/delta.ts`): the build's stats index's flag (`statsIndex()`, one read + per source, cached; `statHasText`), or, for a record the summaries index lacks and whose page is read anyway, its + own cues (`recordHasText`). `null`: the build does not say (no stats shipped, no entry) — read as judge-able, as + before. The enumerate fallback (a corpus that cannot list) does not say either. +- **Seen means judge-able** (`triage/tier0.ts`). `splitByTranscript` splits the listing into what can be judged and + what waits (`hasTranscript: false`). A waiting recording is neither new nor seen this run, so the run after its + transcript lands counts it new by id, and it is a candidate if it matches. `nextSeen` is the stored set: known + + judge-able, less the candidates past the cap and less the waiting ones — so an id an earlier run stored while it + had no text (tick 2's seen.json) is dropped on the next complete run, and heals. A partial run still stores + nothing. +- **Said.** The tier 0 log has a first line `tier 0: 23,290 listed · 96 without a transcript yet (not seen; new once + transcribed)` (`listedWords`, `triage/types.ts`). triage.json's tier 0 carries `untranscribed` (the count) and + `untranscribedIds` (the first 50). umtool's triage page counts them under Tier 0 + (`data-tier0-untranscribed`: "· 96 without a transcript yet", the title saying they are not seen). +- **R4.1's grammar.** The fetch's transcription-paused skip says "1 recording waits; a later run reads it once + transcribed" for one ("N recordings wait; … reads them" otherwise). +- **For R6.3** (the coordinator's ask): the per-recording flag and the seen rule are small exported functions, each + unit-tested — `recordHasText`, `statHasText` (`refresh/delta.ts`), `splitByTranscript`, `nextSeen` (`tier0.ts`). +- Files touched: `common/lib/report/draft/{refresh/delta.ts,refresh/fetch.ts,triage/tier0.ts,triage/types.ts}`, + `common/testing/schedule/opsStub.ts` (a quiet stub triage lists two recordings without a transcript), + `mcp/src/enumerate.ts`, `umtool/components/series/TriageView.tsx`, `umtool/e2e/triage-first.spec.ts`; tests in + `triage/triage.test.ts`, `refresh/refresh.test.ts`, `mcp/src/listRecordings.test.ts`. Not touched: `BoardView.tsx`, + `board.spec.ts`, `umtool/docs/` (the sibling lane's). + +**Read-only proof on the real corpus** (offline `tsx` over `export/.export-builds/jeralyzer/out` through +`createCorpusTools` — the editor's path — no editor, no writes; the pilot's scope, terms and since from its live +triage.json and seen.json, read only): + +| | | +|---|---| +| listed | **23,290, complete**: the-quartering 11,585, the-quartering-rumble 8,095, jeremy-hambly 2,421, quartering-live 980, melonie-mac 209 | +| without a transcript | **96** (the-quartering 4, the-quartering-rumble 79, jeremy-hambly 7, quartering-live 2, melonie-mac 4); none unknown. The brief's four examples (`vmTjKK_Yi5Y`, `jNz-bYBTdPE`, `nKm18mxypnk`, `2P2xsqPgovY`) are among them | +| of those, uploaded on or after 2026-10-07 | **13**: the-quartering-rumble `v7elaoy` … `v7ep2ba` (12, 2026-10-12 → 14), quartering-live `2P2xsqPgovY` (2026-10-14) | +| tier 0 as tick 2 ran (first run, by date) | new **92** (tick 2 counted 105: the 13 above now wait), 1 candidate (melonie-mac `-oMa-NtaEOQ`, as tick 2), not partial | +| would-be-seen | **23,194** (23,290 − 96); tick 2 stored 23,290 | +| the next tick over the live seen.json (by id) | 0 new; the stored set drops the 96 (heals) → 23,194 | +| cross-check: the stats flag against each record's own cues | 188 records (the 96 + the 92 new with text): **188 agree** | +| the listing alone, cold | 1.1–1.4 s, ~300 MB RSS (R6.1's listing without stats: 1.8 s) | + +**Commits** (`ux/r62`, from `main` `54dbfb79`; `main` `21880180` — R6.3's plan section — merged before the gates): + +| sha | what | +|---|---| +| `fa6212c1` | common, mcp: `listRecordings`' `hasTranscript`; tier 0 keeps an untranscribed recording out of new and seen; the listed line; "1 recording waits"; tests (common +3, mcp +1) | +| `0869f6ca` | umtool: the triage page's Tier 0 count; `triage-first.spec` checks it on the quiet run | +| `16620c18` | common, mcp: `recordHasText`, `statHasText`, `splitByTranscript`, `nextSeen` as exported functions, unit-tested (+1) | +| `dcc90df6` | merge `main` `21880180` (plans only) | +| `66757900` | `[Unreleased]` bullet | +| (this commit) | this record; the status row | + +**Gates.** + +| Gate | Result | +|---|---| +| repo-wide `tsc --noEmit` | clean at `fa6212c1` and at `66757900` (merged); common + mcp clean at `16620c18` | +| common (`SETTINGS_FILE` at the primary's, read only) | **4171/4171** at `dcc90df6` (+4: the pieces; a recording listed with no transcript neither new nor seen, new and a candidate once transcribed, the counts logged, a pre-R6.2 seen id healed, unknown judge-able; a run end to end with seen.json; `listedWords`. `refresh.test`'s R4.1 test also asserts the singular) | +| mcp | **369/369** (+1: the stats flag, a page-read record's cues, both ways) | +| editor unit | **304/304** | +| umtool unit (`node --test umtool/lib/*.test.mjs umtool/lib/*/*.test.mjs umtool/report-to-video/*.test.mjs`) | 861 tests, 859 pass, 2 skipped, 0 fail | +| `pnpm --filter umtool test` | **32/32** | +| `pnpm run test:scripts` | 1013 tests, 1010 pass, 3 skipped, 0 fail | +| `archilyzer docs cli --check` / `settings example --check` | clean / clean | +| capped editor `next build` (heavy slot, `MemoryMax=5G`) | exit 0; compiled 26.9 s, 0:57 wall | +| capped umtool `next build` (corpus linked inside the heavy slot, `MemoryMax=5G`) | exit 0; compiled 14.7 s, 1:04 wall; the link removed | +| **full editor e2e** at `66757900` (`export/public` linked from the primary, 0 dangling; queued, detached) | **714 tests: 701 passed, 1 failed, 12 skipped**, 23.5 min. The red: `pacing.spec:195` (a live 429's pick order, `wp429vid1` then `a2`, read one extra pick under load); R6.2 touches no pacing or download code — alone below. Green among the 701: `report-draft.spec:413` (a watch over the fake models; tier 0 on the corpus tools' listing, now with the e2e corpus's stats) and `ops-api.spec`'s report-schedule rows | +| `pacing.spec` alone (editor) | **2/2, 2/2, 2/2** | +| **full umtool e2e** at `66757900` (queued, detached) | **543 tests: 533 passed, 4 failed, 6 skipped**, 12.6 min. `triage-first.spec` 7/7 green, including the quiet run's Tier 0 count ("· 2 without a transcript yet"). The four reds are `board.spec`'s serial chain from `:127` (the known race, being fixed in `ux/board-race-2` beside this lane; no board file touched here) | +| `board.spec` alone (umtool) | **8/8, 8/8, 8/8** | + +**Found and left.** +- **The pilot's live seen.json still holds the 96.** R6.2 heals it on the next complete run, but only for a recording + still untranscribed then: one whose transcript lands before that run is in `known` with text, so it is not new and + is missed. The 13 this-week recordings are exactly that risk. After rollout, the planned reset + (`report-schedule {"action":"reset-triage","id":"co-host-updates"}`, then `"confirm": true`) avoids it: the next + tick counts new from its since, and with R6.2 it stores no untranscribed id. +- **A recording that never gets a transcript** (a deleted upload with metadata only, e.g. `vmTjKK_Yi5Y`) is counted + as "without a transcript yet" on every run. Harmless (never judged, never seen); the count says it. +- **The enumerate fallback** cannot tell; it treats every row as judge-able, as before. No corpus the editor uses + lacks `listRecordings`. +- **`umtool/docs/triage.md`** is the sibling lane's: it should say a recording with no transcript is not seen and is + new once transcribed, and name the Tier 0 count.