Skip to content
ImagineWorld

Methodological Roots

node_idnode-book_agentic-spec-driven-development_back-methodological-roots
node_typebook-part
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_titleMethodological Roots
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

The Why This Book? chapter promised a reference section for the curious — a list of the pre-AI methodologies that shaped the methods in this book. Here it is.

Every method in this book was derived from something that existed before AI arrived. Requirements management, change control, auditability, validation, glossaries — software engineering, project management, military operations, and quality assurance spent decades building working methodologies for all of these. But those methodologies were designed for teams of people, not for a solo practitioner working with an AI that has no persistent memory and no domain judgment. The book adapted them — sometimes beyond recognition — to exploit AI’s strengths and defend against its failures.

This section names the originals. For each one, you get a brief description of what it is and which parts of the book it shaped. The goal is not to teach these methodologies but to give you a thread to pull if you want to understand the deeper roots of something the book asked you to do.

The entries are grouped by theme, not by chapter. Many of them influenced more than one method in the book.

Configuration Management and Change Control. The discipline of tracking every change to a system — what changed, when, by whom, and why. In traditional software, the discipline covers source code, documentation, build configurations, and deployment artifacts. In this book, it shaped CLAUDE.md (Chapter 6), the intake log (Chapter 7), and the version control safety rules (Chapter 1). The principle that every file’s purpose must be registered, that changes to CLAUDE.md require explicit approval, and that rollback must always be possible — all of these come from configuration management. The book’s insistence on protecting version control from AI’s reach is a direct application of change control’s core idea: the record of changes must be tamper-proof.

Single Source of Truth. The principle that every piece of authoritative information lives in exactly one place. When you need that information, you go to that place. When you update it, you update it there and nowhere else. Duplicates are forbidden because duplicates drift. This principle runs through the entire book. The SOT–ART separation (Chapter 10) is the most explicit expression — one authoritative Markdown file, one disposable visual artifact — but the same principle drives CLAUDE.md as the single index of project structure (Chapter 6), the intake log as the single record of user input (Chapter 7), and the glossary as the single authority on vocabulary (Chapter 9). The ground-truths file (Chapter 11) is another instance: one place where domain assumptions live, consulted on every turn.

Separation of Concerns. The principle that different responsibilities should live in different places, with clear boundaries between them. In software, this means the database layer does not know about the user interface, and vice versa. In this book, the principle shows up as the two-directory project structure (Chapter 1) — one directory AI controls, one directory AI cannot touch. It shows up again in the SOT–ART separation (Chapter 10) — authoritative content and visual output are different concerns handled by different files. It shows up in the distinction between CLAUDE.md as an index and the memory files as content (Chapter 8). And it shows up in the layered method (The Approach) — each layer of the project addresses a different concern, from business idea down to code.

Infrastructure as Code. The practice of defining system behavior in declarative files rather than manual configuration. In DevOps, this means your server setup lives in a version-controlled file, not in someone’s memory of which buttons they clicked. CLAUDE.md (Chapter 6) is this book’s version of the same idea: AI’s behavior is defined in a file, version-controlled, auditable, and reproducible across sessions. The artifact regeneration protocol (Chapter 10) — delete everything, rebuild from source — mirrors the infrastructure-as-code principle that any environment can be torn down and rebuilt from its definition.

Sandboxing. A computer-security and operating-systems pattern where untrusted code or processes run in an isolated environment with restricted access to the rest of the system. The .tmp/ scratch directory (Chapter 6) is sandboxing applied to AI’s working files — AI may create, modify, and delete inside it without approval, but the rest of the project is governed by the registry’s discipline. The Scratch exemption rule formalizes the boundary: files inside .tmp/ are exempt from every File Registry rule, and nothing referenced from a registered file may live there. The pattern reappears in Chapter 1 as the two-directory project structure (one folder AI controls, one outside its reach), drawing on the same isolation principle.

Convention over Configuration. A design philosophy popularized by Ruby on Rails: when a sensible default exists, use it without requiring explicit configuration, and reserve configuration for cases that deviate from the default. The bootstrap registry (Chapter 6) applies this through placement conventions — log-type files default to the logs/ subfolder, generated files default to artifacts/, spec files default to specs/. None of these placements need to […]d when adding a new file; AI infers the placement from the file’s type and protocol. The conventions are SHOULD-level rather than MUST-level, so deviations are allowed when justified, preserving the philosophy’s spirit: convention as a default, not a cage.

