[
  {
    "number": 1,
    "slug": "three-costs",
    "name": "Three Costs",
    "category": "economics",
    "kind": "principle",
    "stages": [
      "across"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "An attempt, a correct result and the establishing of correctness are three costs. Cheaper attempts lower the first. The second falls where something tells a good attempt from a bad one, and the third falls least unless evidence is made as cheap as candidates.",
    "use_when": "You are judging what cheaper attempts really save.",
    "brief": "Keep attempting, getting a correct result and establishing correctness apart. Build checks and evidence to be as cheap as candidates, since the third cost falls least otherwise.",
    "cost": null,
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "accepted-outcome",
        "rel": "see"
      },
      {
        "slug": "scarce-attention",
        "rel": "see"
      },
      {
        "slug": "confidence-is-an-argument",
        "rel": "see"
      }
    ],
    "path": "patterns/three-costs/"
  },
  {
    "number": 2,
    "slug": "accepted-outcome",
    "name": "Accepted Outcome",
    "category": "economics",
    "kind": "pattern",
    "stages": [
      "accept",
      "learn"
    ],
    "roles": [
      "accountable-engineer",
      "factory-designer"
    ],
    "statement": "Count accepted outcomes and charge every attempt to them. Report the cost of escaped failures beside them, never mixed in.",
    "use_when": "You are reporting what delivery really cost, or judging whether a cheaper process is actually cheaper.",
    "brief": "Count outcomes accepted on evidence, by someone entitled, against criteria fixed before final evaluation, and charge every attempt to them. Report the expected cost of escaped failures beside that figure, where it can be estimated.",
    "cost": "Escaped-failure cost is paid later and can only be estimated. A system with no accepted outcome has no cost per accepted outcome.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "three-costs",
        "rel": "see"
      },
      {
        "slug": "inputs-earn-no-credit",
        "rel": "see"
      },
      {
        "slug": "once-is-not-a-rate",
        "rel": "see"
      }
    ],
    "path": "patterns/accepted-outcome/"
  },
  {
    "number": 3,
    "slug": "scarce-attention",
    "name": "Scarce Attention",
    "category": "economics",
    "kind": "pattern",
    "stages": [
      "across"
    ],
    "roles": [
      "owner",
      "accountable-engineer",
      "factory-designer"
    ],
    "statement": "Judgement, accountability and the decider's attention stay scarce. Define each reserved act once and count the questions asked.",
    "use_when": "You produce more candidate work than the people entitled to decide can assess.",
    "brief": "Spend cheap inputs to hand deciders a smaller, better-evidenced question. Define each reserved act once, hold it in one mechanism, and count questions across the whole of the work.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "bounded-work-in-flight",
        "rel": "leads"
      },
      {
        "slug": "discovery-is-not-decision",
        "rel": "see"
      },
      {
        "slug": "the-deciders-own-act",
        "rel": "see"
      }
    ],
    "path": "patterns/scarce-attention/"
  },
  {
    "number": 4,
    "slug": "theory-not-trace",
    "name": "Theory, Not Trace",
    "category": "knowledge",
    "kind": "principle",
    "stages": [
      "across"
    ],
    "roles": [
      "accountable-engineer",
      "factory-designer"
    ],
    "statement": "On Naur's account, a program's theory is held by its programmers. Documents carry its trace and can help rebuild it.",
    "use_when": "You rely on documents or recorded rationale to hand a system's understanding to the next engineer.",
    "brief": "Treat documents as the trace of understanding, which helps a reader rebuild it without preserving all of it. Keep a person who holds the theory accountable for acceptance.",
    "cost": null,
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "knowledge-has-a-lifecycle",
        "rel": "see"
      },
      {
        "slug": "behaviour-is-not-intent",
        "rel": "see"
      }
    ],
    "path": "patterns/theory-not-trace/"
  },
  {
    "number": 5,
    "slug": "knowledge-has-a-lifecycle",
    "name": "Knowledge Has a Lifecycle",
    "category": "knowledge",
    "kind": "pattern",
    "stages": [
      "learn",
      "across"
    ],
    "roles": [
      "factory-designer",
      "accountable-engineer"
    ],
    "statement": "Engineering knowledge is acquired, represented, executed, evaluated and improved, and each piece carries its source, its currency and its retirement.",
    "use_when": "You are building up methods and rules, and need them to stay current, evaluated and retirable.",
    "brief": "Take each piece of knowledge through acquire, represent, execute, evaluate and improve. Record its source and evidence, when it was last confirmed, and the condition and owner for retiring it.",
    "cost": "Effort moves from writing knowledge down to keeping it current and retiring it.",
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "applicability-before-use",
        "rel": "see"
      },
      {
        "slug": "fit-the-form",
        "rel": "see"
      },
      {
        "slug": "lessons-become-defaults",
        "rel": "see"
      }
    ],
    "path": "patterns/knowledge-has-a-lifecycle/"
  },
  {
    "number": 6,
    "slug": "fit-the-form",
    "name": "Fit the Form",
    "category": "knowledge",
    "kind": "pattern",
    "stages": [
      "build"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "Enforce what must always hold, reason about methods, test criteria.",
    "use_when": "You are deciding how to represent a piece of engineering knowledge so the factory acts on it.",
    "brief": "Put what must hold every time into a check that fails the change. Make contextual knowledge a method applied with reasoning, and make what defines success a criterion with the evidence that would satisfy it.",
    "cost": "The wrong form costs: an invariant left in an instruction only usually holds, and context forced into rules misses new cases.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "enforcement-is-not-verification",
        "rel": "see"
      },
      {
        "slug": "control-not-instruction",
        "rel": "see"
      }
    ],
    "path": "patterns/fit-the-form/"
  },
  {
    "number": 7,
    "slug": "enforcement-is-not-verification",
    "name": "Enforcement Is Not Verification",
    "category": "knowledge",
    "kind": "principle",
    "stages": [
      "review"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "A passing check is evidence only about what it evaluates.",
    "use_when": "A check passes and you are about to treat the rule it stands for as held.",
    "brief": "Keep apart the intended invariant, its machine-readable form, the mechanism that enforces it, and the evidence that the mechanism covers the invariant. Get that evidence by attempting each forbidden action, or by guarding where the effect happens and testing that guard.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "test-the-instrument",
        "rel": "see"
      },
      {
        "slug": "control-not-instruction",
        "rel": "see"
      }
    ],
    "path": "patterns/enforcement-is-not-verification/"
  },
  {
    "number": 8,
    "slug": "applicability-before-use",
    "name": "Applicability Before Use",
    "category": "knowledge",
    "kind": "pattern",
    "stages": [
      "build"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "A method is applied after its fit is checked, and the choice is recorded. A method not yet evaluated on comparable work calls for exploration under closer verification, or for a person who understands both the method and the case.",
    "use_when": "You hold many methods and must pick which applies, and later tell a failed method from a misapplied one.",
    "brief": "Check each candidate method on five points: applicable, incompatible, missing prerequisites, superseded, sufficiently evidenced. Record which methods were considered, which were set aside and why.",
    "cost": "A growing library does not make a factory better at choosing unless selection is itself evaluated.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "knowledge-has-a-lifecycle",
        "rel": "see"
      },
      {
        "slug": "four-modes",
        "rel": "see"
      },
      {
        "slug": "evaluate-the-method",
        "rel": "see"
      }
    ],
    "path": "patterns/applicability-before-use/"
  },
  {
    "number": 9,
    "slug": "deliberate-safeguards",
    "name": "Deliberate Safeguards",
    "category": "knowledge",
    "kind": "pattern",
    "stages": [
      "across"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "Keep the safeguards that were engineered, make what was valuable in the accidental ones deliberate, and let the rest go.",
    "use_when": "Faster work is about to remove the slow steps your process relied on, and you must decide which protections to keep.",
    "brief": "Preserve the safeguards that were engineered, such as tests, failing builds and mandatory review. Recover what was valuable in the accidental ones by making it deliberate, and drop the rest of the friction.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "lessons-become-defaults",
        "rel": "see"
      },
      {
        "slug": "control-not-instruction",
        "rel": "see"
      }
    ],
    "path": "patterns/deliberate-safeguards/"
  },
  {
    "number": 10,
    "slug": "behaviour-is-not-intent",
    "name": "Behaviour Is Not Intent",
    "category": "intent",
    "kind": "principle",
    "stages": [
      "discover"
    ],
    "roles": [
      "owner",
      "accountable-engineer"
    ],
    "statement": "What a system does cannot reliably tell you what was wanted.",
    "use_when": "You have found what a system does and need to know whether it was wanted.",
    "brief": "Treat behaviour recovered from code or from runs as a finding, not a requirement. Send the question of whether it is intended to the person who owns it.",
    "cost": null,
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "criteria-are-discovered",
        "rel": "see"
      },
      {
        "slug": "discovery-is-not-decision",
        "rel": "see"
      },
      {
        "slug": "theory-not-trace",
        "rel": "see"
      }
    ],
    "path": "patterns/behaviour-is-not-intent/"
  },
  {
    "number": 11,
    "slug": "criteria-are-discovered",
    "name": "Criteria Are Discovered",
    "category": "intent",
    "kind": "pattern",
    "stages": [
      "frame",
      "discover"
    ],
    "roles": [
      "owner",
      "accountable-engineer"
    ],
    "statement": "Part of what a change must satisfy is found by doing the work. Give discovery a stage of its own, and have the owner confirm what it finds.",
    "use_when": "Work must preserve behaviour nobody listed, or build what its users cannot yet describe.",
    "brief": "Keep four stages apart: mission and constraints, discovery, acceptance of the criteria, evaluation. Discovery proposes criteria, and the owner confirms or rejects each before the standard is accepted.",
    "cost": "Discovery takes time and spends the owner's attention, and prototypes show little about properties that appear only at scale.",
    "evidence": "inferred",
    "entry": "full",
    "related": [
      {
        "slug": "sealed-criteria",
        "rel": "tension"
      },
      {
        "slug": "discovery-is-not-decision",
        "rel": "see"
      },
      {
        "slug": "behaviour-is-not-intent",
        "rel": "see"
      },
      {
        "slug": "prototypes-are-instruments",
        "rel": "see"
      }
    ],
    "path": "patterns/criteria-are-discovered/"
  },
  {
    "number": 12,
    "slug": "inconsistency-is-a-finding",
    "name": "Inconsistency Is a Finding",
    "category": "intent",
    "kind": "pattern",
    "stages": [
      "discover"
    ],
    "roles": [
      "owner"
    ],
    "statement": "Keep each holder's view of the intent apart. Where they disagree, that is a result.",
    "use_when": "Several people hold different views of what the software should do, or the code, the tests and a person's belief disagree.",
    "brief": "Keep each holder's view separate, with its source. Compare them, and record each difference as a finding for the right holder to resolve, instead of merging early.",
    "cost": null,
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "independent-derivation",
        "rel": "see"
      },
      {
        "slug": "discovery-is-not-decision",
        "rel": "see"
      }
    ],
    "path": "patterns/inconsistency-is-a-finding/"
  },
  {
    "number": 13,
    "slug": "prototypes-are-instruments",
    "name": "Prototypes Are Instruments",
    "category": "intent",
    "kind": "pattern",
    "stages": [
      "discover"
    ],
    "roles": [
      "builder",
      "owner"
    ],
    "statement": "A prototype answers a question. Record the criteria and decisions it revealed, and discard the code unless someone decides to keep it.",
    "use_when": "Stakeholders often cannot say what they want until they use something concrete.",
    "brief": "Where a credible prototype of a contained problem can be built quickly, build several, derived separately from the request, and put them in front of the users. Record the criteria, decisions and rejected designs they produce, and discard the code unless someone decides to keep it.",
    "cost": "A prototype shows little about properties that appear only at scale, under load or against an adversary, and it cannot settle a regulatory interpretation. Approving one approves its incidental choices too.",
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "criteria-are-discovered",
        "rel": "see"
      },
      {
        "slug": "independent-derivation",
        "rel": "see"
      }
    ],
    "path": "patterns/prototypes-are-instruments/"
  },
  {
    "number": 14,
    "slug": "discovery-is-not-decision",
    "name": "Discovery Is Not Decision",
    "category": "intent",
    "kind": "pattern",
    "stages": [
      "discover",
      "accept"
    ],
    "roles": [
      "owner",
      "accountable-engineer"
    ],
    "statement": "Findings are shaped into choices their owner can decide. The owner may decide whole classes in advance, within bounds, and \"undecided\" is an honest state.",
    "use_when": "Investigation has produced more differences than the owner can read.",
    "brief": "Group differences that share a cause into one decision, with a representative example, the behaviour before and after, and the open choices. Keep engineering-only matters within engineering.",
    "cost": "Grouping differences by cause is the hard part, and the author has not solved it.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "scarce-attention",
        "rel": "see"
      },
      {
        "slug": "criteria-are-discovered",
        "rel": "see"
      },
      {
        "slug": "the-deciders-own-act",
        "rel": "see"
      }
    ],
    "path": "patterns/discovery-is-not-decision/"
  },
  {
    "number": 15,
    "slug": "independent-derivation",
    "name": "Independent Derivation",
    "category": "independence",
    "kind": "pattern",
    "stages": [
      "discover",
      "review"
    ],
    "roles": [
      "builder",
      "reviewer",
      "owner"
    ],
    "statement": "Derive from the intent, not from each other. Surface and classify the differences, and do not keep one result by vote or by stated confidence.",
    "use_when": "One early interpretation could shape everything built after it.",
    "brief": "Have each line of work derive separately from the statement of intent, sharing inputs and withholding each other's interpretations until reconciliation. Settle differences by running or measuring where evidence allows, and send the rest to the owner.",
    "cost": "It multiplies the work and adds reconciliation, and every difference that evidence cannot settle costs the owner's attention. It needs an authoritative statement of intent, and it is weaker against an intent that is clear and wrong.",
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "information-boundary",
        "rel": "see"
      },
      {
        "slug": "designed-diversity",
        "rel": "see"
      },
      {
        "slug": "inconsistency-is-a-finding",
        "rel": "see"
      }
    ],
    "path": "patterns/independent-derivation/"
  },
  {
    "number": 16,
    "slug": "information-boundary",
    "name": "Information Boundary",
    "category": "independence",
    "kind": "pattern",
    "stages": [
      "review"
    ],
    "roles": [
      "reviewer",
      "factory-designer"
    ],
    "statement": "When a reviewer must judge whether an implementation matches intent, let the reviewer derive an expectation from the intent before showing the builder's rationale.",
    "use_when": "Your reviewers read the builder's account of a change before they look at the change.",
    "brief": "Give the reviewer the intent, the criteria, the decisions already made and the means to run the system. Have the reviewer record an expectation, compare it with the work, and only then open the builder's rationale.",
    "cost": "It multiplies the work, and a reviewer who has not seen the decisions already made may challenge them again.",
    "evidence": "inferred",
    "entry": "full",
    "related": [
      {
        "slug": "independent-derivation",
        "rel": "see"
      },
      {
        "slug": "no-self-certification",
        "rel": "see"
      },
      {
        "slug": "integrity-of-capture",
        "rel": "see"
      },
      {
        "slug": "control-not-instruction",
        "rel": "see"
      }
    ],
    "path": "patterns/information-boundary/"
  },
  {
    "number": 17,
    "slug": "designed-diversity",
    "name": "Designed Diversity",
    "category": "independence",
    "kind": "pattern",
    "stages": [
      "review"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "Copies share causes of error. Diversity is designed and measured.",
    "use_when": "You plan to run several copies of the same worker and read their agreement as confirmation.",
    "brief": "Vary what each derivation may see, its method, its perspective, and its model and tools. Then measure how often the derivations fail together on the project's own cases.",
    "cost": null,
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "independent-derivation",
        "rel": "see"
      },
      {
        "slug": "diverse-evidence",
        "rel": "see"
      }
    ],
    "path": "patterns/designed-diversity/"
  },
  {
    "number": 18,
    "slug": "integrity-of-capture",
    "name": "Integrity of Capture",
    "category": "independence",
    "kind": "pattern",
    "stages": [
      "review"
    ],
    "roles": [
      "builder",
      "reviewer"
    ],
    "statement": "The tests that judge a change, the harness that runs them and the record of their results sit outside the producer's write access.",
    "use_when": "Producers can reach the tests or their results, and you need to be sure a check really ran on the stated change.",
    "brief": "Keep the tests that judge a change, the harness that runs them and the record of results outside the producer's write access. The factory's own runner builds the stated commit, runs the tests and records what executed.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "no-self-certification",
        "rel": "see"
      },
      {
        "slug": "information-boundary",
        "rel": "see"
      },
      {
        "slug": "control-not-instruction",
        "rel": "see"
      }
    ],
    "path": "patterns/integrity-of-capture/"
  },
  {
    "number": 19,
    "slug": "no-self-certification",
    "name": "No Self-Certification",
    "category": "independence",
    "kind": "principle",
    "stages": [
      "review"
    ],
    "roles": [
      "builder",
      "reviewer"
    ],
    "statement": "A producer's own evidence is never the sole basis for accepting its work. Whoever evaluates their own factory says so at the outset and hands blind review and fault scoring to a third party where they can.",
    "use_when": "The party that built the work also supplies the evidence for accepting it.",
    "brief": "Treat the producer's account as a claim, and never accept its work on its own evidence alone. The producer's evidence keeps its uses: it shows where the producer looked.",
    "cost": null,
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "integrity-of-capture",
        "rel": "see"
      },
      {
        "slug": "information-boundary",
        "rel": "see"
      },
      {
        "slug": "confidence-is-an-argument",
        "rel": "see"
      }
    ],
    "path": "patterns/no-self-certification/"
  },
  {
    "number": 20,
    "slug": "control-not-instruction",
    "name": "Control, Not Instruction",
    "category": "authority",
    "kind": "pattern",
    "stages": [
      "build"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "An instruction influences. A control in the environment holds against what it was built for, once the control has itself been tested.",
    "use_when": "A rule must hold even when a worker is misled or skips a step, and so far only an instruction asks for it.",
    "brief": "Name, for each invariant and each reserved act, the mechanism that holds it: a withheld permission, a refused transition or a blocked merge. Test each layer adversarially, and record as a risk anything held only by an instruction.",
    "cost": "Each control fails in its own way: a permission set too broadly, a refused transition bypassed by a direct write, a blocked merge whose check is weaker than the rule.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "enforcement-is-not-verification",
        "rel": "see"
      },
      {
        "slug": "integrity-of-capture",
        "rel": "see"
      },
      {
        "slug": "the-deciders-own-act",
        "rel": "see"
      }
    ],
    "path": "patterns/control-not-instruction/"
  },
  {
    "number": 21,
    "slug": "five-properties-of-an-actor",
    "name": "Five Properties of an Actor",
    "category": "authority",
    "kind": "pattern",
    "stages": [
      "frame"
    ],
    "roles": [
      "accountable-engineer",
      "factory-designer"
    ],
    "statement": "Competence, capability, responsibility, authority and accountability are related and not interchangeable. Each rests on a different kind of evidence, and accountability stays with people.",
    "use_when": "You are deciding who or what should do a piece of work, and what they may decide while doing it.",
    "brief": "Name all five for each kind of work. Competence rests on an evaluated record, capability on checking the environment, responsibility on an outcome with criteria, authority on stated bounds, and accountability on a named person or organisation.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "authority-follows-judgement",
        "rel": "see"
      },
      {
        "slug": "the-deciders-own-act",
        "rel": "see"
      }
    ],
    "path": "patterns/five-properties-of-an-actor/"
  },
  {
    "number": 22,
    "slug": "the-deciders-own-act",
    "name": "The Decider's Own Act",
    "category": "authority",
    "kind": "pattern",
    "stages": [
      "accept"
    ],
    "roles": [
      "owner",
      "accountable-engineer"
    ],
    "statement": "A reserved decision is settled only by the act of the person entitled to make it, or within bounds that person set in advance. Any other record that it was made is a claim.",
    "use_when": "A consequential decision is reserved to a person, and a worker or a record could claim it was made.",
    "brief": "Make the act that settles a reserved decision one that only its owner can perform, through a channel workers cannot write to. Acceptance is the accountable engineer's act: a producer may assemble evidence and recommend, and never sets the status.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "five-properties-of-an-actor",
        "rel": "see"
      },
      {
        "slug": "sealed-criteria",
        "rel": "see"
      },
      {
        "slug": "scarce-attention",
        "rel": "see"
      }
    ],
    "path": "patterns/the-deciders-own-act/"
  },
  {
    "number": 23,
    "slug": "authority-follows-judgement",
    "name": "Authority Follows Judgement",
    "category": "authority",
    "kind": "principle",
    "stages": [
      "accept",
      "across"
    ],
    "roles": [
      "accountable-engineer",
      "factory-designer"
    ],
    "statement": "Authority should not run ahead of demonstrated judgement, and judgement alone is not enough. The accountable party grants it and withdraws it on evidence.",
    "use_when": "You are deciding how much a worker may decide on its own, or whether to widen or narrow that.",
    "brief": "The accountable party grants authority, within bounds, on evidence: how representative the earlier work was, how good the independent evidence was, the consequence, the reversibility and compliance. It withdraws authority on evidence too.",
    "cost": "A record with no escaped defects shows only that none was found, and bears on safety only as far as the checks were independent and thorough.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "five-properties-of-an-actor",
        "rel": "see"
      },
      {
        "slug": "four-modes",
        "rel": "see"
      },
      {
        "slug": "assurance-in-proportion",
        "rel": "see"
      }
    ],
    "path": "patterns/authority-follows-judgement/"
  },
  {
    "number": 24,
    "slug": "four-modes",
    "name": "Four Modes",
    "category": "flow",
    "kind": "pattern",
    "stages": [
      "across"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "Work is enforced, selected, explored or decided, and each fails differently.",
    "use_when": "You are deciding, step by step, how much freedom a piece of work gets.",
    "brief": "Assign each step a mode: enforced for rules that must always hold, selected for familiar work with known methods, explored by budgeted experiment, or decided by a person. Revise the assignment as recorded outcomes accumulate.",
    "cost": "Each mode fails in its own way: enforcement by accumulation, selection by confidence, exploration without limits, decision by volume.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "applicability-before-use",
        "rel": "see"
      },
      {
        "slug": "authority-follows-judgement",
        "rel": "see"
      }
    ],
    "path": "patterns/four-modes/"
  },
  {
    "number": 25,
    "slug": "bounded-rework",
    "name": "Bounded Rework",
    "category": "flow",
    "kind": "pattern",
    "stages": [
      "build"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "When evidence changes, what must be redone has a bound, and the work stops and reports at it.",
    "use_when": "A finished step rests on a fact or decision that has just changed, and redoing it could cascade.",
    "brief": "Track which finished items depend on the changed fact and redo them, within a limit on rework per change. Count two reruns of the same check on the same inputs as one, and at the limit stop and report.",
    "cost": "Without the bound, one merge in the author's first factory set off 258 re-verification runs in eleven minutes.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "sealed-criteria",
        "rel": "see"
      },
      {
        "slug": "bounded-work-in-flight",
        "rel": "see"
      }
    ],
    "path": "patterns/bounded-rework/"
  },
  {
    "number": 26,
    "slug": "bounded-work-in-flight",
    "name": "Bounded Work in Flight",
    "category": "flow",
    "kind": "pattern",
    "stages": [
      "build",
      "accept"
    ],
    "roles": [
      "factory-designer",
      "accountable-engineer"
    ],
    "statement": "Limit the work in flight by the capacity to review and accept, not by the number of workers that can be started.",
    "use_when": "Cheap workers let you start far more parallel work than the people who review and accept it can handle.",
    "brief": "Set the limit on work in flight by the capacity to review and accept. A limit set on workers alone lets unreviewed work pile up behind a fast stage.",
    "cost": "The author has not yet run this on many changes at once.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "scarce-attention",
        "rel": "follows"
      },
      {
        "slug": "bounded-rework",
        "rel": "see"
      },
      {
        "slug": "stop-the-line",
        "rel": "see"
      }
    ],
    "path": "patterns/bounded-work-in-flight/"
  },
  {
    "number": 27,
    "slug": "stop-the-line",
    "name": "Stop the Line",
    "category": "flow",
    "kind": "pattern",
    "stages": [
      "build",
      "review"
    ],
    "roles": [
      "builder",
      "reviewer"
    ],
    "statement": "Whoever detects an abnormality stops the work.",
    "use_when": "A worker or a check sees something wrong, and the work could carry on regardless.",
    "brief": null,
    "cost": null,
    "evidence": null,
    "entry": "planned",
    "related": [
      {
        "slug": "bounded-rework",
        "rel": "see"
      },
      {
        "slug": "deliberate-safeguards",
        "rel": "see"
      }
    ],
    "path": "patterns/stop-the-line/"
  },
  {
    "number": 28,
    "slug": "feedback-before-commitment",
    "name": "Feedback Before Commitment",
    "category": "flow",
    "kind": "principle",
    "stages": [
      "across"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "Shorten the distance between an action and the evidence about it.",
    "use_when": "Work goes a long way before anything tells you whether it was right.",
    "brief": null,
    "cost": null,
    "evidence": null,
    "entry": "planned",
    "related": [
      {
        "slug": "prototypes-are-instruments",
        "rel": "see"
      },
      {
        "slug": "test-the-instrument",
        "rel": "see"
      }
    ],
    "path": "patterns/feedback-before-commitment/"
  },
  {
    "number": 29,
    "slug": "confidence-is-an-argument",
    "name": "Confidence Is an Argument",
    "category": "confidence",
    "kind": "pattern",
    "stages": [
      "across"
    ],
    "roles": [
      "accountable-engineer",
      "owner"
    ],
    "statement": "Confidence is an argument: from claim, through criteria, mechanism and evidence, to acceptance.",
    "use_when": "You must show someone who was not present why an outcome should be believed.",
    "brief": "Fix acceptance criteria before final evaluation, apply them with a verification mechanism, and record what was observed as evidence. An entitled person then weighs what remains open against the cost of being wrong.",
    "cost": "A complete, signed-off case can still be wrong, and a factory that builds this chain expensively moves the cost to the people who accept the work.",
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "four-objects-of-confidence",
        "rel": "see"
      },
      {
        "slug": "diverse-evidence",
        "rel": "see"
      },
      {
        "slug": "assurance-in-proportion",
        "rel": "see"
      }
    ],
    "path": "patterns/confidence-is-an-argument/"
  },
  {
    "number": 30,
    "slug": "four-objects-of-confidence",
    "name": "Four Objects of Confidence",
    "category": "confidence",
    "kind": "principle",
    "stages": [
      "review"
    ],
    "roles": [
      "owner",
      "reviewer"
    ],
    "statement": "Specification, implementation, evidence and the checking mechanism each need their own evidence. More tests usually add evidence about one of them.",
    "use_when": "A team is confident because the tests pass, and expects more tests or reviewers to raise that confidence.",
    "brief": "Gather separate evidence for the specification, the implementation, the evidence itself and the checking mechanism. Evidence about the specification differs in kind: the owner's recorded confirmation, and discovery against the running system.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "confidence-is-an-argument",
        "rel": "see"
      },
      {
        "slug": "test-the-instrument",
        "rel": "see"
      }
    ],
    "path": "patterns/four-objects-of-confidence/"
  },
  {
    "number": 31,
    "slug": "diverse-evidence",
    "name": "Diverse Evidence",
    "category": "confidence",
    "kind": "pattern",
    "stages": [
      "review"
    ],
    "roles": [
      "reviewer"
    ],
    "statement": "Checks whose causes differ tend to fail in different places. Use several, expect them to be partly dependent, and report their results apart.",
    "use_when": "You have several checks and must decide how to combine them.",
    "brief": "Choose checks with different oracles, since checks fail separately to the extent that their causes differ. Keep their results separate. This book offers no single confidence score.",
    "cost": "Second legs are likely to be dependent, the supporting models are idealised, and no quantity of other evidence repairs a missing requirement.",
    "evidence": "inferred",
    "entry": "abridged",
    "related": [
      {
        "slug": "designed-diversity",
        "rel": "see"
      },
      {
        "slug": "four-objects-of-confidence",
        "rel": "see"
      }
    ],
    "path": "patterns/diverse-evidence/"
  },
  {
    "number": 32,
    "slug": "test-the-instrument",
    "name": "Test the Instrument",
    "category": "confidence",
    "kind": "pattern",
    "stages": [
      "review",
      "learn"
    ],
    "roles": [
      "factory-designer",
      "reviewer"
    ],
    "statement": "Every checking mechanism has two error rates: the faults it lets through and the sound work it rejects. Measure both on known cases before trusting it.",
    "use_when": "You rely on a test suite, a comparison harness or a reviewer, and do not know how often it misses faults or rejects sound work.",
    "brief": "Before the first run, pass a known-good reference through every instrument and check that seeded-bad candidates fail where intended. Record both error rates.",
    "cost": "Planted faults measure sensitivity to those kinds of fault on that code, and faults nobody thought to plant stay uncovered.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "enforcement-is-not-verification",
        "rel": "see"
      },
      {
        "slug": "four-objects-of-confidence",
        "rel": "see"
      }
    ],
    "path": "patterns/test-the-instrument/"
  },
  {
    "number": 33,
    "slug": "assurance-in-proportion",
    "name": "Assurance in Proportion",
    "category": "confidence",
    "kind": "principle",
    "stages": [
      "review",
      "accept"
    ],
    "roles": [
      "accountable-engineer"
    ],
    "statement": "Set assurance by consequence and reversibility first, then exposure, likelihood and detectability. Add evidence only while it removes more uncertainty than it costs.",
    "use_when": "You must decide how much evidence a change needs before acceptance.",
    "brief": "Set the level from consequence and reversibility first, then exposure, likelihood, detectability and any regulatory floor. Add evidence only where it removes more uncertainty than it costs.",
    "cost": "Evidence that repeats what is established, or examines what nobody doubts, adds cost alone.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "confidence-is-an-argument",
        "rel": "see"
      },
      {
        "slug": "authority-follows-judgement",
        "rel": "see"
      },
      {
        "slug": "scope-follows-the-decision",
        "rel": "see"
      }
    ],
    "path": "patterns/assurance-in-proportion/"
  },
  {
    "number": 34,
    "slug": "sealed-criteria",
    "name": "Sealed Criteria",
    "category": "confidence",
    "kind": "pattern",
    "stages": [
      "review",
      "accept"
    ],
    "roles": [
      "owner",
      "accountable-engineer"
    ],
    "statement": "Fix the standard before you judge. After that, change it only in the open, by the person entitled to, and judge every candidate against the change.",
    "use_when": "Someone asks to change the acceptance criteria after judging has begun.",
    "brief": "Accept a version of the criteria before final evaluation. After that, record every change, let its owner decide it, and judge every candidate against the new version. Ask of each earlier result whether it still supports the decision.",
    "cost": "Reopening costs reruns and delay, and a sealed criterion can still be the wrong criterion.",
    "evidence": "inferred",
    "entry": "full",
    "related": [
      {
        "slug": "criteria-are-discovered",
        "rel": "tension"
      },
      {
        "slug": "the-deciders-own-act",
        "rel": "see"
      },
      {
        "slug": "once-is-not-a-rate",
        "rel": "see"
      },
      {
        "slug": "no-self-certification",
        "rel": "see"
      }
    ],
    "path": "patterns/sealed-criteria/"
  },
  {
    "number": 35,
    "slug": "inputs-earn-no-credit",
    "name": "Inputs Earn No Credit",
    "category": "evaluation",
    "kind": "principle",
    "stages": [
      "learn"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "Workers, stages and hours go in the record and earn no credit. Outcomes do.",
    "use_when": "A factory is described by its size, activity or autonomy, and you must decide how to score it.",
    "brief": "Record the quantities that describe the factory, such as workers, stages, code volume and unattended hours, because they drive cost and explain results. Leave them out of the score and judge outcomes alone.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "accepted-outcome",
        "rel": "see"
      },
      {
        "slug": "gates-not-composites",
        "rel": "see"
      }
    ],
    "path": "patterns/inputs-earn-no-credit/"
  },
  {
    "number": 36,
    "slug": "missing-evidence-is-not-a-pass",
    "name": "Missing Evidence Is Not a Pass",
    "category": "evaluation",
    "kind": "principle",
    "stages": [
      "accept",
      "learn"
    ],
    "roles": [
      "accountable-engineer",
      "factory-designer"
    ],
    "statement": "A missing observation is neither a pass nor a fail, and it never counts in the factory's favour.",
    "use_when": "A required record is absent when the result is reported.",
    "brief": "Rerun a missing observation once, then report it as missing, neither pass nor fail. If the step was mandatory, the outcome stays unaccepted and still counts in the acceptance rate and the cost.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "once-is-not-a-rate",
        "rel": "see"
      },
      {
        "slug": "sealed-criteria",
        "rel": "see"
      }
    ],
    "path": "patterns/missing-evidence-is-not-a-pass/"
  },
  {
    "number": 37,
    "slug": "once-is-not-a-rate",
    "name": "Once Is Not a Rate",
    "category": "evaluation",
    "kind": "principle",
    "stages": [
      "learn"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "One run shows an outcome is reachable. A rate needs a denominator and an interval.",
    "use_when": "You have one successful run, or a few, and are tempted to quote a success rate.",
    "brief": "Repeat runs of the same system, and across workloads that differ. Report accepted of attempted with an interval, and list every run, never only the best.",
    "cost": "A few runs show variation. They do not confer reliability.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "missing-evidence-is-not-a-pass",
        "rel": "see"
      },
      {
        "slug": "scope-follows-the-decision",
        "rel": "see"
      },
      {
        "slug": "accepted-outcome",
        "rel": "see"
      }
    ],
    "path": "patterns/once-is-not-a-rate/"
  },
  {
    "number": 38,
    "slug": "gates-not-composites",
    "name": "Gates, Not Composites",
    "category": "evaluation",
    "kind": "pattern",
    "stages": [
      "learn"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "Report each dimension of an outcome on its own, with gates declared before any run. Any ranking above the gates declares its weighting.",
    "use_when": "You are scoring outcomes on cost, speed, correctness and quality, and are tempted to merge them into one number.",
    "brief": "Report each dimension on its own, and declare absolute gates for each workload before any run. An outcome that fails a gate has failed whatever it cost, and it still counts in the economics.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "inputs-earn-no-credit",
        "rel": "see"
      },
      {
        "slug": "once-is-not-a-rate",
        "rel": "see"
      }
    ],
    "path": "patterns/gates-not-composites/"
  },
  {
    "number": 39,
    "slug": "scope-follows-the-decision",
    "name": "Scope Follows the Decision",
    "category": "evaluation",
    "kind": "pattern",
    "stages": [
      "learn"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "Choose the scope of an evaluation by the decision it must support, and never report a result at a higher scope than it reached.",
    "use_when": "A full evaluation of a factory would cost more than the decision it informs is worth.",
    "brief": "Choose a screening, a comparison or a qualification programme by the decision it serves and the cost of getting it wrong. State what each scope supports and what it does not.",
    "cost": null,
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "once-is-not-a-rate",
        "rel": "see"
      },
      {
        "slug": "assurance-in-proportion",
        "rel": "see"
      }
    ],
    "path": "patterns/scope-follows-the-decision/"
  },
  {
    "number": 40,
    "slug": "lessons-become-defaults",
    "name": "Lessons Become Defaults",
    "category": "learning",
    "kind": "principle",
    "stages": [
      "learn"
    ],
    "roles": [
      "factory-designer",
      "accountable-engineer"
    ],
    "statement": "A lesson is learned only when it changes a default, a check or a stopping point.",
    "use_when": "Something went wrong or surprised the team, and you need to know whether the lesson was learned.",
    "brief": "Count a lesson as learned only when it changes the environment. Turn a confirmed rule into a test pinned before the next change of that kind, with the reason and the name of the decider beside it.",
    "cost": "Deciding what a default should say is itself judgement, and stays with the people who hold the theory of the system.",
    "evidence": "proposed",
    "entry": "abridged",
    "related": [
      {
        "slug": "deliberate-safeguards",
        "rel": "see"
      },
      {
        "slug": "knowledge-has-a-lifecycle",
        "rel": "see"
      },
      {
        "slug": "evaluate-the-method",
        "rel": "see"
      }
    ],
    "path": "patterns/lessons-become-defaults/"
  },
  {
    "number": 41,
    "slug": "evaluate-the-method",
    "name": "Evaluate the Method",
    "category": "learning",
    "kind": "pattern",
    "stages": [
      "learn"
    ],
    "roles": [
      "factory-designer"
    ],
    "statement": "A new engineering method is evaluated before a factory adopts it: criteria sealed first, against its honest alternative, with enough repetitions to see a spread.",
    "use_when": "You are about to adopt a new engineering method and want evidence that it beats the honest alternative.",
    "brief": null,
    "cost": null,
    "evidence": null,
    "entry": "planned",
    "related": [
      {
        "slug": "sealed-criteria",
        "rel": "see"
      },
      {
        "slug": "once-is-not-a-rate",
        "rel": "see"
      },
      {
        "slug": "lessons-become-defaults",
        "rel": "see"
      }
    ],
    "path": "patterns/evaluate-the-method/"
  }
]
