Repository navigation
Releases
v3.1.1
Windows clones are no longer empty (#31). design-systems/library/com7/ is
now comseven/. COM7 is a reserved device name on Windows, and Git for
Windows refuses it, so git clone and /plugin marketplace add stopped with
an empty tree. scripts/check_filenames.mjs runs in npm test and in CI, and
fails on any path Windows cannot check out: a device name (CON, PRN, AUX, NUL,
COM0-9, LPT0-9, with or without an extension), a character Windows forbids, or
a trailing space or dot. If you fetch the Comseven spec by name, the name is
now comseven.
lint_intent reads framework source in a folder (#11 follow-up). Pointed at
a folder, it used to render the .html and skip everything else, so a folder of
React components passed with nothing looked at. It now also reads .tsx, .jsx,
.vue and stylesheets, with no browser. A destructive control fails if it asks
for the primary variant, or sets no variant on a component whose default is
primary. A destructive variant also fails if it is wired to a primary or blue
class or token. The source pass sees what the code says, not the colour it
resolves to, so the repo's React source is still rendered and measured as well.
A clip on the page root no longer hides overflow (#14).
verify_responsive.mjs lifts overflow-x:hidden on html and body before it
measures. With both clipped, the document reported no overflow while content
was cut off past the screen edge. The demo front door no longer needs its own
clip either. Measured without it, the page fits at 280px at 1x and at 1.25x.
CI requires a browser for the render job (#10). The render job ran its
gates without DS_REQUIRE_BROWSER=1. If Chromium had failed to install, every
step would have printed SKIPPED and the job would have gone green. A test now
fails if that setting goes missing.
Smaller fixes
- Skill paths under a plugin install were fixed before this release (#9). The
README now says where a skill finds the kit's files on each install route. - The install guide footers said "Measured against v2.9.6". They now give the
current release, andnpm run pins:checkkeeps it current. node scripts/stats.mjs --descriptionprints the GitHub repo description
from the measured counts. The one on GitHub still said 138 design systems
and 50 gates.- The design-review login-form finding now gives WCAG 1.4.1, the W3C source,
the reason and how it was checked (#33). - esbuild, react and react-dom are pinned to exact versions, as playwright and
axe-core already were. - SECURITY.md gains a privacy section: what the kit reads, the one request that
leaves your machine, and why.ds-receipts/belongs in.gitignore. - The README said Vue and Swift were checked by
lint_intent_source.mjs, a
script that never existed on main. It now says they get file-level checks
only and are not rendered.
The accuracy report runs four checks at a time. node scripts/accuracy_report.mjs took 23 minutes 31 seconds one check after another
on the maintainer's 18-core Mac, and 7 minutes 31 seconds with four at once:
52/52 both ways, measured the same day on the same commit. Results still print
in list order, so two runs read the same. The default is 4 on a machine with 8
or more cores and 1 below that, and --jobs N or ACCURACY_JOBS sets it. More
jobs means more Chrome at once, so a TimeoutError under load is load, not a
finding: rerun with --jobs 1 before reading anything into it.
v3.1.0
Five websites, not only dashboards. examples/sites/ holds a product launch,
a two-page shop, a long read in Thai, a neighbourhood restaurant and a Thai public
service page. Each takes its visual language from one design system in the
library, every brand, person and figure on them is fictional and says so, and each
page passes the same gates as every other example. The design critic reviewed all
five twice, and each was revised against both rounds of findings. The long read
names no real city, river, flood or app, and each footer says in plain words what
was tested.
The contrast gates read oklch. Chrome reports a computed colour in the syntax
it was written in, and measure_render.mjs and verify_states.mjs pulled the
numbers out of the string, so oklch(0.2 0.014 30) read as rgb(0.2, 0.014, 30).
A page whose theme is written in oklch, which every Tailwind v4 palette is, failed
contrast everywhere: a live site checked against the kit came back with 364
failures that were not there. scripts/_color.mjs paints each colour into one
canvas pixel and reads it back, so oklch, oklab, lab, lch, color() and
color-mix() all arrive as the sRGB the screen shows. lint_intent.mjs,
slop_tells.mjs and taste_audit.mjs read colours through it too. A pair of oklch
fixtures holds it: the old gates failed the good one on 6 lines and reported every
line of the bad one as 1.00:1; the new ones pass the good page in light and dark
and report the bad grey at its real 2.01:1. Reading colours right exposed one
thing the misreading had hidden: measure_render measured .sr-only labels, which
are clipped to 1px and have no contrast to meet, so it now skips them.
Spacing is a rule, and a gate. .claude/rules/components.md has a new section,
"Spacing: rows, gaps and gutters", and scripts/verify_spacing.mjs measures the
two parts of it that can be measured on the render:
- Rows of cards share a height. Boxed siblings that start on one line end on
one line. An item that spans two grid rows is not compared. - Nothing touches. A control, badge or card keeps 8px from its neighbour,
stacked or side by side, including after a row wraps; a label may sit 4px from
its own field, and the segments of one control may join inside its box.
"One relationship, one gap" and "one gutter" are in the rule and are read by the
critic, not the gate: both were tried on all 56 example pages and both failed good
pages. The gate runs on every example page in both themes inside the existing
overflow check, so the report still has 52 checks. Fixing what it found touched
seven existing pages and the two shared template stylesheets.
The design critic's second pass found two rows the gate let through, a tile held at
the top of a row of product cards that draw no box of their own, so the rule now
also compares a boxed card with a neighbour that carries a picture, and it reads
rows inside lists. That found two more on the banking and logistics templates.
Thai text is a rule, and a gate. .claude/rules/typography-and-spacing.md has
a new section, "Thai text", and scripts/verify_thai.mjs checks every page with
Thai on it:
- No compound or count split at a line end. Chrome breaks Thai with ICU's
dictionary, which holds the parts of a compound and not the compound, so
ใบ / อนุญาต is a legal break to the browser. The gate knows a list of compounds,
the noun prefixes ความ, การ, ผู้ and ชาว, and numbers with their classifiers.
A name it does not know still needs a Thai reader. - Lines far enough apart for Thai. Measured in the page's loaded font: the room
a Thai line needs above (ที่, นี้) and below (ุ) may not reach the next line. The
first public service page set its heading at 1.3 in Sukhumvit Set; the ink
cleared by 12px and the critic still read the tone marks as part of the line
above. The gate fails that heading and passes the 1.48 it ships with.
It runs inside the same overflow and spacing check, so the report still has 52
checks.
Security and docs: pinned npx versions, SECURITY.md, init --dry-run, graceful
partial-install fallback, consistent stats. An outside review (SkillCritic,
2026-10-29) passed the kit with caveats. Each caveat is answered here, and
checking the claims before writing them turned up more than the review did.
- Every
npxcommand names an exact release. The README, docs, skills,
rules, MCP configs and the CLI's own help all say
npx ux-ui-agent-skills@<version>, andnpm versionrewrites every pin in the
bump commit. Some docs saidnpx ux-ui-skills. That is a bin inside this
package, not a package on npm, so outside a project with the kit installed npx
would have looked the name up on the registry, where anyone could register it.
npm run pins:checkfails on any unpinned or stale command, including one
that prose wraps onto the next line. - SECURITY.md, file by file: what
initwrites, what each of the three
plugin hooks does and when it fires, the one network request (design-system
specs from GitHub, or jsDelivr if that fails, at the indexed tag,
sha256-checked), where the MCP server caches, that there is no telemetry, and
how to report a vulnerability. Writing it found three claims that were false:
init --helpsaid it installs hooks (only the plugin does), the fast-gate hook
said it ran four checks (three), and a clone'sinitcopied
scripts/__pycache__into the user's project. init --dry-runis exactly true. It ended with "N copied" while copying
nothing; it now says how many files would be written and that nothing changed.
A test runs every install command both ways and fails if the lists differ or
the dry run creates anything. Another fails if the tarball ships a file git
does not track, or gains an install-time script.- A skill installed alone degrades instead of stopping.
npx skills add
copies the skill folders and nothing else. Each skill now opens with a
Requirements section, and without the kit 21 of them run in guidance-only
mode: the reply says so in its first line, states no measured number, and ends
by naming the gates it skipped. Tried in a real session on a project holding
onlya11y-audit: the reply opened with the guidance-only line, wrote "not
verified" where a ratio would go, and listed the three gates it skipped. The
five skills whose job is running the kit stop and name the install command. - No browser reads as no browser. With Playwright installed and no browser
that launches, 16 render gates died on a stack trace. All 18 now print
SKIPPED (no browser)and say nothing was measured, orREQUIRED, FAILING
under the release bar, asmeasure_renderalready did. - Every count is derived.
scripts/stats.mjscounts skills, gates and how
many need a browser, eval gates and briefs, indexed and measured design
systems, and the mean SKILL.md size intostats.json, andnpm testfails if
any README, doc, manifest or skill states a different number. The review saw
50 and 52 gates, 138 and 2,144 systems, and 27 skills. The kit has 52, 2,144
and 26: 138 was the library before 3.0, and the 27th SKILL.md is a broken test
fixture. The check found three stale figures of its own: 35 of 51 gates in
CONTRIBUTING.md, 14 eval gates in the guide, and 50 gates in a CLI comment. - Prerequisites up front in the README (Node 20, Python 3, Chrome for 34 of
the 52 gates), and Playwright pinned to an exact version in devDependencies. - Neutral wording in two places a scanner read as prompt injection: the
critique skill's "You are now running in a forked context", and the critic's
claim of fifteen years of experience.
v3.0.0
2,144 design systems, fetched when you use one. Gemini CLI and Antigravity.
And the ten short token names deprecated in 2.x are gone, which is why this is
a major version. Read "Breaking" below before you upgrade a project that uses
CSS built by build_tokens.
Breaking: the short token names are removed. Since 2.x,
scripts/build_tokens.mjs emitted ten short names as aliases next to the token
source's own names. It no longer does. A theme or page that still uses a name on
the left gets an undefined variable and has to use the name on the right. The
value behind each name is unchanged.
| Removed | Use instead |
|---|---|
--color-action-danger |
--color-action-destructive |
--color-action-danger-hover |
--color-action-destructive-hover |
--color-text-error |
--color-feedback-error-text |
--color-feedback-error |
--color-feedback-error-icon |
--color-feedback-success |
--color-feedback-success-icon |
--color-feedback-warning |
--color-feedback-warning-icon |
--color-success |
--color-feedback-success-icon |
--radius-pill |
--radius-full |
--duration-normal |
--duration-base |
--ease-emphasized |
--ease-spring |
Every page, skill and script the kit ships moved first (190 renames), and the
move was checked on the render, not assumed. All 49 example pages were rendered
in light, dark and data-theme="dark", before and after the move. Every colour,
duration and easing resolved to the same value under the new name. One value
moved: the brandkit theme's --radius-pill, 980px, became --radius-full,
9999px. Every screenshot of an element it shapes came out byte-identical.
lint_intent.mjs still reads --color-action-danger, because it checks your
project, which may not have moved yet. The same table is in
workflows/governance.md, under "Removed in 3.0.0".
The library: 2,144 design systems, up from 138.
- npm. The package ships an index,
design-systems/library.json. It holds
each spec's name, category, description, size and sha256, but no spec text.
When a spec is needed, it is fetched from this repository at the release tag
(ref) bynpx ux-ui-skills library get <name>, or all of them by
library pull. The fetch tries GitHub raw first, then jsDelivr. A spec whose
bytes do not match the index is refused and nothing is written. - Package size. Measured with
npm pack --dry-run, the 3.0.0 package is
3,880,585 bytes packed and 6,129,907 unpacked, in 283 files. 2.10.0, as the
registry reports it, was 6,401,000 bytes unpacked in 416 files, and it carried
138 specs. - MCP server.
get_design_systemlists from the index. Run from npm, it
fetches a spec the first time one is asked for, checks it the same way, and
caches it under$XDG_CACHE_HOME(default~/.cache)/ux-ui-agent-skills/<tag>/. - Plugin and git clone. Both still carry every spec locally. Nothing is
fetched. design_systems.pylists and searches the index too.showon a spec
this install does not have yet prints the command that fetches it.
Gemini CLI and Antigravity.
- Gemini CLI.
gemini extensions install https://github.com/plugin87/ux-ui-agent-skillsinstalls an extension:
GEMINI.md, 23 ported skills and the MCP server. The extension is built by
release.ymland attached to the release as its only asset. It cannot live at
the repository root asskills/, because Claude Code would load those skills
as well as its own (measured withclaude plugin details, 2.1.310). - Per project.
npx ux-ui-skills init --agent gemini(or--agent antigravity, which writes the same files) installsGEMINI.md,
.agents/skills/and every gate. Gemini CLI reads workspace skills only in a
trusted folder: untrusted it loaded none of them, trusted all 23. - What porting a skill means. A skill's paths are rewritten for where it
lands, because neither tool expands${CLAUDE_SKILL_DIR}.critique,
observeandscaffold-projectneed Claude Code, so they are left out, each
with its reason inbin/port-skills.js. - What was run. The extension and the workspace install were both run
against Gemini CLI 0.65.0: the extension validated, listed 23 skills, and its
MCP server connected. Antigravity was not driven end to end. That half follows
its documentation: it readsGEMINI.mdand.agents/skills/, and truncates a
rule file at 24,000 bytes. A test holdsGEMINI.mdunder that limit.
Python scripts work on a non-UTF-8 console. Every script reads and writes
text files as UTF-8 and sets its own output to UTF-8. This matters because
findings quote what they found: an arrow, an emoji, a Thai name. On a Windows
console in a legacy code page, printing one crashed the script. The fixtures
that reproduced the crash now run under PYTHONIOENCODING=ascii in
unit/encoding.test.mjs.
No em dash or en dash, and the build holds it. Like emoji, the two dashes
are a tell of machine-written text. Every one the kit wrote is gone: docs,
skills, rules, specs, token descriptions, scripts and their output, about 1,470
lines, each sentence rewritten with a colon, a comma, parentheses or a full
stop. check_no_emoji.py already refused a dash in UI files; it now refuses one
in every file it is given, and with no arguments in every text file the
repository tracks. Exempt, each for a stated reason: the measured third-party
specs and the two files generated from them, the blind-eval output kept as a
record, and the fixture whose dash is the defect under test. Pointed at your own
project, it now fails on a dash in any file there (Markdown, JSON, CSS), not only
in UI files. The fast-gate hook hands it UI files only, as before, so what the
hook catches has not changed.
iPhone Duo. Safari gives a page on iPhone Duo one of five viewports, which
WebKit published for Safari 27.1: 382, 385, 594, 669 and 951px wide.
- Widths.
verify_responsive.mjsnow tests all five by default, beside
280, 320 and 414. Nothing checked 594 to 951 before, which is where a layout
grows from one column to two. Every example passed at all five, at 1x and at a
1.25x root font, before anything was changed. - The fold. The gate also renders each page at 951x620 half closed: two
viewport segments, with a 40px hinge at 455 to 495px, emulated in Chrome. The
hinge band was measured by a third party in Apple's simulator; Apple does not
publish it. A page whose layout does not change when the fold appears is left
alone, because Safari keeps the fold APIs behind feature flags and one layout
across the hinge is what most visitors get. A page whose layout does change
has claimed to know where the hinge is, and fails if any text or control sits
on it. - How the gate decides. Text and controls scrolled out of an ancestor's box
do not count, because they are not on screen. A page whose layout differs
between two identical loads is reported as one the fold could not be judged
on, rather than passed. - An example that answers the fold.
examples/templates/crm.htmlnow puts
the pipeline on one segment and the selected deal on the other, with the gap
between them set to the hinge. - A simulator.
examples/foldable/index.htmlshows the template in all six
poses: closed upright, closed on its side, open upright, open on its side, two
windows, and half closed. Each pose is the real page in an iframe at its exact
CSS width. A desktop browser has no fold to report, so in the half-closed pose
the page is told where the fold is through the URL, and runs the same layout
Safari would. The simulator is gated with the front door, which keeps the
report at 52 checks. - Rules.
.claude/rules/components.mdhas a new section, "Foldables: iPhone
Duo", and the starter template carries a short version of it. - Not proven. The fold is emulated in Chrome, not Safari, and only the book
pose on its side is tested. Nothing here ran on a real iPhone Duo.
The README header cannot be overwritten by the screenshot script.
screenshot_docs.mjs still rendered the old cover.html into hero.png, the
<img> fallback of the README's cover. Run once, it would have replaced the cover
with a page the README stopped showing. hero.png is now copied from
.github/brand/xias-cover-dark.png, and --check, which CI runs, fails when the
two differ. cover.html had no other use and is removed.
Not measured yet. These need the v3.0.0 tag to exist on GitHub, and are
checked after the release:
- fetching all 2,144 specs from the tag;
gemini extensions installfrom the release asset.
So far, 138 specs fetched from v2.10.0 in 6.6 seconds, each sha256-checked.
Includes 2.10.1. Version 2.10.1 below was never published to npm. Its fixes
reach npm in this release.
v2.10.0
Agent observability: did the agent follow the rules?
New: /observe
The plugin hooks now keep a local record of every session start (and whether a browser is available), every UI edit (with what the fast gates caught), and every end of turn (passed, blocked, or let through with pages still unmeasured).
The report gives each session a verdict from three counted rules:
- Every edited page had a passing gate before the session ended.
- No fast-gate finding was left on a file's latest version.
- The agent never finished while the Stop hook still had pages open.
Ways to see it:
/observeinside Claude Codenpx ux-ui-skills observefor a summary;--lastor--session <id>for a timeline;--project,--days,--json--htmlwrites a dashboard page built on the kit's own theme. It passes the kit's render gates in light and dark.
Everything stays on the machine. Files older than 30 days are deleted automatically, and DS_OBSERVE=0 turns it off. A failed write never changes what a hook decides.
This closes a blind spot. After a block, Claude Code always lets the next stop through, which is the one way an agent can finish with pages unmeasured. That case is now recorded as a broken rule instead of passing silently.
Fixed: dark-mode focus rings
- The shared example theme's dark ring was 1.63 to 2.93:1 against its surfaces, under the 3:1 a focus indicator needs. It now uses the theme's light teal link colour.
- The
goldentheme's dark ring was 2.84:1 on raised surfaces. It now uses blue.400. - New check:
tests/meta/focus-ring.test.mjsmeasures every shipped theme's ring against every surface token, in both themes.
Updated: public counts
The skill count is now 26 everywhere: README, install docs, the example front page, and the re-rendered cover images.
Carried over from 2.9.10
The fixes for #23 to #27 are included. All five were re-verified against 2.10.0, and #26 was confirmed on a real Linux machine.
Verification
- Main gate 52/52; test suite 256/256.
- Three real Claude Code sessions in a fresh project. Each session's
observeverdict and timeline matched its transcript.
Note on npm
The npm package for 2.10.0 is the first build of this release. It does not include the focus-ring fixes or the clearer report wording ("no pages edited", "never blocked"). New plugin installs get the complete version.
v2.9.10
Use this release, not 2.9.9. The 2.9.9 package on npm was cut from a
feature branch by mistake and also carried unfinished work; it is deprecated.
2.9.10 is the same fix, cut from main.
The Stop hook can be satisfied by the command it prints. In 2.9.8 it could
not: the agent's Bash tool has neither CLAUDE_PLUGIN_DATA nor
CLAUDE_SESSION_ID, so a receipt it wrote landed in <project>/.ds-receipts/
while the hook read the plugin data dir, and the hook blocked every turn for
the rest of the session (#24).
- Receipts are read from every place one can be written: the plugin data
dir, the project, the cwd, and each folder above the edited page. Safe
because a receipt only counts while the page still hashes as it did when
measured. - Only a passing receipt clears a page. A failing gate is a measurement,
not a pass (#27), and a run that printedSKIPPEDmeasured nothing (#25).
The hook now says which:not measuredormeasured, failing. - Only pages are required.
verify_stateson a stylesheet checks zero
elements, so a.css,.tsxor.vueedit no longer blocks. - The printed command is absolute and carries
CLAUDE_PLUGIN_DATA, so it
works from any cwd. A test runs it verbatim and checks the hook clears. measure_renderandaxe_auditfail underDS_REQUIRE_BROWSER=1when
the browser cannot launch or axe-core cannot load, like the other 16 render
gates (#25).axe-core4.10.2 is now a devDependency, so in a clone after
npm installaxe_auditno longer needs the network. A plugin install
still loads it from the CDN. A new guard stubs a failing launch and checks all
17 render gates exit non-zero.- Browser detection sees Linux (
/opt/google/chrome,/usr/bin/google-chrome,
Chromium, anything onPATH), shared by both hooks instead of two copies of
a macOS path list (#26). - Two SKILL.md files had invalid YAML frontmatter (
data-dashboard,
design-screen): an unquoted:in the description. Quoted, and
validate_instruction_surface.pynow rejects the construct (#23).
v2.9.9
The Stop hook can be satisfied by the command it prints. In 2.9.8 it could
not: the agent's Bash tool has neither CLAUDE_PLUGIN_DATA nor
CLAUDE_SESSION_ID, so a receipt it wrote landed in <project>/.ds-receipts/
while the hook read the plugin data dir, and the hook blocked every turn for
the rest of the session (#24).
- Receipts are read from every place one can be written: the plugin data
dir, the project, the cwd, and each folder above the edited page. Safe
because a receipt only counts while the page still hashes as it did when
measured. - Only a passing receipt clears a page. A failing gate is a measurement,
not a pass (#27), and a run that printedSKIPPEDmeasured nothing (#25).
The hook now says which:not measuredormeasured, failing. - Only pages are required.
verify_stateson a stylesheet checks zero
elements, so a.css,.tsxor.vueedit no longer blocks. - The printed command is absolute and carries
CLAUDE_PLUGIN_DATA, so it
works from any cwd. A test runs it verbatim and checks the hook clears. measure_renderandaxe_auditfail underDS_REQUIRE_BROWSER=1when
the browser cannot launch or axe-core cannot load, like the other 16 render
gates (#25).axe-core4.10.2 is now a devDependency, so in a clone after
npm installaxe_auditno longer needs the network. A plugin install
still loads it from the CDN. A new guard stubs a failing launch and checks all
17 render gates exit non-zero.- Browser detection sees Linux (
/opt/google/chrome,/usr/bin/google-chrome,
Chromium, anything onPATH), shared by both hooks instead of two copies of
a macOS path list (#26). - Two SKILL.md files had invalid YAML frontmatter (
data-dashboard,
design-screen): an unquoted:in the description. Quoted, and
validate_instruction_surface.pynow rejects the construct (#23).
v2.9.8
The Stop hook can no longer block you over another project's files, even if
its ledger is wrong. 2.9.7 fixed how the ledger is named; this release makes
the outcome independent of the ledger being right.
- The Stop hook names only files inside the current project. A ledger holding
another repository's paths, for any reason, cannot block here. - With no session id the hooks record nothing and block nothing. The shared
localfallback name, the root of the cross-session leak, is gone. - SessionStart deletes the shared ledgers left by 2.9.6 and earlier
(edited-local.jsonl,edited-<tag>-local.jsonl), so no manual cleanup.
Three new hook tests, one per guarantee, each failing against 2.9.7.
v2.9.7
The Stop hook no longer blocks you over files you did not edit.
The hooks keyed their edit ledger on CLAUDE_SESSION_ID, which never reaches a
hook process. Every session fell back to local, so every session wrote to one
ledger. In 2.9.5 that ledger was shared by every project on the machine too,
and a session was blocked over five files edited in two other repositories.
2.9.6 scoped the ledger per project; this release scopes it per session as
well, using the session_id Claude Code passes to every hook on stdin.
If you hit this on 2.9.5 or 2.9.6, the stale ledger can be removed:
~/.claude/plugins/data/ux-ui-agent-skills-*/receipts/edited-local.jsonl.
A new hook test runs two sessions in one project and fails against the old code.
v2.9.6
The kit is an MCP server now. Any MCP client can run its gates, not just
read its doctrine.
claude mcp add ux-ui-gates -- npx -y --package=ux-ui-agent-skills ux-ui-mcpSix tools: list_gates, run_gate, review_ui for measuring, and
get_doctrine, get_design_system, get_tokens for the rules and the source
to build from. Doctrine before generating, review after.
AGENTS.md already let Codex, Cursor and Copilot read the doctrine. This
lets any client run the 52 gates, which reading cannot do. Plenty of things
describe good UI; very little tells you afterwards that the contrast you shipped
is 3.9:1 on hover.
It speaks JSON-RPC directly rather than through an SDK, because this package
ships "dependencies": {} and says so on its front page. MCP is JSON-RPC 2.0
over stdio and a tools-only server needs four methods.
What it refuses to do is the point: it returns what the gates printed, unedited,
with their exit codes. 0 looked and found nothing, 1 found something, 2 could
not look - never a pass. DS_REQUIRE_BROWSER=1 is set on every call so a
render gate with no browser fails rather than printing SKIPPED and exiting 0. It
never summarises a gate or produces a number a gate did not produce.
node mcp/server.mjs --selftest drives the real handshake and every tool.
Details in docs/MCP.md.
A hook could block you over another project's files. Under a plugin install
the receipts directory is CLAUDE_PLUGIN_DATA, shared by every project on the
machine, and CLAUDE_SESSION_ID is unset in a claude -p run - so every such
run wrote to one ledger and read the others' edits. A session in one directory
was told that ten files in an unrelated one were unmeasured. The ledger is keyed
by project and session now.
Screen economy is a gate. verify_screen_economy.mjs - media bounded, no
large hollow boxes, the first screen carries a heading and a way to act, images
sized, nothing animating forever. Thresholds live in tokens/sizing.json -> screen, not in the script. The gate count is 52.
Fixing the doctrine came first, because it taught the opposite in four places:
"bento sizing" as the answer to repeated cards, a full-bleed card image, a
screen-filling hero archetype, and a full-bleed hero as a layout option. A named
system never overrides the rule now - nike and spacex keep their identity and
get their media capped, and apply-aesthetic states the adaptation.
It found what nothing else could. crm.html at 390px: a grid track collapsed to
6px while its neighbours held their floor, so three KPI panels rendered 160x1494
- stat cards a page and a half tall on a phone, with nothing overflowing and
nothing clipped, so every existing gate passed it.checkout.htmlhad noh1
at all. Twelve operational consoles had no way to act on the first phone screen,
andsoc.htmlhad no interactive element in the console at all; the counts in
their top bars are links to what they count now.
v2.9.5
The taste step now happens. design-screen asks for a Brief Inference block
- domain, audience, mood, motion depth, layout family, reference anchor - before
any markup, and calls it "not optional". Measured on 2026-10-07, one run in three
skipped it: the skill loaded every time and the block went unwritten, so the
screen was designed by nobody and regressed to the statistical mean.
The cause was position. The block sat at line 35, below seven lines explaining
why the skill exists and a handoff table. Background is not an instruction. It is
now the first thing in the file, with the stop condition stated plainly: if you
are about to write markup, create a file, or call a tool that produces UI and the
block is not already in your reply, stop and write it first.
Measured after the move, same grader: 5/5, up from 2/3.
grill-me checked for the kit after it had already read from it - line 29
read tokens/*.json, line 97 checked the kit was there, and that check sat
inside the fenced BRIEF.md template, so the skill was telling the model to
write kit-check prose into the user's brief document. Both fixed.
Every harness indicator is now measured by a command. node evals/measure_harness.mjs computes the table from source rather than reading a
number someone typed - the first thing it did was contradict the old table, which
recorded 3 of 11 rules enforced when the real figure was 3 of 9.
New: plugin-evals/, a 13-case claude plugin eval suite covering
invocation. Four triggers, three near-misses, five invitations to the
user-started skills, and the taste case. It exists because all 19 skills once
carried invocation: user|model, a key Claude Code does not read, so the six
marked user-only were auto-invocable and nothing noticed.
Harness Score 0.086 at baseline, 0.6975 here, with nothing left unmeasured.