Standard Operating Procedures and Runbooks. Operations and military disciplines that capture a procedure once, in a stable artifact, so it can be executed reliably across different operators and situations. rule-analysis.md, rule-conflict-protocol.md, regen-all.md, and disambiguate.md (Chapters 6, 9, and 10) are SOPs for AI — each defines a procedure that AI follows when a specific trigger fires, with numbered steps and explicit decision gates. The runbook tradition also informs the playbook pattern (Chapter 4): a numbered checklist file that can be executed one step at a time, possibly across multiple sessions, each step self-contained enough for a stranger to pick up where the previous step left off.

Domain-Driven Design — Ubiquitous Language. Eric Evans introduced the concept of a ubiquitous language in his 2003 book on domain-driven design. The idea is that a project should use one shared vocabulary — the same terms in conversations, in documentation, and in code — and that vocabulary should come from the domain itself, not from the tooling. When the domain expert says “consideration” and means the bargained-for exchange, everyone on the project says “consideration” and means the bargained-for exchange. The project glossary (Chapter 9) is a direct application of this principle, adapted for AI. The difference is that a human team can absorb vocabulary through conversation. AI cannot — it falls back to training defaults unless the vocabulary is written down and enforced by rule.

Controlled Vocabulary and Data Dictionaries. Before domain-driven design gave the concept a name, the practice of maintaining a list of approved terms with precise definitions was standard in technical writing, library science, and database design. Data dictionaries — tables that define every field, every entity, and every allowed value — serve for data what a glossary serves for language. The closure rule in Chapter 9 (every term referenced in a definition must itself be defined or unambiguous) and the circularity check (definitions must ground out in external meaning) come from the well-formedness constraints that data dictionaries and formal ontologies have enforced for decades.

Technical Writing Best Practices. The voice rules (plain language, short sentences, audiobook compatibility, accessibility for non-native speakers) draw on a long tradition of technical writing guidance. Plain language movements, readability standards, and style guides like the U.S. Federal Plain Language Guidelines and the Microsoft Writing Style Guide all emphasize the same things this book practices: prefer simple words, keep sentences short, avoid jargon, define terms on first use, and write for the reader who knows the subject but not your private vocabulary.

RFC 2119 — Key Words for Use in RFCs to Indicate Requirement Levels. Scott Bradner’s 1997 IETF document defined a small set of capitalized priority markers — MUST, SHOULD, MAY, and their negations — for use in technical specifications. The capitalization distinguishes the keywords from ordinary English usage and signals that the word is acting as a normative requirement. Chapter 4 introduces the convention in The Language of Rules, and Chapter 6 uses it throughout the bootstrap: every rule uses MUST, SHOULD, or MAY in uppercase to make its enforcement level unambiguous to AI.

Legal Specification Protocol. Stanford CodeX’s 2019 work on legal specification proposed bringing formal-specification discipline — precise definitions, machine-readable structure, traceable cross-references — to legal documents. The book’s glossary rule (Chapter 9), with its closure constraint (every referenced term defined) and circularity check (definitions ground out in external meaning), aligns directly with the well-formedness requirements that legal specification protocols impose on contract language.

Audit Trails and Chain of Custody. The intake log (Chapter 7) is an audit trail — a chronological record of every action taken, by whom, and when. Audit trails are foundational in accounting, legal proceedings, regulatory compliance, and forensic analysis. Chain of custody adds the requirement that the record itself is tamper-proof and attributable. The book’s insistence on verbatim recording (no AI rephrasing), timestamps, and attribution by name comes directly from these traditions. The affected-files list at the end of each log entry is a traceability link — connecting what was said to what changed — borrowed from requirements traceability in systems engineering.

Requirements Traceability. In systems engineering, every requirement must be traceable — you can follow it from its origin (who asked for it and why) through its implementation (which component satisfies it) to its verification (which test proves it works). The book builds a lighter version of this chain. The intake log traces decisions to their origin. The Devil’s Advocate (Chapter 11) traces every claim in a draft back to a recorded ground truth, or flags it as having no source. The SOT–ART registry traces every artifact back to its source file. The gap format traces findings back to the validation method that produced them. None of this is as formal as a requirements-traceability matrix in aerospace engineering, but the principle is the same: when something goes wrong, you can follow the thread back to the source.

Intelligence Reporting and Cable Traffic. The intake log’s format — timestamped, attributed, verbatim, with context for responses — resembles the structure of intelligence cables and field reports. In intelligence work, every communication from the field is logged with who sent it, when, what it said (verbatim), and what question or tasking prompted it. The log is the institutional memory. Analysts who were not in the room can reconstruct what happened by reading the traffic. The intake log serves the same function for your project: a reader who was not in the session can reconstruct what decisions were made and why.

