CanonBall

Guide / How it is organized

People and agents

Seven agent roles do the work under separate permissions, and people keep the decisions a machine cannot check.

The dividing line

A change passes seven stations, and people and agents work together at most of them. What separates their work is the kind of decision involved. An agent may make any decision that can be verified and reversed, within bounds that people set. The following kinds of decision stay with people.

Kind Why it stays with a person
Goals and trade-offs There is no correct answer, only values.
Accountability Someone must answer for an action that cannot be undone.
Judgment nobody can check Taste, ethics, usability.
Novelty A situation the canon does not cover.
Trust with other people Customers, regulators, partners.

Five hats for people

The people’s roles are hats, and on a small team one person wears several.

Hat Answers for Works at
Product manager Which requests form a milestone, the order of the roadmap, and what the system promises Collect, Shape
Architect The architecture, and the detailed design where the team keeps it Shape, sometimes Build
Verification lead The evidence plan and the design of each verification environment Shape, Verify
Constraint owner What is never allowed. Holds a veto. Shape
Operator The running system, and anything risky or irreversible done to it Operate

The Review station has no hat of its own, because the person who reviews there is the owner of what is at risk. When a change in the refunds service touches the path that moves money, that person is the refunds owner.

Seven agent roles

Role Does Writes Works at
Elicitor Files requests, drafts proposals and clauses, and raises a question when something is ambiguous roadmap/notes/, proposals and proposed clauses Collect, Shape
Planner Writes the design, the assurance case for each clause, the predicted change in behavior, and the tasks The blueprint, as proposed files, and tasks/ Shape
Builder Writes the code and the signals it emits src/, observe/signals.md Build
Verifier Writes the evidence plan, and builds environments, checks, injected faults and monitors verify/, observe/tools/, and the evidence plan as a proposed file Shape, Verify
Reviewer Reads everything in a change and rates its blast radius: how much breaks if the change is wrong Nothing but its review Review
On-call agent Watches the monitors, diagnoses with the observability tools, and drafts the incident and the unplanned change that repairs it incidents/, and a draft under roadmap/unplanned/ Operate
Holdout keeper Runs the held-out scenarios that people write, and reports only pass or fail Nothing the other agents can read Apart from the stations

One further participant is a program. The orchestrator computes the state of every change and task from what exists in the repository, compares predicted with actual behavior, computes the Verification Record, and at release copies the proposed files into spec/ and publishes the CanonBall. Because the program that decides the state of the work is deterministic, the method can tolerate agents that are not.

Why the roles are separate

The builder and the verifier are separate roles so that the agent that writes the code does not also write the checks that judge it. A second agent can easily share the first one’s misreading of a clause, so independence is made to rest on permissions, which can be enforced, rather than on the second agent’s intentions, which cannot.

Who can write what. Independence is a matter of permissions.

Each role is a separate account, and the repository rejects a commit outside that role’s paths. No agent’s account can write the policy, the rules that decide what counts as evidence, which belong to people. The held-out scenarios are also written by people. The holdout keeper runs them and reports only pass or fail, and runs are rationed, so that neither the builder nor the verifier can learn what the scenarios contain.

The same independence applies to people: the verification lead who reviews the case for a critical clause does not own the capability that the case protects.

Two gates

A gate is a point where a person must act before work proceeds.

Agreement gate Release gate
The question Is this what we want the system to promise? Does someone accept the risk of releasing this?
Decides Meaning Accountability
Where The end of the Shape station The Review station
A person reads The change proposal, the proposed clauses and their examples The Record, predicted against actual behavior, and the case for each critical clause
Needs a person Always, when a clause is added or altered Only when the policy lists the change as critical or the reviewer rates its blast radius as large

The release gate is the person’s part of Review, applied only to the changes named in the table, and review has no level of automation. After Review the orchestrator applies the release rule, and no person acts there.

Every point where a person acts

When What a person does In what form
Once, at the start Owns the purpose, a capability or the constraints, and writes the tenets A page
At Collect Agrees to the proposal and ranks the roadmap A page and a list
At Shape Answers questions, approves the examples, and designs the verification environment with the verifier Questions with options, examples, a short declaration
At the release gate, when it applies Reads what the gate requires, then accepts the change or sends it back A short argument and one line
On an incident Decides anything risky or irreversible, and approves the new example An example

The system is expected to present each of these decisions in the form shown, so that a person is never asked to work through a test file or dig through a raw log. The only code a person is asked to read is the code that touches the outside world: adapters and permission checks.

While agents build and verify one milestone, the product manager collects and shapes the next. The amount of work in progress is therefore limited by people’s attention, which is the scarce resource.

Ownership

People own by capability: a named thing the system provides to someone. A capability has exactly one owner, the person who knows its consumer best, and components have no owners at all.

Ownership is a right to approve and places no fence around the work, so agents build across every component. Over time a team hands more of its decisions to agents, in the way Handing over decisions describes.