Repository navigation
Idiom v0.21.0
-
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-ticketswrote files, but nothing filed them where the team triages work. Nowidiom nightlychecks 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 throughab ticket create --state <triage-role state>, labelledidiom(or--label/nightly.labels) plus the finding's category, with the finding ids, evidence paths, the commit range it appeared in and aDone whencriterion. Without autobuild it writes the proposals to.idiom/reports/nightly(or--out) and prints the digest. A committed.idiom/filed-tickets.jsonremembers 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-runpreviews; exit 2 when a flow could not be checked, 1 when a filing failed.idiom init --nightlynow adds a nightly job that runs it with a cached ledger, and every wiring plan prints a cron line and theidiom nightly --print-schedule launchdcommand. 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 --gateexits 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 addsdecisionNeededplus a ready-to-answerdecisionQuestion.idiom decide --pending [--json]lists open questions;idiom decide --decision <id>records a ruling answer in.idiom/decisions.jsonl, and--build/--escalationrecord 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 theidiom-verifyskill: it escalates one numbered question per decision with crops, citations and exactidiom decidecommands, 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
designasset, but nothing connected Idiom's decided briefs to it, so builds implemented from prose and code review never saw the decision. Nowidiom 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-readablecriteria.json, and reference screenshots of every asserted state at every viewport and scheme), andidiom brief attach <slug> --ticket <id>exports it and runsab ticket attach <id> design, never moving the ticket's state, then records the ticket on the brief. In the build,idiom check --gatechecks the asserted states instead of skipping,idiom verifyjudges them even without embedded findings, and the asset's mismatches always block, naming the brief and asset. MCP gainsidiom_brief_export,idiom_brief_attachandticketonidiom_brief_decide; theidiom-verifyskill 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 newidiom check --gate --plan-only: a change with no UI exits 0 withno UI changes since <base>; skippedbefore any browser install, setup or capture.flowis optional: without it the Action checks the flows the change affects, or every flow on a schedule.pushcompares with the previous commit on the branch (job summary, no comment) andschedulechecks 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 needschecks: write, and without it the Action warns. Setup runs once per revision for all flows, evidence has one directory per flow, and a newoutcomeoutput saysskipped,deferred,checkedorerror. See GitHub Action. -
idiom doctorshows 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. Nowidiom doctorandidiom init --validateend 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, markedwired,missing,staleornot applicable, with the exact command that fixes it. Without.idiom/project.jsonit says hooks and gates are inactive untilidiom initruns. It is read-only, uses no network or processes, and never changes the exit code. See Where Idiom runs. -
idiom initwires 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 detectsAGENTS.md,CLAUDE.md,.cursor/,.github/workflows/, husky, lefthook andautobuild.toml(and notes whetherclaudeandcodexare onPATH), prints one plan with exact diffs, and applies it after a single confirmation. It writes a marked Design QA (Idiom) section toAGENTS.mdandCLAUDE.md(triage before speccing UI, readidiom context, runidiom 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-pushidiom check --gate --fail-on blockerin husky or lefthook),--design-review(an Autobuild consent landing rule for tickets labelled design-review).idiom init --wirerewires an initialized project;--dry-runpreviews;--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 MCPidiom_initreport what was detected and left; MCP never applies wiring.--yesnow applies the default plan: see upgrading. See init wiring. -
Autobuild checks ordinary UI changes by default. Interactive
idiom initandidiom upgradeoffer the deterministic, pathlessidiom-checkgate 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 legacyab-verify-idiomskill migrates toidiom-verifywith 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
checkfailed withRangeError: Invalid string lengthafter 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 initno longer offers to overwrite your verifier.idiom upgradelisted 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 reportsadopted;installedmeans a first install. Runningidiom initon an existingidiomorab-verify-idiomskill that differs used to ask whether to replace the verifier, and a yes discarded local edits. It now goes through the same decision asidiom upgradewithout a model: adopted, merged, or left untouched and reported as conflicted. See upgrade. -
Older Idiom versions keep working when a teammate's newer Idiom writes a record type they don't know. Acknowledgements added
acknowledgeandunacknowledgelines to.idiom/decisions.jsonl, and an Idiom from before them refused to read the whole log, so one teammate or CI runner on an older version broke as soon as anyone acknowledged a finding. Now readers ofdecisions.jsonlandlearned.jsonlskip a record whose type they don't know, keep every other record, and print one note per command on stderr:Skipped 3 decision records written by a newer Idiom (types: acknowledge). Upgrade to use them.Malformed lines and invalid known records still fail. Commands that write these files keep skipped lines byte for byte. See Records a newer Idiom wrote. -
idiom contextselects app-screen or page-composition guidance from the named flow kind and project page profile, with precise labels for existing checks. -
Brief plans prepare real screen inventory and every block/item state before options, including named opened states. Optional
screenQuestionandinventorypersist in brief records; JSON/MCP plans addinventoryInstructionsandstateChecklist. -
The Idiom skill and pipeline recipes bound authorized repairs to the top three findings per round and three rounds, reporting remaining findings without weakening completion gates.
-
See what humans found that Idiom missed, and whether it is covered yet. A heavy user's team kept finding design problems by hand without a way to tell whether Idiom was catching up. Check summaries, reports and
idiom digestnow count logged, covered and open human-found misses, with counts and open entries in check/digest JSON.idiom learn --listshows each entry's status; a later matching rule finding on the same flow and state covers it automatically, or--covered <id> --by <rule|fixture>records coverage explicitly inlearned.jsonl.--fixture <id> --out <dir>exports an open miss's captured DOM snippet and expectation skeleton for your own regression tests. See learn. -
Detect blank previews and loading feedback that never resolves. New minor rules
idiom:visual-blankandidiom:loading-stuckinspect lone media and persistent spinners, skeletons, busy regions and indeterminate progress. Screenshot evidence and continuous interval histories support offline review and conservative rechecks. Configurechecks.visualBlank(including colour-swatch selectors),checks.loadingStuck, stateloadingSettleMs(default 5000 ms) orloading: truefor intentional loading. Primary capture reaches DOM readiness even with hung image/iframe requests. The loading window overlaps existing visual settling; normal captures may take up to five additional seconds. These configuration fields, categories and optional V2 evidence are additive to interface version 1. -
Console findings name the failed request, keep the server's side, and resolve CSP errors to the element. A heavy user's run reported two
Failed to load resource: … 500findings with only a screenshot: the failing URL was inconsole.jsonlbut not the finding, and nothing showed why the server answered 500. Another was a Content Security Policy error onabout:srcdocwith a line number and nothing naming the component. Now a failed sub-resource's finding leads with its request, such asGET /preview/123?thumbnail=1 returned 500, taken from the network record with secret-named query values redacted. For a server Idiom starts, its stdout and stderr are kept inserver.login the run directory (2 MB cap, redacted, never sent to a model provider), and a 5xx finding attaches up to 20 lines from 2 s before the request to 2 s after its response. CSP violations are recorded in every frame, srcdoc ones included, and name the directive, the blocked resource orinline, the element and the owner iframe. Finding identities for these console errors change. See rules. Recapture to pick this up. -
Declare exact component heights and spacing.
checks.componentsnow accepts width, height or both, with optional names and exact one-axis pixel or ratio tolerances. Newchecks.spacingTargetschecks gaps between two selectors or consecutive visible direct children;idiom:spacing-targetis major by default. Captures save measurements for offline review. The configuration guide andidiom initsetup prompt now show how to capture opened drawers, dialogs and menus. -
Interaction geometry excludes closed/transparent/off-screen menus from adjacent gaps, measures field-label gaps from text fragments, and counts real delayed disclosure effects inside popper wrappers. Card-owned actions now support grid stacking, edge overhangs and partial-cover links; ambiguous patterns report once per card group as info. Buried and cross-card obstructions still report.
-
New minor
idiom:detached-flyoutfinding measures disclosure panels more than 24px from their trigger's nearest edge. Recapture to obtain panel geometry. -
A killed run says so, and keeps what it finished. A heavy user's laptop restarted during a run; Idiom left no report directory and printed nothing, so nobody knew the run had died or how far it got. Each run's report directory now exists from its first second, with
run.jsonsayingstatus: "running", the run id, the commit and the planned tuples, and each tuple is added tocompletedTuplesas its evidence is saved. OnCtrl-CorSIGTERMIdiom keeps the finished tuples, marks the runinterrupted, printsInterrupted: run <id> kept 7 of 20 tuples (unverified).and exits non-zero. After a hard kill, the next command that lists runs marks the orphaned run and printsRun <id> was interrupted (process gone) after 7 of 20 tuples.once. Reports, decisions, baselines and MCP read only complete runs. Interrupted runs cannot be resumed. See troubleshooting. -
Failed tuples no longer void the first check. When
checkrecords the first baseline automatically, three timed-out tuples out of 120 used to throw away the review of the other 117. It now reports the findings for the successful tuples, lists the failed ones as coverage gaps, records no baseline, and exits 1 (even with--fail-on never) withBaseline not recorded: 3 of 120 tuples failed (<list>). Findings for the other 117 are above.MCPidiom_check, named-flow andchanged, returns the same partial findings with the failed tuples listed instead of an error. See check. -
The probe now tests that what it opens also closes. A heavy user found by hand that a drawer's "Start from…" menu stayed open on clicks outside it and on clicks into the page's canvas iframe; it closed only through its own trigger. Idiom pressed Escape only to reset its own state and never judged dismissal. Now, for each popover, menu or dialog a probe click opens, it presses Escape, clicks an empty point outside, and clicks into a visible same-origin iframe when there is one, reopening the panel between tests. A panel that stays open is
idiom:popover-not-dismissed(major, categorypopover-dismissal), naming the iframe when that was the click it ignored; Escape that closes the panel but drops focus to the page body or elsewhere isidiom:focus-not-returned(minor, categoryfocus-return). In-flow panels such as accordions are not popovers and are not tested. Alert dialogs,<dialog closedby="none">, and modals matched by a flow's newexplicitDismissselectors are exempt from the clicks, not from Escape. At most 12 overlays per state are tested inside each control's budget, and probe coverage reports the ones not reached. See rules. Recapture to pick this up. -
Baseline captures work in busy checkouts. Optional
baselines.ignoreDirtyrepository-root globs exclude safe tracker/scratch changes while recordingsource.ignoredDirtyPaths; validation rejects discoverable build inputs and broad exclusions. Source changes after capture starts mark provenance dirty, withsource.changedDuringCapturewhen HEAD moves.captureandcheck --ref <commit-ish>build a fixed committed revision in an owned temporary worktree, install its dependencies and keep reports, decisions and baseline state in the invoking checkout. Worktrees are cleaned on completion or interrupt. These config fields, flags and optional metadata are additive to interface version 1. See Baselines and fixed-commit capture. -
Acknowledge a finding that is tracked elsewhere, so it stops failing the gate until that work is done. A finding already ticketed in your own tracker, or a known issue you are not fixing yet, counted as new and failed
--fail-onon every run, so a busy project's check never went green and its baseline never moved.idiom decide finding-12 --ack ABC-123 [--note <text>] [--until <YYYY-MM-DD>]records an acknowledgement: the finding stays inreport.md, the HTML report andcheckoutput, markedacknowledged (ABC-123)and listed underAcknowledged (not counted), but no longer counts toward--fail-on,blockingor the new count in any check mode,review --since-baselineorsweep. It is not a judgment: it never accepts or rejects. It lapses, andchecksays why, when you runidiom decide finding-12 --unack, the day after--until, when the finding becomes more severe or moves to a different rule, or when the reference is a ticket in the local ticket tracker that reaches done (finding-12 was acknowledged for file-1592, which is now done; it counts again.). Remote trackers are not queried.decide --listshows each acknowledgement and whether it holds, anddecide <finding>now works as a shorthand for--finding. Over MCP,idiom_decidetakesdecision: "acknowledge"with areference, or"unacknowledge". See Reject, accept or acknowledge. -
idiom digest: a short daily summary instead of a 300-line report. A PM agent triaging a scheduled check had to read the whole report to learn whether anything changed, which on a bad day took longer than the findings were worth, and on a quiet day never said "nothing new".idiom digest [flow]compares the latest full check of a flow with the previous complete one, not only the baseline, and prints at most 25 lines: a verdict (Nothing new since <run>, <time>.or3 new, 1 fixed since <run>.), failed, interrupted or busy-host tuples, one line per new finding at major or above and per fixed finding, then counts for the rest. Acknowledged and rejected findings only appear in the counts, and findings at a coordinate either run failed to capture are counted as not compared rather than new or fixed.--since <run|date>picks the comparison, and--jsonreturns the same structure with complete lists. It only reads files: eachchecknow writes a smalldigest.jsonrecord in its run directory. The docs show the scheduledcheckthendigestrecipe and a gate step that prints the digest on failure. See digest. -
Tie a new finding to the commits and ticket that introduced it. A heavy user wanted each design regression handed to the build that caused it, but findings recorded only when they were first and last seen, so finding the change meant reading history by hand. Now, when
checkfinds something new against the previous complete check of the flow, the report,idiom digestandidiom decide --listsay which commits it appeared between (appeared between abc1234 and def5678 (4 commits)). Within that range Idiom lists the commits whose files map to the finding's state, using the same mapping ascheck --changed. When only one qualifies it sayslikely introduced by def5678 "<subject>", with any ticket id from the commit message or a merge's pull request title (patternattribution.ticketPattern, default[A-Z]+-\d+|file-\d+). To find the exact commit,idiom bisect <finding>captures only that finding's state at commits in the range, in detached worktrees, and reports the first one where it appears. It never touches your checkout or run history. See Where a new finding came from and bisect. -
Top issues rank by impact within a severity. A finding that appears in several states or viewports, sits on a primary action or region, targets an interactive control, or is broken behaviour now ranks above single-state cosmetic findings of the same severity, even when the cosmetic one scores higher. Severity still comes first, and scores are unchanged. The same order applies to the report,
sweep, tickets andidiom digest. See Ranking.
Interface
-
Additive wiring and doctor surface IDs:
autobuild-plan,autobuild-implement,autobuild-code-review. Interface version remains 1. -
idiom doctor --json,idiom init --validate --json, MCPidiom_doctorandidiom_readygain an additivesurfacesreport (root,initialized,notice?,ms,entries[]). Interface version remains 1. -
Additive
check --deferred fail|warn:failretains default exit 3; opt-inwarnpreserves deferred JSON/evidence, warns on stderr and continues severity gates. Exit 2 remains a failure. Interface version remains 1. -
Upgrade reports gain optional
autobuildoutcomes and proposed config/migration previews. JSON, dry-run and noninteractive upgrades do not approve wiring changes. Current verifier identity/path becomesidiom-verify; historical release blobs stay immutable. -
idiom upgrade --jsongainsskills[](name,outcome,files) and an optional per-fileconflictText(additive). -
A file added upstream since the installed release now reports
adoptedduring an upgrade instead ofinstalled;installedmeans a first install. -
idiom_initstructured output gains an optionalskillsarray when init upgraded existing skills in place (additive). -
The init confirmation kind
replace-autobuild-skillis removed; init no longer replaces a differing verifier skill. -
Readers of
decisions.jsonlandlearned.jsonlskip records of unknown type; adding a type to these files is additive (interface version unchanged). -
Additive
infofinding severity anddetached-flyoutcheck/category; interface version is unchanged. Info persists in normal records and reports, sorts below minor, and is excluded from severity gates and digest alerts. -
console.jsonlrecords gain optionalrequest.method,request.url,request.status,request.at,request.endAtandcsp; finding evidence gains an optionalserverLogExcerpt; capture runs gain an optionalserver.log(additive). -
Version-1
run.jsongains optional lifecycle fieldsstatus,runId,owner,startedAt,updatedAt,endedAt,completedTuplesandinterruption(additive). A record withoutstatusis a legacy completed run. Report directories now appear when a run starts; readers that list runs skiprunningandinterruptedones. -
check --jsonandidiom_checkgain optionalcaptureFailuresandbaselineNotRecorded(additive). A first check with failed tuples exits 1 with these fields instead of failing withautomatic baseline needs a successful capture. -
New experimental
idiom digest [flow] [--since <run|date>] [--json]command and its experimentaldigestJSON payload (additive). -
Each check's run directory gains an experimental
digest.jsoncapture artifact (additive). -
New experimental
idiom bisect <finding> [--json]command and its experimentalbisectJSON payload (additive). -
idiom decide --listgains--json, an experimentaldecide --listpayload ({ lifecycles }, each with an optionalintroduced);--jsonwithout--listis an error (additive). -
Each check's run directory gains an experimental
attribution.jsonartifact (additive).digest --jsonitems gain an optionalintroduced, and each flow gainsattribution(previousCommit,commit, ornull) (additive). -
.idiom/project.jsongains an optionalattribution.ticketPattern(additive). -
check --jsonissues[]gainimpactandimpactReasons;sweepproposals gainimpact(additive). -
Finding order within a severity changed (impact before score). Ranking is not frozen and can change between releases.
-
Additive: optional component
name,widthandheight(at least one dimension required),checks.spacingTargets, thespacing-targetcheck/category andidiom:spacing-targetrule. V2 observations gain optional spacing evidence and support one-axis component targets. Existing two-axis declarations and old artifacts remain valid; recapture to collect spacing evidence. -
.idiom/decisions.jsonlgainsacknowledgeandunacknowledgelines (additive). Idiom versions without this feature refuse to read a decision log that contains them, so upgrade every checkout and CI runner that reads the log before acknowledging a finding. -
findings.jsonfindings gain an optionalacknowledgement(additive). -
check --jsonandreview --since-baseline --json(comparison) gainacknowledgedFindingsandacknowledgementLapses; summary findings gain an optionalacknowledged(additive). -
idiom_decidegains theacknowledgeandunacknowledgedecision values and optionalreferenceanduntilinputs;idiom_checkresults addcounts.acknowledgedand, when present,acknowledgedFindingsandacknowledgementLapses(additive). -
idiom decidegains an optional[finding]argument and--ack,--unack,--noteand--until(additive). -
Navigation and readiness timeouts get one retry after the other tuples, with doubled deadlines. Exhausted timeouts on a busy host produce one deferred review result with load/cores or ready-URL slowdown evidence and the uncaptured state list. Idle-host timeouts remain blockers; recovered captures pass normally. Reports record retries and cropped screenshots. Full-page screenshots are capped at 16000 CSS px by default, with a configurable cap and per-state screenshot timeout. Probes that reach no evidence because the state timed out recommend an idle-host re-run.
Interface
- Additive at interface version 1:
checkexit 3 for host deferral, optionalverdict: "deferred"andtimedOutTuplesJSON fields, propagated by changed/gate checks even with--fail-on never. An incomplete first review skips automatic baseline initialization. - Optional inputs:
capture.hostPressureThreshold,capture.maxFullPageHeight, and web/Electron statescreenshotTimeoutMs. Version-1 run records gain optional host, retry and deferred-coordinate evidence; screenshot geometry gains optionalcroppedFromHeight.