← Blog

Building Bishop

Why My Orchestrator Isn't Allowed to Write Code

The worst time was a task so small it didn't seem worth routing. The orchestrator decided it could just handle it itself: no junior, no reviewer, straight into the file. It was a small edit, and small edits are exactly the ones that skip the review that would have caught them.

In Bishop the orchestrator plans. It doesn't write the code. That small task is how I learned a rule written in a prompt isn't enough.

Before: the orchestrator edits a file itself on a small task and the change skips review. Now: it has no edit tools, so the same small task goes to the junior to write and the reviewer to read before it reaches the file
Before, it did the small edit itself. Now it can't.

Plan, then hand it over

The orchestrator understands the task, breaks it into steps and gives each step to the right agent. The junior developer writes the code. The code reviewer reads every change. The orchestrator decides what gets built and who builds it; the junior decides how.

What the orchestrator keeps is the map: the whole task, the steps that depend on each other, and which agent suits each one. None of that needs a line of code, and it's easier to do well when you aren't also halfway through editing a function.

The public bishop-harness repo says it plainly. Every coding step goes to @hicks, the junior, whatever the mission looks like, with @apone, the reviewer, straight behind it. The names come from Aliens. The rule is the same as in my own harness. I saw Aliens at the cinema before I'd seen the first film, and as far as I'm concerned it's the perfect movie: horror, sci-fi, thrill, action. I'm a bit of a scaredy cat, so I couldn't look at the screen all the time. That's why the harness is Bishop, the android, and the crew are the marines.

Why it matters

An agent that decides what to build and then builds it tends to narrow the problem to whatever was easiest to write. The same context asked the question and wrote the answer, so the answer is always yes.

When the planner can't write the code, it has to describe the step well enough for someone else to do it. If the step is vague, the junior comes back with questions before any code exists. And a planner that never touches a file can't "just fix this one thing" and quietly grow the task.

It also keeps a session readable. When something breaks, I can see where the decision was made and where the code was written, because they happened in different places. Then I can ask who decided this, and who built it.

How I made it stick

The fix wasn't better wording in a prompt. I put hard rules in place and took away the orchestrator's access to the editing tools, so it can't edit files at all now. It still plans, still hands out the work and still owns the map. It just can't touch the code.

It's the same lesson as the senior developer. When the orchestrator could call the senior directly, it gave the senior everything, because it wants the job done as quickly as possible. So now it can't do that either. If there's a quicker route left open, it takes it.

Next: One Expensive Night, and the Junior/Senior Split It Forced: the night the reviewer and the junior argued about a loop until the tokens ran out, and the escalation rule that came out of it.

More in this series

  • Then: "Where My Agents Actually Run" (from Tuesday 5 January).
  • Repo: bishop-harness

bishop-harness on GitHub →