Reference · Upgrading
Upgrading
Update the CLI, run idiom upgrade in each project (for a global npm or bun install, that one command does both), then work through the action-required items for every release you skipped. Moving from 0.x to 1.0 is covered in the 1.0 migration guide.
Update by install kind
For a global npm or bun install, idiom upgrade installs the latest release itself and then updates the project's skills; see upgrade. The commands below choose a specific release. Replace <version> with the release you want, without the v. The changelog lists every release.
| Install | Update |
|---|---|
| npm, global | idiom upgrade for the latest release. For a specific one: npm install -g https://github.com/mattskilly/idiom/releases/download/v<version>/mattskilly-idiom-<version>.tgz, or npm install -g @mattskilly/idiom@<version> once npm serves that release |
| npm, project dependency | npm install --save-dev --save-exact with the same tarball URL, then commit the manifest and lockfile |
| bun | idiom upgrade for the latest global release. For a specific one: bun add -g with the same tarball URL, or bun add -g @mattskilly/idiom@<version> once npm serves it; bun add -d --exact for a project dependency |
| Claude Code plugin | /plugin marketplace update idiom, then /plugin update idiom@idiom, then /reload-plugins or a new session |
| Codex plugin | codex plugin marketplace upgrade idiom, then codex plugin add idiom@idiom, then rerun the codex mcp add line with the new release and start a new session |
The Codex line names the exact release:
codex mcp add idiom -- npx -y --package=https://github.com/mattskilly/idiom/releases/download/v<version>/mattskilly-idiom-<version>.tgz idiom mcp
Check the result with idiom --version, which prints <version> (<short source commit>) · interface <n> (releases before the interface version print only the first two parts). The interface version moves only when a stable command, flag, JSON field, MCP tool or project file changes incompatibly. If the new release pins a different Playwright version, install its Chromium build too (Troubleshooting).
Update project skills
From each project root:
idiom upgrade --dry-run
idiom upgrade
# For a pinned project dependency: npx --no-install idiom upgrade
idiom upgrade (0.16.0 and later) merges the installed release's skill templates into the project and keeps your local edits. For a global npm or bun install it first updates the CLI to the latest release and merges that release's templates; other installs print the command that updates them and merge with the installed templates. --no-self-update merges skills only. Commit the skills and their .agents/skills/.idiom-pristine/ records together. Outcomes, conflicts and the manual merge workflow are in Update and roll back and upgrade. It also brings versioned .idiom/ files to the installed release's formats, keeping each original in .idiom/backups/; see format versions.
Roll back to a pinned version
Install or pin the earlier release the same way, check it with idiom --version, and run idiom upgrade again so the skills match it. On a release that updates the CLI itself (after 0.18.0), add --no-self-update, or a global install moves straight back to the latest release:
npm install --save-dev --save-exact https://github.com/mattskilly/idiom/releases/download/v<version>/mattskilly-idiom-<version>.tgz
npx --no-install idiom --version
npx --no-install idiom upgrade
For a global install:
npm install -g @mattskilly/idiom@<version> # or: bun add -g @mattskilly/idiom@<version>
idiom --version
idiom upgrade --no-self-update # releases through 0.18.0: idiom upgrade
Releases before 0.16.0 cannot run idiom upgrade. To go back to one of them, restore the committed skill and pristine files from Git.
Action required by release
What you must do after moving past each release, newest first. Everything else in the changelog works without action. Config covers keys that were added or renamed or whose defaults changed, Recapture covers stored runs that lack new evidence (why), and Skills means run idiom upgrade. Each release adds its own entry here (release process).
Unreleased
None.
v0.24.1
- Recapture to pick up the merged negative-spacing word-spacing finding. A chip with negative
word-spacingwhose child has another font size is now one finding, at the chip; stored runs and baselines keep the duplicate child finding until a new capture (negative-spacing). - Re-vendor the
idiom-fixskill. If your gate runsskill = "idiom-fix", runidiom upgradesofixed.mdopens with the line saying nothing needs a human decision.idiom doctornow reports the gatestalewhenidiom-fixis wired but its skill is not installed;idiom upgradeinstalls it. pathson the agent gate step is kept.idiom init --wireandidiom upgradeno longer remove apathslist from akind = "agent"[verify.idiom-check]step, so you can add one to skip agent start-up on non-UI changes (Autobuild).pathson the oldkind = "check"step is still removed when it is migrated.
v0.24.0
- A gate with no baseline now stops instead of passing.
idiom check --gate,idiom nightlyandidiom verifyexit2with onebaselineline when no recorded baseline is reachable from the base and the base could not be captured; before, the gate gated every open finding. Record a baseline on your target branch (idiom baseline record <flow>, committed), or letidiom upgrade --yesadd the Autobuild finalize step that runsidiom baseline advance --fetchas builds land. The same exit applies when an app cannot start or a state'sexpectno longer matches (unattended runs). - Re-vendor skills with
idiom upgrade. It refreshes theidiom-verifyskill and offers the opt-inidiom-fixverify step (a one-lineskill = "idiom-fix"swap on the gate step). In a script or build agent,idiom upgrade --yesapplies what it would offer at a prompt. - Recapture to pick up the negative-spacing change. Display-size type with slightly tight tracking is no longer reported, so findings in stored runs and baselines go away only after a new capture.
idiom brief list --json --arrayis removed. It was deprecated in 0.23.0. Useidiom brief list --jsonand read.briefsfrom{ interfaceVersion, briefs };--arraynow exits 1 with a message naming the replacement.idiom baseline advance --jsonreturns every flow. The experimental payload is now{ target, commit, fetched?, cachePath, flows: [...] }with a per-flowstatus, instead of one flow's fields; scripts that read it must read the flow's entry from.flows[].
v0.23.0
idiom brief list --jsonprints an object. Scripts that read it must read.briefsfrom{ interfaceVersion, briefs }instead of the bare array. For one release,idiom brief list --json --arraystill prints the old array, with a deprecation warning on stderr; it will be removed in 0.24.0. SetIDIOM_NO_DEPRECATION_WARNINGS=1to silence the warning.
v0.22.0
- Shared decision logs: this release can append attribution corrections (
idiom decide --reattribute). Idiom 0.21.0 and older skip those records with a "written by a newer Idiom" note and show the original actor, so upgrade every machine that shares the log. - Autobuild gates: none required. To keep gates from capturing the base branch,
idiom upgradeoffers a finalize step that runsidiom baseline advance --fetchas builds land (configuration).
v0.21.0
- Shared decision logs: upgrade every machine and CI runner that reads
.idiom/decisions.jsonlbefore anyone runsidiom decide --ack. Idiom 0.20.0 and older refuse a log that contains an acknowledgement; 0.21.0 and later skip record types they don't know. - Autobuild: run
idiom upgrade(oridiom init) and accept the shown diff to replace the oldab-verify-idiomagent step with the UI gate (idiom check --gate --fail-on major --deferred warn) and rename the verifier skill toidiom-verify. Until then, autobuild builds that change UI mostly skip Idiom. - Scripts reading results: findings can now have severity
info, which never counts toward a gate;checkcan exit3(deferred on a busy host) or4(a decision is needed). Accept these if your script checks a fixed list. - Skills: run
idiom upgradeso theidiom-verifyskill checks builds that carry an Idiom design asset instead of skipping them (attach to an autobuild ticket). - Scripts:
idiom init --yesnow also applies the default wiring plan: a marked Design QA section inAGENTS.md(created if absent) and an existingCLAUDE.md,.cursor/rules/idiom.mdcwhen.cursor/exists, and.github/workflows/idiom.ymlwhen.github/workflows/exists. Hooks, the nightly schedule, the Autobuild gate and landing rule stay off under bare--yes. To keep a script's old behavior, add--skip-wiring agents --skip-wiring claude --skip-wiring cursor --skip-wiring github, or preview first withidiom init --dry-run. Interactive init now asks once (Apply all selected wiring shown above?) instead of separately for the brief line, the Autobuild gate and the optional verifier. See init wiring.
v0.20.0
- Runtime: Idiom now requires Node 22.12 or newer (the CLI library requires it). On older Node every entry point (CLI,
idiom mcp, plugin andnpx) exits 2 with a message naming both versions. Check withnode --versionbefore updating.
v0.19.0
- Scripts:
idiom --versionnow ends with· interface 1; a script comparing the whole line should take the first word. Every--jsonpayload exceptbrief listgains a first key,interfaceVersion; a test comparing a whole payload should ignore it. - Decisions:
brief-mismatchfindings accepted before this release reappear once, because their rule id now carries a hash of the assertion. Decide them again. - Behavior:
idiom upgradenow updates the CLI before merging skills. A script or CI job that installs Idiom itself should runidiom upgrade --no-self-update. Update notices are off whenCIis set; elsewhere, turn them off withIDIOM_NO_UPDATE_CHECK=1or"updateCheck": false. - Skills: run
idiom upgradefor the setup-handoff andidiom init --validateguidance in the Idiom skill.
v0.18.0
- Recapture: to pick up the new disclosure, nested-border, empty-container, redundant-entry-point, control-selects-parent and token-resolution checks, the probe coverage counts, and the probe fingerprints
idiom check --gatecompares against. Recapture after recording a brief with assertions. - Config:
idiom check --gatereads the optionalchecks.gateblock (budgetMs, default three minutes;nonUi).capture.hideWebdriverandchecks.probe.disclosures/checks.probe.maxRevealedare new. - Behavior: a native
titlenow explains a control forunexplained-controlby default; setchecks.explanation: "visible"to keep requiring a painted explanation. - Skills: run
idiom upgradefor the brief guidance in the Idiom skill and the before/after evidence inidiom-verify.
v0.16.1
- Codex: the Codex plugin no longer starts the MCP server. Run
codex plugin marketplace upgrade idiom,codex plugin add idiom@idiom, then thecodex mcp addline for this release.
v0.16.0
- Skills: first release with
idiom upgrade. Run it once in each project so its pristine records exist for the next update. - Config: new projects default
model.modeltoclaude-sonnet-5-5; existing projects keep theirs, so change it yourself if you want the newer model.model.provider: "codex"andmodel.fallbackare new. - Behavior: a capture now fails when a stylesheet declares color tokens and none of them resolves. Fix the token names it lists in
design.tokensFile.
v0.15.0
- Skills: the Idiom skill gained an explicit UI review and completion policy. Run
idiom upgradeonce you are on 0.16.0 or later.
v0.14.0
- Gates: severity gates count measured and observed findings only. If a gate relied on judged model findings, add
--fail-on-judged. - Recapture: runs from before this release report reduced motion as missing in
idiom coverage --states.
v0.13.0
- Gates:
error-state-missingandretry-blockedare new major checks, on by default, and can fail a--fail-on majorgate. Configure them withchecks.failure. - Config: a repeated off-scale value now becomes one design-system question at
checks.scales.suggestAfteroccurrences (default 5). Answer it withidiom ruling. - Behavior: a malformed ruling block in
DESIGN.mdnow failsidiom check. Fix the block. - Recapture: the failure checks need a fresh capture.
v0.12.0
- Gates:
interaction-shift,loading-state-missing,double-submitandmotion-snapare new major rules, on by default, andlayout-shiftand overlay snaps are now major. Each can fail a--fail-on majorgate. - Config: new
checks.interactionShift,checks.loading.delayMs(default 1500ms),checks.motion.minExtentPx(default 24px),capture.filmstrips, andagent.uiGlobs/agent.hooksfor the Claude Code reminders. - Behavior:
idiom quicknow runs the interaction probe; pass--no-probefor the static review. - Recapture: timelines and filmstrips exist only in new captures; older runs report the timeline checks unavailable.