Two-Person Rule (Dual Control / Maker-Checker). A control principle from nuclear- weapons security, financial accounting, and high-trust operations: no consequential action proceeds without independent authorization from a second party. The book applies this principle relentlessly. AI proposes; you approve. Every registry change, every glossary entry, every rule modification, every artifact regeneration, and every file deletion runs through the same shape: propose, present, wait for explicit approval, then act. The pattern is most visible in Chapter 6 (rule analysis and the Inventory change rule), Chapter 9 (the disambiguate protocol), Chapter 10 (Step 3 of regen-all), and Chapter 11 (the Guarded Edits Protocol). The shape is a deliberate substitute for the missing second reviewer in a solo-with-AI workflow.

Event Sourcing and Append-Only Logs. A pattern from database systems and distributed computing: instead of overwriting state in place, every change is recorded as an immutable event in an append-only log, and current state is derived by replaying the log. The intake log (Chapter 7) is event sourcing applied to user input — every input becomes an immutable entry with verbatim content, timestamp, and attribution. The append-only protocol (Chapter 6) formalizes the discipline at the registry level: AI may only append new entries; past entries and the file itself are protected from modification or deletion; corrections take the form of new entries that reference the prior one by identifier. The discipline reappears in the rule-conflict log (Chapter 6) and applies to any audit-style file the project later registers.

Verification and Validation (V&V). The distinction between verification (“did we build the thing right?”) and validation (“did we build the right thing?”) is foundational in quality assurance and systems engineering. The polygraph and Devil’s Advocate methods (Chapter 11) address both halves — verification (does the draft match the specifications and trace to recorded grounding?) and validation (do the recorded decisions hold up when probed?). The validation chapters are organized around V&V thinking, even though they never use those terms.

Plan-Do-Check-Act (PDCA). Also called the Deming cycle, after W. Edwards Deming, who popularized it in quality management. Plan the work. Do the work. Check the result. Act on what you learned — fix problems, update procedures, feed improvements back into the next cycle. The book’s discipline of preparing to validate before asking AI to work (Chapter 11), then checking the output, then feeding corrections back into source-of-truth files, is a PDCA cycle.

Test-Driven Development. The practice of writing the test before writing the code — defining “correct” before producing the output. The book’s rule that you prepare to validate before you ask (Chapter 11) is the same principle applied more broadly. You decide how you will know whether AI’s output is right before you ask AI to produce it.

Acceptance Sampling and Statistical Quality Control. When the output is too large to review in full, you review a random sample and infer the quality of the whole from the quality of the sample. Chapter 11’s sampling method comes directly from this tradition, which originated in manufacturing (MIL-STD-1916 and its predecessors) and is standard practice in any domain where inspecting every unit is impractical.

Red Teaming and Adversarial Review. The practice of assigning a team to deliberately attack a plan, a system, or an argument — to find the weaknesses before an adversary does. It originated in military war games and is now standard in cybersecurity (penetration testing), policy analysis, and intelligence. The book’s adversarial prompting method (Chapter 11) and critique mode (Chapter 4) are lightweight red-team exercises: you ask AI to find the weaknesses in its own output, then separate the real findings from the noise.

Independent Verification and Validation (IV&V). The principle that the entity verifying the work should be independent of the entity that produced it. In safety-critical systems, IV&V is often a contractual requirement. The book applies this principle in two ways. First, the fresh-session requirement for the polygraph (Chapter 11): a new session that has not seen the production conversation cannot be biased by it. Second, the second-opinion method: asking a different model or tool the same question, so the verification comes from a system with different training and different blind spots.

Specification by Example. Gojko Adzic’s 2011 book introduced a discipline for turning intent into executable specifications by grounding every requirement in a concrete example that both humans and tools can read. The same example illustrates the requirement, drives the test, and lives in the documentation. The book’s running-example discipline (introduced in Why This Book? and carried through subsequent chapters), the Devil’s Advocate’s question of whether every claim traces to a recorded source (Chapter 11), and the SOT–ART pattern’s insistence on text-first specification (Chapter 10) all carry forward the core idea: a specification is only as good as the concrete examples that ground it.

The Checklist Manifesto. Atul Gawande’s 2009 book popularized a discipline that aviation and surgery had already used for decades: a short, written checklist of items to verify before a critical action, run every time without exception. The manual review section in Chapter 11 applies the same idea: “review with a checklist. Write down what you are looking for before you start reading: ‘Does this match the glossary? Are all the fields from the data model present? Are there any claims not traceable to a file?’” The checklist is what turns reading into checking — a list of questions removes the load of remembering what to look for. The same posture informs the polygraph’s structured finding categories (A through F, later G), each a checklist item the protocol runs on every write to a guarded file. The Dry Run (Chapter 13) makes the persona itself the checklist — a specialist doing their real job runs through their craft’s standard decisions without anyone writing the list down.

