Index
local graph
This index lists engineering, scientific, and other specialized terms used in the chapter prose, with plain-language definitions. Terms are alphabetized within letter sections.
Acceptance sampling. A quality-control method in which a random sample is inspected and the quality of the whole batch is inferred from the sample. Originated in manufacturing and used in any setting where inspecting every unit is impractical. Used in: Validation and Quality.
Adversarial prompting. A validation technique in which AI is asked to attack its own output —to list ways it could fail or be broken — so weaknesses surface before they reach production. Used in: Chapter 11; Validation and Quality.
Agent. In agentic AI, the local software — running on your computer or in your browser — that maintains the conversation, calls the remote model, executes tool calls on the model’s behalf, and shows results to you. A regular program, distinct from the language model it talks to. The agent’s loop — many round trips to the model with local work performed between them — is what makes the system agentic. Sometimes called the client. Used in: Chapter 3.
Agentic. Describes a type of AI that can autonomously chain tasks, call tools, and complete multi-step workflows without supervision on every step. Distinct from a chatbot, which only responds to a single prompt at a time. The autonomy comes from the agent’s loop — many round trips to the model with local work performed between them — not from anything special inside the model. Used in: Chapters 3 and 10; Why This Book?.
Agile. A software-development philosophy stated in the 2001 Agile Manifesto that prefers short iterations, working output at each stage, customer collaboration, and adaptation over rigid plans. Used in: Process Frameworks.
Alias. In the book’s glossary, a word that is treated as equivalent to a defined term and flows through silently without triggering a clarification question. Used in: Chapter 9.
Append-only. A file or log that only accepts new entries. Existing entries are never edited or deleted in place. The intake log and the ground-truths file are append-only. Used in: Chapters
6 and 7.
Architecture. In software, the high-level structure of a system — how its parts fit together and what each part is responsible for. The book uses the word in the same sense and extends it to the structure of any specification. Used in: Just Tell Me What You Want?.
Artifact (ART). A visual or derived file generated from a source-of-truth file — a diagram, a chart, an HTML page. Disposable by design: it can be deleted and regenerated from its source at any time. Used in: Chapters 10 and 16; Structure and Organization; Design and Architecture.
Asimov’s Three Laws of Robotics. Isaac Asimov’s fictional laws governing robot behavior. Chapter 6 uses four of his short stories — “Runaround”, “Liar!”, “Little Lost Robot”, and “The Evitable Conflict” — as case studies for how cleanly written rule sets can deadlock, misfire, or be reinterpreted in ways nobody intended. The bootstrap’s stop-and-log posture is the direct response. Used in: Chapter 6; Anti-Patterns and Cautionary Principles.
Attention. In language-model behavior, the model’s effective focus on different parts of its input. Attention is uneven across the context window — strongest at the beginning and end, weakest in the middle. Used in: Chapter 8.
Audit trail. A chronological, attributable record of actions or decisions, kept so that a reader who was not present can reconstruct what happened. Foundational in accounting, legal proceedings, and regulated industries. Used in: Chapter 7; Auditability and Traceability.
Auftragstaktik. A German military doctrine — sometimes called mission-type tactics or commander’s intent — in which the commander states the desired end state and the purpose of the mission, and subordinates choose the means. The book’s intent-over-instruction principle is a direct descendant. Used in: Military and Intelligence Thinking.
Automatic output check. A validation method in which AI checks output against the project’s rules, glossary, and other explicit constraints before the content is written to a file. Used in: Chapter 11.
Boilerplate. Standardized language reused across documents — common in contracts, regulatory filings, and protocols — often inserted by default unless a specific reason removes it. Used in: Chapter 11.
Carve-out. In contract drafting, an exception that removes specific items from the scope of a clause that would otherwise apply. The book uses the term more broadly to mean any narrow exception to a rule or pattern that would otherwise govern. Used in: Chapters 6 and 8.
Chain of custody. The principle that a record’s integrity is preserved by tracking who handled it, when, and under what authority — so the record itself cannot be tampered with unobserved. Used in: Auditability and Traceability.
Change control. The discipline of tracking every change to a system — what changed, when, by whom, and why — and gating changes through explicit approval. Used in: Structure and Organization.
Chatbot. A type of AI that responds to a single user prompt at a time, without autonomously chaining tools or actions. Contrast with an AI agent. Used in: Chapter 1.
Client. See Agent.
Clinical trial protocol. A written specification that defines a clinical study: its objectives, eligibility criteria, interventions, endpoints, procedures, and statistical plan. Designed to be precise enough that any qualified site can execute it. Used in: The Reader.
Common-sense gap. The mismatch between AI’s training-derived defaults and the context-specific assumptions a domain practitioner holds without articulating them. The defense is to write those assumptions down as ground truths so AI does not have to guess. Used in: Chapter 11; Why This Book?; Afterword.
Compacting. An agent-side technique in which the older part of a chat session is summarized by an LLM and replaced with the summary, so the session can continue past the context-window limit without abrupt failure. Reduces detail in exchange for length. Used in: Chapter 8.
Compartmentalization. A security principle in which information is divided into compartments and access is granted on a need-to-know basis. The book applies it to project structure: AI controls one directory, the backup directory is outside AI’s reach. Used in: Chapter 1; Military and Intelligence Thinking.
Configuration management. The discipline of tracking and controlling changes to all elements of a system — code, documentation, configurations, deployment artifacts — so the state of the system is always known and reproducible. Used in: Structure and Organization.
Consideration. In contract law, the bargained-for exchange that makes a promise enforceable. Each party gives something up; the consideration is what that exchange consists of. Used in: Why This Book?; Language and Meaning.
CONSORT. A reporting checklist for randomized clinical trial reports — Consolidated Standards of Reporting Trials. Specifies the items a trial publication must include. Used here as an example of a published checklist that supports automated validation. Used in: Chapter 11.
Context. In AI tooling, everything the model is given to read on a turn — the conversation history, files pulled in, action results, and any standing project materials — taken as one combined input. The conversation’s accumulated material that shapes the model’s response. Used in: Chapters 3, 5 and 8.
Context rot. The observed degradation in model output quality as the context grows longer, well before the context-window limit is reached. Used in: Chapter 8.
Context window. The maximum amount of text — measured in tokens — a model can process in a single call. Once the limit is reached, older parts of the conversation are dropped or summarized. Used in: Chapters 4, 5, 8 and 12; Why This Book?; Cognitive Science and Human Factors.
Control (in a policy). A discrete safeguard, requirement, or procedural measure that a policy or compliance program puts in place to address a specific risk. The full set of controls is the operational substance of the policy. Used in: Just Tell Me What You Want?.
Controlled vocabulary. A managed list of approved terms with precise definitions, used in technical writing, library science, and database design to ensure consistent usage. Used in: Chapter 8; Language and Meaning; Knowledge and Memory.
Critique mode. A mode of prompting in which AI is asked to push back against the user’s work — to find weaknesses, assume failure, and surface holes. Used in: Chapters 4 and 11; Validation and Quality.
Data dictionary. A reference table that defines every field, entity, and allowed value in a data set or database. Antecedent of the project glossary in this book. Used in: Language and Meaning.
Data model. A description of the entities a system works with, the fields each entity carries, and the relationships among them. Used in: Chapters 4 and 10; Just Tell Me What You Want?.
Data definition language (DDL). The set of statements a database engine reads to create and alter the shapes that store data — tables, columns, indexes, and constraints. Distinct from the statements that read or modify the data inside those tables. Used in: Chapter 10.
Deming cycle. Another name for Plan-Do-Check-Act, after W. Edwards Deming, who popularized it in quality management. Used in: Validation and Quality.
Design by Contract. Bertrand Meyer’s principle that software components interact through precise, verifiable contracts — preconditions, postconditions, and invariants. Used in: Design and Architecture.
Devil’s Advocate. An extension of the polygraph that flags ungrounded claims — statements in proposed content that do not trace back to any recorded ground truth. The procedure is the same as the polygraph’s; the question is different: does this trace back to what we know, and if not, where does it come from? For each flagged claim, AI tags the suspected source (its training, on-the-fly research, or no source) and the user picks one of four outcomes: dismiss, record as a ground truth, invalidate (the claim is wrong and any draft content that depended on it has to be rethought), or defer for research. Used in: Chapters 11 and 12.
Directed acyclic graph algorithm. A class of algorithms used by build tools to resolve compilation order — make, the canonical Unix build utility, is the best-known example. The algorithm walks a set of files connected by dependency relationships and produces a sequence in which each file is built only after the files it depends on. The book mentions these algorithms only by attribution; the regeneration rule in Chapter 10 does the equivalent work in plain language and does not require the reader to know them. Used in: Chapter 10.
Domain-Driven Design (DDD). A software-design approach introduced by Eric Evans (2003) that places the project’s business domain at the center of design, with a shared ubiquitous language that crosses code, conversation, and documentation. Used in: Language and Meaning.
Draft mode. A mode of prompting in which AI takes a seed (a sentence, a kernel, a rough idea) and expands it into prose, a clause, a paragraph, or a piece of copy for review. Nothing is committed to a file until the user accepts the draft. Distinct from suggest mode (which produces a menu of options) and from command mode (which writes the change directly). Used in: Chapter 4.
Dunning-Kruger effect. A documented tendency of people with limited knowledge in a domain to overestimate their competence, while real experts hedge. The book uses it as a parallel to AI’s overconfident tone. Used in: Chapter 11; Cognitive Science and Human Factors.
Endpoint (in a research protocol). A pre-specified, measurable outcome used to evaluate whether an intervention worked. A trial typically names primary and secondary endpoints. Distinct from the unrelated software meaning of an API endpoint. Used in: Just Tell Me What You Want?.
Entity. In data modeling, a thing the system tracks — a customer, a booking, a product, a […]ause. Each entity has fields and relationships to other entities. Used in: Chapters 4 and 10.
Entity-relationship diagram (ERD). A visual representation of entities and the relationships among them. Used in: Chapter 10.
Feature spec. A document that describes a single feature of a product — what it does, how it behaves, what it depends on. Used in: Chapters 10 and 11.
Foreign key. In a relational database, a field in one table that references the primary key of another table — the structural mechanism for linking records across tables. Used as an example of a term someone might ask AI to explain. Used in: Chapter 4.
Fresh-session replay. A validation technique in which the same question is asked in a clean session and the two outputs are compared. Disagreements mark the places to check. Used in: Chapter 11.
Gap format. A standard table format used throughout the book for recording findings from validation, audits, and consistency checks. Three columns: ID, Subject, Status. Status values: open, dismissed, accepted, deferred, resolved. Used in: Auditability and Traceability.
Git. A widely used version control system. The book recommends it as the rollback safety net for AI-driven projects. Used in: Chapter 1.
Goodhart’s Law. “When a measure becomes a target, it ceases to be a good measure.” Coined by economist Charles Goodhart. The book invokes it to warn that rules written to enforce a behavior can be satisfied without satisfying the intent. Used in: Anti-Patterns and Cautionary Principles.
Ground truth. A recorded domain fact or assumption that AI would not know by default. Ground truths are held in dedicated files — typically several, each carrying a different projection of the project as described in Chapter 8’s Triangulation — and consulted on every turn, so AI does not re-introduce a misunderstanding the user already corrected. Used in: Chapters 11, 12 and 13; Just Tell Me What You Want?; Knowledge and Memory; Structure and Organization.
Guardrails. Explicit limits set on AI’s behavior — categories include scope, decisions, tools and approaches, budget, and irreversibility. Attached to a prompt as “do not” or “stop and ask” conditions, or recorded as durable rules when the limit applies to every relevant request. Paired with Triggers as the two coordinate kinds of rule the book uses. Used in: Chapter 4.
Haiku. A small, fast, low-cost model in Anthropic’s Claude family. Mentioned as a cost-effective option for mechanical tasks like file conversion. Used in: Chapter 2.
Hallucination. Fabricated content produced by an AI model with the same confident tone as its correct output. Citations to nonexistent papers, references to functions that were never written, plausible-looking facts with no source — all are hallucinations. Used in: Chapter 11; How to Use This Book.
Independent Verification and Validation (IV&V). The principle that the entity verifying work should be independent of the entity that produced it. Common in safety-critical systems. Used in: Validation and Quality.
Inclusion criteria. In a clinical research protocol, the set of conditions a participant must meet to be enrolled in a study. Used in: Chapter 8.
Infrastructure as Code. A DevOps practice of defining system behavior in declarative, version-controlled files rather than in manual configuration steps. Used in: Structure and Organization.
Intake log. A verbatim, timestamped record of every user input in a project. Held in intake.md. The book’s primary mechanism for an audit trail. Used in: Chapters 7 and 8; Auditability and Traceability; Knowledge and Memory.
Integration. In a software specification, a connection between the system being built and an external system or service. Used in: Just Tell Me What You Want?.
Intuition (about AI). A working mental model the practitioner builds through experience — what AI tends to get right, where it fails, and what to check. The book treats this as a primary deliverable, alongside the methodology. Used in: Intuition and Muscle Memory.
IRB (Institutional Review Board). A committee that reviews research involving human subjects to ensure ethical standards are met. Approval is a prerequisite for most clinical research. Used in: Chapter 1; Why This Book?.
Iterate (mode). A prompt mode in which one step produces a list and a later step is applied to each element of that list. The list is not known when the prompt is written — it is whatever AI finds, builds, or returns from the first step. Three independent controls govern the loop: size (cap and floor), sort order, and shortlist. Used in: Chapter 4.
Iterative and incremental development. A development approach that builds in small cycles, each producing a working increment that is reviewed before the next cycle begins. Used in: Design and Architecture.
Judgment call. A decision that requires the practitioner’s domain expertise — one that cannot be delegated to AI because it depends on context AI does not have. Used in: Chapters 1, 4, 6 and 10; The Method; Just Tell Me What You Want?.
Knowledge management. The discipline of capturing, organizing, and making accessible the knowledge an organization needs to function. Used in: Knowledge and Memory.
Large language model (LLM). A class of AI model that is trained on large quantities of text and predicts the next token given the input. The “model” in agentic AI is an LLM. Used in: Chapters 2, 3 and 8.
Lean thinking. A management approach focused on eliminating waste — any activity that does not add value. Applied to AI work as token efficiency, lean CLAUDE.md, and avoiding noise-producing prompts. Used in: Process Frameworks.
Legal Specification Protocol. Stanford CodeX’s 2019 work on bringing formal-specification discipline — precise definitions, machine-readable structure, traceable cross-references — to legal documents. Used in: Language and Meaning.
Lost-in-the-middle effect. The observation that language models pay more attention to content at the beginning and end of the context window and less to content in the middle. Used in: Chapters 8 and 11; Cognitive Science and Human Factors.
Mandela effect. A widely shared, confident misremembering of a public fact — named after the popular but false memory that Nelson Mandela died in prison in the 1980s. The book uses it as a familiar parallel for hallucination: the brain reconstructs from patterns and produces a confident answer that is wrong. Used in: Chapter 11.
Markdown. A lightweight text format with simple syntax for headings, lists, links, and emphasis. Cheap in tokens, easy for AI to read and edit, and the default format for source-of-truth files in this book. Used in: Chapters 2, 8, 10 and 11.
Master services agreement (MSA). A commercial contract that sets the overarching terms between two parties; specific work is then performed under separate statements of work that incorporate the MSA. Used in: Chapter 4.
Memory file. A plain Markdown file that holds context the project must keep across sessions — decisions, vocabulary, ground truths, intake. Replaces the model’s missing memory with files on disk. Used in: Chapters 8 and 13.
Mermaid. A diagramming language in which diagrams are written as text and rendered as visuals in a browser. Used in the book as the canonical example of an artifact format generated from a Markdown source. Used in: Chapter 10.
Modification time (mtime). The timestamp the file system records for each file, indicating when the file was last changed. The incremental-regeneration rule the reader builds in Chapter 10’s Challenge section uses mtimes to decide which files are stale. Mtimes can lie: some operations advance the timestamp without changing content, others change content without advancing the timestamp. Used in: Chapter 10.
Model-View-Controller (MVC). A design pattern, introduced by Trygve Reenskaug in 1979, that separates data (model) from presentation (view) and the logic that connects them (controller). The SOT–ART separation is a descendant. Used in: Design and Architecture.
OCR (Optical Character Recognition). The process of extracting text from images of text — for example, a scanned document. Used in: Chapter 2.
Opus. Anthropic’s high-end Claude model. The book recommends the latest Opus for the reasoning-heavy work of building specifications and switching to cheaper models only at run-time. Used in: Chapter 2.
Overconfidence. AI’s trained tendency to produce answers in the tone of an expert regardless of whether the answer is grounded. The book attributes it to two training-derived sources: the content the model learned from — the internet skews toward confident “definitive guide” writing — and the method the model was tuned with — reinforcement learning from human feedback rewards confident, agreeable answers. The defense is never to use AI’s tone as a signal of correctness. Used in: Chapter 11; Why This Book?; Afterword.
Over-specification. The anti-pattern of writing rules so detailed that the rules become a program — except expressed in natural language with no compiler and no guarantee of consistent execution. Used in: Anti-Patterns and Cautionary Principles.
Path segment. Each part of a file-system path between slashes — docs/legal/policies has three segments: docs, legal, policies. Used in the book’s File Registry rules to constrain naming. Used in: Chapter 6.
Payload. The bundle of text the agent sends to the model on a single turn — CLAUDE.md, the conversation so far, the tools available, and the latest input — packed into one message. Used in: Chapter 3.
Plan mode. A mode of prompting in which AI describes how it would do work — the steps, the trade-offs, the order — without making any changes or listing specific edits. Used in: Chapter 4.
Plan-Do-Check-Act (PDCA). A continuous-improvement cycle popularized by W. Edwards Deming. Plan the work, do the work, check the result, act on the lessons. Used in: Validation and Quality.
Playbook mode. A mode of prompting in which AI writes a detailed, step-by-step plan to a file (the playbook), which is then executed incrementally — one step at a time, possibly across multiple sessions. Used for work too large to keep on track in a single session. Used in: Chapter 4.
Polygraph. The book’s name for using AI as a lie detector — handing it a draft together with the project’s recorded ground truths and asking it to flag contradictions. Available in two modes: manual (general, ad-hoc, broad scope) and automatic (write-time, enforced by the Guarded Edits Protocol on guarded files, narrower scope). Used in: Chapters 11 and 12.
Primacy bias. A documented tendency of attention to favor what is presented first. In language models, content at the start of the context tends to receive more weight. Used in: Chapter 8; Cognitive Science and Human Factors.
Product Requirements Document (PRD). A document that defines what a product or feature should do. The traditional starting point for product development in software organizations. Used in: Chapter 16; Why This Book?.
Progressive elaboration. A project-management concept (prominent in PMBOK) where the project plan becomes more detailed as more information becomes available. Used in: Design and Architecture.
Provenance check. A validation method in which every claim in research-mode output is required to cite a specific source, and a sample of those citations is verified. Used in: Chapter 11.
Reasoning model. A class of language model optimized to think through a problem before answering — weighing trade-offs, catching contradictions, asking clarifying questions — rather than only producing fluent text. The book’s method depends on a reasoning model. Used in: Chapters 1 and 4.
Recency bias. A documented tendency of attention to favor what is presented most recently. In language models, content at the end of the context tends to receive more weight. Used in: Chapter 8; Cognitive Science and Human Factors.
Red teaming. The practice of assigning a team to deliberately attack a plan, system, or argument to find weaknesses before an adversary does. Originated in military war games; now standard in cybersecurity and policy analysis. Used in: Validation and Quality.
Reinforcement learning from human feedback (RLHF). A training technique in which trainers rate model responses and the model is tuned to produce what trainers reward. Cited as a source of AI’s tendency toward overconfidence and agreeableness. Used in: Chapter 11.
Request for Proposal (RFP). A document inviting vendors or service providers to bid on a defined scope of work. Used in: The Reader.
Requirements traceability. The systems-engineering practice of following each requirement from its origin through implementation to verification. The book uses a lighter version of this chain throughout. Used in: Auditability and Traceability.
Research mode. A mode of prompting in which AI is asked to find information — on the web, inside the project, or both — without making changes. Used in: Chapters 4 and 11.
Retrieval-augmented generation. An approach in which relevant source material is placed into the model’s prompt so it can draw on the material directly rather than reconstructing facts from training. The book describes pulling files into the prompt as a practical version of this technique. Used in: Chapter 11.
RFC 2119. A short Internet Engineering Task Force standards document that defines the meaning of MUST, SHOULD, and MAY in technical specifications. The book borrows its priority markers for rule writing — introduced in Chapter 4’s The Language of Rules and reused throughout the bootstrap. Used in: Language and Meaning.
Round trip. One full cycle of sending input to a model and receiving a response. Each tool call inside a session adds another round trip. The book also calls this a turn — see Turn. Used in: Chapters 3, 4 and 8.
Rubber duck debugging. A programming practice of explaining a problem aloud to an inanimate listener — the act of explaining surfaces gaps in understanding. The Devil’s Advocate technique runs the same mechanism in reverse: AI flags claims in a draft that do not trace to recorded sources, so the gaps become visible. Used in: Cognitive Science and Human Factors.
Runbook. A document that describes how to perform a specific operational task — common in IT operations and incident response. Used in: The Reader.
SaaS (software as a service). Software delivered to users over the web as an ongoing service rather than installed on their own machines. The book cites SaaS applications among the kinds of product the author has built end to end from a specification. Used in: Chapter 16.
Sampling (validation). A validation method in which a random subset of a large output is reviewed in detail and the quality of the whole is inferred from the sample. Used in: Chapter 11.
Schema. In databases, a formal definition of the structure of a database — its tables, columns, types, and constraints. The book uses the term in the same sense. Used in: Chapters 4, 10 and 11.
Scope of work (SOW). A document that defines the specific work a vendor or contractor will perform under an agreement. Used in: Why This Book?; The Reader.
Second opinion. A validation method in which the same question is put to a different AI model. Models trained on overlapping but not identical data hallucinate in different places, so agreement between two independent models is stronger evidence than either alone. Used in: Chapter 11.
Separation of Concerns. A design principle that different responsibilities should live in different places, with clear boundaries. Used in: Structure and Organization.
Serial position effect. Hermann Ebbinghaus’s 1885 finding that people remember items at the beginning and end of a list better than items in the middle. The lost-in-the-middle effect in language models is its computational echo. Used in: Cognitive Science and Human Factors.
Session (chat session). A single back-and-forth conversation between a user and an AI agent, kept in one continuous context. The model itself is stateless; the session is maintained by the agent and replayed to the model on every turn. Used in: Chapters 7, 8 and 11.
Shift handoff. A structured transfer of context from one shift to the next — practiced in hospitals, factories, and military operations. The temp-worker model in this book maps each session to a shift and the memory files to handoff notes. Used in: Knowledge and Memory.
Silent forgetting. An agent-side behavior in which, once the conversation exceeds the context window, the oldest messages are dropped without warning. The model keeps responding but has lost access to the earlier parts of the conversation. The book contrasts it with compacting. Used in: Chapter 8.
Single Source of Truth (SOT). The principle that every authoritative piece of information lives in exactly one place, and that place is updated when the information changes — duplicates are forbidden because duplicates drift. Used in: Chapters 10 and 11; Structure and Organization.
Sonnet. A mid-tier model in Anthropic’s Claude family. Mentioned as a cost-effective option for tasks that do not require the strongest reasoning model. Used in: Chapter 2.
SOP (Standard Operating Procedure). A documented procedure for performing a routine operational task consistently across people and time. Used in: The Reader.
Source of Truth (SOT). A file that holds authoritative project content. In the book, SOT files are preferably Markdown; all changes go into SOT files; artifacts are derived from them. Used in: Chapters 10, 11 and 14.
Spec-driven development. A working pattern in which the specification is built first and the execution — code, contract, protocol, policy — is generated from it. Increasingly automated by long-running AI agents; the methodology in this book is aimed at producing the specification at the level of detail autonomous execution demands. Used in: Chapter 16; Why This Book?.
Specification by Example. Gojko Adzic’s 2011 discipline of grounding every requirement in a concrete example that humans and tools can both read. Used in: Validation and Quality.
SPIRIT. A reporting checklist for clinical trial protocols — Standard Protocol Items: Recommendations for Interventional Trials. Specifies the items a protocol document should contain. Used in: Chapter 11.
Statelessness. The property that the model itself keeps no memory between calls — every turn is processed from scratch. The session’s persistence is maintained outside the model, by the agent. Used in: Chapter 8.
Sub-agent. A separate non-interactive session, spawned by an AI agent, that handles a piece of work — frequently a tool call — independently and returns only a summary to the main conversation. Reduces context pollution from heavy tool use. Used in: Chapter 3.
Suggest mode. A mode of prompting in which AI is asked for options rather than for a chosen course of action. Used in: Chapter 4.
Sycophancy. See Overconfidence.
Tacit knowledge. Knowledge a practitioner has but cannot easily articulate — intuition, habit, judgment. Michael Polanyi’s distinction. The common-sense problem with AI is fundamentally a tacit-knowledge gap. Used in: Intuition and Muscle Memory; Knowledge and Memory.
Test-Driven Development (TDD). A software practice of writing the test before writing the code. The book applies the same discipline more broadly: prepare the validation before asking AI to do the work. Used in: Validation and Quality.
Token. A small piece of text — roughly four characters or three quarters of a word in English — that a language model uses as its unit of input and output. Pricing is per token in both directions. Used in: Chapters 2, 4, 5, 8 and 10.
Tokenization. The process by which a model splits text into tokens before processing. Used in: Chapter 2.
Tool call. A structured note the model emits in place of an action it cannot perform itself — “edit this file,” “search the web.” The agent reads the note, executes the action, and feeds the result back as the next message. Used in: Chapters 8, 9 and 10.
Tool result. The message an agent returns to the model after executing a tool call. Sits in the conversation history alongside everything else and counts toward the context window. Used in: Chapter 8.
Tradecraft. In this book, the foundational methods, disciplines, and conventions that turn AI from a powerful general-purpose tool into a collaborator operating inside the project’s rules. The bootstrap files in Chapter 6 install the initial tradecraft; later chapters extend it. The term is borrowed from intelligence work, where it names the craft in which an operative is trained. Used in: Chapters 6 and 7; Why This Book?; The Method.
Triangulation. The discipline of recording the same underlying project subject in several memory files, each describing it from a different angle — a set of user stories, a security requirements list, a regulatory checklist, a glossary, a decisions log, a consent flow. Each file is a projection that captures part of the subject from one angle. The projections together pin down what no single file could capture alone, and the specification AI helps you build — data model, architecture, operational shape — is grounded in those projections rather than treated as one of them. The term is borrowed from the everyday technical sense — pinpointing a spy radio transmitter from receivers in different cities, locating a phone via cell towers and GPS […] where several independent observations of the same subject, each from a different vantage point, converge on what no single one could capture. Used in: Chapter 8; Knowledge and Memory.
Triggers. A category of rules that spawn activity in response to a condition — when X happens, do Y — paired with Guardrails as the two coordinate kinds of rule the book uses. As prompt-embedded rules they apply to a single prompt by default and require explicit session scoping to carry forward; as durable rules they live in the project’s rules file and apply on every turn. Used in: Chapter 4.
Trust but verify. A principle associated with arms-control diplomacy in the late twentieth century: cooperation requires trust, but trust without verification is naive. The book applies it to AI output. Used in: Military and Intelligence Thinking.
Turn. One full round trip from the local agent to the remote model and back. The agent assembles a payload, sends it to the model, receives the response, and decides what to do next. A single user prompt can produce many turns under the hood; the agent’s autonomy comes from this loop and from the local work the agent performs between turns. A turn is sometimes called a round trip or an API call; the book uses “turn” consistently. Used in: Chapters 2 and 3.
Ubiquitous Language. A core idea in domain-driven design: a project should use one shared vocabulary — the same terms in conversations, documentation, and code — and that vocabulary should come from the domain itself. Used in: Language and Meaning.
User flow. A description of the steps a user takes to accomplish a task — for example, opening an app, choosing a service, paying, and receiving confirmation. Used in: Chapter 10.
User story. A short statement of a user need in a fixed format — typically “as a user, I want X so that Y.” Common in agile software development. Used in: Just Tell Me What You Want?.
Validation. The discipline of checking that AI’s output is correct — comparing it against trusted sources, recording findings in a standard format, and acting on them. The book devotes an entire chapter to validation methods. Used in: Chapters 5, 11 and 12; Validation and Quality.
Verification and Validation (V&V). The systems-engineering distinction between verification (“did we build the thing right?”) and validation (“did we build the right thing?”). Used in:
Validation and Quality.
Version control. A system that tracks every change to a set of files so any change can be reviewed, attributed, and undone. The book uses Git as its example and treats version control as the rollback safety net for AI work. Used in: Chapters 1, 5 and 8; Structure and Organization.
Vibe coding. Writing software by prompting an AI agent turn by turn — it generates code, you review and correct, and you stay in the loop on every step. Contrast with spec-driven development, where the judgment is settled up front in a specification the agent builds from. Used in: Why This Book?.
Vision capabilities. The model features that allow it to process images. Far more expensive in tokens per page than reading the same content as text. Used in: Chapter 2.
Working memory. The cognitive capacity for holding and manipulating a small set of items in mind at once — typically four to seven, depending on the study. Used in: Cognitive Science and Human Factors.