{"$comment":"The decision register of design-system.ai. Enforced by names a check in the repository, or says not enforced (gap).","decisions":[{"id":"D-01","rule":"Components take colour, space, radius and size from tokens only","why":"Brand is a parameter. One raw value breaks the switch","rejected":"Per-brand component variants","enforcedBy":"check:raw-values"},{"id":"D-02","rule":"Every figure on the site is a Claim referenced by id, with a base and a source","why":"No number without its base","rejected":"Figures typed into prose","enforcedBy":"check:claims"},{"id":"D-03","rule":"Text contrast is at least 4.5:1 for every text and background token pair in all four permutations","why":"Both brands must pass, or the switch proves nothing","rejected":"Checking the main brand only","enforcedBy":"check:contrast"},{"id":"D-04","rule":"Every decision has \"Enforced by\" or the literal \"not enforced (gap)\"","why":"An empty cell hides a gap","rejected":"An optional column","enforcedBy":"check:decisions"},{"id":"D-05","rule":"Tokens are DTCG 2025.10 files with one resolver and two modifiers, brand and mode","why":"The repository is the source of truth; the design tool is a view","rejected":"Tokens edited in the design tool","enforcedBy":"check:tokens (tz check, tz lint)"},{"id":"D-06","rule":"No cookies and no third-party requests; fonts are self-hosted","why":"Privacy without a cookie bar","rejected":"Web fonts from a CDN; analytics with cookies","enforcedBy":"check:third-party"},{"id":"D-07","rule":"Every content page has a Markdown twin at the same address plus .md","why":"A person and an agent read the same facts","rejected":"A separate agent API","enforcedBy":"check:twins"},{"id":"D-08","rule":"Generated files start with a marker that names the script and are never edited by hand","why":"A hand edit is overwritten and hides drift","rejected":"Committed hand-tuned output","enforcedBy":"check:generated (CI regenerates and diffs)"},{"id":"D-09","rule":"No broken internal link","why":"A dead link on the talk page costs the audience","rejected":"Checking links by hand before launch","enforcedBy":"check:links"},{"id":"D-10","rule":"A \"Today against demo\" row older than 90 days is marked stale","why":"A dated claim rots","rejected":"Undated rows","enforcedBy":"check:stale"},{"id":"D-11","rule":"2026 work is named only in the neutral wording of the naming register","why":"Confidentiality agreed with the owner","rejected":"Client names in text, files or commits","enforcedBy":"check:blocklist (list kept outside the repository)"},{"id":"D-12","rule":"Site copy follows the voice mechanics: no em dash, no exclamation mark, no \"we\", no contractions","why":"One person speaking, without the generated-text tells","rejected":"Review by eye only","enforcedBy":"check:voice"},{"id":"D-13","rule":"Status uses lightness, glyph and word, never hue alone","why":"Colour alone fails some readers","rejected":"Red and green status by hue","enforcedBy":"not enforced (gap)"},{"id":"D-14","rule":"Brand and mode come from the address, then the system preference; the choice is never stored","why":"Nothing to consent to","rejected":"A cookie or local storage","enforcedBy":"not enforced (gap)"},{"id":"D-15","rule":"A card's accent rule sits on top, never on the left","why":"Avoid the look of generated sites","rejected":"Left-border callouts","enforcedBy":"not enforced (gap)"},{"id":"D-16","rule":"On a phone every table scrolls inside its box, the first column stays fixed and a hatched edge shows there is more","why":"The content is tables; stacking breaks the comparison across columns","rejected":"Stacked cards per row; shrinking text to fit","enforcedBy":"not enforced (gap)"}]}