Skip to content

Documentation style guide

Rules for every page, in the repository and on the site.

Terminology

One word for each thing. Define a term once, in the glossary, and link to it; scripts/docs_audit.py fails if a glossary term is defined (as a heading, or in bold followed by "is", "means" or a colon) on another page.

Use Not Note
scenario pack, pack suite, test suite
finding issue, violation a finding has a type and a severity
evidence bundle, bundle report bundle, evidence pack the report is one file in the bundle
connector adapter (except a third-party adapter, such as the Gymnasium one) the code says connector too
confidential private, secret, hidden a user's own content kept out of shared outputs
domain policy rule file, config authority profile for payments
grader, domain grader oracle the deterministic rules that decide what should happen and judge what did
epoch run, repetition a run has many epochs
simulated environment sandbox, mock
indicative official, compliant mappings are always indicative

Claims

  • CredenceStack produces test evidence; it does not certify compliance. Never write that it certifies, is endorsed by, or is approved by anyone, or that it has customers or users.
  • Regulatory references are indicative and theme-level unless verified; unverified ones go in the TODO-verify register.
  • No competitor names in public documents.
  • Never write a count that the code can change; use a generated snippet or wording that stays true (the audit checks the counts it knows about).

Writing

  • Plain English, short sentences, concrete examples; define acronyms on first use.
  • Commands and outputs come from scripts/gen_doc_examples.py, never typed by hand.
  • No release labels ("v1.1", "coming soon") for anything that ships; deferred work lives in ROADMAP.md.
  • All data in examples is synthetic; country codes XA to XH.