Pre-mortem Analysis. Gary Klein’s cognitive-science technique: before starting a project, imagine it has already failed and work backward to identify the reasons. The “Before You Ask” section in Chapter 11 is pre-mortem applied to AI output: “If you wait until the output is in front of you to figure out how to check it, two things happen. First, the output shapes your review — you read for sense rather than for errors, and AI’s confident tone nudges you toward approval. Second, you rush.” Validation is prepared before the prompt is sent, so the review criteria do not get reshaped by the very output they are meant to evaluate. The same posture shows up in plan mode and the playbook pattern (Chapter 4) — work out the shape of the work before starting it. The Dry Run (Chapter 13) is a constructive cousin: instead of imagining failure, it has AI simulate a specialist doing the job and surface the decisions the specification has not made yet.

Defense in Depth. A security and military principle: rather than relying on a single barrier, stack multiple independent defenses, so that an adversary or an error must defeat all of them to succeed. The validation toolbox (Chapter 11) is defense in depth made operational — the polygraph, the Devil’s Advocate, fresh-session replay, second opinion, automated checks, adversarial prompting, provenance checks, sampling, time before review, and a second pair of eyes. The chapter states the principle directly: “The more layers you have, the less likely it is that a single mistake slips through all of them. The cost of stacking two cheap methods is still less than the cost of one mistake making it into production.” Each layer catches a different kind of error; the stack is what makes the overall system reliable.

Swiss Cheese Model. James Reason’s accident-causation model from safety engineering: each defensive layer has holes (each method has blind spots), and accidents happen only when the holes line up across every layer at once. The book’s stacking of validation methods (Chapter 11) is the Swiss Cheese Model in practice. The polygraph misses ungrounded claims; the Devil’s Advocate catches those. The Devil’s Advocate misses purely judgment-level errors; manual review catches those. Manual review misses scale problems; sampling and automated checks catch those. Each method has its own blind spots, and the stack is designed so that no single failure mode survives every layer.

The Heilmeier Catechism. George Heilmeier, as director of DARPA, framed a fixed set of questions every research proposal had to answer — what are you trying to do (in plain language ), how is it done today, what is new in your approach, who cares, what are the risks, what will it cost. The Dry Run (Chapter 13) shares the conviction that the right questions, asked of every proposal, expose what vagueness hides — but it generates its questions from a specialist’s job rather than from one universal list, precisely to avoid the generic-checklist failure the book calls the Omission Trap.

Knowledge Management. The broad discipline of capturing, organizing, and making acces- sible the knowledge that an organization needs to function. The book’s file-based memory system (Chapter 8) — CLAUDE.md as an index, memory files as content, the intake log as institutional history — is a small-scale knowledge management system. The ground-truths file (Chapter 11) is a knowledge base of domain facts. The glossary (Chapter 9) is a controlled vocabulary. The self-check mechanism (Chapter 8) — starting a fresh session to expose gaps in the memory files — is a knowledge audit.

Tacit Knowledge and Knowledge Transfer. Michael Polanyi distinguished between explicit knowledge (things you can write down) and tacit knowledge (things you know but cannot easily articulate — intuitions, habits, judgment calls). The common-sense problem (Chapter 11) is at heart a tacit-knowledge problem. You know things about your business that you have never written down because you never needed to. AI does not share that tacit knowledge. The ground-truths file is a mechanism for converting tacit knowledge into explicit knowledge, one push-back at a time. The mental model of AI as a new employee who needs onboarding (Chapter 11) comes from the same tradition.

Shift Handoff Protocols. In hospitals, factories, military operations, and any environment with rotating personnel, a structured handoff ensures that the incoming shift knows what the outgoing shift learned. File memory (Chapter 8) maps directly onto this practice. Each AI session is a shift. The memory files are the handoff notes. CLAUDE.md is the standing orders. The self-check — opening a fresh session and asking what AI knows about content the previous session was supposed to record — is the equivalent of the incoming nurse reading the chart and asking “wait, what about the patient in room 12?”

