Repository navigation
Jig 0.2.0
0.1.0 shipped rules that cited design tokens it never installed, and a token name that did not exist. This is the release to actually use.
npx jig-ui@latest install --agent claudeThe two that mattered
--color-brandwas cited nine times and defined nowhere — including03-patterns.md's primary-button spec, so an agent following the rule wrotebackground: var(--color-brand)and got nothing.- The tokens were never installed. The rules cite them 22 times and
02-tokens.mdtells you to import them; the CSS sat in the published tarball and was never copied out. They now vendor to.jig/tokens/, and editing your brand file there is expected —installandupdateboth leave changed files alone.
Also fixed
Rule C-49 had no correction and I-80 no anti-pattern, in a file whose contract states every rule has both — the totals hid it, because the two defects cancelled at 103/103. Ten mode-table values contradicted the tokens. A-07's correction had silently inverted from true to false when --radius-base was renamed to --radius-sm. C-68 depended on a radius token it never named.
Guarded now
scripts/check-tokens.mjs runs in the test suite with four rules, each mutation-tested against the drift it guards. The type table must match its tokens by name — a substring check passes while --text-h3 drifts 24→26, because --spacing-m is also 24px.
Full detail in CHANGELOG.md.