idiomDocs
Menu

Concepts · Memory

Memory

Idiom remembers what you decided, in your repo, so a settled finding doesn't come back and the next agent starts from your judgment instead of from zero.

Decisions

idiom decide accepts or rejects a finding, with a reason, or acknowledges one that is tracked somewhere else.

  • Accept marks it as work worth doing. Accepted findings become paste-ready instructions (idiom instruction), repair tickets (idiom tickets) or input to idiom fix.
  • Reject dismisses that occurrence. --scope rule suppresses the pattern in every later run.
  • Acknowledge (idiom decide finding-12 --ack ABC-123) says it is a real problem, tracked in your own tracker. It stays visible in every report, marked acknowledged (ABC-123), but no longer fails --fail-on or counts as new. It lapses when you run --unack, when an optional --until date passes, when the finding gets worse or changes rule, or, for a ticket in the project's local ticket tracker, when that ticket is done. Then it counts again, and idiom check says why.

So reject means "not a problem", accept means "fix it here", and acknowledge means "a known problem, handled elsewhere: stop failing on it for now".

Decisions live in .idiom/decisions.jsonl. Commit it with your code.

Rulings and design law

Some questions a review can't settle on its own: "you style inputs three ways; which is law?", or "17px padding appears 34 times; add a step to your scale or keep reporting it?". These arrive as rulings. idiom ruling records your answer in DESIGN.md, your product's design law, so it becomes a rule rather than a one-off fix.

idiom learn "<observation>" does the same for a problem a person found and Idiom missed: it turns it into a new check or a ruling, and shows the diff first. A measurable law, such as "nothing in a toolbar sits closer than 4px", configures the check that measures it, scoped to the surface it names, so the next idiom check enforces it at the exact pixels. Plain words or an annotated screenshot are enough: learn finds the flow state they apply to, or drafts one for you to add. idiom learn --harvest collects the UI corrections you already wrote in build escalation answers and pull request reviews as open misses, and idiom learn --confirm turns their rule candidates into rules after you see each diff. Agents record a catch the moment you say it with the MCP tool idiom_learn. idiom learn --import misses.md loads a whole table of past misses at once, and idiom learn --replay misses reports how many of them the latest checks now catch.

Handing it on

idiom context prints the accumulated brief (design law, rulings, prohibitions, tokens, open work), sized to paste into any agent before it writes UI. Over MCP, agents fetch it themselves.

idiom system opens your design system as one visual page: the token palette, the colors and type that actually shipped, your rules and rulings, and your standing rejections with their evidence.