#2229 · the one genuine drift that survived the adversarial re-audit · 478 catalogue rows → 2 constants
verified by reading consumers, not grepping — the lesson, appliedMIN_CC_VERSIONcompareCCVersions()
MIN_CC_VERSION = '2.1.148'LATEST_KNOWN_CC = '2.1.162' (new — 1 line/cycle, not 5 rows)compareCCVersions()| consumer | what it needed | verdict |
|---|---|---|
cc-version-check.ts:42 | iterated the matrix only for the MAX version (a scalar) | → now reads LATEST_KNOWN_CC |
generate-docs-data.js | regex-extracts MIN_CC_VERSION (a scalar) | unaffected |
stamp-cc-support.mjs | MIN_CC_VERSION | unaffected |
hasFeature + friends | called ONLY by tests (0 production) | removed |
cc-file-adoption-issues.sh | grep said "consumer" — reads cc-adoption-gaps.json, NOT the matrix | never a consumer |
Full hooks suite 8502 passed, 0 failed · Biome + tsc clean · bundle 799→722 KB · rewrote the matrix test (10 pass) — covers the 2 constants + comparator; dropped the catalogue/helper tests with the code they tested.
The cc-watch "catalogue in matrix" ritual is gone — bump LATEST_KNOWN_CC one line per adoption cycle instead of appending ~5 rows. Refs #2217 (the re-audit that confirmed this) · rule: shared/rules/cc-native-first.md