Skip to content

Idiom v0.24.1

Latest

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.