The flow
- I decide
- An agent acts
- A gate checks
Numbers match the steps below.
Steps
-
MeAsk for something
A request in a coding-agent session. The strongest model is the session default, so it receives the request and acts as the lead.
-
Lead modelPlans and orchestrates
Writes the plan and keeps the judgment calls for itself: specs, review of results, anything involving secrets or settings, and live changes. Trivia is not delegated.
-
ReviewerAttacks the plan before anyone runs it
Required when the plan touches more than one file, a repository or a live system. A read-only agent on a different model gets the plan and the places it touches, never the lead's conclusions, and returns a verdict (sound, sound with fixes, unsound) with findings ranked by severity.
-
Lead modelAnswers every finding
Each finding is fixed, or rejected with a stated reason, before work starts. An unsound verdict sends the plan back to step 2.
-
Worker modelsExecute from the reviewed plan
Mid-size models do the work and the smallest run searches and fixed-rubric checks. Each is given an explicit model and effort level, and exact paths or its own working copy, because subagents otherwise inherit the session's.
-
MeConfirm anything destructive or live
Destructive operations and live deploys wait for a clear yes. Permanent deletes are mine to run. Read-only work needs no confirmation.
-
Lead modelReviews the results
A worker's report is a claim, not a measurement. The lead reads the work against the plan before anything is called done.
-
VerificationProves it, through the failure path
Tests, smoke checks and live checks, run in the production shape, with a second vantage point for any claim about a live system. A failure goes back to step 5.
-
MeRead the recap
What is now true, what was not verified, and the routing used: which model did which part.
Guardrails
Hard stops
- The reviewer holds only read and search tools: it cannot change what it reviews.
- A hook refuses a child session started without a named model, so cost and capability are always chosen, never defaulted.
- No kickoff while a finding is unanswered.
My call
- Destructive operations, and every permanent delete: the exact command is parked for me to run.
- Live deploys in an interactive session.
- Each read of a stored secret, as a biometric prompt.
Stop, don't loop
- Two failures of one automation: stop, report the state and side effects, and hand over the manual steps.
- A failed check returns to execution, never to the recap.
- "Cannot confirm from here" is reported as unverified, not as false.
The idea
Give each model one job and keep the author from being the judge. The planner never grades its own plan, the executor never grades its own work, and the reviewer cannot edit what it reviews. Routing by cost follows from that: spend the strongest model on judgment, the cheaper ones on execution, and spend a human only on what is destructive or live.