Leaders, lesson 3 of 11

People decide, agents build, checks guard main

4 min read

Who it's for

Engineering leaders deciding how much to hand to AI agents.

You'll be able to

Name the five places a person must say yes, and how each one is held.

Agents can do most of the typing. That does not mean they should make the decisions.

Three jobs, kept apart

A factory splits the work into three jobs, and keeps them apart.

  • People decide what gets built, when work starts, and what reaches main.
  • Agents build. They write the tests and the code, run the checks, and report. An agent does not approve its own work.
  • Checks guard main. One fixed set of checks runs on every pull request, for people and agents alike.

People decide, agents build, checks guard main.

The five places a person must say yes

Nothing reaches users without passing all five.

YesWhat the person does
1. The specWrites it, with an agent's help, and signs it off. No code before an approved spec.
2. The planAn agent breaks the spec into small tasks, each with its test. A person approves the list.
3. The startA person adds a "ready" label to the task. Only then may an agent pick it up. Agents never set it.
4. The checker reportAI checkers read the change and write a report. A task closes only when the gate passes and a person has read it. A fail needs a fix, or an override the person writes down.
5. The mergeA person reads the pull request and merges it. Only then does it go live.

Notice what is not on the list. A person does not type the code or run the tests by hand. The yes is where judgment is needed, not where effort is.

Who does what for one feature. Each step lists what the person, the agent and the checks do. A person must say yes at five steps: the spec, the plan, the start, the checker report and the merge.

  1. The spec (yes 1 of 5: a person must say yes). The person: Writes it, with an agent's help, and signs it off. The agent: Helps write it. No code before an approved spec. The checks: Nothing yet.
  2. The plan (yes 2 of 5: a person must say yes). The person: Approves the list of tasks. The agent: Breaks the spec into small tasks, each with its test. The checks: Nothing yet.
  3. The start (yes 3 of 5: a person must say yes). The person: Adds a “ready” label to the task. The agent: Picks up the task only then. Never sets the label. The checks: Nothing yet.
  4. The build (no yes here). The person: Takes over when the agent fails three times at the same problem. The agent: Writes the tests and the code, runs the checks, and reports. The checks: Lint, types, tests, a secret scan and a package audit, on every pull request.
  5. The checker report (yes 4 of 5: a person must say yes). The person: Reads the report. A fail needs a fix, or an override the person writes down. The agent: AI checkers read the change and write a report. The checks: The gate must pass before the task closes.
  6. The merge (yes 5 of 5: a person must say yes). The person: Reads the pull request and merges it. Only then does it go live. The agent: Does not approve its own work. The checks: Guard main: the gate is a required check.
Five yeses, all said by a person. Agents build, and the checks guard main.

People own the rules too

The gate, the agents' instructions and the tool settings are control files. An agent does not edit them directly. It proposes a change in a pull request, and the named owner approves it. In CI, the gate uses the settings from main, not from the change. So an agent cannot quietly loosen its own rules.

Two more rules keep the split honest. An agent never holds a key that can publish. And when an agent fails three times at the same problem, it stops and hands over to a person with what it tried.

Checks hold the line in between

People cannot read every line an agent writes. The checks make that unnecessary. Lint, types, tests, a secret scan and a package audit run the same way every time. If a check fails, the agent fixes the cause. It does not weaken the check. By the time a person reviews, the routine questions are answered, and the review can focus on whether this is the right change.

Try it

Draw the five yeses on a whiteboard. For each one, write who says it on your team today, and what stops an agent from saying it instead. A yes with no name is missing. A yes with nothing behind it is a request. Pick one and fix it this week.

Get one lesson a week

Short and practical, from a factory people and agents really work in. Leave any time.