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
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.
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)