Methodological Triangulation. Norman Denzin formalized the concept in The Research Act (1970): when studying a question, converge multiple independent instruments — interviews, surveys, direct observation, document analysis — on the same subject, on the theory that any single instrument can mislead but findings that survive across several are hard to discount. The roots are older: surveyors used triangulation from multiple known stations to fix the position of a third point well before social scientists named the technique. Chapter 8 carries the same idea into project memory. A specification, a glossary, a decisions log, a safety plan, a consent flow — each file is a projection of the same underlying subject from a different direction, and together the projections pin down what no single file could. The principle reappears twice in Chapter 11. The Polygraph section names triangulation as the shape ground-truth capture takes: the project’s ground truths live across several projection files rather than in one, and the polygraph reads across the set. The validation toolbox echoes the same shape on the methods side, stacking independent instruments (polygraph, Devil’s Advocate, fresh-session replay, second opinion) so a finding that survives several of them is the one to act on.

Socratic Method. A philosophical and pedagogical tradition from classical Greece: progress through questions rather than statements, surfacing assumptions and inconsistencies by inquiry rather than assertion. The prompt modes in Chapter 4 — research, suggest, analyze, explain, critique — are different shapes of structured inquiry, each asking AI a different kind of question rather than commanding it to produce. The Devil’s Advocate (Chapter 11) is explicitly Socratic: every claim in a draft is questioned against recorded grounding, and ungrounded claims surface for review. The interactive wiki (Chapter 14) extends the same posture across the whole project — the spec becomes a body of recorded answers, the agent fields the questions, and the user navigates the specification by asking rather than by re-reading. The Dry Run (Chapter 13) turns the same posture forward: AI, in the role of a specialist, asks the questions the specification has not yet answered.

Separation of Model and View (MVC and Its Variants). The Model-View-Controller pattern, introduced by Trygve Reenskaug in 1979, separates the data (model) from its visual representation (view) and the logic that connects them (controller). The SOT–ART separation (Chapter 10) is a direct descendant. The SOT file is the model — the authoritative data. The artifact is the view — a disposable visual representation. Changes go into the model. The view is regenerated. The book does not need a controller because AI plays that role: AI reads the model, produces the view, and you review the view to check the model.

Design by Contract. Bertrand Meyer’s principle (1986) that software components should interact through precise, verifiable contracts — preconditions, postconditions, and invariants. The book’s rules are contracts in natural language. The first rule (protect CLAUDE.md) is an invariant. The glossary’s closure rule (every referenced term must be defined) is an invariant. The Guarded Edits Protocol (every proposed write to a guarded file must first pass a polygraph check across six finding categories) is a contract between you and AI about how validation will proceed before any recording lands. The language is English instead of Eiffel — the programming language Meyer designed around this principle — but the discipline is the same.

Iterative and Incremental Development. The practice of building a system in small cycles, each producing a working increment that is reviewed and refined before the next cycle begins. The gradual method (The Approach) — idea, ground truths, product vision, data model, architecture, interfaces, code — is an incremental process where each layer builds on the previous one and is reviewed before the next begins. The polygraph (Chapter 11) is iterative within a single recording: every proposed write triggers a check, and findings loop you back to amend the proposal before the write lands.

Progressive Elaboration. A project management concept (prominent in PMBOK) where the project plan becomes more detailed as more information becomes available. Early phases are broad; later phases are specific. The book’s layered method is progressive elaboration: the idea is broad, the ground truths are narrower, the product vision is narrower still, and by the time you reach code, most decisions are already made. Each layer narrows the room for guesswork in the next. The Dry Run (Chapter 13) makes the elaboration explicit: each round descends one layer, and the decisions recorded in one round are what make the next layer’s questions answerable.

Topological Sort and Build Automation. A computer-science fundamental of build systems (Make, Bazel, Ninja, modern CI pipelines): given a graph of files with dependencies, compute an order in which each file’s dependencies are built before the file itself. Step 2 of the regen-all procedure (Chapter 10) is a topological sort applied to artifact regeneration: “AI MUST sort the generated files so that, for every file in the list, all the generated files listed in its Dependencies cell are placed before it in the sorted list.” The chapter notes the lineage explicitly: “The sort itself is one bullet of plain English — doing the work that for decades required dedicated build tools like make.”

Directed Acyclic Graphs (DAGs). A mathematical and computer-science structure where edges have direction and no path loops back on itself. The acyclicity discipline in Chapter 10 — “The Dependencies cells MUST NOT form a chain that loops back on itself. A registry change that would introduce such a loop MUST be refused” — enforces a DAG topology on generated-file dependencies. The DAG property is what makes the topological sort well-defined and the regeneration procedure deterministic. The same structural discipline appears in the disambiguate protocol (Chapter 9): the circularity check on glossary definitions enforces an acyclic reference graph among terms.

