Skip to content

Documentation Conventions

Every document must define:

  • title
  • description
  • documentType
  • status
  • owner
  • reviewDate
  • lastVerified
  • tags

The Starlight content collection validates those fields with Zod at build time.

Criticality Review interval
Critical 30 days
High 60 days
Medium 90 days
Low 180 days

The freshness script reads lastVerified and reports stale documents as JSON.

Use Mermaid by default. Keep diagrams close to the explanation they support.

flowchart TD
idea[Operational change] --> adr[ADR]
adr --> runbook[Runbook]
runbook --> checklist[Checklist]
incident[Incident] --> postmortem[Postmortem]
postmortem --> adr
  • Prefer short, factual sections.
  • Explain tradeoffs, not only commands.
  • Every mutating operation must have a validation step.
  • Every incident document must stay blameless.