Morten Sæther

← Blog

The Coordinator Never Writes Code: Planning and Routing Work

#35 · 12 October 2026

A project manager that cannot open an editor, the routing table it follows, and the four things it repeats in every brief

Post 34 split one agent into a team. A team needs someone to hand out the work, check it came back, and refuse to say “done” until it is. On this project that is a markdown file called coordinator.md, and the first line of its body says it is never allowed to write code. That line is the whole design.

What it does instead

The coordinator reads the task, decides which roles are involved, writes a brief for each, dispatches them in order, and reads what comes back. It touches no template, no schema, no workflow. If it wants a file changed it asks a specialist.

The first version did not have the prohibition and drifted within a day. Asked to coordinate a small change, it decided the change was small enough to just do, did it, and skipped the review chain because it was confident. Confidence is what the chain exists to counteract. So: always delegate, even a one-line fix, and the one-line fix still goes through security and qa.

The routing table

The coordinator does not work out the route each time. It has a table, by type of change:

Security is in every row. Qa is in every row that produces something a user can click. Documentation is last, because the read-only doc- agents need the final state, not the plan. The architect also gets anything that crosses more than one layer or touches authentication or permissions. It may be skipped for small bug fixes, text changes and documentation-only work. Nothing else.

The four things it says every time

Some rules are too important to live only in the specialist files. The coordinator repeats them verbatim in every brief:

Never run the portal upload. Uploading to the development environment is a thing I do, by hand, after looking at the diff. An upload is the moment a mistake becomes visible to everyone testing on that environment, and I want a human at that moment.

Never push without an explicit go-ahead for that specific action. I would rather be asked twelve times than find out once.

Never touch production data. Reading for diagnosis is fine. Changing a record, under any instruction, is not. An agent that has been reading production records for twenty minutes is one helpful impulse away from fixing one.

No comments in definition templates, Liquid comments only in web templates, and never a Liquid tag inside a comment. That rule cost an afternoon of downtime before it was written down.

The list and the checklist

Every task starts with a todo list: one item per role per step, in route order. Agents report done, approved, passed or blocked. This is less about tracking and more about making a stall visible. Four items done and one sitting at “waiting” for an hour is a list I can read.

Before anything is reported as finished, the coordinator checks that every step completed with a passing status and nothing is blocked. If security said “approved with one note”, the note is in the final report. If qa could not test something because it needs uploading first, that is an outstanding item, not an omission.

What it looked like on a real feature

The casting director wanted talent to apply to a casting from the casting detail page, issue #41. The coordinator routed it as a new feature.

Issue 41 routed as a new feature: architect, then the specialists, then security, qa and documentation Issue #41, routed as a new feature architect table, endpoint and flow; resolve the profile from the signed-in contact dataverse creates the cast_application table powerpages endpoint with the checks, form template, snippets integration flow reads the caster's address from the casting security reviews the change Stop: the form allowed a file upload the table permission did not cover: sent back qa Playwright test as talent and as a caster doc-powerpages updates the docs page Done, one outstanding item: the upload to Dev is mine
The new-feature route, as it ran for issue #41.

The architect proposed a cast_application table with lookups to the casting and the talent profile, a server-logic endpoint, and a flow that notifies the caster. It flagged that the endpoint must resolve the talent profile from the signed-in contact rather than trust the ID from the browser, and check that the casting is published and the deadline has not passed.

The dataverse agent created the table. The powerpages agent wrote the endpoint with the checks, the form template and the snippets. The integration agent built the flow, reading the caster’s address from the casting record. Security found that the form allowed a file upload the table permission did not cover, and sent it back. Qa ran the Playwright test as talent and as a caster. The doc-powerpages agent updated the docs page. The coordinator reported: done, one outstanding item, the upload to Dev is mine. I read the reports and one diff.

The honest part

A coordinator is only as good as the rules it has been handed, and it is handed them by me. The routing table is right because the first three versions were wrong. The four rules are repeated because each was broken once by an agent that had the rule in its own file and did not read that far.

It also stalls: waiting for a specialist that has already finished, it will sit there, politely, forever. It drifts: given a worktree, it sometimes finds its way back to the main checkout and commits there. Supervising the supervisor turns out to be most of the job, and gets a post of its own.

Next: why generalists lose to specialists, and what the Liquid, Dataverse and integration agents each know that the others do not.