CanonBall

Guide / How it is organized

Handing over decisions

Each kind of decision has a level of automation that moves on track record, so that one method can serve cautious teams and fast ones.

One method, many settings

A team building billing rules and a team building robot safety software should not give agents the same freedom. A process written for the cautious team slows the other one down, and a process written for the fast team is one the careful team cannot adopt.

CanonBall therefore keeps the stations the same everywhere and varies a single setting: a level of automation, kept for each kind of decision, which says how much of that decision an agent may take.

People decideAgents act
What the system promisesPromises, examples, vocabulary
Agent recommends, a person decides. This stays with people.
What is never allowedConstraints on safety, money, irreversible actions
Agent recommends, a person decides. This stays with people.
Choices a customer would noticeThresholds, policies
Agent recommends, a person decides.
ArchitectureHow the system is divided, where state lives
Agent recommends, a person decides.
Detailed designModule layout, interfaces, retries, data shapes
Agent recommends, a person decides.
Verification designThe environment, what is faked, which failures to simulate
Agent recommends, a person decides.
Decision logicThe functional core: code with no side effects
Agent recommends, a person decides.
Code that touches the outside worldAdapters, permissions
Agent recommends, a person decides.

The positions shown are illustrative; each team writes its own thresholds.

Six levels of automation

Human-factors researchers have described the handover of control from operator to machine as a scale of levels of automation since the 1970s. The scale used here is a shortened version of theirs.

Level of automation The agent A person
0 Analyzes Decides
1 Recommends, with reasons and stated confidence Decides
2 Decides Approves before anything happens
3 Acts Reads each decision afterwards
4 Acts Audits a sample of decisions
5 Acts Watches the metrics

A new team starts every kind of decision at level of automation 1, where agents recommend and people decide.

Classify the decision, not the topic

A decision is classified by the following properties.

  • Reversibility. What would it cost to undo, and who would have to agree?
  • Blast radius. How much breaks if it is wrong?
  • Verifiability. Can a machine check the result?

Together they give a small number of classes, from “reversible, local, checkable” to “irreversible, broad, uncheckable”. The class, rather than the subject matter, decides where the level of automation starts. This is why domains differ: a billing service has many decisions in the first class and a robot fleet has many in the last, so the two arrive at different settings while following the same method.

How a level of automation moves

  • Up, on track record. At level of automation 1 the agent runs in shadow mode, recording what it would have decided. Enough agreement with the person, over enough cases, moves the class up by one.
  • Down, on one failure. A single escaped defect drops that class by one.
  • Not at all, on a model release. A better model will usually earn the move sooner, but it still has to earn it.

The thresholds are written in advance in the policy, which no agent can edit. A policy might say, for example, “promote after 50 cases with at least 98% agreement and no severe disagreement.” Because one failure undoes what many cases earned, a level of automation rises slowly and falls quickly.

Who leads at the stations

Every team runs the same stations. At three of them the levels of automation decide who leads the work, with a separate setting for each kind of work.

Kind of work Station When a person leads When an agent leads
Architecture Shape The architect sets the design. The planner fills in the detail. The planner writes the design. The architect reads it by exception.
Detailed design Build The architect stays at the Build station and decides the choices the builder raises. The builder decides, and each choice is recorded as a derived decision.
Verification design Shape, Verify The verification lead designs the evidence plan and the environment. The verifier builds them. The verifier drafts both. The verification lead reads what the environment cannot show, and reviews any change that would weaken it.

Review is not on this scale. An agent reviews every change, and what a team tunes over time is the policy’s list of what counts as critical, as Review sets out.

What never moves

Promises, product decisions, invariants and constraints are approved by a person at every level of automation. They pass the agreement gate, which closes the Shape station.

  • What the system promises. Agents may draft promises, invariants and examples, and people approve them. A machine cannot verify meaning, so meaning cannot be delegated.
  • What is never allowed. Constraints have their own owner, who holds a veto.
  • Product decisions. An agent may recommend a threshold, and with a track record it may choose one, but a person approves the choice before it takes effect.

How much of the design agents own

The share of the design left to agents is controlled by the following settings.

  • The clause state. A clause is decided, deferred to the agents within bounds, or open. Deferring a clause hands the choice over.
  • Promotion. Any design choice an agent recorded in the blueprint can be promoted to a decision in the canon, after which a person owns it.
  • The level of automation for the class. Low-level design in a well-understood domain can reach 4 or 5, while high-level design in a new domain may stay at 1 for a long time.

Whatever the setting, every decision still traces to a clause, and every clause to a promise. The level of automation changes who decides, and leaves unchanged what a decision must answer to.

Precedents carry judgment

When an agent meets a case no clause covers, it asks. The person’s answer is written into the decision that settles the question, with the case, the ruling and the reason, and that decision becomes a precedent which later decisions cite.

Order 6120, a bundle with one late item: refund the late item only, because the rest delivered value.

The agent applies a precedent to similar cases and asks again when a case is materially different. When several precedents point the same way, the agent proposes a general rule, and a person approves it as a decision that cites them.

Delegation can therefore grow as the body of precedent grows. Precedents cannot say which good thing wins when two conflict; the tenets exist for that purpose.

What is unproven

Agreement measures imitation, and imitation is only as good as the person imitated: an agent that matches a person 98% of the time is as right as that person was. For classes where a wrong decision is severe, the threshold should be set higher. Some classes are so rare that they will never reach fifty cases, and those remain with people.