Glossary: Software Engineering
Every term Software Engineering defines, from A to Z, with the section that teaches it. A section that uses a term from elsewhere, in this book or another, also lists it under “Concepts from other sections” at the top of the page.
238 terms
Symbols
Section titled “Symbols”^{commit}: git’s peel syntax, resolving a tag object to the commit it points at. Taught in 7.1 Commits, semver, and releases- 410 Gone: the status for a withdrawn contract, as opposed to 400 for a version that was never served. Taught in 8.2 Interface migration: API v1 to v2
- Agent eval suite: a fixed, versioned set of observations, scorers, and a comparison design used as a release gate. Taught in 3.9 Agent evals as tests
- Annotated tag: a git tag object with a tagger, date, and message, pointing at a commit. Taught in 7.1 Commits, semver, and releases
- API key: a credential
tl_<id>_<secret>whose public id locates a record and whose secret proves possession. Taught in 10.1 API Keys, Scopes, Model Allowlists, and Tenants - Applied change: an edit written to the working copy or committed, with a reference the reviewer can find. Taught in 14.1 Reviewing an agent’s work
- Architecture decision record (ADR): a short, numbered, append-only file recording one hard-to-reverse decision with its context, consequences, and rejected alternatives. Taught in 12.1 Architecture decision records
- Architecture Decision Record (ADR): a record of one architectural decision, its status, rationale, and consequences. Taught in Chapter 13: Engineering Acronyms
- Atomic rename: writing to a temporary file and renaming it over the target, so readers see either the old file or the complete new one. Taught in 8.1 Interface migration: KV format v1 to v2
- Attribute-based access control (ABAC): authorization by policies evaluated over attributes of the subject, resource, action, and context (as in OPA/Rego or Cedar); expressive and fine-grained, but harder to audit. Taught in Chapter 10: Authorization and Access Control
- Authentication (authn): establishing who a caller is, its identity; a failure is an HTTP 401. Taught in Chapter 10: Authorization and Access Control
- Authorization (authz): deciding what an authenticated caller may do, whether a subject may perform an action on a resource in a context; a failure is an HTTP 403. Taught in Chapter 10: Authorization and Access Control
- Authorization matrix: a table of principals against actions in which every cell is an explicit allow (with its condition) or deny. Taught in 9.3 Secrets and authorization review
- Baseline B: any correct implementation other than the reference, which every test must also accept. Taught in 3.5 Mutation testing in depth: equivalent mutants, semantic mutants from pitfalls, reading survivors
- Benchmark: a measurement of time per call with fixed inputs, a warm-up, repetitions, and a stated estimator. Taught in 3.4 Benchmarks and perf gates
- Bisection: binary search over a commit range for the first commit at which a property changes, taking tests. Taught in 8.4 Performance regression bisect
- Bits per byte (bpb): total predicted bits divided by total predicted bytes; independent of the tokenizer. Taught in 3.8 Model evals as tests
- Black-box test: a test that uses only the names and documented behavior of the contract. Taught in 3.1 TDD, unit tests, and mutation testing
- Bottom line up front (BLUF): stating the conclusion first and the support after it, because readers skim. Taught in Chapter 12: Documentation Writing
- Boundary validation: checking that untrusted input is meaningful at the point it enters the system, before it propagates. Taught in Chapter 5: Lessons from Practice
- Bounded retry with backoff: retrying a failed call a fixed number of times with growing delays, then surfacing the error. Taught in Chapter 5: Lessons from Practice
- Branch protection: a hosting rule that blocks merges into a branch until named CI jobs pass, turning CI into a gate. Taught in 6.1 The repository and its CI gate
- Broken windows: the tendency of unfixed bad code to invite more of it. Taught in Chapter 1: The Pragmatic Programmer
- Budget: the largest allowed fractional slowdown of a metric. Taught in 3.4 Benchmarks and perf gates
- Burn rate: how many times faster than allowed an SLO’s error budget is being spent; 14.4 over a 30-day budget exhausts it in about two days. Taught in 12.2 Runbooks and Diataxis docs
- C4 model: Simon Brown’s four zoom levels for software architecture diagrams (context, container, component, and code), each with its own audience and question; draw the first two for almost everything and rarely hand-draw the fourth. Taught in Chapter 11: Diagramming with the C4 Model
- Changelog: a per-version record of changes grouped by their effect on users. Taught in 7.1 Commits, semver, and releases
- Chaos engineering: deliberately injecting failures (killing a pod, adding latency, partitioning the network) to test the hypothesis that a system tolerates them; it starts with a small blast radius and a defined steady-state metric, and needs good observability to be safe. Taught in Chapter 3: The Testing Mentality
- CL (change list): a single proposed change submitted for review; Google’s term for what others call a pull request or patch. Taught in Chapter 2: Software Engineering at Google
- Closure: a function together with the environment it captured. Taught in Chapter 4: Coding and Design Patterns
- commit-msg hook: an executable git runs with the path of the message file before creating a commit; a nonzero exit aborts the commit. Taught in 6.1 The repository and its CI gate
- Compatibility family: a set of packages that must be upgraded together, such as an SDK and its exporters. Taught in 8.3 Dependency upgrades
- Component view: the C4 level-3 diagram of one container’s internals, whose arrows are in-process calls labeled with what flows. Taught in 11.1 C4 diagrams in D2
- Consistent oracle: a test that says “good” for every commit before the culprit and “bad” for every commit from it on. Taught in 8.4 Performance regression bisect
- Constant-time comparison: a comparison whose running time does not depend on how much of the input matches. Taught in 9.3 Secrets and authorization review
- Consumer: the last stage of a pipeline, which acts on what earlier stages emit. Taught in 14.4 Inspecting a pipeline into a model
- Consumer / provider: the service that calls and depends on the answers, and the service that answers. Taught in 3.6 Contract tests: consumer-driven tests for gateway to engine
- Container view: the C4 level-2 diagram in which each box is a separately deployable process or managed store, and each arrow is a protocol or file boundary. Taught in 11.1 C4 diagrams in D2
- Content sniffing: inferring a version from payload fields, which is ambiguous when the same payload is valid under both contracts. Taught in 8.2 Interface migration: API v1 to v2
- Context view: the C4 level-1 diagram showing one system, the people who use it, and the external systems it depends on. Taught in 11.1 C4 diagrams in D2
- Continuous integration (CI): a service that runs a workflow of jobs and steps on every push and pull request, passing or failing by exit status. Taught in 6.1 The repository and its CI gate
- Contract test: a test of the agreement between two services that runs neither against the other. Taught in 3.6 Contract tests: consumer-driven tests for gateway to engine
- Conventional Commit: a commit whose header matches
type(scope)!: description, so tools can derive version bumps and changelogs. Taught in 6.1 The repository and its CI gate core.hooksPath: the git setting that points hook lookup at a tracked directory such as.githooks/. Taught in 6.1 The repository and its CI gate- Currying: rewriting a many-argument function as a chain of one-argument functions. Taught in Chapter 4: Coding and Design Patterns
- Data race: two accesses to the same memory from different goroutines, at least one a write, with no happens-before order between them. Taught in 6.2 Code review
- Data-flow diagram (DFD): a diagram of external entities, processes, data stores, the flows between them, and trust boundaries. Taught in 9.1 Threat modeling with STRIDE
- Decorator: a wrapper with the same interface as the thing it wraps, adding behavior before or after delegating. Taught in Chapter 4: Coding and Design Patterns
- Default version: the operator-configured version used when the header is absent, and the rollback switch for the migration. Taught in 8.2 Interface migration: API v1 to v2
- Dependency policy: the human-maintained list of what may be used (
allowed-deps.toml), against which each SBOM is reviewed. Taught in 9.2 SBOM and supply chain - Deployment diagram: the C4 supplementary view that maps logical containers onto infrastructure nodes, such as Kubernetes objects; it bridges architecture and operations. Taught in Chapter 11: Diagramming with the C4 Model
- Deprecation: announcing that an interface will be removed, with a replacement and a timeline, before removing it. Taught in 7.2 Deprecation policy
DeprecationandSunsetheaders: HTTP response headers that announce, in band, that an API is deprecated and when it will be removed. Taught in 7.2 Deprecation policyDeprecationheader: RFC 9745,@<unix seconds>, announcing that the response’s contract is deprecated. Taught in 8.2 Interface migration: API v1 to v2- Design by contract: specifying a function’s preconditions, postconditions, and invariants. Taught in Chapter 1: The Pragmatic Programmer
- Design pattern: a named solution to a recurring design problem, recognized rather than copied. Taught in Chapter 4: Coding and Design Patterns
- Diagrams as code: diagrams kept as text source (here D2) that diff in review and compile in CI. Taught in 11.1 C4 diagrams in D2
- Diamond dependency: two dependencies of a project require incompatible versions of a shared third dependency. Taught in Chapter 2: Software Engineering at Google
- Diátaxis framework: Daniele Procida’s classification of documentation into four types (tutorial, how-to guide, reference, and explanation) from two axes: whether the reader is studying or working, and needs practical steps or theory. Mixing types in one document is the most common documentation failure. Taught in Chapter 12: Documentation Writing
- Diátaxis index: a table of documents sorted by reader goal into tutorial, how-to, reference, and explanation. Taught in 12.2 Runbooks and Diataxis docs
- Differential test: a check that two implementations of the same contract agree on generated inputs. Taught in 3.3 Oracles, golden and differential tests, gradcheck as a test
- Documentation as code / docs as code: treating documents like source: versioned in the repository and changed in the same pull request as the code, reviewed, tested (runnable samples, linted prose, checked links), generated where possible, and deprecated deliberately. Taught in Chapter 12: Documentation Writing
- DRY: every piece of knowledge has a single, unambiguous representation in the system. Taught in Chapter 1: The Pragmatic Programmer
- Durability: a call that returned success is on disk and survives a crash. Taught in 3.7 Resilience tests
- Echo provider: a stand-in model that returns its own request, used to inspect prompts. Taught in 14.4 Inspecting a pipeline into a model
- Embedded living model: a diagram kept in the repository beside the code (embedded) and kept current by a process such as rendering in CI and review as code (living), so it does not rot like a pasted screenshot. Taught in Chapter 11: Diagramming with the C4 Model
- Entity-relationship diagram (ERD): a diagram of a data model’s entities, their attributes, and the relationships between them; it should be generated from the schema rather than drawn by hand. Taught in Chapter 11: Diagramming with the C4 Model
- Equivalent mutant: a mutant whose observable behavior equals the original’s on every input in the contract’s domain. Taught in 3.5 Mutation testing in depth: equivalent mutants, semantic mutants from pitfalls, reading survivors
- Error contract: what a function promises about when it fails and what the caller receives. Taught in 14.3 Small interfaces that do real work
- Everything diagram: an architecture diagram that mixes every level of abstraction on one page, from business context to protocol details, and so answers no question well. Taught in Chapter 11: Diagramming with the C4 Model
- Evidence: the test, runbook, or log property a reviewer inspects to confirm that a control works. Taught in 9.1 Threat modeling with STRIDE
- Exit condition: the measurable criterion, here a minimum window plus a period of zero use, that makes removal safe. Taught in 7.2 Deprecation policy
- Export envelope: the KV file and wire format: a 28-byte header, block records of hash, fill, and payload, and a trailing CRC-32C. Taught in 8.1 Interface migration: KV format v1 to v2
- Externalized authorization: running the policy decision as a separate library or service (an OPA sidecar, OpenFGA, SpiceDB) that applications call, giving one source of truth, testable policies, and a central audit log. Taught in Chapter 10: Authorization and Access Control
- Facade: a single, intention-revealing interface over a complex subsystem. Taught in Chapter 4: Coding and Design Patterns
- Failpoint: a named place in the code where a test can inject a crash, error, or delay. Taught in 3.1 TDD, unit tests, and mutation testing
- Fake: a lightweight working implementation of a dependency, preferred over mocks because it exhibits real behavior. Taught in Chapter 2: Software Engineering at Google
- False alarm: a serious finding on code that is correct, which costs the author a round trip and the reviewer credibility. Taught in 6.2 Code review
- Fencing token: a number that grows with every delivery, used to refuse stale owners. Taught in 3.7 Resilience tests
- Filter: a
jqprogram that maps one input value to a stream of output values. Taught in 14.4 Inspecting a pipeline into a model - Finding: one problem in a review, with a location, an observation, a consequence shown by an input or interleaving, and a suggestion. Taught in 6.2 Code review
- Fixpoint property: a law that the output admits no further step of the algorithm. Taught in 3.2 Property-based tests with Hypothesis, proptest, rapid, and ol_prop.h
- Fixture provider: a deterministic stand-in for a real service, used so that an example’s output is reproducible. Taught in 14.2 Learning an API by editing it
- Force: a fact or constraint, true at the time of the decision, that made a decision necessary; forces belong in the Context. Taught in 12.1 Architecture decision records
- fp8 E4M3: an 8-bit float with 1 sign, 4 exponent (bias 7), and 3 mantissa bits; largest finite value 448, no infinity. Taught in 8.1 Interface migration: KV format v1 to v2
- Fuzzing / fuzz testing: feeding random or adversarial bytes to parsers and decoders to find crashes and memory errors; it targets the bug class behind a large share of CVEs. Taught in Chapter 3: The Testing Mentality
- General-purpose interface: one operation that serves several callers, so that no caller rebuilds it. Taught in 14.3 Small interfaces that do real work
- Generator (strategy): a description of a set of inputs and how to draw from it. Taught in 3.2 Property-based tests with Hypothesis, proptest, rapid, and ol_prop.h
git bisect runexit codes: 0 good, 125 skip, 1 to 127 (other than 125) bad, 128 or more abort. Taught in 8.4 Performance regression bisect- Golden test: a comparison against numbers an independent implementation produced and a maintainer recorded. Taught in 3.3 Oracles, golden and differential tests, gradcheck as a test
govulncheck: Go’s vulnerability scanner, which reports only vulnerabilities reachable from the program’s code. Taught in 8.3 Dependency upgrades- Gradcheck: a comparison of a hand-written gradient against central differences of . Taught in 3.3 Oracles, golden and differential tests, gradcheck as a test
- Hermetic build: a build that depends only on its declared inputs, so it is reproducible and safely cacheable. Taught in Chapter 2: Software Engineering at Google
- HMAC: a keyed hash construction, , resistant to length extension. Taught in 10.1 API Keys, Scopes, Model Allowlists, and Tenants
- Honest mutation score:
killed / (total - equivalent). Taught in 3.5 Mutation testing in depth: equivalent mutants, semantic mutants from pitfalls, reading survivors - How-to guide: a Diátaxis document that gives a working reader the steps to reach a specific goal, without teaching or explaining along the way; a runbook is one. Taught in Chapter 12: Documentation Writing
- HRT: humility, respect, and trust, the book’s model for how engineers should work together. Taught in Chapter 2: Software Engineering at Google
- Hyrum’s Law: with enough users, every observable behavior of a system will be depended on by somebody. Taught in Chapter 2: Software Engineering at Google
- Hyrum’s Law: with enough users, every observable behavior of an interface is depended on by somebody. Taught in 7.2 Deprecation policy
- Ice-cream cone: the inverted test pyramid, a suite of mostly end-to-end tests and few unit tests; it is slow and flaky and reports that something broke without saying what. Taught in Chapter 3: The Testing Mentality
- Idempotency key: a key, the same on every attempt, by which the external system deduplicates an effect. Taught in 3.7 Resilience tests
- Infrastructure surface area: the total configuration, integration, and deployment work that a stack’s components demand together. Taught in Chapter 5: Lessons from Practice
- Interaction: one request the consumer sends and the response it expects. Taught in 3.6 Contract tests: consumer-driven tests for gateway to engine
- Key Performance Indicator (KPI): an ongoing measure selected to track performance against a business or operational concern. Taught in Chapter 13: Engineering Acronyms
- Kill loop: a seeded loop that crashes the system at many points and checks every promise at the end. Taught in 3.7 Resilience tests
- Killable survivor: a surviving mutant for which some input makes an observable output differ; a missing test. Taught in 3.5 Mutation testing in depth: equivalent mutants, semantic mutants from pitfalls, reading survivors
- Killed / survived: a mutant is killed when at least one test fails against it, and survives when every test passes. Taught in 3.1 TDD, unit tests, and mutation testing
- Large-scale change (LSC): a change applied across thousands of files or many repositories, landed with dedicated tooling. Taught in Chapter 2: Software Engineering at Google
- Law of Demeter: a module should talk only to its immediate collaborators, not to strangers. Taught in Chapter 1: The Pragmatic Programmer
- Leaked decision: a choice, such as transport, whose details appear in code that should not depend on it. Taught in 14.3 Small interfaces that do real work
- Lease: ownership of a task with a deadline. Taught in 3.7 Resilience tests
- Least privilege: granting each subject the minimum permissions it needs, so a compromised or buggy caller can do as little damage as possible. Taught in Chapter 10: Authorization and Access Control
- Magic number: a bare literal that encodes an unrecorded decision, such as a calibrated threshold. Taught in Chapter 5: Lessons from Practice
- Margin: the smallest regression worth failing a build for. Taught in 3.8 Model evals as tests
- Metamorphic relation: a law relating outputs for inputs changed in a known way. Taught in 3.2 Property-based tests with Hypothesis, proptest, rapid, and ol_prop.h
- Minimum estimator: the smallest repetition’s time, the best estimate of the work when noise only adds time. Taught in 3.4 Benchmarks and perf gates
- Mock provider: a server generated from one interaction that checks the request and replays the response. Taught in 3.6 Contract tests: consumer-driven tests for gateway to engine
- Model: a slow, obviously correct implementation the real one must agree with. Taught in 3.2 Property-based tests with Hypothesis, proptest, rapid, and ol_prop.h
- Model allowlist: a per-key list of models it may use; empty means all. Taught in 10.1 API Keys, Scopes, Model Allowlists, and Tenants
- Model eval: a held-out metric plus a regression rule, run on every change as a test. Taught in 3.8 Model evals as tests
- Model mutant: a deliberately broken variant of a model (wrong RoPE base, dropped layer) used to judge the eval suite. Taught in 3.8 Model evals as tests
- Mutant: the correct implementation with one small, plausible fault planted. Taught in 3.1 TDD, unit tests, and mutation testing
- Mutation score: the number of killed mutants divided by the total. Taught in 3.1 TDD, unit tests, and mutation testing
- Mutation testing: judging a test suite by planting small faults (mutants) in the code and counting how many the suite catches; it measures whether tests check behavior, which line coverage cannot. Taught in Chapter 3: The Testing Mentality
- Next Generation Access Control (NGAC): NIST’s model of users, objects, and attributes as nodes in a directed policy graph, where a privilege holds if it is derivable by traversal; RBAC and ABAC are special cases of it. Taught in Chapter 10: Authorization and Access Control
NOASSERTION: the SPDX value meaning the document makes no claim about a field. Taught in 9.2 SBOM and supply chain- Non-Disclosure Agreement (NDA): an agreement defining confidentiality obligations for information shared between parties. Taught in Chapter 13: Engineering Acronyms
- Objectives and Key Results (OKR): a goal-setting framework pairing an objective with measurable outcomes for a defined period. Taught in Chapter 13: Engineering Acronyms
- Observation: one eval case with a stable id, split, scenario, and ground truth. Taught in 3.9 Agent evals as tests
- One-way door: a decision that is expensive to reverse, and therefore worth recording. Taught in 12.1 Architecture decision records
- Oracle: something other than the code under test that knows the right answer. Taught in 3.3 Oracles, golden and differential tests, gradcheck as a test
- Orthogonality: independence of components, so changing one does not affect others. Taught in Chapter 1: The Pragmatic Programmer
- Overrun debt: a negative bucket level left by a request that used more than it reserved, paid off by waiting. Taught in 10.2 Rate Limiting: RPM Token Buckets and TPM Reserve/Settle
- Owned source: code you copied from a library and now maintain yourself. Taught in 14.2 Learning an API by editing it
- Pact: the consumer’s list of interactions, kept as data. Taught in 3.6 Contract tests: consumer-driven tests for gateway to engine
- Paired comparison: building and running base and head alternately on the same machine, so machine speed cancels in the ratio. Taught in 3.4 Benchmarks and perf gates
- Paired comparison: running base and candidate on the same observations and analyzing per-case differences. Taught in 3.9 Agent evals as tests
- Paired measurement: measuring baseline and candidate on the same windows and seeds, so per-seed differences cancel window difficulty. Taught in 3.8 Model evals as tests
- Paired runs: repeated benchmark runs of baseline and candidate on the same host and configuration, compared as distributions. Taught in 8.3 Dependency upgrades
- Partial application: fixing some of a function’s arguments to produce a specialized function. Taught in Chapter 4: Coding and Design Patterns
- Pepper: a secret key, stored apart from the hashes, under which API secrets are HMAC-hashed. Taught in 9.3 Secrets and authorization review
- Pepper: a server-side secret that keys the stored hash, kept out of the keys file. Taught in 10.1 API Keys, Scopes, Model Allowlists, and Tenants
- Per-slab scale:
amax / 448for the slab, or 1.0 when the slab is all zero. Taught in 8.1 Interface migration: KV format v1 to v2 - Percentile bootstrap: an interval from the sorted means of resamples drawn with replacement. Taught in 3.9 Agent evals as tests
- Perf gate: a check that fails a change when head is slower than base by more than the budget. Taught in 3.4 Benchmarks and perf gates
- Policy as code: keeping authorization policies in version control, reviewed and tested like any other code. Taught in Chapter 10: Authorization and Access Control
- Policy Decision Point (PDP): the component that evaluates policy and returns allow or deny for a request, fed attributes by a Policy Information Point (PIP) and managed through a Policy Administration Point (PAP). Taught in Chapter 10: Authorization and Access Control
- Policy Enforcement Point (PEP): the component that intercepts a request and enforces an allow or deny, after asking a Policy Decision Point; keeping enforcement separate from deciding keeps policy in one place. Taught in Chapter 10: Authorization and Access Control
- Post-Incident Review (PIR): an evidence-based review of incident impact, contributing conditions, recovery, and corrective actions with owners. Taught in Chapter 13: Engineering Acronyms
- Principal: the authenticated identity passed to later stages: key id, tenant, scopes, models, and limits. Taught in 10.1 API Keys, Scopes, Model Allowlists, and Tenants
- Proof of Concept (POC): a limited experiment that tests a specific feasibility claim under stated conditions. Taught in Chapter 13: Engineering Acronyms
- Property: a function of generated inputs that asserts a law that must hold for every input of a kind. Taught in 3.2 Property-based tests with Hypothesis, proptest, rapid, and ol_prop.h
- Property-based testing: asserting an invariant over many generated inputs (Hypothesis, proptest, QuickCheck) instead of a few hand-picked examples, which finds edge cases nobody would enumerate. Taught in Chapter 3: The Testing Mentality
- Proposed change: an edit shown for review that has not been applied. Taught in 14.1 Reviewing an agent’s work
- Prototype: throwaway code written to explore an idea, then discarded. Taught in Chapter 1: The Pragmatic Programmer
- Provider verification: checking every interaction against the provider or its published contract. Taught in 3.6 Contract tests: consumer-driven tests for gateway to engine
- Pull request (PR): a proposed change, made of a branch, a description, and a diff against a base branch. Taught in 6.2 Code review
- Pure function: a function whose output depends only on its inputs and which mutates nothing. Taught in Chapter 4: Coding and Design Patterns
- purl: a package URL, the cross-ecosystem identifier vulnerability databases match on. Taught in 9.2 SBOM and supply chain
- Readability review: a review by a certified reviewer that checks code follows a language’s idioms and style. Taught in Chapter 2: Software Engineering at Google
- Readers first: the rollout order in which every reader accepts the new format before any writer emits it. Taught in 8.1 Interface migration: KV format v1 to v2
- Readers first, then writers: the rollout order for a format change, so every message sent can be read by every peer. Taught in 7.2 Deprecation policy
- Recovery check: the stated condition, decided in advance, that confirms a mitigation worked. Taught in 12.2 Runbooks and Diataxis docs
- Recovery Point Objective (RPO): the maximum acceptable data loss expressed as a time window before an interruption. Taught in Chapter 13: Engineering Acronyms
- Recovery Time Objective (RTO): the maximum acceptable delay from service interruption to restoration of usable service. Taught in Chapter 13: Engineering Acronyms
- Red then green: write a failing test, see it fail for the expected reason, then write the least code that passes it. Taught in 3.1 TDD, unit tests, and mutation testing
- Registry item: a unit of source that a CLI copies into your project, with its declared dependencies. Taught in 14.2 Learning an API by editing it
- Regression rule: a predeclared threshold, here a relative and an absolute bound, that decides good or bad. Taught in 8.4 Performance regression bisect
- Rejection sampling: discarding random values outside a multiple of the alphabet size so every character is equally likely. Taught in 10.1 API Keys, Scopes, Model Allowlists, and Tenants
- Relationship-based access control (ReBAC): authorization from stored relationship tuples
(object, relation, subject), answeringcheck(user, relation, object)by graph reachability; Google’s Zanzibar, OpenFGA, and SpiceDB use it because it expresses nested groups and folder inheritance naturally. Taught in Chapter 10: Authorization and Access Control - Release evidence: a record of the tag, its target commit, the CI result, and the rollback path for one release. Taught in 7.1 Commits, semver, and releases
- Removal review: a recorded check of notice, usage evidence, conformance, and rollback before an interface is removed. Taught in 7.2 Deprecation policy
- Reproduction envelope: the fixed metric, workload, host, configuration, and sampling under which every revision is measured. Taught in 8.4 Performance regression bisect
- Request for Comments (RFC): in a team design process, a proposal that invites feedback on a change before a decision is made. Taught in Chapter 13: Engineering Acronyms
- Request for Proposal (RFP): a request for vendors to propose how they would meet a set of requirements. Taught in Chapter 13: Engineering Acronyms
- Reservation: an estimated cost taken from the buckets before a request runs, to be settled or cancelled once. Taught in 10.2 Rate Limiting: RPM Token Buckets and TPM Reserve/Settle
- Residual risk: what a control does not stop, written down with an owner who accepts and watches it. Taught in 9.1 Threat modeling with STRIDE
- Resilience test: a test that injects a fault at a chosen moment and checks a promise of the system afterwards. Taught in 3.7 Resilience tests
- Resolved graph: the exact versions a build uses after resolution, recorded in the lockfile, as opposed to the version requirements. Taught in 8.3 Dependency upgrades
Retry-After: the whole number of seconds, rounded up and at least 1, after which the budget will exist. Taught in 10.2 Rate Limiting: RPM Token Buckets and TPM Reserve/Settle- Reversibility: keeping decisions soft so they can be changed when requirements do. Taught in Chapter 1: The Pragmatic Programmer
- Revocation window: the time a revoked key may still be accepted, bounded here by the verified-key cache TTL. Taught in 9.3 Secrets and authorization review
- Role explosion: the failure of RBAC under per-resource or conditional rules, where a new role must be minted for every combination of conditions. Taught in Chapter 10: Authorization and Access Control
- Role-based access control (RBAC): users are assigned roles and roles carry permissions; simple, auditable, and the industry default, with optional role hierarchies where a senior role inherits a junior one. Taught in Chapter 10: Authorization and Access Control
- Rollback by digest: recovering by redeploying the previous immutable image, identified by its content digest. Taught in 8.3 Dependency upgrades
- RPM / TPM: requests per minute and tokens per minute, the two per-key budgets. Taught in 10.2 Rate Limiting: RPM Token Buckets and TPM Reserve/Settle
- Runbook: a how-to guide for operating or recovering a system, found from its alert and read under stress. Taught in 12.2 Runbooks and Diataxis docs
- SBOM: a software bill of materials, an inventory of the packages in one built artifact and the dependency edges between them. Taught in 9.2 SBOM and supply chain
- Scope: a named permission (
infer,embed,admin,debug) that a route requires. Taught in 10.1 API Keys, Scopes, Model Allowlists, and Tenants - Scorer: a function that measures one property of an agent’s run and reports errors explicitly. Taught in 3.9 Agent evals as tests
- Secure RAG / permission-aware retrieval: retrieval that returns only chunks the user is authorized to see, by attaching permission labels at ingestion and filtering during the search; post-filtering after ranking leaks existence and can starve the top . Taught in Chapter 10: Authorization and Access Control
- Selector: a caller-supplied identifier that picks which resource is meant but never decides access. Taught in 9.3 Secrets and authorization review
- Semantic mutant: a hand-written mutant that encodes one known pitfall. Taught in 3.1 TDD, unit tests, and mutation testing
- Semantic mutant: a hand-written mutant that plants one known pitfall. Taught in 3.5 Mutation testing in depth: equivalent mutants, semantic mutants from pitfalls, reading survivors
- Semantic versioning (semver):
MAJOR.MINOR.PATCH, where major signals breaking changes, minor compatible additions, and patch compatible fixes. Taught in 7.1 Commits, semver, and releases - Sequence diagram: a diagram of the messages exchanged between participants in time order, which answers “in what order do services talk during a request, and where can it fail?” Taught in Chapter 11: Diagramming with the C4 Model
- Service Level Agreement (SLA): an agreement specifying service commitments, how they are measured, and consequences when they are missed. Taught in Chapter 13: Engineering Acronyms
- Service Level Indicator (SLI): a quantitative measure of a particular aspect of service behavior, such as successful eligible requests divided by all eligible requests. Taught in Chapter 13: Engineering Acronyms
- Service Level Objective (SLO): a target for a defined measure of service behavior over a specified window. Taught in Chapter 13: Engineering Acronyms
- Settle: adjusting a reservation by
reserved - actualonce the real usage is known, refunding or charging the difference. Taught in 10.2 Rate Limiting: RPM Token Buckets and TPM Reserve/Settle - Severity:
blocking,major,minor,nit, orquestion, chosen by the consequence of the problem. Taught in 6.2 Code review - Shallow clone: a checkout with truncated history (one commit by default in
actions/checkout), which makes commit ranges uncomputable. Taught in 6.1 The repository and its CI gate - Shrinking: simplifying a failing input while it still fails, to report a minimal counterexample. Taught in 3.2 Property-based tests with Hypothesis, proptest, rapid, and ol_prop.h
- Sign-flip test: an exact permutation test that counts sign vectors whose flipped sum reaches the observed sum. Taught in 3.8 Model evals as tests
- Sink: a
volatilevariable that receives a benchmark’s result so the compiler cannot delete the work. Taught in 3.4 Benchmarks and perf gates - Slab: the
B × Dvalues of one (layer, K or V, head) in a block, which share one f32 scale. Taught in 8.1 Interface migration: KV format v1 to v2 - Software engineering: programming integrated over time; writing code that must be maintained across years, many engineers, and many users. Taught in Chapter 2: Software Engineering at Google
- SPDX: a standard SBOM format; version 2.3 is used here. Taught in 9.2 SBOM and supply chain
- Split: the partition of observations into train, validation, and held-out sets. Taught in 3.9 Agent evals as tests
- State machine diagram / state diagram: a diagram of the states an entity can be in and the transitions between them; the right picture for any lifecycle, such as an order, a job, or a saga. Taught in Chapter 11: Diagramming with the C4 Model
- Statement of Work (SOW): a document specifying contracted scope, deliverables, and acceptance criteria. Taught in Chapter 13: Engineering Acronyms
- Status lifecycle: Proposed, Accepted, Deprecated, or Superseded by ADR-NNNN, each with the date of the last transition. Taught in 12.1 Architecture decision records
- Steering message: an instruction that redirects an agent, ideally attached to a specific target. Taught in 14.1 Reviewing an agent’s work
- STRIDE: six prompting questions (spoofing, tampering, repudiation, information disclosure, denial of service, elevation of privilege) asked of each boundary and asset. Taught in 9.1 Threat modeling with STRIDE
- Subset match: a body match that requires every key the pact lists and allows extra keys. Taught in 3.6 Contract tests: consumer-driven tests for gateway to engine
Sunsetheader: RFC 8594, an HTTP date after which the contract will be withdrawn. Taught in 8.2 Interface migration: API v1 to v2- Supersede: replace an accepted decision with a new ADR, changing only the old record’s status line to point forward. Taught in 12.1 Architecture decision records
- Synthetic monitoring: a bot that continuously exercises a system’s critical path in production, so the team learns of a failure before customers do. Taught in Chapter 3: The Testing Mentality
- System boundary: the line separating what the platform owns from what it does not; it must be identical in every view. Taught in 11.1 C4 diagrams in D2
- Target: the file, cell, or hunk that a proposed action will change. Taught in 14.1 Reviewing an agent’s work
- Tenant: the unit, such as a company or team, that owns keys and scopes caching and billing. Taught in 10.1 API Keys, Scopes, Model Allowlists, and Tenants
- Test double: a stand-in for a real dependency in a test: a fake (a working lightweight implementation), a stub (canned answers), or a mock (asserts how it was called). Fakes are preferred because mock-heavy tests couple to the implementation and break on refactors. Taught in Chapter 3: The Testing Mentality
- Test pyramid: the target shape of a test suite, with many small tests, fewer medium tests, and few large tests. Taught in Chapter 2: Software Engineering at Google
- Testing in production: deliberately testing against the real system with canaries, synthetic monitoring, and chaos experiments, because no staging environment fully reproduces production. Taught in Chapter 3: The Testing Mentality
- Threat model: a structured answer to four questions about a system: what are we building, what can go wrong, what are we going to do about it, and did we do a good job? It turns an architecture into a list of threats, each tied to a control and a test. Taught in Chapter 9: Security
- Token bucket: a counter capped at that refills at per minute and admits a request when it holds the request’s cost. Taught in 10.2 Rate Limiting: RPM Token Buckets and TPM Reserve/Settle
- Token bucket with debt: a rate limiter whose level refills at capacity per minute, is reserved up front, settled after, and may go negative on an overrun. Taught in 6.2 Code review
- Tolerance: the allowed difference between result and oracle, set from the dtype’s rounding. Taught in 3.3 Oracles, golden and differential tests, gradcheck as a test
- Torn write: a record cut short by a crash in the middle of writing it. Taught in 3.7 Resilience tests
- Tracer bullet: a thin, real, end-to-end slice of a system that you keep and build on. Taught in Chapter 1: The Pragmatic Programmer
- Tracer bullet: a thin, end-to-end slice through the whole system, core logic included, built before any single layer is broadened. Taught in Chapter 5: Lessons from Practice
- Triage: the recorded verdict and argument for each survivor. Taught in 3.5 Mutation testing in depth: equivalent mutants, semantic mutants from pitfalls, reading survivors
- Trunk-based development: everyone commits to a single main line, with feature flags instead of long-lived branches. Taught in Chapter 2: Software Engineering at Google
- Trust boundary: a line in the diagram where the privilege of data changes; nothing crossing it is trusted until checked. Taught in 9.1 Threat modeling with STRIDE
- Unrepresentable invalid state: a type design, such as a union of named values, under which the compiler rejects values the domain does not allow. Taught in Chapter 5: Lessons from Practice
- Verdict: a review’s outcome: approve, comment, or request changes. Taught in 6.2 Code review
- VJP (vector-Jacobian product): the gradient of with respect to ; what a backward pass computes. Taught in 3.3 Oracles, golden and differential tests, gradcheck as a test
X-TL-API-Version: the request header that selects the API contract; the response echoes the selected value. Taught in 8.2 Interface migration: API v1 to v2