CanonBall

Guide / Building with it

Where the words come from

Most of the ideas and vocabulary in CanonBall come from established work, and each term is mapped here to its source.

Established terms first

A method that invents a new word for every old idea makes its readers learn everything twice, so CanonBall uses the words engineers already know. Where it prefers a plainer word, the established term and its source are given below, so that a reader can connect the method to the literature behind it.

Specifying

In CanonBall Established term Source
Promise Requirement Requirements engineering generally
Invariant Invariant Bertrand Meyer, Object-Oriented Software Construction (1988); Leslie Lamport, Specifying Systems (2002)
Decision Architecture decision record Michael Nygard, “Documenting Architecture Decisions” (2011)
Constraint Safety constraint; operating envelope Nancy Leveson, Engineering a Safer World (2011)
Vocabulary Ubiquitous language Eric Evans, Domain-Driven Design (2003)
Tenet Tenet Amazon’s practice of having each team write down its tenets
A tenet written “X over Y” Value statements of the form “X over Y” “Manifesto for Agile Software Development” (2001)
Example Key example; scenario Gojko Adzic, Specification by Example (2011); Dan North, “Introducing BDD” (2006)
Sentence shapes for promises EARS Alistair Mavin and colleagues, “Easy Approach to Requirements Syntax” (2009)
Must, should, may Requirement levels Scott Bradner, RFC 2119 (1997)

Verifying

In CanonBall Established term Source
Assurance case Assurance case; safety case Tim Kelly, “Arguing Safety” (1998), the standard reference for Goal Structuring Notation
Tier Design assurance level; integrity level The avionics standard DO-178C and the automotive standard ISO 26262
Check Automated test Kent Beck, Test-Driven Development: By Example (2002)
A check must be seen to fail Red, then green; watch the test fail Beck, as above; Steve Freeman and Nat Pryce, Growing Object-Oriented Software, Guided by Tests (2009)
Injected fault Mutant, as in mutation testing Richard DeMillo, Richard Lipton and Frederick Sayward, “Hints on Test Data Selection” (1978)
A failure a fake can simulate Fault injection Common practice in dependability and resilience testing
System under test, fake System under test; test double Gerard Meszaros, xUnit Test Patterns (2007)
Oracle Test oracle Elaine Weyuker, “On Testing Non-Testable Programs” (1982)
Property-based tests Property-based testing Koen Claessen and John Hughes, “QuickCheck” (2000)
Model checking Model checking Lamport, as above
Held-out scenarios Holdout set Machine learning practice
Seam Seam Michael Feathers, Working Effectively with Legacy Code (2004)
Comparing behavior before and after Characterization test Feathers, as above

Building and releasing

In CanonBall Established term Source
Decision logic and adapters Functional core, imperative shell Gary Bernhardt, “Boundaries” (2012)
Adapter Ports and adapters; hexagonal architecture Alistair Cockburn, “Hexagonal Architecture” (2005)
Refactoring Refactoring Martin Fowler, Refactoring (1999)
Release, release candidate The same Jez Humble and David Farley, Continuous Delivery (2010)
Content hash Content-addressed build inputs Build systems such as Bazel and Nix
Incident, and what follows it Postmortem Betsy Beyer and colleagues, Site Reliability Engineering (2016)

Observing

In CanonBall Established term Source
Observability Observability Control theory, where a system is observable if its internal state can be worked out from its outputs, a notion due to Rudolf Kálmán. For software: Charity Majors, Liz Fong-Jones and George Miranda, Observability Engineering (2022)
Monitor Monitoring Beyer and colleagues, as above

Composing

In CanonBall Established term Source
Unit Bounded context Evans, as above
Role contract Design by contract Meyer, as above
Contract tests Contract tests; conformance suite Common practice for services
A provider may promise more and assume less Behavioral subtyping Barbara Liskov and Jeannette Wing, “A Behavioral Notion of Subtyping” (1994)
Assume-guarantee reasoning Rely-guarantee Cliff Jones (1983)
Hiding a unit’s internals Information hiding David Parnas, “On the Criteria To Be Used in Decomposing Systems into Modules” (1972)

Working

In CanonBall Established term Source
Level of automation Levels of automation Thomas Sheridan and William Verplank, “Human and Computer Control of Undersea Teleoperators” (1978)
Shadow mode Shadow deployment Common practice for releases
Limit work in progress WIP limits David Anderson, Kanban (2010)
Rank by cost of delay Cost of delay Donald Reinertsen, The Principles of Product Development Flow (2009)
A milestone as a batch of requests Batch size Reinertsen, as above
Work moving through stations Flow Reinertsen, as above
Blast radius Blast radius Common usage in reliability engineering
AGENTS.md AGENTS.md An open convention for a file of instructions to coding agents, kept in the repository
How work moves is part of the product Work system Steven Alter, “Work System Theory” (2013)

Reinertsen argues for small batches, and a milestone is a batch; the reasoning behind that choice is discussed under open bets.

CanonBall’s own names

A few names are the method’s own, used where the guide found no single established term for the thing named. The guide also uses verification engineering, a term established in hardware design, for the work of building environments in which a clause can be checked.

Name What it names
Canon The set of approved clauses
Clause One statement in the canon, of any of the five kinds
Blueprint The agents’ design for keeping the canon
Verification Record The computed status of every clause, shortened to “the Record” after first use
CanonBall One release: canon, build and Record together. Also the method.
Station One of the seven places a milestone passes, from Collect to Operate
Express belt The path unplanned work takes: every station, without waiting for a milestone

Reading further

For a first reading, Adzic on examples, Leveson on constraints and safety thinking, and Humble and Farley on what a release should be together cover most of the practices the method relies on.