repositoryStandards v1.1.20

scripts/decision-records-check.mjs

the ADR/BDR README index and the files on disk agree - no duplicate id, nothing indexed that is not there, nothing there that is not indexed


Reference

  • Status. Required - part of the core profile.
  • How it arrives. copy - ship verbatim; the repo gets a byte-for-byte copy (guards, templates that carry no repo-specific content)
  • Shipped form. read it in the standard's own tree

The rule that requires it

A contestable, re-litigable choice MUST be recorded as a decision record

See it in the spec

What checks it

  • node scripts/decision-records-check.mjs --block - the ADR/BDR index and the directory on disk agree - duplicate id, orphaned index row, or unindexed record all fail Blocks the build when it fails.