Open-Closed Principle. Bertrand Meyer’s design principle, later made famous by Robert Martin: software entities should be open for extension but closed for modification. The closed sets in the File Registry (Chapter 6) — types, protocols, and extensions, plus the analogous discipline for glossary entries — apply the principle directly. The base set is closed: AI must not introduce new values silently, and any value used must be one of the defined ones. The principle still permits extension: AI MAY propose new types, protocols, or extensions, with explicit user approval. The two halves together — closed by default, extensible with approval are the open-closed shape.

User Flows and Customer Journey Maps. Practices from user-experience and product-management design: capture the steps a user takes through a system as a visual flow with branches, decision points, and handoffs, so the experience can be reviewed and refined before implementation. The errata-flow.md running example (Chapter 10) is a user flow, deliberately structured as numbered steps with rationale on each. The Markdown form is the source of truth; the generated Mermaid diagram is the artifact you review. The pattern reappears throughout the book as a reference point — drawing a user flow for a booking process, mapping the participant-flow diagram for a research protocol, sketching a decision tree showing which policy applies when.

Personas. A user-research and product-management practice popularized by Alan Cooper: represent the user base as a small set of concrete, named archetypes with attributes that matter for design decisions. The Reader section in Why This Book? (front matter) is a persona enumeration — software architects and engineers; product managers; consultants; legal and patent practitioners; researchers; policy and compliance professionals; marketing, brand, and communications professionals; operations and data professionals; technical writers; authors of instructional, reference, and how-to material; and educators and curriculum designers. Each persona names a role, the kind of deliverable that role produces, and what makes the methodology relevant to that role. The list shapes how the book speaks throughout and which examples it reaches for in the chapters that follow. The Dry Run (Chapter 13) puts personas to a different use: AI adopts a specialist persona and does that specialist’s job against the specification, so the persona’s standard concerns surface as the questions the spec still has to answer.

Zachman Framework. John Zachman’s 1987 enterprise-architecture framework: a matrix that crosses six interrogatives (what, how, where, who, when, why) with a series of stakeholder perspectives (planner, owner, designer, builder), on the premise that a complete description answers every interrogative from every perspective. The Dry Run (Chapter 13) borrows the perspective axis — the set of specialist personas you run dry runs for is a coverage grid, and skipping a persona skips its whole class of decisions.

Quality Attribute Workshops and Attribute-Driven Design. Methods from Carnegie Mellon’s Software Engineering Institute for eliciting and designing around quality attributes — the “-ilities” such as scalability, availability, and security — before and during architecture, often through concrete scenarios and later evaluated by the Architecture Tradeoff Analysis Method (ATAM). The Dry Run (Chapter 13) does the same kind of work: a software architect’s dry run surfaces traffic, hosting, failure, and build-versus-buy decisions the way a quality-attribute workshop surfaces scenarios.

Architecturally Significant Requirements and Architecture Decision Records. An architecturally significant requirement is one that measurably shapes the architecture; an architecture decision record captures a single architectural decision with its rationale and consequences. The Dry Run (Chapter 13) targets exactly these — its gap list surfaces the architecturally significant decisions, and recording each decision with its reasoning is, in effect, keeping a decision record inside the specification.

Commander’s Intent (Auftragstaktik). A military doctrine where the commander communicates the desired end state and the purpose of the mission, then lets subordinates decide how to achieve it. The subordinate has freedom to adapt to conditions on the ground, as long as the intent is served. The intent-over-instruction principle (Chapter 4) is a direct application. You tell AI what you want to achieve and why. You state the constraints that matter. You let AI figure out how. If AI’s understanding of the intent is wrong, the failure is visible in the reasoning, not hidden in the execution.

Intelligence Handler and Asset Model. In intelligence operations, a handler directs a field asset. The handler sets objectives, provides context, evaluates the intelligence that comes back, and decides what to act on. The handler does not do the asset’s job. The handler’s skill is not in fieldwork — it is in running the asset effectively. The Why This Book? chapter (front matter) uses this analogy explicitly: you are the handler, AI is the asset. You direct, contextualize, evaluate, and decide. The entire book teaches handler skills, not AI internals.

Compartmentalization. An intelligence and security principle: information is divided into compartments, and access to each compartment is restricted to those who need it. The two-directory project structure (Chapter 1) is compartmentalization. AI has access to the project folder. AI does not have access to the backup directory. Version control lives outside AI’s reach. CLAUDE.md controls what AI knows about the project’s structure, but detailed content is compartmented into separate files that AI reads only when needed (Chapter 8).

