Archilyzer · Source

archilyzer

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

commit 9e2af535e32e99942406a8a741bafce80af07b82
parent d7294ce608809aba7a808fbd9aad507ca8365e44
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 13 Oct 2026 11:19:50 -0400

plans: release 27 — S7, as shipped; CHANGELOG for the chain, prepare --only and the to-manifest fixes

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

Diffstat:
Meditor/CHANGELOG.md | 4++++
Mplans/release-27.md | 41+++++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog ## [Unreleased] +- **`umtool chain <article> <n>` takes an article's iteration to a video and a podcast.** One step a process, each recorded in the iteration: make it current, have the editor fetch every cited clip window (padded to the cut's 3 s, so the article's clips and the video share one fetch), `reports prepare --article <id> --only`, have the editor capture this article's missing post screenshots, make the video manifest in `~/reports/articles/<id>/i<n>/` (its narration and voices carried over from the parent iteration's project), voice the narration through the editor, build the video and the podcast, attach the video to the article and check it, and hard-link the segments and voices the article's projects share. Run again, it resumes at the first step not done; `--from <step>` runs from one, `--dry` prints the steps, `--final` crossfades. Nothing is fetched, captured or voiced but by the editor. +- **`reports prepare --article <id> --only` answers for that article.** Its problems fail the run, another article's are printed as warnings, and only it is exported, so a draft being readied is no longer held up by a gap in a published article. The media of every published article is still prepared (their cache is shared). +- **A report video made by `reports to-manifest` no longer shows "undefined" under its title or ends on a silent card.** The title card now has an empty third line (and a manifest made before this renders one too), and a section with nothing to show — a trailing Coverage note, a section of posts only — gets no chapter card; the article keeps the section. +- **`umtool build <project> --dry` names the real pipeline directory wherever it is run from** (it printed `<cwd>/report-to-video`). - **`archilyzer reports iterations <id> [--json]` lists an article's iterations.** Release 27 keeps each generation of an article (a sweep, a revision of its report or its video, a research run) as an ITERATION under `transcripts/reports/<id>/iterations/<n>/`, with its kind, model, status, cost, parent and the iteration it copies; the command lists them with their lineage (`i1 › i3 › i4`), and marks the current article and the current video. Iterations are never published: compose, an article's history and the homepage ignore them, and an article whose only content is iterations (no report.json yet) is not listed anywhere until one of them is made current. - **Orpheus speaks as the operator picked by ear: zac, calmer, quicker, in longer runs.** The default Orpheus voice is now `zac` (leah stays available); the sampler is cooler (temperature 0.55, top_p 0.85) and its repeat penalty higher (1.2), which reads less acted and less over-enunciated; a chunk holds up to 5 sentences and 420 characters, with shorter joins (0.2 s after a sentence, 0.1 s after a clause, 0.4 s after a paragraph), so the voice restarts its phrasing less often; and a very short line gets at least four seconds of budget, so it can no longer fail every take. Orpheus narration made before this is made again the next time it is asked for. Needs a restart of the editor. - **A site's reports are its pages.** site.json `reports` is now `pages` (a file that still says `reports` reads as `pages` for this release; saving writes `pages`). Each page is served at `/pages/<id>/` and linked from the site's header by its title, after Ask AI; there is no Reports index any more. A site with search off shows its first page as its home, and saving a site with search off and no pages is refused. The site form lists them as **Pages**. Rebuild each site that has pages. diff --git a/plans/release-27.md b/plans/release-27.md @@ -284,6 +284,47 @@ Exported for S5/S6/S8/S11: - `readIteration`, `readIterations`, `listIterations`, `currentIteration`, `lineage`, `reportSourceOf`; - `makeCurrent`, `setCurrentVideo`, `projectOf`, `iterationUsd`, `iterationLabel`, `parseIteration`, `listPendingArticles`, `ITERATION_FILES`. +### S7, as shipped (2026-10-13, lane C) + +The pipeline chain over an iteration, and the owed bugs, on `r27/iterations-chain` (after S4). + +| Commit | What | +| --- | --- | +| `7654e1c4` | to-manifest: the title card's `foot: ""` and render-cards' guard; no chapter card for a section with nothing to show; the derived fixtures regenerated | +| `4e6db2af` | `reports prepare --article <id> --only`; the window `pad` contract pinned (fetchWindows, fetchWindowManaged); umtool's driver finds the pipeline from its module | +| `88302d19` | `umtool/lib/report/{chain,chain-run,iterations}.mjs` (+ tests), `umtool chain`; Turbopack opt-outs in the S0 kit's `derive.ts`/`regenerate.ts` | + +**The chain.** Ten steps: current, windows, prepare, posts, manifest, voices, video, podcast, attach, dedupe. +- **One process each:** `node --import tsx umtool/lib/report/chain-run.mjs step <id> <n> <step>`, so lib/jobs.ts runs it as a job (process group, cancel, per-step timeout), and `umtool chain <id> <n> [--from] [--dry] [--final] [--projects-root] [--site-origin]` runs the same argv from a terminal. +- **Planning and executing are split.** `chain.mjs` plans in plain node (`planChain`, `chainSteps`, `chainStart`, `chainWindows`), and the Next app may import it. `chain-run.mjs` executes, under tsx, over common's TypeScript; the app never imports it. +- **Recording and resuming.** Each step records `chain:<step>` in the iteration's `steps` (running, then done, failed or cancelled, with minutes and one line). A chain resumes at the first step not done. +- **Windows** are each cited moment's span, widened by the cut's fetchPad (3 s) and by the citation's own pad, so one editor fetch serves both the evidence clips and the cut. +- **Posts:** only this article's missing screenshots, through the editor's `capture-posts`; then prepare runs again. +- **Manifest:** written into `projectOf(projectsRoot, id, n)`. Its QR origin comes from the newest sweep.md in the lineage, or `--site-origin`. It copies the report and its stills, then seeds from the parent's project. +- **Attach** records the iteration as the article's video (`setCurrentVideo`), runs `reports check`, and keeps its result in the iteration's `checks`. +- **Defaults and secrets.** `projectsRoot` defaults to `~/reports/articles` until S6's setting. No secret rides in a step: the executor reads the editor's URL and token at run time, the way `pnpm ops` does. + +**`iterations.mjs`:** +- `seedFromParent` carries narration by card id, else by heading, and hard-links the parent's voices. +- `dedupeMedia` touches `out/<variant>/segments/*.mp4` and `out/narration/*.{wav,json}` only, on the same device, linking through a temp and a rename. + +**The owed bugs, each with a test:** +- **Title foot:** `foot: ""`, and render-cards renders a missing sub or foot empty. +- **No silent end card:** a section that emits no timeline entry gets no chapter card, and a warning; the article keeps the section. That covers Coverage and `posts-only`'s Posts. +- **`umtool build --dry`:** the driver finds `report-to-video/` from its own module. Under the Next server, where module URLs are chunk paths, it falls back to the cwd. +- **`prepare --only`:** only this article's problems fail the run, and another article's are warnings. Only it is exported, over `articlesWorkHost(…, {only: true})`. + - The media is still prepared for every published article. The articles' cache is one directory, and a prepare PRUNES every clip its run does not cite, so preparing one article alone would delete the others' clips. +- **Window `pad`** — not changed; contract pinned. `from`/`to` ARE the window with its padding, and `pad` is provenance. + - Every caller pads before it asks: fetch-via-editor.mjs, the MCP's fetch_clip, the chain. + - Folding `pad` into coverage would double-pad all of them, and a refetch would rewrite the same file name. + - The stopgap's failure was a request of the bare span with `pad: 3`, read as "please pad". Tests pin that a cached unpadded window never answers for a padded ask, and the contract is written on the item type and the cache check. + +Gates: +- tsc clean. +- Unit suites: common 3844/3844, `test:scripts` 850 pass + 3 skipped of 853, editor unit 264/264, mcp 306/306. +- `docs cli|files|env --check` clean. +- **Not run:** the umtool `build.spec.ts` e2e and the capped umtool build. Memory stayed under the 6000 MB floor; the heavy gate waited 9.5 min at 3.4–4.4 GB available, and the attempt was stopped. + ## Rollout - Fast-forward `main`.