Archilyzer · Source

archilyzer

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

commit bf0d7ea4b326ede4895a2ed05b33ed083e3fe81b
parent 2dca633de4d7ab0f7ea9f112ded06c6f184fb4cf
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 13 Oct 2026 14:10:06 -0400

plans: release 27 S11, as shipped — the umtool queue; CHANGELOG bullet; e2e polls the continuation's request

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

Diffstat:
Meditor/CHANGELOG.md | 1+
Mplans/release-27.md | 26++++++++++++++++++++++++++
Mumtool/e2e/article-research.spec.ts | 2+-
3 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## [Unreleased] +- **umtool shows a research run's queue, and /articles/new can start with research.** On an article's Iterations tab, a research iteration lists each acquisition it proposed: what it fetches, why, its evidence links, its estimate, and why it waits or was refused. Each one that waits has Yes and No (with an optional reason). An approved one shows its editor job's state as it runs. Once nothing is pending, **Continue into a sweep** starts the sweep over the run's channels and every channel it acquired into. On /articles/new, "start with research" takes an autonomy (propose, limits or auto; default the settings') and needs no channel. - **umtool makes and iterates articles: `/articles/new` and an article's Iterations tab.** `/articles/new` takes a question, channels picked from the editor's list, dates, the sweep (the agent on a Claude model or the pipeline on the local model), the model and a cap (the policy's default, which can only go down); **Start** has the editor run it as a report draft and opens the article's iterations. Each iteration shows its kind, model, parent, copy, status, cost per model, minutes, ops applied and refused, and checks, and which one is the article and which the video. On an iteration: **Use this iteration** (the article's report becomes its report), **New iteration** (a revision of the report or the video from your feedback, on a model), **Copy with model**, **Narrate**, **Cancel** (with the running job's log), and **Make the video** (the pipeline chain as a umtool job, step by step, resumable). An article whose only content is iterations is listed on `/articles` as in the making. Needs a restart of umtool. - **Two iterations side by side: `/articles/<id>/compare?a=&b=`.** Each side's report, section by section, with what the other side lacks marked; the ops its revision applied and refused (and why); its failed checks; and, when both have one, the two video cuts with their narration. Tick **compare** on two iterations to open it. - **The generation policy is on `/articles/new`.** The presets (`code`, `balanced`, `api`, `local`), where each task runs, the models and the caps, saved into the editor's `settings.generation`; the editor refuses a cap it would not keep, in its words. The API key is never shown or taken: the panel shows the key file's path and whether the file is there. The day's API spend is shown against the daily cap. diff --git a/plans/release-27.md b/plans/release-27.md @@ -550,6 +550,32 @@ Gates: Found: none outside the lane. +### S11, as shipped — the umtool queue (2026-10-13, lane G, after S8) + +| Commit | What | +| --- | --- | +| `68b5c81b` | umtool: `ResearchSlot` filled; `/api/articles/research` and `lib/articles/research.ts`; `/articles/new` starts with a sweep or with research (autonomy, channels optional, the limits shown); the editor stub's research runs; e2e `article-research.spec.ts`. common: a read of a running run writes nothing; the view carries the agent's notes | +| (this commit) | this record; the CHANGELOG bullet | + +- **The queue** (a research iteration's card in the Iterations tab), read through the editor's `research-approve`, which refreshes the run first. It shows: + - the phase, the autonomy, the spend against the limits, and the agent's closing notes; + - each acquisition with its action, target, estimate, status, reason, evidence links (new tab) and `note`; + - Yes and No (with an optional why) on each that waits, hidden while the run's job is going; + - each enqueued acquisition's editor job, followed live through `/api/articles/job`. +- The queue is re-read every 4 s while the run's job or an acquisition's job is going. +- **Continue into a sweep** is shown when the run is done and nothing is pending (`ready` or `continued`). It posts `report-draft {task: "sweep", iteration: n, model}`; the model defaults to the sweep route's. +- **`/articles/new`** has "start with": a sweep or research. A research start takes an autonomy (default `generation.research.autonomy`) and a model (the research route's) and needs no channel. A Claude model is capped at `caps.sweep`. +- **The policy panel does not edit `generation.research`** (`writePolicy` is unchanged). The defaults are set through the editor's settings. +- Rulings (orchestrator, 2026-10-13): `balanced` → api for research; continuation stays explicit in r27 (auto-continue is a later candidate); lane F passes `autonomy` through the MCP's `generate`. + +Gates: +- tsc clean (all packages). +- common 3984/3984; mcp 323/323; editor unit 282/282. +- `test:scripts` 850 pass + 3 skipped, 1 red: `queue-lock.test.mjs`'s "--with" case, run while the orchestrator's e2e held the machine-wide queue. Alone it is 37/37. +- `docs env|files|cli --check`, `settings example --check`: clean. +- umtool build (heavy slot, 5 GB cap, the corpus linked for the build only and removed): clean, `/api/articles/research` built. It waited 22 min for the heavy slot behind the orchestrator's e2e. +- e2e, foreground, two specs a run: `article-research` + `article-new` 4 passed, 1 failed (Continue's request was asserted before the stub recorded it; now polled); then `article-research` + `article-iterations` 6/6 (50.6 s). + ## Rollout - Fast-forward `main`. diff --git a/umtool/e2e/article-research.spec.ts b/umtool/e2e/article-research.spec.ts @@ -98,7 +98,7 @@ test("research: started with an autonomy, its queue answered yes and no, its job // Continue: a sweep whose parent is the run, over its widened scope. await slot.getByRole("combobox", { name: "continuation model for i1" }).selectOption("qwen3:8b"); await slot.getByRole("button", { name: "Continue into a sweep" }).click(); - expect(stubAsked("report-draft").at(-1)).toMatchObject({ task: "sweep", article: ARTICLE, iteration: 1, model: "qwen3:8b" }); + await expect.poll(() => stubAsked("report-draft").at(-1)).toMatchObject({ task: "sweep", article: ARTICLE, iteration: 1, model: "qwen3:8b" }); const sweep = page.locator("[data-iteration='2']"); await expect(sweep).toHaveAttribute("data-kind", "sweep"); await expect(sweep).toContainText("of i1");