Trust but Verify. A phrase associated with Cold War diplomacy (Ronald Reagan, quoting a Russian proverb, during arms control negotiations with the Soviet Union). The principle: cooperation requires trust, but trust without verification is naive. The book’s entire validation chapter (Chapter 11) is built on this principle. Trust AI enough to let it do the work. Verify the output before you act on it. The specific methods — cross-checking, assumption tracking, fresh-session validation — are verification protocols.

Principle of Least Privilege. A computer-security principle dating to Jerome Saltzer and Michael Schroeder’s 1975 paper The Protection of Information in Computer Systems: every component is granted only the minimum privileges it needs to perform its function. The two-directory project structure (Chapter 1) — AI can read and write the project folder, but the backup directory and version control are outside AI’s reach — is least privilege applied to AI. The book extends the principle to version control safety (“Do not give AI access to your version control. If you use Git, either block AI from it entirely or allow read-only access at most”) and to the scratch-directory boundary (Chapter 6). Each restriction follows the same reasoning: granting more access than necessary means more surface area for AI’s mistakes to do damage.

Serial Position Effect. Hermann Ebbinghaus documented in 1885 that people remember items at the beginning and end of a list better than items in the middle. These are called the primacy effect and the recency effect. The “lost in the middle” problem described in Chapter 8 — where language models pay less attention to content in the middle of the context window — is a computational echo of this human cognitive bias. The book’s advice to keep rules at the top of the context (primacy position) and to start fresh sessions when topics change (so that content AI needs remains near the recency position) is a practical application of both effects.

Working Memory Limits. Cognitive psychology has long established that human working memory is limited — roughly four to seven items at a time, depending on the study. The context window (Chapter 8) is AI’s version of working memory, with its own limits. The book treats both seriously: keep rules lean, keep sessions short, start fresh when topics change. The advice is the same a cognitive psychologist would give a person trying to manage a complex task: externalize your memory into notes, and do not try to hold everything in your head at once.

Dunning-Kruger Effect and Calibration. The Dunning-Kruger effect describes the tendency of people with limited knowledge in a domain to overestimate their competence. The overconfidence section (Chapter 11) draws an explicit parallel: AI defaults to the tone of authority regardless of its grounding. The defense — never use tone as a signal of correctness — comes from the decision science literature on calibration: the practice of aligning confidence with accuracy. Well-calibrated experts say “I am not sure” when they are not sure. AI does not, and you have to compensate.

Rubber Duck Debugging and the Feynman Technique. Rubber duck debugging is a programming practice: explain your code to a rubber duck (or any inanimate listener), and the act of explaining forces you to confront what you do not understand. The Feynman technique is similar: explain a concept in simple terms, and the gaps in your understanding become visible. The Devil’s Advocate (Chapter 11) uses the same mechanism — every claim in a draft that does not trace back to a recorded ground truth surfaces as a gap, and you decide what to do with each. The rubber duck does not talk back. AI does, and when AI cannot ground a claim, AI flags it.

Anchoring Effect. A cognitive bias documented by Amos Tversky and Daniel Kahneman: a person’s judgment is disproportionately influenced by the first piece of information presented (the anchor), even when the anchor is irrelevant. The book applies the principle to prompt design (Chapter 4): “do not muddy the prompt with your own reasons. The moment you say ‘I want X because Y,’ you have given AI a justification to anchor on — and AI’s trained tendency to please will quietly soften the critique or echo your reasoning back at you.” The same caution informs the polygraph design (Chapter 11) — the validation session is fresh and the validator does not see the production conversation, so the validator cannot anchor on whatever framing the production session had drifted into.

Mental Models. Peter Senge popularized the concept in The Fifth Discipline (1990); Charlie Munger and others have used the term broadly to mean a portable representation of how a system works, used to predict its behavior. The book uses the phrase explicitly and repeatedly. The execution-team analogy for sessions (Chapter 8): “Here is a mental model that helps. Imagine you manage an execution team handling many different areas of work…” The intelligence handler-and-asset analogy in Why This Book?. The book argues, in the Intuition and Muscle Memory section, that a working mental model — even one that is not scientifically accurate — is what lets you make good decisions when driving AI, and treats building those models in the reader as a primary goal.

Cognitive Load Theory and Worked Examples. John Sweller’s framework from educational psychology (1988 onward): human working memory is severely limited, so instruction should manage extraneous cognitive load and pair new concepts with worked examples that show every step in full. The “keep CLAUDE.md short” rule (Chapter 5) is load management applied to AI’s context window — the bootstrap (Chapter 6) is deliberately small, with longer protocols externalized to conditional files. The book’s pedagogy mirrors the worked-example effect: every method is introduced with a full dialog showing real prompts, real AI responses, and real file edits, so the reader sees the moves applied rather than abstracted. The choice is explicit in Why This Book?: “The book gives a lot of space to real examples… They give you a clearer sense of what is happening inside the conversation, and they implant a way of thinking that abstract description never will.”

