Archilyzer · Source

archilyzer

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

commit 9b423d22626afb6ad090d6d4e6e9b640572698fe
parent 521c3fa5f777dff0ea35b768ab5b992dd1be730c
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sat, 10 Oct 2026 00:12:08 -0400

plans: release 19's B2, as shipped on r20/b2 (the lint, the prune, linked segments, the heavy slot, fetch-via-editor's wait), held for review

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

Diffstat:
Mplans/release-19.md | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+), 0 deletions(-)

diff --git a/plans/release-19.md b/plans/release-19.md @@ -395,6 +395,73 @@ B6, B1, B4, B3, B5. **B2 did not ship** (below). No editor e2e was run, as plann - `docker/build-site.sh` gets no gate of its own (see B1). - triage.spec and faces.spec, found failing above, are not ours to fix here. +#### Slice B2, as shipped — report-to-video robustness (overnight 2026-10-10) + +Branch `r20/b2` off `r20/integration` `585be292`, one Opus implementer, worktree `r20-b2`. Started from the partial +work in the job's `tmp/b2-partial/`, read and corrected before use. **Held for the Candace session's review before +merge** (ruled 2026-10-09). + +- **The lint** (`lint.mjs`; `node umtool/report-to-video/lint.mjs <manifest> [--variant] [--json]` and + `build-video.mjs <manifest> --lint`, exit 1 on an error). Errors: an image `src` that is absolute or `~`, or names + no file beside the manifest (a timeline image, each of its `panels`, and under the deck a post's `shot`/`logo`); a + QR below 1.5 px/module at 720p, or a link past a version-20 code; every manifest validator a build runs first + (`validateThreadEntries`, `validateFlipEntries`, cut edits, teasers, claims, posts). Warnings: a QR below 2.0 px/module; + a teaser line past 34 characters. **A title's first tier is not warned about**: `TEASER_LIMITS.fit.title` is already + 34, so validateTeasers refuses it as an error; the warning covers an overline's or kicker's first tier and any + break. The QR measure: version by byte capacity at `render.qr.ecc`, modules `17 + 4v + 2·quiet`, the deck's and the + posts' codes resized to their `size` and the rail's to `rail.qrSize` on a `render.height` frame, the corner code at + qrencode's `scale`. Before the build a deck QR under `links: "original"` is measured as the archive link, and a + post's as the longer of its url and its archive page under the manifest's channel. +- **Every build runs the lint** after its validators and before anything renders: an error refuses it, a warning is a + note. `--no-lint` builds anyway; `--only <id>` lints that entry (and the posts attached to it); a bench fetch, the + thumbnail and `--chapters-only` are not held up. +- **The prune** (`prune-frames.mjs`): after the final mux of a full build or `--chrome-only`, the directories + `chrome/<name>-frames` and `chrome/work-*` are removed, each sequence's frame count and key written first to + `chrome/pruned.json`. `--keep-frames` keeps them. Not after `--no-chrome` (it rendered none), not under the legacy + chart band (its frames are an input). `segments/` and the compositions are never touched, and a symlink named like + a sequence is neither followed nor removed. `verify-build.mjs` counts a pruned sequence (deck, feed, stamps, posts, + teasers) and reads a teaser's key from the record, unless the cut file is newer than the prune. +- **Linked segments.** `--chrome-only` builds a MISSING segment from the cache (skipFetch), after every refusal, and + never writes an existing one; `--chrome-preview` still refuses a missing one. Before an entry is rebuilt + (`--only`, a full build, a missing one), `detachSegmentFiles` unlinks that entry's files in `segments/` that are hard + links or symlinks; a clip does so only once its source is in hand. A teaser re-encode writes beside its segment and + renames over it, its record too. So another take's linked-in segments are never written through. +- **The heavy slot.** The rendering runs (a full build, `--chrome-only`, `--chrome-preview`, `--rail-only`) run in + `scripts/queue-lock.mjs` `withHeavy` through `heavy-gate.mjs`. A fetch, `--only`, `--chapters-only`, `--thumbnail` + and `--lint` do not. The lock is pinned to this checkout's git common dir unless `HEAVY_LOCK_FILE` is set. The gate + is loaded by a run-time URL beside `argv[1]`, so umtool's bundle never imports it. `HEAVY=0` / `HEAVY_HELD` pass + through; compose-chrome's `rendererEnv` (DISPLAY and WAYLAND_DISPLAY stripped) is unchanged. +- **fetch-via-editor.mjs** (release 19 A5's ruling): no 10-minute timeout, nor the 6-hour one under `--all`. While a + job is queued its place (`GET /api/ops/job/<id>` `job.queue`) is printed when it changes. A dropped poll is retried + with a back-off, 10 in a row end the wait; a refusing answer still ends it. Ctrl-C exits 130, naming the job that + keeps running. +- `setProgressMode` also takes a function (the tests read events without stdout, which node's test reporter uses). + +| commit | what | +|---|---| +| `42343b9b` | fetch-via-editor waits without a timeout, printing the queue place | +| `b23206fd` | the lint, the prune, linked segments, the heavy slot; README, CHANGELOG | + +**Gates** + +| gate | result | +|---|---| +| `node --test umtool/report-to-video/*.test.mjs` | 474 tests: 472 pass, 2 skipped (base 445: 443 + 2 skipped). New: lint 10, segment-links 5, prune-frames 4, heavy-gate 5, fetch-via-editor +5 | +| `pnpm test:scripts` | 740 tests: 737 pass, 3 skipped | +| tsc (`pnpm -r --no-bail --workspace-concurrency=1 exec tsc --noEmit`) | clean | +| umtool build (capped, corpus linked, through `pnpm heavy`) | ok; compiled in 11.4 s, 273 s with the waits for the slot and the memory floor. `next-build-trace.test.mjs` 10/10 on its traces | +| e2e | none (track rule) | + +**Found and left:** +- **umtool e2e expects frames on disk after a build.** `onscreen.spec.ts` (the full build before the re-render: + `frameFiles()` on `chrome/deck-frames`) and `onscreen-posts.spec.ts` (the feed build: `feed-frames` and + `deck-frames` counted) will fail now that a build prunes. `umtool/e2e/**` is not this track's. The fix is to read the + counts from `chrome/pruned.json`, which also tests the prune. +- A comment holding `chrome/*-frames` opens a block comment for `next-build-trace.test.mjs`'s scanner and tainted all + of `build-video.mjs`. The comments say `chrome/<name>-frames`. +- The umtool build traces `heavy-gate.mjs` and `heavy-gate.test.mjs` as files (from the `new URL("./heavy-gate.mjs", + …)`). They are not bundled, and the trace test passes. + ### Track C #### Slices C1–C5, as shipped (2026-10-09)