Creating a "Source of Truth" for Your Team's Technical
Create a trustworthy technical reference with clear ownership, structured service records, review rules, verification dates, and safe access controls.
Create one version-controlled reference, assign owners, require reviewed changes, exclude secrets, and verify every entry against a live system before publishing it.
Define what “source of truth” means
A source of truth is the one location your team treats as authoritative for a defined subject. It is not necessarily the only place where information appears. Dashboards, tickets, and chat messages may link to it, but they must not become competing editable copies.
Begin with a written boundary: what the reference covers, who may approve changes, how readers identify the current version, and which systems remain authoritative for dynamic data. A Git repository works well for text-based technical reference because it provides reviewable changes and history. A service registry or configuration database is safer when values change continuously or machines must consume them.
For this worked example, the Atlas team operates a checkout API. Its hostname, network port, health endpoint, expected HTTP responses, ownership, and escalation instructions are scattered across a wiki, application README, and chat messages. The team will consolidate stable operational facts into docs/services/checkout-api.yaml in a private repository named team-reference.
Inventory and resolve the existing evidence
Do not copy the first value you find. Record each candidate, its source, its last known verification date, and the person or system capable of confirming it.
| Field | Candidate input | Evidence | Decision |
|---|---|---|---|
| Production hostname | checkout.internal.example |
Current DNS record and deployment configuration | Accept after DNS and TLS verification |
| Service port | 8443 in the README; 443 in the load balancer |
8443 is the container port; 443 is the client-facing port | Record both with explicit scopes |
| Health path | /health in the wiki; /readyz in the deployment |
Live deployment exposes /readyz |
Use /readyz; mark /health obsolete |
| Healthy response | 200 |
API contract and live unauthenticated probe | Accept |
| Temporary failure | 503 with optional Retry-After |
API contract | Accept and describe retry limits |
Use the Common Ports Reference to interpret familiar port assignments, but document the actual application and proxy configuration as the authority for your environment. A familiar port number alone does not prove which protocol or service is listening.
Decision boundaries for conflicting values
- Prefer deployed, machine-readable configuration over an undated prose note when the two describe current runtime behavior.
- Prefer an approved contract over a transient observation when documenting intended behavior, but record and escalate any mismatch between the contract and production.
- Do not choose between conflicting security, compliance, or recovery instructions without approval from the accountable owner.
- Separate values that are both correct in different contexts, such as external port 443 and container port 8443.
- Mark an unresolved field as
unknownwith an owner and follow-up date; never turn a guess into an authoritative fact.
Build the canonical reference
Create a small, predictable structure: one index explaining scope and contribution rules, one file per service, a schema or template, and a CODEOWNERS file. Every service entry should include an owner, verification method, review date, and source evidence.
The reproducible input for Atlas is the approved deployment configuration, the DNS result, and the API contract. The resulting canonical file is:
schema_version: 1
service: checkout-api
lifecycle: production
owner: payments-platform
client_endpoint:
scheme: https
hostname: checkout.internal.example
port: 443
runtime:
container_port: 8443
health:
path: /readyz
success_status: 200
temporary_failure_status: 503
retry_after: optional
verification:
commands:
- "dig +short checkout.internal.example"
- "curl -sS -o /dev/null -w '%{http_code}\n' https://checkout.internal.example/readyz"
last_verified: 2026-10-16
verified_against: production
sources:
- deployment/checkout-api.yaml
- contracts/checkout-api-openapi.yaml
notes:
- "Do not place tokens, credentials, customer data, or private keys in this file."
The expected result is an entry that distinguishes intended behavior from observed verification, exposes contradictions instead of hiding them, and contains enough detail for another authorized team member to repeat the checks. Readers who need to interpret the response can consult the HTTP Status Code Reference. The HTTP specification defines 200 as a successful request and 503 as temporary inability to handle a request; Retry-After can indicate when to try again. RFC 9110 documents these semantics.
Protect changes without blocking routine maintenance
Add ownership rules so relevant reviewers are requested automatically. GitHub searches for a CODEOWNERS file in .github/, the repository root, or docs/, in that order. Owners must have appropriate repository access, and invalid lines are skipped. GitHub’s CODEOWNERS documentation describes these rules.
/docs/services/checkout-api.yaml @atlas-org/payments-platform
/docs/network/ @atlas-org/network-operations
/.github/CODEOWNERS @atlas-org/platform-governance
Protect the default branch with required pull-request review, required checks, and code-owner approval. GitHub notes that protected branches can require approving reviews, status checks, signed commits, and other conditions before merge. Protect the CODEOWNERS file itself so a contributor cannot silently replace the required reviewer. GitHub documents the available branch-protection controls.
Give most readers read-only access and limit approval rights to accountable teams. Never store passwords, API tokens, private keys, session cookies, customer records, or complete internal access instructions in the reference. Store secrets in an approved secrets manager and refer only to the secret’s identifier and retrieval procedure. Kubernetes specifically warns that Base64 encoding is not encryption and recommends least-privilege access to secrets. Kubernetes publishes detailed secret-management guidance.
Verify the reference before publishing
- Create a branch and add the proposed service file without credentials or personal data.
- Validate its syntax with the repository’s schema check or parser.
- Run verification from an authorized network using read-only commands. The Linux Commands Reference can help reviewers understand command behavior before execution.
- Compare the observed results with the declared values.
- Open a pull request containing the evidence, discrepancy notes, and verification date.
- Obtain approval from the service owner and any security or network owner affected by the change.
- Merge, tag a reviewed baseline when useful, and update old pages to link to the canonical entry instead of copying it.
| Check | Sample command | Expected result | Action if different |
|---|---|---|---|
| DNS | dig +short checkout.internal.example |
One or more approved load-balancer addresses | Stop publication and compare DNS with deployment records; use DNS and Network Troubleshooting for systematic checks. |
| HTTPS readiness | curl -sS -o /dev/null -w '%{http_code}\n' https://checkout.internal.example/readyz |
200 |
Do not “correct” the document to match an unexplained failure; notify the service owner. |
| Schema | reference-check docs/services/checkout-api.yaml |
PASS: checkout-api |
Reject the change until required fields and formats pass. |
Run probes only against systems you are authorized to access. Use health endpoints designed for monitoring, avoid commands that mutate production, cap retries, and never paste authentication headers or full diagnostic output into a broadly readable pull request.
Recognize failure modes and safer alternatives
- Editable mirrors drift. A wiki export and repository copy can disagree while both look official. Make mirrors read-only, display their source revision, or replace them with links. Browse the broader Reference collection when a shared general reference is more appropriate than maintaining another local copy.
- Ownership creates false confidence. CODEOWNERS does not by itself enforce approval, and a malformed pattern may be ignored. Require code-owner review through branch protection, protect the ownership file, and test that a sample change requests the expected team.
- Live values become stale. IP addresses, replica counts, and on-call assignments may change too quickly for reviewed text. Keep policies and interpretation in the reference, but retrieve volatile values from DNS, monitoring, a service catalog, or the paging system.
- Secrets enter version history. Deleting a credential from the latest file does not make prior commits harmless. If exposure occurs, revoke or rotate the credential first, restrict access, follow the incident process, and then sanitize history using an approved procedure.
- Emergency edits bypass review. During an incident, a temporary operational note may be necessary. Put it in the incident system with an expiry time, then reconcile it through the normal review process. For regulated instructions requiring formal attestations, use a controlled document-management system rather than relying solely on a Git repository.
Reusable action checklist
- Define the reference’s scope and name one canonical location.
- Inventory conflicting sources and identify accountable owners.
- Separate intended configuration, observed state, and volatile runtime data.
- Record concrete inputs, sources, verification commands, expected results, and review dates.
- Represent different scopes explicitly instead of forcing one ambiguous value.
- Keep secrets and personal data out; link to controlled systems by identifier.
- Require reviewed changes and protect both the main branch and ownership rules.
- Validate syntax and repeat safe, read-only checks before merge.
- Convert duplicate pages into links or clearly marked read-only mirrors.
- Schedule review, define expiry behavior, and assign unresolved fields.
Sources and further reading
Continue with the Reference & Learning guide collection for related explanations reviewed under the same editorial standard.