Goodhart’s Law. “When a measure becomes a target, it ceases to be a good measure.” Charles Goodhart stated this in the context of monetary policy, and it has since been applied broadly. The rules trap (Chapter 5) is Goodhart’s Law applied to AI rules. When you write a rule that measures a specific behavior, AI can satisfy the measure without satisfying the intent. “Keep it short” produces something technically short that misses the point. The book’s response — intent over instruction — is the standard remedy for Goodhart’s Law: describe the goal, not the metric.

Over-Specification. The software engineering anti-pattern of specifying so much detail that the specification itself becomes the program — except written in a language with no compiler, no type checker, and no guarantee of consistent execution. The rules trap (Chapter 5) names this explicitly: if your rules were perfect, you would have written a program in English, to be executed by an expensive, non-deterministic engine. The book argues for minimal, intent-heavy rules rather than exhaustive, instruction-heavy ones.

Asimov’s Three Laws of Robotics. Isaac Asimov’s fictional laws governing robot behavior, introduced in I, Robot (1950) and explored across his short stories. Asimov used the stories to expose the failure modes of cleanly written rule sets — deadlocks, exploits, and emergent reinterpretations. Chapter 6 leans on four of these stories as case studies for the runtime rule-conflict protocol. Runaround shows two Laws deadlocking a robot into walking in circles; Liar! shows a Law forcing pathological behavior when the truth would cause harm; Little Lost Robot shows how a minor modification to a Law produces dangerous behavior nobody predicted; The Evitable Conflict shows machines reinterpreting a Law at global scale and overriding the humans the Law was meant to serve. The bootstrap’s stop-and-log posture for runtime rule conflicts is the direct response to the failure modes Asimov mapped seventy years before AI agents existed.

Agile Principles. The Agile Manifesto (2001) emphasized individuals and interactions over processes and tools, working software over comprehensive documentation, customer collaboration over contract negotiation, and responding to change over following a plan. The book shares several of these values: short iterations (fresh sessions, tight write-check-resolve cycles), working output at every stage (each layer of the gradual method produces reviewable artifacts), human judgment at every decision point, and adaptation over rigid procedure. The book is not Agile in the formal sense — there are no sprints, no stand-ups, no backlog — but the underlying values overlap.

Lean Thinking — Eliminate Waste. Lean manufacturing, adapted to software by Mary and Tom Poppendieck, emphasizes eliminating waste — any activity that does not add value. The token efficiency chapter (Chapter 2) is lean thinking applied to AI costs: convert expensive formats once instead of paying the reading cost repeatedly, keep CLAUDE.md lean because it ships with every turn, and start fresh sessions instead of carrying irrelevant context. The advice to avoid the Omission Trap (Chapter 11) — because it produces noise dressed up as due diligence — is waste elimination applied to validation.

Systems Thinking. A discipline associated with Jay Forrester, Donella Meadows, and Peter Senge: understand a system as a set of components whose interactions produce behavior the components do not exhibit on their own. The book’s stance on rules (Chapter 7) is explicitly systems-thinking: “Two rules written for entirely separate purposes — one policing the relevance of user input, one recording an audit trail — combined on a single exchange to produce behavior neither rule describes on its own. Each project rule may be simple in isolation, but in combination they produce ‘intelligent’ emergent behavior, turning the AI agent into a useful partner in your work rather than a tool you steer one move at a time.” The same posture informs the bootstrap’s design (Chapter 6) — each piece is small, the value comes from how they compose — and the validation toolbox in Chapter 11, where the reliability of the whole exceeds the reliability of any single method.

Definition of Ready. An Agile practice: a checklist a backlog item must satisfy — often summarized by the INVEST criteria (independent, negotiable, valuable, estimable, small, testable) — before the team will start work on it. The Dry Run (Chapter 13) applies the same gate to a whole area of the specification: the area is ready when a fresh round of the dry run surfaces no decision that would block the specialist.

Set-Based Concurrent Engineering and the Last Responsible Moment. A Lean product-development practice, observed at Toyota, of keeping several design options open and deferring each decision to the “last responsible moment” — the point past which delay would forfeit an option. The Dry Run (Chapter 13) names this as the practice it inverts. An agent executes the whole specification in one pass, with no human making decisions mid-build, so the last responsible moment collapses to before the build starts. That is why spec-driven development front-loads the decisions an agile team would defer.