Decides what
needs to happen.
Opus / reasoningA presentation for humans who ship
You do not need an army of models. You need a system: one mind to frame the work, several hands to execute it, and a clean boundary between every task.
Read this as a route map, not a prompt recipe.
Opus / reasoningThe orchestrator preserves intent, writes small contracts, and gathers results that can be verified. It does not need to type every line.
Every worker reads everything. Nobody knows which facts are load-bearing.
Two agents touch the same checkout. The fastest path becomes conflict resolution.
The diff is polished, but no one checks whether it solved the original problem.
The subagent loop
Delegation means moving one bounded task into a smaller context—not giving away responsibility.
| Package | Contains | Why it matters |
|---|---|---|
| Brief | goal, files, boundaries | stops the worker inventing the problem |
| Worktree | branch and isolated checkout | parallel edits do not collide |
| Checks | tests, build, criteria | turns “looks good” into evidence |
| Diff | small, reviewable change | integration and discard stay cheap |
Git worktrees
A worktree is another directory linked to the same repository. Each agent gets its own checkout and index; history remains shared.
Select a node to inspect its checkout, owner, and next action.
Model routing
Choose a job to see why the model profile changes.
Two separate knobs
A stronger model changes the capability ceiling. Higher reasoning effort gives that model more room to work. Start with the lightest combination that passes your real checks, then move one knob at a time.
Skills
A skill is a reusable procedure. It can carry instructions, references, scripts, and assets. It is not magical memory, and it does not replace acceptance criteria.
name: review-ui · check focus, mobile, reduced motion · run verification · return evidenceThe skill forge
Do not package everything you know. Capture the non-obvious choices that repeatedly improve an outcome, then prove the skill changes behavior.
The field kit
A skill changes how an agent approaches work. Some shape communication. Others enforce research, debugging, review, or completion discipline. Select one to inspect its operating rule and verified source.
Tiny Tasks lab
Start with a deliberately incomplete static task board. Run one prompt as written, reset, then run the skill-enabled version. Compare diff size, verification evidence, and unnecessary complexity.
From confident drift to decisive proof
Every gate needs its own line, its own exit code, and its own evidence. The matrix below is the deliverable — not opinion, not prose, not "looks done".
Format, lint, type-check. Fast and scope-bounded. Run on every save.
pnpm lint; echo "lint=$?"
pnpm typecheck; echo "typecheck=$?"Unit and contract tests. Repeatable. Run before claiming done.
pnpm test; echo "test=$?"
cd services/api && go test ./...Drive the actual UI, API, browser. Slow, fragile, decisive. Only this catches mobile overflow and missing 404.
pnpm check:ui; echo "ui=$?"
TURBO_FORCE=true pnpm e2etail, grep, or head hide the real exit code — a pipeline returns the last command's status.
Silent .catch(() => {}) hides a panic, an upstream limit, or a partial failure.
Turbo caches results. A gate that "passes" may not have run — use TURBO_FORCE=true.
Static + unit can both be green while the page breaks on mobile or the API never returns 404.
Run the four-row comparison strip on the starter. Run A naively, Run B with $gate-discipline + $webapp-testing.
Toggle rule sources off and on. Compare the diff size, the count of gate commands invoked, and the names of checks cited in the final reply.
Open the rules lab →Go deeper with official documentation, production case studies, Medium, and practitioner workflows. Rules and enforcement case study → Primary references → 12-part reading path →