Skip to content

Idiom v0.19.0

Choose a tag to compare

@mattskilly mattskilly released this 04 Nov 03:20
· 6 commits to main since this release
  • idiom upgrade updates the CLI too, so the one command the update notice names is enough. It used to merge skill templates only: after a notice, you had to know your install's update command, then run idiom upgrade again with the new binary. Now, for a global npm install -g or bun add -g install, idiom upgrade reads the registry's latest, runs npm install -g @mattskilly/idiom@<latest> or bun add -g @mattskilly/idiom@<latest> and prints it, checks that the new CLI reports that version, then hands off to the new CLI (IDIOM_SELF_UPDATE_HANDOFF=1) to merge skills with its templates, without updating again. Plugin, npx and bunx installs print their own update command, and source checkouts and project dependencies print how to update them without a network request; all of them still merge skills. If the install fails or the new CLI reports the wrong version, idiom upgrade exits 1 before touching any skill, naming the failed command; offline, it says the CLI could not be checked and merges skills anyway. The update-check off switches turn the registry read off too. --no-self-update merges skills only, --dry-run names the install it would run, and --json gains cli: { from, to, command, outcome }. The update notice now says Update: idiom upgrade for npm and bun installs. See upgrade.
  • What is stable is now written down, and integrations can tell when it changes. Agents and CI depend on Idiom's flags, exit codes, --json output, MCP tools and .idiom/ files, and until now any of them could change in a minor release with only a changelog line. docs/stability.md lists every public surface as stable, stable-additive (fields may be added, never removed or retyped) or experimental, sets out the deprecation policy, and says what 0.x means until 1.0. A separate interface version marks breaking changes to stable surfaces: idiom --version now prints 0.16.1 (abc1234) · interface 1, every --json payload except brief list starts with "interfaceVersion": 1, and the MCP server reports it under capabilities.experimental.idiom.interfaceVersion. A contract test snapshots the stable surfaces and fails on a breaking change unless the interface version moves.
  • New troubleshooting, upgrading and glossary pages, a configuration overview, and a data and privacy statement. Troubleshooting gives the symptom, cause and fix, in order, for a server that won't start, a missing or mismatched Chromium, a baseline refused on a dirty tree, a finding-name registry conflict, an MCP server bound to the wrong project, a degraded critique, low probe coverage, recaptures after an upgrade and a slow idiom check --gate. Upgrading covers updating each install kind, idiom upgrade, rolling back, and what each release since 0.12.0 asks you to do. The glossary defines Idiom's terms, and configuration opens with a one-screen map of .idiom/project.json. The README, the site FAQ and architecture now state that Idiom has no telemetry, what goes to the model provider you configure, and how to turn each kind of network traffic off. All three pages are on idiom.build/docs.
  • idiom init hands setup to your coding agent. Scaffolding was easy; the hard part was writing the server command, seed steps and a first flow by hand from the docs. After scaffolding, an interactive idiom init now checks whether Claude Code (claude) or Codex (codex) runs here, the project's configured critique provider first, and with your consent starts that agent in the project with a versioned, repository-aware setup prompt. The prompt lists what Idiom found (scripts with credentials redacted, frameworks, server config, flows and routes, seed fixtures, never env values) and walks the agent through the server command, port and readyUrl, seed data and test accounts from the repository's own fixtures only, routes, a first flow of 3–8 states with stable selectors, and PRODUCT.md/DESIGN.md. It ends at idiom init --validate: the agent keeps going until that prints ready, or reports the remaining problem instead of claiming success, and it is told never to disable checks, commit or push. Without a usable agent, or if you decline, init prints the same prompt between copy-ready delimiters. --agent claude-code|codex launches without asking, --no-agent leaves the step out, --yes never launches an agent unless --agent is given, and --print-setup-prompt prints only the prompt. MCP agents get the prompt from the new idiom_setup_prompt tool and the init --validate verdict from the new idiom_ready tool. See docs/commands.md.
  • Changing a brief assertion reopens the findings accepted against it. An accepted brief-mismatch finding stayed accepted after its brief was re-decided with a different bar. If "tile height 52, expected 48" was accepted and the brief was then re-decided to require 40, the old acceptance still silenced the finding, even though the decided brief is the bar the build must meet. Each finding's rule id now ends in a short hash of the assertion it judges (selector, form, expected values, tolerance, flow and state, but not its name), so a changed assertion is reported again and idiom verify no longer calls its old ticket fixed. An assertion left unchanged keeps its decisions, and deciding or superseding a brief still never touches any other rule's decisions. Brief-mismatch findings accepted before this release reappear once, because their rule id gained the hash. See docs/brief.md.
  • A brief's minContrast assertion no longer goes quiet because one match has no painted foreground. When a selector matched several elements and one of them (an empty icon wrapper, say) painted nothing, idiom:brief-mismatch reported the whole assertion as unmeasured and dropped the contrast failures it had already found on the other matches. Unpaintable matches are now skipped and the rest are judged as usual. Coverage in the check summary and report names the skipped matches under the assertion, for example 1 of 3 .pin matches had no painted foreground and were not measured: .tile .pin:nth-of-type(2). The assertion is unmeasured only when none of its matches has a painted foreground. See docs/brief.md.
  • idiom --help says where to start, and idiom init --validate says when setup is done. New users and coding agents had no starting point: the root help was a flat list in registration order, idiom validate was missing from it, and nothing after idiom init said whether setup had worked. idiom --help now opens with a four-line Start here workflow (idiom init → idiom init --validate → idiom check <flow> → idiom fix / idiom decide) and lists every command once, validate included, under Setup, Daily loop, Judgment and decisions, Briefs, Explore and inspect, Agents and integration, and Maintenance. init, check, review, fix, decide and brief show an Examples block in their own --help. New idiom init --validate creates nothing: it validates every flow, boots the first flow's server once (or --flow <id>), and prints ready (exit 0) or not ready: <first problem> with its Fix: line (exit 2); an uninitialized directory is told to run idiom init. --json returns { ready, validate, doctor }. idiom init now ends with Next: idiom init --validate, and the vendored skill treats ready as the "setup is done" signal; re-vendor it with idiom upgrade. See docs/commands.md.
  • Idiom tells you when a newer version exists. npm served 0.12.0 for a week while 0.13.0 to 0.16.1 shipped, and nothing told installed users. Now idiom check, review, doctor, init and --version print one stderr line after their output, such as Idiom 0.19.0 is available (you have 0.18.0). Update: idiom upgrade, naming the update command for how Idiom was installed (npm, bun, npx/bunx, the Claude Code plugin or the Codex plugin). --json output gains an update field. The MCP server tells agents once per session, in its initialize instructions or the first idiom_check/idiom_doctor result. The check is one read-only request to the npm registry's latest document, at most once a day, with a 3-second limit and no project or user data. Failures are silent, and source checkouts never check. Turn it off with IDIOM_NO_UPDATE_CHECK=1, NO_UPDATE_NOTIFIER, CI, or "updateCheck": false in .idiom/project.json. See Update notices.
  • The model's list of deterministic findings no longer grows without limit. Every model critique prompt repeats the deterministic findings already reported, so the model does not duplicate them, and that list grew with the number of accessibility violation nodes. A page with hundreds of them could crowd out the screenshots and DOM evidence or push a request past the provider's limit. Each prompt now lists at most 50 deterministic findings (or 20,000 characters of them), most severe first, and summarizes the rest by category and severity; the model is told those were evaluated too. When that happens, report.md and report.html say so in one line under the model layer (and per advisory pattern), and the review result, sweep.json and advisory.json record it. Smaller sets are sent exactly as before, and which findings are detected or reported is unchanged. See docs/architecture.md.

Interface

  • Interface version 1 introduced (stability).
  • interfaceVersion added as the first key of every --json payload except brief list --json (additive).
  • idiom --version ends with · interface 1.
  • The MCP initialize result carries capabilities.experimental.idiom.interfaceVersion.
  • The optional updateCheck project key (additive).
  • The --json output of check, review and doctor gains an update object, only when a newer release exists (additive).
  • idiom upgrade --no-self-update (additive). The experimental upgrade --json report gains cli.