What the coordinator does, and what it never does
The coordinator is one bot per product. It plans the work and decides how it runs: the tier, the contract, the workers, the review and the merge. It runs one loop from intake to closeout, and it never writes product code itself.


What the coordinator is
This is one mini-guide from my dev workflow System. Each product has one coordinator bot. It is the only role that talks to me about the goal, and the only role that decides how the work runs. The rule behind it is short: you set the goal, and the coordinator decides the path.
The loop, in order
The coordinator runs the same loop for every task. Each step has one owner, and the owner comes first. The tier decides which path the task takes:
1. You: set the goal, as a Linear issue or a chat request.
2. Coordinator: takes the intake. Any change to a repo gets a Linear issue first.
3. Coordinator: sets the tier, T0 to T3, from the paths the change touches. T1 exists only where the repo has a light list and a preview branch. How it picks the tier is its own guide.
4. Coordinator, T0 only: answers alone. No worker, no contract and no review. The loop ends here.
5. Coordinator, T1 to T3: writes the contract: the goal, the numbered requirements, what must not change, and one check. How I write that contract.
6. Reviewer, T3 only: reads the contract before any worker starts. The contract gets one fix, then the worker starts.
7. Coordinator: starts a worker in its own worktree and branch, with the contract and the check. On T1 it is the light worker. The issue moves to In Progress. What the worker does there is its own guide.
8. Worker: builds the contract on that branch and opens one pull request. On T1 the pull request goes into the preview branch.
9. Worker: runs the check command on the final head until it is green.
10. Coordinator, T1 only: merges into preview on a green check of its exact head. There is no reviewer. The loop ends here.
11. Coordinator, T2 and T3: moves the issue to In Review and starts a reviewer from another provider than the worker. Why the provider must differ.
12. Reviewer: reads the pull request by its head sha and gives one verdict: APPROVE, CHANGES_REQUESTED or BLOCKED.
13. Coordinator: on CHANGES_REQUESTED, sends the findings back to the worker. The worker fixes them, and the reviewer reads the new head again. Two fix rounds at most. After that it splits the task, redesigns it or asks me.
14. Coordinator: for reviewed tasks (T2, T3), merges only through the gate, one pull request at a time. It runs any migration on the staging database, moves the issue to Done once the code is on main, and closes out in Linear.
T0 (no repo change) and T1 (light path to preview, no reviewer) skip the review; see how the coordinator picks a tier.
One task, one owner per step
A Linear issue, or a chat request
Makes the Linear issue. Reviewed path: T2 or T3
T3 only. Reads the contract before the build starts
New branch, with the contract and the check
From another provider than the builder's
The full check on the head, until green
Its own files only. Opens one PR
Reads by sha. One verdict
Reviewed tasks: APPROVE, no critical finding, green. Then cleanup and Linear
Fixes the findings. The reviewer reads the new head
A Linear issue, or a chat request
Makes the Linear issue. Reviewed path: T2 or T3
T3 only. Reads the contract before the build starts
New branch, with the contract and the check
Its own files only. Opens one PR
The full check on the head, until green
From another provider than the builder's
Reads by sha. One verdict
Fixes the findings. The reviewer reads the new head
Reviewed tasks: APPROVE, no critical finding, green. Then cleanup and Linear
What the coordinator never does
These are the coordinator's hard limits. They are not steps for you.
- It never writes product code. A fix goes back to the worker on the same branch, so the branch still matches its contract.
- It never merges a reviewed task (T2, T3) without the gate: APPROVE, zero critical findings, a green status, and the same head and target.
- It never uses the same provider to review the work. If the two providers match, it stops and asks me.
- It never runs more than four tasks at once. The rest wait in the queue.
- It never force-pushes, resets or reverts main. If a production check fails, it stops and reports the evidence.
- It never takes a production step on its own. Production migrations wait for my yes.
What stays with me
The coordinator decides the path, but some decisions are mine. When it needs one, it asks me on a card: one decision per card, with its recommendation first. These are the stop points:
- Production data and migrations, and any destructive production operation.
- Secrets, credentials and OAuth scopes.
- Payments and pricing, and the auth and permission boundaries.
- Legal commitments, DNS and domains.
- Every real outbound action.
Code in these areas still goes through the tiers. The production action itself is mine. If a fix fails two rounds with critical findings, the coordinator splits or redesigns the task, or asks me. The same goes for a reviewed merge that fails three times.
Common mistakes
Each row is a way the loop breaks. The right column is what my coordinator does instead.
| Mistake | What goes wrong | What my coordinator does instead |
|---|---|---|
| The coordinator fixes a finding itself | The branch no longer matches the contract the worker was given | It sends the finding to the worker on the same branch, as a fix round |
| The same provider reviews the work | The review uses the same habits that wrote the code | The reviewer comes from another provider. If the two match, it stops and asks me |
| Merging on a green check alone | A green check says the tests passed. It does not say the review found nothing | For reviewed tasks, it merges only on APPROVE, zero critical findings and a green status on the same head |
| A third fix round | Point fixes pile up, and the task drifts away from its contract | After two rounds with critical findings, it splits the task, redesigns it or asks me |
| A production step taken from a chat | A production change goes out without the owner's yes | Production migrations and production actions wait for my explicit yes |
The coordinator's checklist
These are checks my coordinator runs itself. They describe how my workflow works. They are not steps for you to run.
Where these rules come from
Our roles live in a private repository, so I describe them in words instead of linking them. In short:
- The coordinator starts each worker in its own worktree and keeps at most four tasks in flight.
- The reviewer reads by head sha and edits nothing.
- For reviewed tasks, the coordinator merges one pull request at a time, and only through the gate.
- There are at most two fix rounds. After that the task is split, redesigned or brought to me.
The reasons for each rule are in the guides linked above: tiers, contracts, reviewers, models and parallel work.


