Archilyzer · Source

archilyzer

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

commit d615e88680264625351810260affa2ab7806f130
parent d761fecc8d6488a5d1f9cab72948a508e36c8b7f
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 13 Oct 2026 13:58:41 -0400

plans: release 27 S10, as shipped — the stopgap import and the docs

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

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

diff --git a/plans/release-27.md b/plans/release-27.md @@ -590,6 +590,58 @@ Gates: Not done here: AGENTS.md's section on `.claude/commands/{ask,sweep}.md` does not name `gen.md` yet (S10's docs). +### S10, as shipped (2026-10-13, lane H, `r27/migrate-docs`) + +Migration and docs, on `r27/migrate-docs` from `r27/integration` `1575479b`. + +| Commit | What | +| --- | --- | +| `bc8d7f08` | `common/bin/reports-import-local-runs.ts` (+ tests), its `archilyzer` row, COMMANDS.md | +| `ed3ae443` | OPERATING.md "Generate and iterate" and "Research runs"; `umtool/docs/authoring.md` "Generating with a model"; REPORT.md "Iterations" and "Checking quotes" (from `lib/report/docs.ts`); the CHANGELOG pass; AGENTS.md (`gen.md` in the prefix rule); STATE "Now"; FACTS; `docs cli --check` knows `pnpm ops job <verb>` | +| (this commit) | this record | + +- **`archilyzer reports import-local-runs [--apply] [--runs <dir>] [--only <run,…>] [--move-projects] [--generation <file>]`** + is a dry run unless `--apply`. Each run named (default: D9's two) becomes `i1` of its article through the + iterations store, never by hand: + - The article is `ui.json`'s `id`, else the run's name; the run's `report.json` gets that id (a different one is + printed). + - `iteration.json`: kind `sweep`, `run.json`'s model, question and channels; usage from `by_model`; minutes; checks + `convert` and `verify-quotes`; `createdAt` the transcript's first stamp, `endedAt` run.json's time; `imported + {from, run, at, extractor}`. + - `turns.jsonl`: an import note, then `start` → a note (its settings under `stopgap`), `turn` → a response (text and + the tool names as content, usage, USD), `tool` → a tool entry (`result` empty, the stopgap kept none; `chars`; `ms` + from the stamps); anything else kept as it was. + - An article the registry has: `makeCurrent` only when the run's report equals the article's with `audience` and + `video` aside (otherwise the differing keys are printed and the article is unchanged); `setCurrentVideo` when the + article has a video attached and the run has a project. + - A run with no article: an article in the making, not made current. + - The video project is copied (`--move-projects`: renamed, else copied and removed) to `projectOf(projectsRoot, id, + 1)`, recorded as `projectDir`. + - Refused, writing nothing for that run: no run directory, run.json or sweep.md; a report that does not parse; an + article with iterations already; a project place that is taken. A run imported before is "already imported". + - `generation.json`, when there is one: its routes (known tasks and routes only) and models over the current + `settings.generation`, printed as a patch; applied through the editor's `POST /api/ops/settings`, else + `writeSettings` when nothing listens (never beside an editor that is there and silent). + - The dry run lists the `ui-test-*`, `shondo-*` and `local-test-*` runs, projects and registry drafts with their sizes + (a hard-linked file counted once), and the runs neither imported nor named for deletion. Nothing is deleted. +- **The dry run against the real stopgap and corpus** (read only; nothing written, checked with `find -newer`): both + runs importable. `piratesoftware-ai-friends` → the article's `i1`, its report equal to the article's, made current + for the article and the video, its project (72 MB, 90 files) copied to `~/reports/articles/piratesoftware-ai-friends/i1`. + `api-shondo-recent` → `i1` of a new article in the making (report id `api-test-shondo-recent` becomes the article's). + No `generation.json` on this machine. To delete after the OK: 15 items, 307 MB (8 runs, 4 projects, 3 registry + drafts). Kept, named by neither list: `runs/api-shondo-fishing`. Output: the job's `r27h-import-dry.txt`. +- **Decided here:** the imported iteration's `createdAt` is the run's first transcript stamp, so it spans the run's + earlier attempts in the same transcript (the piratesoftware run has three starts). The registry has no delete verb: + the three test drafts are removed by hand after the OK. + +Gates: +- tsc clean (all packages) before each commit. +- common 4000/4001 at `bc8d7f08` (9 new, `reports-import-local-runs.test.ts`); the one red is + `controller/relocateChannelMedia.test.ts` "reconcile: an extra and a changed file …", 44/44 when run alone. + `cli-docs.test.ts` 9/9 after the checker change. +- `docs cli|env|files --check`, `settings example --check`: clean. +- No builds (no app code). + ## Rollout - Fast-forward `main`.