Skip to content

Releases

Idiom v0.24.1

Choose a tag to compare

@mattskilly mattskilly released this 21 Nov 17:59
  • The build gate no longer doubles its work when a fixture's DESIGN.md changes. idiom check --gate treated any changed DESIGN.md or PRODUCT.md at any depth as the project's design context, so editing a test fixture's, an example's or another package's widened the gate to every colour scheme and could push it over its time budget into a deferral. Now only the checked project's own design context (design.designFile and design.productFile, resolved under --project) widens it; any other DESIGN.md is judged like any other non-UI file. Projects reached through a symlinked path (such as a macOS temp directory) also match checks.gate.nonUi globs correctly now. See the build gate.
  • idiom check --changed no longer re-checks every state when only docs, tests, CI configuration or lockfiles change. A changed file with no route owner fell back to every state, so a commit touching only README.md, docs/**, a test, .github/** or bun.lock ran the slowest check Idiom has, while check --gate skipped the same diff. --changed now applies the gate's own path rules, including your checks.gate.nonUi globs: such paths select no states and are reported as non-ui with the gate's reason (documentation, tests, CI configuration, lockfile, …), and a diff of only such paths runs nothing. The project's own DESIGN.md and PRODUCT.md still select every state. Attribution of new findings to commits uses the same mapping. See check only changed states.
  • The brief now states negative-spacing's display-size exemption, and a chip's negative word-spacing is reported once. The craft brief told agents "no negative letter- or word-spacing" on interface text, stricter than the check, so an agent following it could strip intended display tracking. It now adds a line with the configured displaySize and displayTracking (left out when displayTracking is 0). A chip with negative word-spacing whose child is set at another font size, such as a count badge, gave two findings for one declaration; it now gives one, at the chip. Letter-spacing still splits where the font size changes, since each size is judged on its own. Recapture to pick up the word-spacing change. See rules.
  • idiom doctor now checks that the default gate's skill is installed. The Autobuild gate row reported wired when skill = "idiom-verify" was set but .agents/skills/idiom-verify/SKILL.md was missing, after a partial checkout or a removed skills folder, so the first sign was a failed build verify step. The row is now stale, names the missing file, and gives idiom upgrade as the fix, as it already did for idiom-fix. See doctor.
  • The idiom-fix gate is easier to adopt and no longer reads as an escalation when it fixed everything. Four gaps from 0.24.0. The configuration reference's Autobuild section now documents the one-line skill = "idiom-fix" swap. idiom doctor's Autobuild gate row names the wired skill (idiom-verify or idiom-fix) and any paths filter, and reports the gate stale when idiom-fix is wired but .agents/skills/idiom-fix/SKILL.md is not installed (fix: idiom upgrade), instead of letting the first build fail. A round that fixes every finding still uses one verify attempt ([policy].maxVerifyAttempts), and if a build has none left its fixed.md becomes the escalation text, so fixed.md now opens with Idiom fixed every finding in this build; nothing needs a human decision. And an optional [verify.idiom-check].paths list on the agent gate step is documented as the way to skip agent start-up on non-UI changes; idiom init --wire and idiom upgrade now keep it (they removed it before) and doctor reports it as wired. paths on the old kind = "check" gate step is still migrated away. See Autobuild.
  • idiom check --changed no longer re-checks everything when a fixture's DESIGN.md changes. It treated a DESIGN.md at any depth as global, so editing a test fixture's, an example's or another package's DESIGN.md re-checked every state, the slowest check Idiom runs, and disagreed with check --gate on the same diff. Now, as with --gate, only the checked project's own design file (design.designFile, default DESIGN.md in the project directory, including under --project) selects every state, and a configured location such as design/brand.md counts too. Any other DESIGN.md is mapped as documentation and selects no states. A lowercase design.md no longer counts unless it is the configured design file. Attribution of new findings to commits uses the same mapping. See check only changed states.

Interface

  • check --changed --json selection.files[].kind (and the gate's files[].kind) gains the value documentation, for a DESIGN.md outside the project's design context. Interface version remains 1.
  • check --changed --json selection.files[].kind (and the gate's files[].kind) gains the value non-ui, for a path the gate's path pass calls non-UI; its reason is the gate's. Interface version remains 1.

Idiom v0.24.0

Choose a tag to compare

@mattskilly mattskilly released this 20 Nov 12:56
  • Negative-spacing no longer reports tight tracking on display-size type. idiom:negative-spacing was added for crushed interface text, but it also reported the anchor links inside headings, which inherit the heading's slightly negative letter-spacing; tight tracking on large type is standard practice, and reporting it teaches people to ignore the rule. Now a negative letter-spacing on text whose own computed font size is at least 20px and no tighter than −0.03em is not reported. Each element is judged by its own size, so a heading's anchor is judged like the heading and a smaller child inside it is reported on its own. Small text and tighter tracking are still reported, and negative word-spacing is reported at every size. Both limits are configurable as checks.negativeSpacing.displaySize and displayTracking (0 turns the exemption off). idiom.build's h3 dropped its −0.01em tracking, since at about 17px it is body-size text. Recapture to pick this up. See rules.
  • idiom learn --replay no longer reports "catch 0 of N" when it could not read anything. A replay of 126 imported misses said "the latest checks catch 0 of 126" while reading a run whose directory no longer existed, and 77 of those rows had no check named or no declared state, hidden in the per-row detail. Replay now measures a record only against the newest complete run of its state that was reviewed (has findings.json or a digest record); capture-only runs and missing directories are skipped. Each record is caught, missed or unmeasured, and the headline gives all three (caught 2, missed 7, unmeasured 11 of 20) with the catch rate over measured rows and its n. Unmeasured rows are broken down by reason (no reviewed run, state proposed but not added, state not declared, no check named), each with its next step, before the per-row detail. Replay also names the newest reviewed run per flow. When nothing is measured it says so and exits 1. See importing a table of misses.
  • States can be checked at widths between the declared viewports. A selection toolbar wrapped at an editor width just under 1024px, and no declared viewport captured it; declaring every width by hand is impractical. A web state (or a whole web flow) can now set "intermediateWidths": true to also capture the midpoints between its declared viewport widths plus 900 and 768 when they fall inside the range, or a list of widths. Those widths are captured in the default colour scheme only, run the per-tuple layout checks (toolbar-layout, overflow-clip, clipped-text, element-overlap, text-occlusion, word-break) without the probe or model review, never change a finding at a declared viewport, and are labelled intermediate width (layout checks only) in reports. The timing line breaks out the time they added per state. idiom coverage --states suggests opting in for states whose toolbar wraps at one declared width but not another, or fills 85% or more of its row. On a fixture whose toolbar wraps only at 900px, with viewports 768 and 1280, opting in reports the wrap at 900. See intermediate widths.
  • Toolbars stay on one row, with their controls centred and matched. A selection toolbar that wrapped to two rows under 1024px, with one icon pinned to the top and a close button wearing a border no sibling had, passed every check. The new toolbar-layout check measures every role="toolbar" (and any element checks.toolbarLayout.selectors names): idiom:toolbar-wrap (major) names the items on the second row and the toolbar's height against its single-row height; idiom:toolbar-off-centre names a control whose vertical centre sits more than 1px (centreTolerance) from its row's, with the signed offset; idiom:toolbar-odd-control names one control whose border, radius or height differs from all its agreeing siblings. Segmented groups, tooltips and other out-of-flow children are exempt. idiom learn and idiom ruling --wording compile "the toolbar is always exactly one row" and "every toolbar control is vertically centred" to checks.toolbarLayout.scopes, and findings cite the law. See rules.
  • Learning from words and a screenshot no longer aborts on a stray folder, and no longer lands on the wrong flow. With no --state, idiom learn "<words>" --screenshot <png> (and --flow <f> --state <s>, and learn --replay) searched every folder under .idiom/reports/ as if the user had typed it as --from, so one hidden folder, hand-made folder or other name stopped the search with --from must be a simple run ID beneath .idiom/reports. Folders that are not complete runs are now skipped; only an explicit --from is checked. On a project with several flows, an observation (including a --ruling) whose flow could not be told went on the first declared flow. Learn now places it on the flow the screenshot or the words matched, settles a close screenshot match between flows by the words, and otherwise names the candidates and asks for --flow instead of guessing; learn --import skips such a row as ambiguous-flow, and learn --harvest leaves it for a later pass. See learning without a state.
  • Build agents and setup scripts can wire Idiom into Autobuild. With no terminal, idiom upgrade only reported the offered gate and wrote nothing, so the idiom-check verify step and the idiom-verify skill were never installed by the people most likely to wire them. idiom upgrade --yes now applies every change it would offer at a prompt (the gate and its skill, the baseline finalize step and the brief instruction), printing the same exact diffs; --dry-run with --yes prints them and writes nothing, and --skip-wiring <surface> leaves a surface alone. idiom init --wire --yes does the same on an initialized project, including the Autobuild phase skill sections. A noninteractive run without --yes still writes nothing and now ends with one line naming the --yes command. See Autobuild.
  • idiom brief research measures comparable products and proposes criteria from them. A director wants a UI ticket's numbers to come from what best-in-class products ship, not from guesses, but finding and capturing those products was manual. idiom brief research "<request>" (experimental, no model) names two or three comparables from brief.references (or PRODUCT.md's new ## Comparable products section) and says why each was chosen, captures each one's equivalent public screen as a managed reference (source, date and viewport, so the model reviewer cites it), measures the elements the request names (sizes, gaps, radii, type sizes and durations, each with its selector and page), and prints acceptance criteria with a floor and a cap, each citing its reference, ready to paste. Pages behind a sign-in are reported as not reachable and never logged into. brief.references entries gain optional pages ({ surface, url }) for a product's equivalent screens, and idiom init seeds the list from an existing PRODUCT.md. See comparable research.
  • Idiom answers the Autobuild escalations that precedent already settles. A director answered many build escalations about UI choices (which control, what spacing, what wording) with something already decided: a ruling in DESIGN.md, a past accept or reject, a learned law. idiom escalations (experimental) lists the repository's open escalations through ab, offline, classifies which are design questions (agent escalations only; lexical, no model), and finds matching precedent, ranked, with the terms each shares with the question. With --answer it answers through ab answer only when precedent is decisive (one clear match above a documented threshold and no conflicting precedent), quoting the precedent and naming where it lives; anything else is left open with a one-paragraph summary of the question and the closest precedent. It never answers non-design escalations, paused builds, builds with more than one open escalation, or the same escalation twice, and never retries, dismisses, revises or aborts. Every answer is recorded in .idiom/escalation-answers.jsonl and listed by --history; learn --harvest never learns them back as corrections. "escalations": { "watch": true } runs the pass from idiom watch. See escalations.
  • A weekly scorecard says who found each UI problem first, and how much of what Idiom reports the director accepts. Two 1.0 gates ask whether the director accepts most of Idiom's findings and whether the director catches fewer UI problems by eye than Idiom does, but nothing measured either, though Idiom already recorded both sides. idiom scorecard (experimental) reads stored runs, filed tickets, learned records and decisions, offline, and reports per ISO week (default: the last four) the UI problems first found by Idiom versus by the director, with the director's share, by category and surface; and the director's accepted, rejected and acknowledged decisions with the acceptance rate and n. A learned record and a finding are the same problem when they share a state and rule, or the record's selector or words match the finding; --verbose lists every match and why. A week with no data says so instead of 0%. --since, --weeks and --json (experimental) are supported. See scorecard.
  • Idiom reacts to each merge, not once a night. A regression merged in the afternoon used to wait for the 03:17 nightly, so a person usually saw it first. idiom watch (experimental) is a long-running process that notices every new first-parent commit on the base branch and, oldest first and one at a time, gates it against its first parent, files new findin...
Read more

Idiom v0.23.0

Choose a tag to compare

@mattskilly mattskilly released this 15 Nov 21:25
  • A director's measurable law now configures the check that measures it. When a director said "nothing in a toolbar sits closer than 4px, glyph to glyph or glyph to button", idiom learn recorded a prose ruling that only the model reviewer read, so the offset chip that broke it still passed every deterministic check. Now learn compiles five kinds of law to configuration: a minimum gap (control-gap), no negative letter- or word-spacing (negative-spacing), centring within a tolerance (text-centering), a shared top edge or height, and equal widths for fields (both layout-invariants, through a new project-wide share invariant). A law naming a toolbar, menu, field group, form, dialog, tab list or navigation is scoped to that surface; the diff opens with one line naming the check and the scope, findings cite the law, and idiom context lists it. idiom ruling --wording compiles the same laws alongside the ruling in one confirmed diff. Words that cannot be compiled still become a ruling, in the director's words, with a line saying why. See Laws learn compiles.
  • Agents record a director's catch the moment it is said, with the MCP tool idiom_learn. A director points out UI and UX problems inside agent conversations, but recording one meant someone stopping to run idiom learn, so most catches were never recorded. Now idiom_learn takes the person's words, and optionally their screenshot, a selector and the state, records it exactly as idiom learn --yes does, and returns the record, its matched or proposed state and its rule candidate; calling it again with the same words and screenshot returns the existing record and writes nothing. The Idiom skill tells agents to call it whenever a person points out a problem and to say back what was recorded. See MCP.
  • idiom learn --harvest collects the UI corrections a director already wrote. A director teaches their agents all day, in answers to autobuild escalations and in pull request review comments, but none of it reached Idiom, so every correction had to be said twice or was never learned. Now idiom learn --harvest reads the local autobuild store's human escalation answers (offline, through ab) and the review comments, review bodies and conversation comments on the repository's recent pull requests (through gh), keeps the sentences that correct layout, spacing, copy, interaction or visual quality, and ignores build-process talk, bots and machine-written comments. The classifier is lexical, so it needs no network or model. Each correction becomes an open learned record with the director's words verbatim, its source (build and escalation, or pull request, link and file), author and date, a rule candidate, and a flow state found from the words or drafted. Harvest never writes design law or check configuration: it lists the new candidates together, and idiom learn --confirm [ids...] applies them in one pass, one diff and prompt each, marking each harvested record covered by what it became. Running it again adds nothing: records carry a source key and .idiom/harvest.json remembers where each source was read to. When pull request comments cannot be read, harvest says why and still records the autobuild answers. --dry-run, --since and --json are supported, and learn --list shows where a harvested miss came from. See harvest corrections, including how to run it on a schedule or as an autobuild finalize step.
  • idiom learn --import takes a whole catalog of misses in one pass, and --replay says how many of them Idiom now catches. A director kept 127 misses caught by eye over six weeks as a Markdown table (what was seen, the general rule, a category, how it could be checked, the state that would show it), and the only way in was one idiom learn per row, each placing, prompting and editing config. Now idiom learn --import misses.md reads every table with id, observation and rule columns (headers matched by role, ignoring case, punctuation and notes in brackets, so "what was wrong" and "general rule (checkable law)" both work; other columns optional) and writes one open observation record per row with its rule candidate, the check ids the row names, and its state: the one the state cell names, else the one its words name, else a draft state under .idiom/proposals/states/; a state cell written NEW: <description> always becomes a draft state with that description. It never prompts and never edits config or design law. Every row is imported or reported with its line and reason (blank id, observation or rule, duplicate id, too many cells, empty row, ambiguous state, unknown flow), and the summary counts created, updated and skipped rows, how many are covered by an existing rule and how many need a new state. Re-importing the file updates records by row id, keeping ids and coverage marks. learn --list --import misses filters to the import with each record's checks, and coverage now also counts a finding whose category is a check the row names. learn --replay misses reads the latest stored run of each record's state and reports "the latest checks catch N of M", naming the runs it read. See importing a table of misses.
  • Idiom catches a half-empty tile picker: a small photo pinned to one side of a stretched tile, a doubled selection ring, and a default fieldset legend. A "Photo look" picker on a visual page builder shipped with three tiles stretched to their columns, each holding a 28×28px photo at its left, a selected tile showing the photo's border inside its own selection border, and a section heading drawn as the browser's notched fieldset legend. Idiom already captured that state and reported nothing, because each rule stopped short: idiom:empty-frame only looked at boxes with nothing in them, idiom:nested-border only at frames within 4px of each other, and idiom:browser-default-style only at links, and only with a tokens file. Now idiom:empty-frame also reports a tile, card or option whose lone image is at most 35% of the frame and pinned off-centre with a strip at least half the frame wide beside it, once per group of sibling tiles, naming the frame, the media and the empty share; labelled options, media centred in its frame, and header, nav and toolbar bars are never reported. idiom:nested-border reports a selected choice (aria-pressed, aria-selected, aria-checked, checked or a selected/active/current class) whose border rings exactly one bordered image, however far apart the rings are. idiom:browser-default-style reports legends notched into their fieldset's border, with or without a tokens file. Sweeps over every state of the gate and field fixture apps at phone and desktop widths in both schemes found no new findings; the picker fixture and its correction are in docs/field-test/tile-picker.json. See rules. Recapture to pick this up.
  • Coverage names the menus, popovers, toolbars and editors no state ever opens, and drafts the state that would. On a visual page builder, no flow state ever showed the selection toolbar's menus, a multi-selection or inline editing, so no check had seen them and nobody noticed until bugs turned up there. Now captures record the interactive surfaces on each page (menu and popover triggers, disclosures, toolbars, editable text, selectable elements and multi-select containers) and whether the state shows each open, selected or focused, and idiom coverage --states lists, per flow, the ones no captured state shows active. Each comes with a draft flow state, one line of JSON to paste into the flow's states: from the state that showed it, with the steps that reach it (click and waitFor, a modified second click for a multi-selection, dblclick and focus for inline editing). They are ranked by how much UI each would reveal, capped at ten with a count of the rest, and ordered the same on every run. --json and MCP idiom_coverage carry the list as surfaces. Recapture to pick this up. See coverage.
  • Idiom measures the space inside a chip, and flags squeezed spacing on interface text. A selection toolbar shipped an offset chip that read ↑18←6, with its reset × touching the 6: a build agent had set gap: 0; word-spacing: -2px on the chip to fit a width cap. Idiom passed it, because its gap rule measures separate element boxes and cannot see text and buttons crammed together inside one control, and nothing looked at negative spacing on labels. Now idiom:control-gap (minor) measures the ink between text runs, icons and nested controls side by side inside one button, chip, pill or toolbar item and reports any pair closer than 4px, naming the control, both parts and the gap (checks.controlGap.min, up to 12px); segmented and joined groups, keycaps and symbol affixes such as $ are exempt. And idiom:negative-spacing (minor) reports a negative letter-spacing or word-spacing on interface text once, at the element that sets it; page content is left alone unless checks.negativeSpacing sets scope: "all" or lists it in include, and ignore silences a selector. Recapture to pick these up.
  • Flows reach live-editing states from the manifest alone: hover, double-click, counted and modified presses, modified clicks and held drags. Most misses on a visual editor live in states a person reaches with the pointer and keyboard (a selected block with its toolbar, a nudged block with its offset chip, a multi-selection, inline text editing, a drag in progress, a hover-only control), but flow steps had only click, fill, press, select, focus and the waits, so each of those states needed its own app-side preset. Now steps add hover, dblclick and drag (to a target selector or by an `offset...
Read more

Idiom v0.22.0

Choose a tag to compare

@mattskilly mattskilly released this 09 Nov 13:35
  • Error-text no longer reads help text about errors as an error on screen. Reference pages that explained what "failed to load" or "Renderer failed" mean were reported as visible failures. Now a render, load, generic, exception or system-code phrase is skipped when it sits inside main or article, off any failure surface, in a sentence of 8 or more words that mentions it mid-sentence or in quotes (or a paragraph of 40 or more words). An alert, status or log role, a live region, an output or an error-ish class (error-banner, toast, form__error, empty-state) always makes it a failure message, and so does a short standalone line such as Failed to load images under a grid. Stack traces, [object Object], unrendered values, raw JSON and your checks.errorPatterns always report. On idiom.build's own docs, raw error-text candidates dropped from 36 to 0 on the same capture: 24 were explanations already rejected by hand, and 12 were the new examples in the rules reference. No accepted finding was lost, and the field-test targets had no error-text candidates before or after. See rules.
  • Three navigation problems a person could see and Idiom couldn't are now caught. In one app a logo opened a drawer that clicking it again didn't close, one icon meant both "collapse panel" and "3-column layout", and a Settings item expanded with no chevron, so nobody knew it had anything below it. Three new minor rules cover them: idiom:disclosure-affordance (the probe reads each disclosure trigger collapsed and expanded and reports one where nothing on or beside it changes; text-only menu buttons such as "Sort" or "More" are exempt), idiom:opener-cannot-close (the probe clicks an opener a second time and reports a panel that stays open with no close control within 24px), and idiom:icon-meaning (capture fingerprints each control's icon and reports one icon carrying different meanings across a flow's states, once per icon). Recapture to pick them up; older captures report them unavailable. See rules.
  • Idiom catches a bar drawn with nothing in it, a badge stamped over every rail icon, and the same chip on every row. A 64px header with a bottom border showed nothing across the top of the screen at desktop widths, because its only child was a menu button hidden above 600px, and a navigation rail drew an external-link badge over the corner of every icon. Neither was a finding: the empty-state check only looks at collections, and the overlap check ignores decorative glyphs and boxes inside one another. Now idiom:empty-frame (minor) reports a box at least 48×24px with a border or its own fill and nothing visible inside it, at the viewports where it is empty, and says how many children are hidden there; idiom:glyph-over-icon (minor) reports a glyph or badge under 16px covering more than a quarter of its box over another icon inside a control under 64px, with count badges and status dots exempt; and idiom:repeated-row-ornament (info) reports a chip, badge, icon or mark carried identically by at least 80% of 5 or more items in a list, table, grid, menu or rail, naming it and the count. Values that differ between items, such as a status column, never count. Mark boxes a state shows empty on purpose with the state's intentionallyEmpty selectors, or everywhere with checks.emptyFrame.ignore; turn each rule off with checks.emptyFrame, checks.repeatedRowOrnament or checks.glyphOverIcon. The rules start at minor and info: a sweep over every state of the gate and field fixture apps at phone and desktop widths in both schemes found no false positives (docs/field-test/frame-ornament.json). See rules. Recapture to pick this up.
  • The build gate fails only on problems the build introduces. It compared the build with the recorded baseline, so once the target branch moved past that baseline (other merged changes, or a baseline recorded on a branch that was squash-merged and is no longer reachable), every later build touching the same pages was charged with findings that were already on the target branch. Now idiom check --gate and check --changed judge each finding against the build's base, the merge base with the target branch: present there, it is reported as pre-existing and never fails the gate. The base comes from a recorded baseline that is current (recorded at the base, or with only non-UI changes since), a cached capture of the base shared by every worktree of the checkout, or a fresh capture of just the gated states in a worktree of the base. The plan says which, per flow. When capturing the base would exceed the budget, the gate says so, names how many commits its fallback baseline is behind the base, and compares with that baseline. The new idiom baseline advance [flow] records the target branch's tip in the shared cache after merges or nightly, so most gates need no base capture; --commit-file also writes the committed baseline. JSON adds gate.comparisons and source/base on each summary's baseline, additive at interface version 1. See Gate a build.
  • Internal: development builds write the untracked build/; only bun run build:release writes the tracked dist/ bundle.
  • Code examples no longer read as error leaks or copy defects. Error-text and every copy-lint check share semantic-code, ARIA-code and authored block-monospace exclusions. Repeated-word checks respect balanced quotations and semantic quotes; fresh captures preserve nested quotation context and inline-code boundaries. Unquoted stutters and real error leaks remain detectable. Recapture older observations for precise boundaries. See rules.
  • Record true decision execution actors across CLI, prompts and MCP, with runtime agent labels and an explicit CLI override. Append-only Git-range corrections repair historical attribution without changing judgment semantics; the 367 file-276 decisions are corrected to agent.
  • Digest applied decisions are separated by actor and follow attribution corrections. Field-test precision and gates use humans only, retaining separate agent diagnostics. Learned human-miss counts keep their independent evidence.
  • Interrupting a capture is recorded reliably. Pressing Ctrl-C or sending SIGTERM during a capture could exit before the run was marked interrupted, leaving it shown as still running and losing the interrupted line; Idiom now owns those signals during capture. Two commands recovering the same interrupted run at once could also fail with a raw ENOTEMPTY error; the recovery lock is now released safely.
  • Running out of probe time no longer reads as a crash. When slow captures used up a flow's probe budget before a state's probe started, every control on that state was reported as probe failed: deadline duration must be finite and positive. It is now reported as flow probe time exhausted, like the other states that ran out of time.

Idiom v0.21.0

Choose a tag to compare

@mattskilly mattskilly released this 08 Nov 00:22
  • idiom nightly: a scheduled full check that files new problems into the tracker's triage. Builds check only what they change, and a scheduled full check left its new findings in a report nobody opened; --emit-tickets wrote files, but nothing filed them where the team triages work. Now idiom nightly checks every flow against its baseline (--since-baseline) and files each new finding cluster at or above a severity (--severity, nightly.severity, default major) as a ticket: with autobuild through ab ticket create --state <triage-role state>, labelled idiom (or --label/nightly.labels) plus the finding's category, with the finding ids, evidence paths, the commit range it appeared in and a Done when criterion. Without autobuild it writes the proposals to .idiom/reports/nightly (or --out) and prints the digest. A committed .idiom/filed-tickets.json remembers what was filed, so a cluster already filed is updated in triage, left alone once work has started, and refiled as a regression if its ticket was resolved; acknowledged and rejected findings are never filed, and nothing ever leaves triage. --dry-run previews; exit 2 when a flow could not be checked, 1 when a filing failed. idiom init --nightly now adds a nightly job that runs it with a cached ledger, and every wiring plan prints a cron line and the idiom nightly --print-schedule launchd command. See nightly.

  • Questions only a person can answer are asked, not failed, and the answer is remembered. A gate either failed the build on two references that disagree or an unruled scale value, sending the implementer to "fix" something that may be intended, or passed it silently. Now idiom check --gate exits 4 when explicit reference conflicts or ruling questions are the only gate failures (additive at interface version 1; run errors, default deferral and ordinary findings still take precedence), and its JSON adds decisionNeeded plus a ready-to-answer decisionQuestion. idiom decide --pending [--json] lists open questions; idiom decide --decision <id> records a ruling answer in .idiom/decisions.jsonl, and --build/--escalation record where an answer came from. DESIGN.md rulings and logged answers form one effective law, so a later run does not ask again. The shipped Autobuild gate is now an agent step using the idiom-verify skill: it escalates one numbered question per decision with crops, citations and exact idiom decide commands, applies the operator's explicit answer, commits the memory and asks for re-verification on the new head. Managed setup migrates the old check recipe. Brief ambiguities are not routed yet: the brief contract has no explicit ambiguity marker with a stable identity and answer options. See Pending decisions.

  • Attach a decided brief to an autobuild ticket, and the build is held to it. Autobuild judges every phase of a build against a ticket's design asset, but nothing connected Idiom's decided briefs to it, so builds implemented from prose and code review never saw the decision. Now idiom brief export <slug> --out <dir> writes a self-contained asset (a README with the decision, rejected options and checkable criteria naming the Idiom rule that verifies each, a machine-readable criteria.json, and reference screenshots of every asserted state at every viewport and scheme), and idiom brief attach <slug> --ticket <id> exports it and runs ab ticket attach <id> design, never moving the ticket's state, then records the ticket on the brief. In the build, idiom check --gate checks the asserted states instead of skipping, idiom verify judges them even without embedded findings, and the asset's mismatches always block, naming the brief and asset. MCP gains idiom_brief_export, idiom_brief_attach and ticket on idiom_brief_decide; the idiom-verify skill no longer skips a build carrying an Idiom design asset. See Attach to an autobuild ticket.

  • Interactive init wiring offers short, removable Idiom sections for installed Autobuild plan, implement and code review skills, with exact diffs and one confirmation. Doctor reports each section's health; independent Autobuild upgrades preserve the customizations. See Autobuild configuration.

  • The GitHub Action is cheap enough to leave on for every pull request, push and nightly run. It ran only on pull requests, needed a named flow, and always installed Chromium, ran setup and captured twice even when a PR changed no UI. Now it plans first with the new idiom check --gate --plan-only: a change with no UI exits 0 with no UI changes since <base>; skipped before any browser install, setup or capture. flow is optional: without it the Action checks the flows the change affects, or every flow on a schedule. push compares with the previous commit on the branch (job summary, no comment) and schedule checks every flow against the newest recorded baseline. A runner too busy to finish (exit 3) defers that flow with a neutral check run naming the reason, instead of failing; that check needs checks: write, and without it the Action warns. Setup runs once per revision for all flows, evidence has one directory per flow, and a new outcome output says skipped, deferred, checked or error. See GitHub Action.

  • idiom doctor shows where Idiom runs, and what never fires. A setup with no project file, an Autobuild verifier whose paths never match, or no agent instruction looked the same as a working one. Now idiom doctor and idiom init --validate end with a Where Idiom runs section: one line each for the Autobuild gate step, the Autobuild verifier step, the GitHub workflow, the AGENTS.md, CLAUDE.md and Cursor instructions, Claude Code plugin hooks, Codex MCP and the git hook, marked wired, missing, stale or not applicable, with the exact command that fixes it. Without .idiom/project.json it says hooks and gates are inactive until idiom init runs. It is read-only, uses no network or processes, and never changes the exit code. See Where Idiom runs.

  • idiom init wires Idiom into every place the project builds UI, in one plan you confirm once. Only Claude Code got hooks; Codex, Cursor, Copilot, Gemini CLI and OpenCode had nothing telling them to check UI, plain GitHub projects copied a workflow by hand, and there was no git-hook option. Now init detects AGENTS.md, CLAUDE.md, .cursor/, .github/workflows/, husky, lefthook and autobuild.toml (and notes whether claude and codex are on PATH), prints one plan with exact diffs, and applies it after a single confirmation. It writes a marked Design QA (Idiom) section to AGENTS.md and CLAUDE.md (triage before speccing UI, read idiom context, run idiom check --changed, don't call UI done with blocking findings), a Cursor rule, and .github/workflows/idiom.yml (the Action on pull requests, a full check of every flow on default-branch pushes, optional --nightly). Opt-ins: --git-hook (pre-push idiom check --gate --fail-on blocker in husky or lefthook), --design-review (an Autobuild consent landing rule for tickets labelled design-review). idiom init --wire rewires an initialized project; --dry-run previews; --skip-wiring <surface> leaves a surface byte-identical. Every write is a marked section that reruns update in place and you can delete by hand. The setup prompt and MCP idiom_init report what was detected and left; MCP never applies wiring. --yes now applies the default plan: see upgrading. See init wiring.

  • Autobuild checks ordinary UI changes by default. Interactive idiom init and idiom upgrade offer the deterministic, pathless idiom-check gate with an exact diff. Busy-host deferral warns through --deferred warn; completed real findings still fail. Finding verification is a separate opt-in using a detected project flow and project-derived paths. The legacy ab-verify-idiom skill migrates to idiom-verify with its discovery link and pristine ownership, preserving customization and historical bytes. Conflicting destinations remain untouched.

  • The HTML report no longer crashes on runs with many tall screenshots. It inlined every screenshot, so a flow of long pages at several widths and both schemes made the report longer than JavaScript allows and check failed with RangeError: Invalid string length after capturing everything. Screenshots are now inlined smallest first up to 96 MB; larger ones are linked from the report instead.

  • Internal: idiom.build is now checked by Idiom in this repository's own verify gate.

  • Skill upgrades say what happened to each skill, show the conflict, and idiom init no longer offers to overwrite your verifier. idiom upgrade listed one line per file, so a person or agent had to work out each skill's overall result, and a conflict named the files to compare without showing the overlap. Now each skill starts with one summary line (idiom: merged (2 files), ab-verify-idiom: current) ranked conflicted > merged > resolved > adopted > installed, and an overlapping edit prints the three-way merge with the local, base and incoming sides marked, labelled as not written to disk and capped at 80 lines. A file that is new in a release now reports adopted; installed means a first install. Running idiom init on an existing idiom or ab-verify-idiom skill that differs used to ask whether to replace the verifier, and a yes discarded local edits. It now goes through the same decision as idiom upgrade without a model: adopted, merged, or left untouched and reported as conflicted. See upgrade.

  • **Ol...

Read more

Idiom v0.20.0

Choose a tag to compare

@mattskilly mattskilly released this 06 Nov 04:18
  • Idiom now requires Node 22.12 or newer (the CLI library requires it), and an older Node gets a clear message instead of a module or syntax error. Node 20 reached end of life in April 2026, and Idiom's CI and GitHub Action already run Node 24, so Node 20 was promised but never tested. Within Node 22, commander, the CLI library, requires 22.12. engines.node is now >=22.12. The idiom bin is now a tiny launcher that checks the Node version before loading anything else: on Node older than 22.12, every entry point (the CLI, idiom mcp, the plugin and npx) exits 2 with Idiom needs Node 22.12 or newer; this is Node <version>. Install Node 22.12+ (https://nodejs.org) and run again. on stderr only, so an MCP client's stdout stays protocol-clean. idiom doctor gains a first node step that reports the version. See Troubleshooting.

  • A server left running by a killed run is stopped by the next one. When Idiom was killed before it could stop the application server it started (a SIGKILL, a closed terminal, a CI or agent timeout), the server kept running and kept its port, and the next run failed with port in use or ran against a stale server. Idiom now records each server it starts in .idiom/cache/servers/ and removes the record once the server stops. At the start of the next idiom capture, check, check --gate, review, verify, sweep or doctor in that project, it stops each recorded server whose run is gone and prints one line on stderr, such as Stopped a leftover application server (pid 4321, port 3107) from an earlier run. It stops only servers it started, and only while the pid still runs the recorded command with the recorded start time, so a pid reused by another program is never signalled. idiom doctor --json lists what it found under leftovers. See troubleshooting.

Interface

  • doctor --json gains optional leftovers (additive).

Idiom v0.19.0

Choose a tag to compare

@mattskilly mattskilly released this 04 Nov 03:20
  • 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.
  • ...
Read more

Idiom v0.18.0

Choose a tag to compare

@mattskilly mattskilly released this 03 Nov 18:28
  • New idiom brief decides whether a request holds a design decision before a ticket is written. In a page-editor project, an agent turned "a default Pinned group users can customize" into a ticket that quietly chose a full-size pin button on every tile. The build passed review, tests and every check, and the requester rejected it on sight because it doubled the drawer's height; ten minutes of research afterwards found the small corner icon they chose. idiom brief triage "<request or draft ticket>" applies a shipped, versioned rubric (new controls, placement, hover/touch/keyboard, density, naming, per-item additions, raw URLs or IDs shown to users) with one bounded call to your configured review provider and answers no design decision with a reason, or design decision with the specific open questions, in seconds; --json returns { verdict, reason, questions }, and --no-model prints the rubric and answer shape for the calling agent to apply itself. The agent researches; idiom brief record validates its findings and options (a source URL and hands-on or read on every claim, "nothing found" instead of an empty list, 2–4 options including "don't build it" and the requester's own idea, one recommendation, a cost per option, checkable acceptance criteria) and stores .idiom/briefs/<slug>.json with a rendered <slug>.md under your ticket headings (brief.ticketTemplate, defaulting to What and why, Acceptance criteria, Out of scope, Evidence). idiom brief list and show read them back with their proposed, decided or superseded status. brief.references in .idiom/project.json names the products that set your bar; idiom init now scaffolds it empty. See docs/brief.md.
  • idiom check holds the build to its decided brief. In a page-editor project the requester decided on a small corner pin icon so the Add drawer's tiles would keep their height, and the build that came back gave every tile a full-size pin button below it. It passed every check, because only the brief's own criteria ("tile height unchanged; pin inside the tile") would have failed it. A brief's acceptance criteria may now carry assertions tied to a flow state and a selector: a size (width/height, the flow invariant vocabulary, where the pre-build size says "unchanged"), sameSizeAs a reference element, within another element's rectangle, visibleWithoutHover on touch viewports, stableOnHover (nothing outside the element moves when it is hovered) and minContrast. idiom brief record and decide reject an assertion naming a flow or state the project does not declare. Capture measures the selectors of every decided brief, including elements hidden at rest, and the new brief-mismatch check (major) reports each element that breaks one, naming the brief, the criterion and the measured values, such as .drawer-item height 100, expected 56 (tolerance 1) or .drawer-item .pin extends 44px below .tile. The check summary and report coverage list each decided brief relevant to the flow as checked, not captured, "decided, not checkable" (no assertions) or skipped (decided not to build, or decided on an option the criteria were not written for), with the reason any assertion could not be measured. idiom context lists decided briefs so agents writing code see the decision, the rendered brief shows how each criterion is checked, and idiom learn --from-brief <slug> turns a post-build rejection into state invariants from the brief's size criteria, or a ruling that names the brief; --state comes from the brief when it names one. Recapture after recording a brief. See docs/brief.md.
  • New idiom check --gate is a build gate fast enough to leave on, and every check now says where its time went. In one project a coding agent turned Idiom off in its build pipeline because it slowed every build down; the full daily check there takes about 45 minutes on one flow and 8 on another. idiom check --gate checks only what the change affects, within a budget (--budget 3m, else checks.gate.budgetMs, default 3 minutes). A change to docs, tests, CI config or lockfiles (or checks.gate.nonUi globs) exits 0 in under a second with no UI changes since <base>; skipped, and when the import graph is complete, a module no route reaches counts as non-UI too. Each affected state runs at one viewport and colour scheme unless the change touches responsive or theme styles. The probe clicks the probe's own check candidates and only those other controls that render differently from the newest stored run captured cleanly at or before the base (never an earlier gate round), using per-control fingerprints every probed run now records; the rest are reported as gate: unchanged since <run>. Before any server starts, the gate prints its plan and an estimate from stored timings (1 state × 1 viewport, probe on ≤19 controls (changed region), server started fresh, est. 29s of 3m00s budget). Over budget, it trims ordinary probe controls, widened viewports and schemes, the probe, then the lowest-ranked states, and lists every cut on stderr, in the report under Build gate, and as gate.skippedWork in --json. --reuse-server (or server.reuse: true) captures a dev server already answering at readyUrl, verified against BUILD_ID when one exists. Production flows reuse their build when the working tree's content is unchanged, even on a dirty tree. Every check now ends with one line such as Timing: 2m41s — build reused, server start 12s, capture 1m50s (probe 1m02s), checks 9.0s; slowest: probe, and --json carries the breakdown as timing. On a five-route fixture app (test/fixtures/gate-app, node scripts/measure-gate.mjs), a one-colour change to one component's stylesheet gated in 21s (1 tuple) against 38s for the full 20-tuple check. The autobuild template and both skills now recommend idiom check --gate --fail-on major in builds and a scheduled full idiom check <flow> --since-baseline. They also tell agents to report the Timing: line when Idiom is slow, not to disable it. See docs/commands.md.
  • Idiom opens menus, popovers and disclosures and checks what they reveal. Most real UI bugs live one click deep, and until now no check saw a state no flow opened: an AI panel's Attach menu could stack its Image and Link options as touching bordered buttons, show the browser's raw "Choose file / No file chosen" control, and open over the field row it created, all unreported. The interaction probe now opens every <details>, aria-haspopup and aria-expanded control it reaches (plain positioned div popovers included), follows a menu item that switches it into a new mode one step, and runs the geometry, gap, overlap and native-control checks on what it sees. Findings name where they were found, such as panel › Attach or panel › Attach › Link, and report only what opening it introduced. Two rules are new: idiom:native-control-unstyled (a default file, date, color or range input in product chrome; major for a file input) and idiom:popover-covers-control (an open popover over a field, or over the control that opened it beyond its edge). idiom coverage, coverage --states, --json and the report list the disclosures nothing opened, and why. Revealed observations run inside each control's existing probe budget; checks.probe.maxRevealed (default 12 per state) caps them and checks.probe.disclosures: false turns them off. Recapture to pick this up.
  • Agents reach for idiom brief before writing a UI ticket, and come back with a question you can answer in one click. A brief only helps if an agent uses it unprompted; in the page-editor case the agent never thought to research the control, because nothing prompted it. Triage now returns an id, and idiom brief plan <id> turns its open questions into research instructions: what to check in each reference product (hover, touch, keyboard, small screen, empty and error states), the WCAG and ARIA guidance to look for, a 10-minute, 3–6-search budget, the rules (cite every claim, label it hands-on or read, say "nothing found" rather than guess, and treat "a competitor has it" as a reason to look, not to build) and the exact JSON shape record accepts. record now returns the decision as a ready-to-ask question, recommendation first, shaped for Claude Code's AskUserQuestion, with optional short labels and ASCII sketches. It also says whether the agent may proceed on the recommendation (only when the brief is marked low-stakes and reversible and the recommendation neither overrides the requester's idea nor drops the feature) or must ask. idiom brief decide <slug> --option <id> records the choice and regenerates the ticket-ready Markdown, warning when the choice differs from the recommendation. Four MCP tools (idiom_brief_triage, idiom_brief_plan, idiom_brief_record, idiom_brief_decide) mirror the CLI. The vendored Idiom skill is now model-invocable in project installs, as it already was in the plugin, so agents can load it for any UI work, and it gains a "Before you spec UI" section; its description names the trigger. idiom init and idiom upgrade offer, only when you confirm interactively, to add a two-line instruction to CLAUDE.md or AGENTS.md. In a headless eval with the pinned-group request and no mention of Idiom, Claude Code triaged before writing a ticket in 6 of 6 runs, with or without the instruction. Re-vendor the skill with idiom upgrade. See design decision briefs.
  • New idiom brief gate warns when a ticket adds a design decision without a decided brief. The pinned-group ticket prescribed a guess ("a sibling pin button, visible without hover"), and nothing in the ticket pipeline asked whether anyone had decided it. idiom brief gate <ticket.md ...> checks each ticket when it is written. A ticket that links a br...
Read more

Idiom v0.16.1

Choose a tag to compare

@mattskilly mattskilly released this 30 Oct 19:01

Idiom's MCP tools now work in Codex.

  • Codex gets its MCP server from codex mcp add. Codex starts a plugin's MCP servers inside the installed plugin directory and tells them nothing about your project, so with the 0.16.0 Codex plugin every project tool failed with "no .idiom/project.json found". The Codex plugin now supplies only the Idiom skill, and one more line registers the server, which Codex starts in each thread's project directory: codex mcp add idiom -- npx -y --package=https://github.com/mattskilly/idiom/releases/download/v0.16.1/mattskilly-idiom-0.16.1.tgz idiom mcp. To update, rerun it with the new release. Codex users on 0.16.0 should run codex plugin marketplace upgrade idiom, codex plugin add idiom@idiom and then that line. Claude Code is unchanged.
  • The server never treats its own plugin directory as your project. If a host starts it there, it uses the client's MCP root that contains .idiom/project.json when the client offers roots, and otherwise returns an error naming the fix, without reading or writing the plugin directory. An explicit --project and any ordinary working directory behave as before.

Idiom v0.16.0

Choose a tag to compare

@mattskilly mattskilly released this 30 Oct 17:42

Idiom installs and updates as a Claude Code or Codex plugin, the new idiom upgrade brings a project's Idiom skills up to date without losing your edits, the optional critique can run on Codex, and a round of capture fixes makes reviews more accurate and private.

  • Repository marketplace installation for Claude Code and Codex. Install Idiom by name with its MCP tools and existing skill; Claude Code keeps its UI-edit reminders. Refresh the marketplace and update the plugin to move releases. Both MCP launchers select the exact versioned GitHub release tarball, and release checks reject mismatched package, plugin, catalog and launcher versions. Local --plugin-dir loading remains available for development.
  • Update project skills without losing customization. idiom init records tracked upstream bytes and per-file versions. New idiom upgrade adopts old released templates offline, merges independent edits, and validates tool-free model proposals for overlaps using review’s configured provider. Conflicts preserve the live file and its baseline while other files advance, and return nonzero. --no-agent, --dry-run and --json support manual and scripted workflows; rollback uses the same merge rules. See Update and roll back.
  • Findings are ranked severity first. Every blocker comes before every major, and every major before every minor; within each tier, findings are ordered by how noticeable the problem is and how prominent the element is, as before. Reports, idiom check, idiom quick, MCP and emitted tickets use the same order. Finding sets, scores and severity gates are unchanged.
  • Probe clicks see real scrollbars. During interaction probes and replays Idiom now shows the page's real scrollbar, so it can measure a modal or scroll lock that removes it without compensation. Screenshots still hide scrollbars, so baselines are unchanged. Scrollbar-shift findings stay withheld until they pass the field precision gate; the measurements are recorded in timelines. Probes take about 4% longer.
  • Current model by default. New projects set the optional critique model to claude-sonnet-5-5 instead of claude-sonnet-4-5. Existing projects keep whatever model.model they have.
  • Critique on Codex, with a fallback. Set model.provider to codex to run the optional critique through the authenticated Codex CLI, read-only and with no Anthropic credential. Any provider can name a model.fallback on a different provider; it is used only when the primary fails, and the report and a Warning: line say so. Review, sweep and page review honor the fallback; idiom explore does not and stays on Claude.
  • token-drift sees colours authored in @import-ed stylesheets. Capture now follows readable CSS imports, including nested ones, when recording which properties a page authors. An import whose media or supports() condition does not match the captured viewport and colour scheme is ignored, the same way @media and @supports blocks are. Cross-origin imports are still skipped. Previously, off-token values declared in an imported sheet were silently exempted.
  • Capture follows server.readyUrl's host. Port-collision, port-monitoring and teardown checks use the host from readyUrl, so projects served on http://[::1]:<port> no longer miss a port conflict or report a server as stopped while it is still running.
  • idiom capture --out resolves from where you ran it. A relative --out is resolved from the invoking directory, even when --project selects another directory. The default .idiom/reports/<timestamp>/ still belongs to the selected project.
  • An interrupted capture no longer marks the source dirty. Staging directories left behind by a killed capture into an explicit --out inside the repository are ignored when recording whether the working tree was clean.
  • Setup-derived route values stay out of saved text. When a setup step produces a navigation URL, its path segments are now redacted from saved DOM, console and accessibility text too, including JSON-, HTML- and selector-escaped forms, so a framework that serializes route parameters cannot leak them. Redacted values use one placeholder form, {setup-stdout:id}, in URLs and paths alike.
  • Unresolved colour tokens stop the capture. When a stylesheet declares colour tokens but none of them resolves to a rendered colour, capture fails with a message naming those tokens, instead of continuing with an empty allow-list that would report every colour as drift.
  • Responsive coverage says "not applicable" off the narrowest width. responsive-break only evaluates the minimum captured width; report coverage now shows it as not applicable at other widths rather than as a check that ran. target-size runs at every width and still shows as ran, and the report note no longer says otherwise.
  • Faster capture on large stylesheets. Recording which properties a page authors now indexes rules by their rightmost selector, the way browsers do, instead of testing every element against every rule. Results are unchanged.
  • Plugin installs show one Idiom skill. Claude Code previously listed two idiom skills. Both plugins now load the same portable skill that npx skills add installs, so Claude Code can invoke it automatically instead of only through /idiom.