Archilyzer · Source

archilyzer

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

commit 177c3ee9600c20236d2cebf1df05a204e8c64555
parent 34f353f49e99b13c1005f0fd9e2aa8154555a2eb
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 13 Oct 2026 14:15:49 -0400

docs, plans: release 27 S10 after S11's queue — Yes / No, Continue into a sweep, start with research; the record

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

Diffstat:
MOPERATING.md | 14+++++++++-----
Mplans/STATE.md | 11++++++-----
Mplans/release-27.md | 7++++++-
Mumtool/docs/authoring.md | 4+++-
4 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/OPERATING.md b/OPERATING.md @@ -161,7 +161,8 @@ pnpm archilyzer reports iterations example-article umtool chain example-article 3 ``` -- In umtool: `/articles/new` starts an article (question, channels, dates, model, cap); the article's **Iterations** +- In umtool: `/articles/new` starts an article with a sweep or with research (question, channels, dates, model, + cap; research takes an autonomy, defaulted from the settings, and needs no channel); the article's **Iterations** tab (`/articles/<id>?tab=iterations`) lists its iterations and runs the rest (**New iteration**, **Copy with model**, **Narrate**, **Cancel**, **Make the video**, **Use this iteration**); `/articles/<id>/compare?a=&b=` puts two side by side. The pages: [umtool/docs/sites.md](umtool/docs/sites.md). @@ -235,12 +236,15 @@ pnpm ops report-draft --json '{"task":"sweep","article":"example-article","i - **Limits** (`settings.generation.research`): `maxItemsPerRun` 20, `maxGbPerRun` 5, `maxTranscribeHours` 6, `newChannelsNeedApproval`, `postWalksNeedApproval`. A proposal past a cap, or of unknown size, waits in every mode. -- **Approve or reject** in umtool (the run's queue in the Iterations tab, yes or no per proposal) or with - `research-approve`. A yes runs it through the editor's own action, past the run's autonomy and caps. With no ids - it answers the run's state. It is refused while the run's job is still going. +- **Approve or reject** in umtool: the run's queue in the Iterations tab shows each acquisition (what it fetches, + why, its evidence links, its estimate, why it waits) with **Yes** and **No** (an optional reason) on each that + waits, and an approved one's editor job as it runs. Or with `research-approve`. A yes runs it through the + editor's own action, past the run's autonomy and caps. With no ids it answers the run's state. It is refused + while the run's job is still going. - **Phases:** `discover` (the job runs), `wait` (a proposal waits for you, or an acquisition's job has not ended), `ready` (nothing pending), `continued`. Each read refreshes the acquisitions from their jobs. -- **Continue** is a sweep with `"iteration"` naming the research run: its question, over its channels and every +- **Continue** (umtool's **Continue into a sweep**, shown once the run is done and nothing is pending) is a sweep + with `"iteration"` naming the research run: its question, over its channels and every channel an acquisition wrote into. It is refused while the run waits, unless `"force": true`. A channel on no site is in no build: put it on a site and build before continuing. Nothing continues on its own. - **The standing rules hold in every mode**, and a proposal that breaks one is refused: a new channel is created on diff --git a/plans/STATE.md b/plans/STATE.md @@ -10,10 +10,10 @@ recommended). `main` is `9f05d557`. engines), S3 (corpus tools in process, `web-search` / `web-fetch`), S3b (`archive-search`, `archive-item`, `import-post`, the acquisition tools), S4 (iterations store), S5 (tasks), S6 (`report-draft` jobs, GPU arbiter, caps, `settings.generation`), S7 (the umtool chain and the four owed bugs), S8 (umtool `/articles/new`, Iterations, - compare, policy panel), S9 (`generation_policy` / `generate`, `/gen`, `archilyzer gen`), S11's backend (research - runs, `research-approve`). In flight: S11's umtool research queue (`r27/research`), S10 (`r27/migrate-docs`: - `archilyzer reports import-local-runs` and the docs). -- **Owed, in order:** merge S11's queue and S10; the gate round on the integration tip (typecheck, unit suites, docs + compare, policy panel), S9 (`generation_policy` / `generate`, `/gen`, `archilyzer gen`), S11 (research runs, + `research-approve`, umtool's research queue). S10 (`archilyzer reports import-local-runs` and the docs) is on + `r27/migrate-docs`. +- **Owed, in order:** merge S10; the gate round on the integration tip (typecheck, unit suites, docs checks, the four capped builds, `pnpm e2e:all` with `article-new`, `article-iterations`, `article-compare`, `article-research` and `report-draft`), including the two runs no lane could make under the memory floor (a standalone editor `next build`; umtool's `build.spec.ts` and its capped build); the privacy greps; fast-forward @@ -23,7 +23,8 @@ recommended). `main` is `9f05d557`. - **Then the stopgap:** the operator reads the import's dry run (`pnpm archilyzer reports import-local-runs`), then `--apply`; then the test runs, projects and drafts it lists are deleted on the operator's OK (15 items, 307 MB, three of them registry drafts with no registry delete verb); the user-level `~/.claude/commands/gen.md` is retired; the - stopgap stays read-only until the operator deletes it. + stopgap stays read-only until the operator deletes it. `runs/api-shondo-fishing` is neither imported nor deleted + (ruled 2026-10-13): it is on the operator's list. - **Found during release 27, not fixed:** transcription leaves `/tmp/parakeet-stitch-*` directories behind (21 since 2026-10-02, ~210 MB of the RAM tmpfs). `controller/relocateChannelMedia.test.ts` ("reconcile: an extra and a changed file") failed once in a full common run on `r27/migrate-docs` and passes alone. diff --git a/plans/release-27.md b/plans/release-27.md @@ -624,7 +624,9 @@ Migration and docs, on `r27/migrate-docs` from `r27/integration` `1575479b`. | --- | --- | | `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 | +| `8e3329fa` | this record | +| `fa22afd1` | merge `r27/integration` (S11's umtool queue) | +| (this commit) | OPERATING.md and authoring.md checked against S11's queue and `/articles/new` (start with a sweep or research, Yes / No, Continue into a sweep); 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 @@ -656,6 +658,8 @@ Migration and docs, on `r27/migrate-docs` from `r27/integration` `1575479b`. `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`. +- **Ruled (orchestrator, 2026-10-13):** `runs/api-shondo-fishing` is neither imported nor deleted; it goes on the + operator's list. The `api-shondo-recent` article id is the run name. - **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. @@ -665,6 +669,7 @@ Gates: - 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. +- After the merge of `r27/integration` (S11's queue): tsc clean (all packages); common 4001/4001. - `docs cli|env|files --check`, `settings example --check`: clean. - No builds (no app code). diff --git a/umtool/docs/authoring.md b/umtool/docs/authoring.md @@ -110,7 +110,9 @@ technically correct and editorially wrong. A model can make the report and the cut in place of steps 0–2: in umtool, `/articles/new` and then the article's Iterations tab ([sites.md](sites.md)), -or from a shell: +or from a shell. When the archive may lack the material, start with research +instead of a sweep: its queue proposes what to fetch, and **Continue into a +sweep** makes the report once it is in (OPERATING.md, "Research runs"). ```sh pnpm ops report-draft --json '{"task":"sweep","article":"<id>","question":"…","channels":["<slug>"]}' --wait