You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
Why: much of what keeps unattended work safe is one orchestrator agent following written rules: which lenses a PR needs, how many fix rounds, when to merge, filling slots, writing briefs from templates, keeping the state file. A mistake there is not caught by anything. Example from 11-21: a brief template had the wrong "which tests you may run" line for a Python task and had to be fixed by hand.
Done when: the fork has an orchestration module (or server feature) that decides lens count and kind from the PR's tier, enforces round caps, fills free slots from the ready queue, renders briefs from tested templates and keeps the state; the orchestrator agent handles only judgement calls. Builds on G7, G8, G10, G19.
Owner decision (2026-11-22): keep reviews, but make them cheaper and start them by software, not by the orchestrator noticing.
Next steps for this issue, in order:
Lenses start when CI is green. A PR's lenses start only once its fork-ci-result is green (tonight two lenses were spent on a head CI had already failed). First as an orchestrator-side waiter that wakes the orchestrator; then as fork software that starts the lenses the queue config names for the PR's paths.
Writer self-check. Writer briefs ask the writer to answer the state question (runs again, stops half-way, old or empty state) and read the lens prompts before pushing.
Batched releases.fork-ci-release runs from the daily schedule; an on-demand release holds new merges only until main's tip is green, then releases.
Routine steps (merge line, release hold, lens start) go to scripts; the orchestrator only decides.
Owner decision (2026-11-22), widening this issue: every agent action that is not generating something (writing code, a review, a brief, a decision) is done by code, for all agents, not only the orchestrator. Waiting, polling, merging, releasing, starting the next step and cleanup are scripts or services; agents push and stop, and code wakes them with the result.
Already code: the serial merge line, release-at-tip (holds merges until main's tip is green), CI waits (writers and lenses push and stop; a script waits for the PR's result). Next, in order: start the review lenses automatically when a PR's CI goes green (step 1 here); prepare the worktree and dependencies before a writer starts (#991); move the remaining orchestrator routines (queue order after a narrow check, restarting a stopped merge line) into the same scripts.
Feature shape for "renders briefs from tested templates", from a review of which written orchestrator rules should become code:
A queue_add tool checks a queue item against the slot filler's schema and refuses bad fields at once, not later at start time.
The brief is rendered when the task starts, from a tested template in the repo plus the target machine's facts from config. Moving work to another machine then needs no brief rewrite.
Work started outside the filler counts against the same writer cap.
Evidence (one day): one queue item was refused only later, for a bad kind. Each move to another machine meant pasting a machine note into every brief again. One machine showed 6 of 4 writers, because work started outside the filler went past the cap.
Working on the first point of the 11-28 feature shape ("queue_add checks a queue item against the slot filler's schema and refuses bad fields at once"): slot-filler add FILE|- (and --backlog, --check) checks the item with the same rules the timer applies at start time, plus what would only show later (an id already queued, started or in flight; a kind no allowed machine takes), and writes it into the queue without ever replacing a file. One fork PR. Brief rendering and the writer cap for work started outside the filler stay open.
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
Activity
scuttletoby commentedon Nov 22, 2026
Owner decision (2026-11-22): keep reviews, but make them cheaper and start them by software, not by the orchestrator noticing.
Next steps for this issue, in order:
fork-ci-resultis green (tonight two lenses were spent on a head CI had already failed). First as an orchestrator-side waiter that wakes the orchestrator; then as fork software that starts the lenses the queue config names for the PR's paths.fork-ci-releaseruns from the daily schedule; an on-demand release holds new merges only until main's tip is green, then releases.Routine steps (merge line, release hold, lens start) go to scripts; the orchestrator only decides.
🤖 Generated with Claude Code
scuttletoby commentedon Nov 22, 2026
Owner decision (2026-11-22), widening this issue: every agent action that is not generating something (writing code, a review, a brief, a decision) is done by code, for all agents, not only the orchestrator. Waiting, polling, merging, releasing, starting the next step and cleanup are scripts or services; agents push and stop, and code wakes them with the result.
Already code: the serial merge line, release-at-tip (holds merges until main's tip is green), CI waits (writers and lenses push and stop; a script waits for the PR's result). Next, in order: start the review lenses automatically when a PR's CI goes green (step 1 here); prepare the worktree and dependencies before a writer starts (#991); move the remaining orchestrator routines (queue order after a narrow check, restarting a stopped merge line) into the same scripts.
🤖 Generated with Claude Code
feat(fork): lens_start tool, and lens start after CI (T3b, #888) (#1042)
slot filler: start queued agent tasks into free slots by code
slot filler: start queued agent tasks into free slots by code
slot filler: start queued agent tasks into free slots by code (#1137)
slot filler: start queued agent tasks into free slots by code (#1137)
slot filler: start queued agent tasks into free slots by code (#1137)
slot filler: start queued agent tasks into free slots by code (#1137)
feat(fork): lens_start tool, and lens start after CI (T3b, #888) (#1042)
slot filler: start queued agent tasks into free slots by code (#1137)
scuttletoby commentedon Nov 28, 2026
Feature shape for "renders briefs from tested templates", from a review of which written orchestrator rules should become code:
queue_addtool checks a queue item against the slot filler's schema and refuses bad fields at once, not later at start time.Evidence (one day): one queue item was refused only later, for a bad kind. Each move to another machine meant pasting a machine note into every brief again. One machine showed 6 of 4 writers, because work started outside the filler went past the cap.
🤖 Generated with Claude Code
feat(fork): lens_start tool, and lens start after CI (T3b, #888) (#1042)
slot filler: start queued agent tasks into free slots by code (#1137)
scuttletoby commentedon Nov 29, 2026
Working on the first point of the 11-28 feature shape ("
queue_addchecks a queue item against the slot filler's schema and refuses bad fields at once"):slot-filler add FILE|-(and--backlog,--check) checks the item with the same rules the timer applies at start time, plus what would only show later (an id already queued, started or in flight; a kind no allowed machine takes), and writes it into the queue without ever replacing a file. One fork PR. Brief rendering and the writer cap for work started outside the filler stay open.🤖 Generated with Claude Code