You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 findings into triage exactly as idiom nightly does (same tracker, severity, labels and .idiom/filed-tickets.json ledger, so nothing is filed twice), advances the baseline when the merge is clean, and runs idiom learn --harvest. It logs one line per merge (--json: one JSON line per event), survives restarts by redoing at most the interrupted merge, and retries a failed merge once. idiom watch --install-service runs it as a launchd agent on macOS or a systemd user unit on Linux; --uninstall-service stops it cleanly and removes it, and --print-service shows the definition. On the fixture, a merge that reintroduced a covered miss was in autobuild triage 7 seconds after it landed. See watch.
Idiom fixes UI regressions inside the build, before the pull request exists. The Autobuild gate only reported, so a director still caught spacing regressions after merge and had to send them back. Now the opt-in idiom-fix verify step runs the gate on the build's change, edits the application source for the three highest-ranked new major findings, re-verifies, and commits what clears, for at most three rounds. A build that touches no UI skips it in under a second. Because Autobuild certifies the head it verified, a step that fixed everything fails with a "fixed in-build" report; the build returns to implement, which keeps the commits, and the next verify cycle passes. What it cannot fix fails the step with a short summary, at most 15 lines, one line per finding with its selector, state, viewport, measured value, the rule in the director's words and a suggested fix; the full transcript and crops attach to the PR. idiom init --wire and idiom upgrade offer it as a one-line skill = "idiom-fix" swap on the existing gate step and install the skill. New flag idiom check --gate --handoff <dir> writes the structured, ranked handoff each round; --json adds an optional handoff field. See fix findings inside the build and the fixture build evidence.
The gate's baseline advances on every clean merge, with nobody remembering to run it. On a project merging about ten times a day, idiom baseline advance was manual, so the gate found no baseline at the base and fell back to gating every open finding. Now idiom baseline advance with no flow advances every flow that needs it and is safe to run unattended. A flow a stored record already covers by the gate's own rule is current and captures nothing. Otherwise only the tuples the target commit declares are captured, and a record is written only when every one succeeds. A failed or partial capture writes nothing, keeps the previous baseline, prints idiom: baseline advance failed for <flow> at <sha>: <reason>; the previous baseline is unchanged and exits 2. Advances are serialised by a per-project lock (--wait, default 30m), and an advance for an older commit never overwrites a newer record (superseded). --fetch fetches the target first. idiom init and idiom upgrade offer it as an Autobuild finalize step (the autobuild-baseline wiring row), and idiom init --wire --advance-baseline adds a GitHub job that advances the committed baseline on every push to the default branch and pushes it. Interface: baseline advance --json (experimental) now returns { target, commit, fetched?, cachePath, flows: [...] } with a per-flow status, instead of one flow's fields. See advancing on every merge.
idiom brief list --json --array is gone, as promised in 0.23.0. It was deprecated in 0.23.0 for removal in this release. Scripts still passing --array now exit 1 with a message naming idiom brief list --json and .briefs, the replacement, instead of a generic unknown-option error. brief list --json is unchanged. See upgrading.
Unattended runs never fail quietly.idiom nightly, idiom check --gate and idiom verify run on schedules, in CI, in hooks and as Autobuild verify steps, where nobody reads the output. Three setup breaks used to make them pass or exit quietly: the app would not start, no usable baseline was reachable, or a state's expect no longer matched. Each now exits 2 with one line per cause, idiom <mode>: <cause>: <subject>: <what happened> — fix: <how>, and files one triage ticket per cause through ab. Later runs update that ticket rather than filing again, and a run that covers the cause adds a Cleared: line. A state whose expectation stopped matching is reported as broken coverage and is no longer counted as reviewed. A gate with neither a baseline nor a base capture now exits 2 instead of gating every open finding. idiom doctor lists open conditions. The new unattended setting (tracker: auto, autobuild or off; labels) and IDIOM_UNATTENDED_TRACKER choose where the gate and verify step file. See unattended runs.
The gate covers the changed surface within 3 minutes, even on a busy machine. On a single-route app every state shares the route, so the gate could not tell which states a change touched. It now reads the classes, ids, test ids and component names in the changed lines, and keeps the states whose newest capture rendered them. It names a reason for every state it skips, and warns when a change touches a component no state renders. Flows that can share one server share one for the head and one for the base. The gate prints its own Timing: line (server start, base capture, captures, probe and checks), and --json carries it as timing.gate. On a 16-state fixture under load, a toolbar colour regression was reported in under 3 minutes.
idiom brief lint flags acceptance criteria that cap a number with nothing holding the other side. Build agents meet the numbers in acceptance criteria and nothing else. A chip capped at "adds at most 64px to the toolbar" was squeezed with negative word-spacing until it touched its neighbour, and the criterion still passed. idiom brief lint <ticket.md ...> (experimental, no model, no network) warns when a criterion caps a size, time, count or length with no floor or observable outcome. It quotes the criterion and suggests paired criteria, using the project's own numbers when it has them. --strict fails on warnings and --json is supported. Tooling caps ("the test suite times out after at most 30s") are not flagged. The Autobuild template shows how to run it while grooming and in plan-review. See lint acceptance criteria.
A large baseline capture that stops near the end keeps its work. A flow with more than 35 states ran out of capture.maxMinutes during the final secret scan and recorded nothing. idiom baseline record <flow> --resume (and baseline accept --resume, and the idiom_baseline MCP tool's resume) now continues the newest interrupted capture at the same commit and configuration. It keeps every tuple whose evidence was final, captures the rest, and records one baseline. A stopped capture says how many tuples it kept and prints the command. The optional capture.stateMaxMinutes limits each state's own time, so one slow state fails alone and the rest still record. baseline record prints its slowest tuples with capture, probe, artifact, secret-scan and check times, and the timeout message names the slowest steps so far. The secret scan no longer searches the same bytes twice against the same secrets. See a capture exceeded capture.maxMinutes.
An old run folder no longer fails a check over finding names. A three-day-old run left in a long-lived worktree carried names that the current .idiom/finding-names.json had since changed. idiom check --gate then refused in seconds with conflicting finding names and suggested restoring a registry that was already correct. When a local registry exists, older run folders now yield to it: a folder with a conflicting record is left out and named in one warning, and the check runs. Conflicts in the run under review, decisions or tickets still refuse, and the fix line names the file actually in conflict.
A 1.0 migration guide.Migrating to 1.0 says what 1.0 promises, what changed since the last 0.x release, and how to move each project, plugin and MCP client, including how to roll back. Upgrading and stability link to it.
Interface
checks.negativeSpacing gains optional displaySize and displayTracking. Interface version remains 1.
Flows and web states gain the optional intermediateWidths field; run.json viewport and tuple-timing entries gain an optional intermediate: true; check --jsontiming (and the gate's timing.gate) gain an optional intermediateWidths breakdown; toolbar-layout observations gain an optional fill; coverage --states --json flows gain an optional intermediateWidths. Interface version remains 1.
learn --replay --json (experimental) replaces notCaught with missed, unmeasured, measured, catchRate (null when nothing is measured) and unmeasuredBy, and gains newestRuns; records[].status is caught, missed or unmeasured, records[].reason is now an unmeasured reason code (no-check, proposed, undeclared, no-run), and the human text moved to records[].detail. A replay that measures nothing exits 1. Interface version remains 1.
learn --import --json skipped rows gain the code ambiguous-flow. Interface version remains 1.
upgrade gains --yes and --skip-wiring <surface>. The upgrade report's autobuild and baselineAdvance kinds gain skipped. Interface version remains 1.
brief list --json --array, deprecated in 0.23.0, is removed; --array now exits 1 naming brief list --json and .briefs. brief list --json is unchanged ({ interfaceVersion, briefs }). Interface version remains 1 because the payload was experimental.
New experimental command brief research with the experimental brief comparables JSON output (brief research --json); brief.references[].pages is a new optional configuration field. Interface version remains 1.
fix is promoted from experimental to stable. Interface version remains 1.
ruling is promoted from experimental to stable. Interface version remains 1.
baseline advance is promoted from experimental to stable. Its options --commit-file, --fetch and --wait stay experimental, and its --json payload stays experimental. Interface version remains 1.
design and design add are promoted from experimental to stable. Interface version remains 1.
reference, reference add, reference list and reference remove are promoted from experimental to stable. Interface version remains 1.
Every experimental command now has a one-line reason in stability, and an option a stable command does not promise yet is named there.
check --gate --json adds an optional handoff field (dir, round, next, targets, summaryPath) with the new --handoff <dir> flag, in its skipped and ran forms (additive, stable-additive). Interface version remains 1.
New experimental commands watch, scorecard, escalations and brief lint, each with an experimental --json payload (watch --json, scorecard --json, escalations --json, brief lint). New optional configuration: escalations.watch. Interface version remains 1.
init gains --advance-baseline. Interface version remains 1.
baseline record and baseline accept gain --resume; the idiom_baseline MCP tool gains an optional resume input. capture.stateMaxMinutes is a new optional configuration field. Interface version remains 1.
check, check --gate and nightly --json gain an optional conditions array (key, cause, line), and check --json an optional brokenCoverage. Nightly adds conditionOutcomes. doctor --json, init --validate --json and the idiom_doctor MCP output gain an optional conditions array. The project file gains the optional unattended section (tracker, labels). A gate with no reachable baseline and no base capture now exits 2, an existing exit code. Interface version remains 1.
New rule toolbar-layout (idiom:toolbar-wrap, idiom:toolbar-off-centre, idiom:toolbar-odd-control) with the optional checks.toolbarLayout configuration (selectors, scopes, centreTolerance). Interface version remains 1.
check --jsontiming gains an optional gate breakdown. Interface version remains 1.