Source of truth
A source of truth is an authoritative source or representation used to determine the accepted value or state of information.
Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform
A source of truth is the authoritative representation against which the actual state of a system or resource is reconciled.
- How it is used
- Organizes infrastructure changes around one authoritative, version-controlled configuration that automation reconciles with live resources.
- How deep it goes
- Explains declaration, drift remediation, migration order, imports, state removal, and change history, but defers provider-specific implementation details.
- Examples
- Uses database discovery, network migration, IAM refactoring, Terraform plans, state commands, and descriptive Git commits.
- What you can do after
- Operate/configure infrastructure by reconciling live resources, migrating brownfield environments, and preventing conflicting IaC ownership.
First-Party Data Activation
A single source of truth is an authoritative and consistent data source from which other systems or views derive information.
- How it is used
- Uses a shared customer data source to align marketing activation, analytics, and data science.
- How deep it goes
- Outlines architectural roles, reliability checks, and migration considerations without prescribing detailed implementation.
- Examples
- Uses a cart-abandonment retargeting pilot and contrasting customer churn definitions to illustrate activation and consistency.
- What you can do after
- Evaluate marketing data architectures for shared definitions, reliable customer profiles, monitoring, and intentional copying trade-offs.
Read how First-Party Data Activation explains source of truth →
Automating API Delivery
A source of truth is the authoritative artifact or system whose state defines the intended state of related artifacts or systems.
- How it is used
- Uses an authoritative OpenAPI definition to coordinate intended API behavior and reduce drift between implementation and published reference.
- How deep it goes
- Walks through updating a definition, regenerating models, protecting custom code, and checking responses; does not treat generated code as complete behavior.
- Examples
- Uses a missing mandatory `keywords` field and a product response extended with two required review fields.
- What you can do after
- Apply it via OpenAPI Generator to regenerate a Spring Boot service from an updated definition while preserving custom controller code.
Crack Any Codebase with AI
A source of truth is the authoritative system or representation from which the accepted value of data is determined.
- How it is used
- Prevents cross-store data drift by assigning authoritative ownership and making caches or indexes recomputable.
- How deep it goes
- Explains dual-write failure, fallback reads, and concurrent-write guarantees, while deferring implementation redesigns such as CDC or event sourcing.
- Examples
- Uses Cal.com with Postgres as authority, Redis as disposable cache, and fallback reads for stale or missing entries.
- What you can do after
- Diagnose/debug with it by locating authoritative data, identifying derived stores, and testing their failure and concurrency behavior.
Read how Crack Any Codebase with AI explains source of truth →
Effective Platform Engineering
A single source of truth is one authoritative location from which a given set of values or facts is obtained.
- How it is used
- Centralizes secure values for pipelines, deployments, cluster services, and other platform automation.
- How deep it goes
- Explains the operational rationale and retrieval pattern, but stops short of specifying a particular secrets-management architecture.
- Examples
- Uses environment injection, Terraform configuration rendering, pipeline steps, deployment events, and cluster secret services.
- What you can do after
- Operate automation that retrieves secure values consistently and supports simpler credential rotation.
Read how Effective Platform Engineering explains source of truth →
Kafka for Architects
A source of truth is the authoritative system or record from which the canonical value of information is determined.
- How it is used
- Uses authoritative records to reconstruct business state, govern Kafka infrastructure, and coordinate event-schema ownership.
- How deep it goes
- Explains replay and reconciliation workflows, then stops short of making Kafka a general-purpose database.
- Examples
- Uses customer address change logs, order enrichment, Git-managed Kafka configurations, and externally referenced Avro schemas.
- What you can do after
- Designs authoritative state, configuration, or schema ownership while accounting for replay, drift, query, and translation trade-offs.
Web Component Development with Modern Libraries and Tooling
The authoritative location of a data value from which other representations of that value are derived or synchronized.
- How it is used
- Coordinates attribute and property access so web components expose flexible, interoperable data interfaces.
- How deep it goes
- Explains authoritative state, getter-setter delegation, observed-attribute rendering, and SSR synchronization, but not broader state-management architecture.
- Examples
- Uses a HelloWorld component whose name changes from Alpha to Beta through DevTools, plus property-backed and server-rendered variants.
- What you can do after
- Build interoperable web components that synchronize attributes, properties, rendering, and server-rendered initial content.
Read how Web Component Development with Modern Libraries and Tooling explains source of truth →
Build High Value Software Systems
The artifact or signal that a team treats as authoritative for determining correctness, completion, and resolving disagreements.
- How it is used
- Frames how teams decide correctness, completion, resolve disagreements, and understand where waste accumulates.
- How deep it goes
- Defines authority, compares development approaches, and applies spec-first checks to code drift without prescribing one universal authority.
- Examples
- Compares authoritative code, tests, feature files, design documents, interface contracts, and specifications, then gives an order-export spec.
- What you can do after
- Evaluate/understand it by defining correctness before building and treating code–spec drift as a signal to resolve.
Read how Build High Value Software Systems explains source of truth →
LLM Evaluation and Alignment, The Foundational Ideas
A source of truth is the authoritative context or information against which an output is expected to conform.
- How it is used
- Anchors model training, evaluation, regression testing, and deployment decisions to explicit behavioral requirements.
- How deep it goes
- Explains clauses, executable tests, versioning, failure handling, and deployment gates, while stopping short of specifying training algorithms.
- Examples
- Uses citation checking, unknown-answer prompts, specification versions, production incidents, and deploy-gate test suites.
- What you can do after
- Operate/configure an alignment process that converts requirements into tests, traces failures, and blocks nonconforming deployments.
Read how LLM Evaluation and Alignment, The Foundational Ideas explains source of truth →
Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu
A source of truth is the authoritative representation against which the state of a system is evaluated and corrected.
- How it is used
- Centralizes infrastructure deployment and provides one authoritative configuration for team-operated environments.
- How deep it goes
- Defines four GitOps principles and explains drift reconciliation, but stops short of implementation configuration.
- Examples
- Uses shared Git repositories, Alice and Bob’s competing laptops, Terraform configuration, and scheduled drift correction.
- What you can do after
- Operate/configure centralized Terraform deployments from versioned declarations and restore infrastructure that drifts from them.
Designing AI Agents
A source of truth is the authoritative source for a particular piece of information.
- How it is used
- Anchors agent memory and business values in owned inputs rather than treating conversation history as authoritative.
- How deep it goes
- Explains ownership, retention, invalidation, and a provenance failure, but stops short of specifying a complete implementation.
- Examples
- Uses coding-agent repositories and an import receipt whose identifier is regenerated from conversation history.
- What you can do after
- Evaluate whether an agent's retained or generated value has an authoritative owner and a reliable origin.
Knowledge Graphs and LLMs in Action
A source of truth is an authoritative repository or representation from which consistent information is derived.
- How it is used
- Uses knowledge graphs to consolidate fragmented data for decision-making, intelligent systems, and grounded generative AI.
- How deep it goes
- Defines consolidation, contrasts bottom-up and purpose-driven construction, and stops short of detailed normalization procedures.
- Examples
- Uses distributed data sources, heterogeneous databases, graph pattern matching, traversal, and bottom-up KG creation as examples.
- What you can do after
- Evaluate knowledge-graph architectures by their integration strategy, relationship representation, business alignment, and governance implications.
Read how Knowledge Graphs and LLMs in Action explains source of truth →
Authorization in Action
A source of truth is the authoritative system or record from which the correct value of information is obtained.
- How it is used
- Anchors authorization decisions in current, verified identity attributes.
- How deep it goes
- Connects attribute proofing, dynamic evaluation, credential lifetime, and audit logging, without detailing implementation mechanisms.
- Examples
- Uses long-lived credentials retaining outdated attributes as a cause of unauthorized access.
- What you can do after
- Operate authorization systems with verified attributes, dynamic evaluation, and systematic audit feedback.
Also covered in
- Vanilla WebIn early access (MEAP)
- Spec-Driven DevelopmentIn early access (MEAP)
- PostgreSQL Mistakes and How to Avoid Them
- React in Depth
- MongoDB 8.0 in Action, Third Edition
- Prompt Engineering in Practice
- Architecting an Apache Iceberg Lakehouse
- React Quickly, Second Edition
- Build an AI Agent (From Scratch)
What to know first
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
- JSONJSON is a language-independent text-based data-interchange format that represents structured values using objects, arrays, strings, numbers, booleans, and null.
- promptA prompt is text or other input supplied to an AI model to provide instructions, context, or other information that guides its response or generated output.
- versioningVersioning is the practice of assigning or maintaining identifiable revisions of artifacts over time so their changes, histories, or compatibility can be tracked.
Related concepts
- repositoryequivalent to · A software repository is a managed collection of a project's files and artifacts, often preserving their version history.
- append-only systemequivalent to · A system that records new data by adding entries while preserving existing entries without modifying or removing them.
- consistencyproduces · Consistency is the degree to which related data, behavior, or results agree with one another and conform to applicable rules or expectations.
- feature storeaddressed by · A feature store is a system for managing and serving machine-learning features for use in model training and inference.
Questions about source of truth
What is source of truth?
A source of truth is an authoritative source or representation used to determine the accepted value or state of information.
Which Manning books explain source of truth?
Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform, First-Party Data Activation, Automating API Delivery, Crack Any Codebase with AI, Effective Platform Engineering, Kafka for Architects, Web Component Development with Modern Libraries and Tooling, Build High Value Software Systems and 5 more.
What should I know before learning source of truth?
Manning books that teach source of truth usually introduce language model, JSON, prompt and versioning first.
What is source of truth also called?
Source of truth is also called authoritative source.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.












