design: purple is dead — zero banned literals, and the audit is now a hard CI gate #5551
1 changed file+5−3
Modifiedscripts/ci-tests.sh+5−3View fileUnifiedSplit
@@ -16,10 +16,12 @@ set -euo pipefail
1616
1717# Design-language gate — no purple, ever. The audit exits 1 when any
1818# purple/indigo/violet literal exists outside exemptions; it reached zero
19# on 2026-08-27 and this line keeps it there. Cheap: plain node, no deps,
20# static file scan (~200 files, well under a second).
19# on 2026-08-27 and this line keeps it there. Cheap: no deps, static file
20# scan (~200 files, well under a second). MUST be `bun`, not `node` — the
21# CI container ships Bun only, and the gate's very first firing failed
22# with `node: command not found` (exit 127) instead of auditing anything.
2123echo "--- design audit ---"
22node scripts/design-audit.mjs --top 15
24bun scripts/design-audit.mjs --top 15
2325
2426EXCLUDES="scripts/ci-test-excludes.txt"
2527
2628
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts