Skip to main content
Your team writes its architecture decisions down, and each decision comes with a rule file the checks read. While your coding agent works, the plugin briefs it on the rules for each file it reads, checks its plan before you approve it, and checks its changes at the end of every turn. A conflict goes back to the agent with the rule and the reason, unless you override that rule.

The parts

The checks, actual rules and the rule briefs need no Actual AI account. Sign in when you want to manage your organization’s decisions from the terminal or ask the Advisor.

A turn in Claude Code

  • As the agent reads a file, the plugin runs actual rules brief and puts the rules that govern that file in front of the agent before its first edit. A file the agent writes without reading first, usually a new one, is briefed when it writes it. Briefing is advisory and never blocks. Rule briefs covers it.
  • When the agent leaves plan mode, the plugin runs actual plan-check on the plan before you see Claude Code’s approval dialog. A plan that conflicts with a rule goes back to the agent with the reason.
  • At the end of every turn, the plugin runs actual impl-check on the turn’s changes, committed ones included. A conflict sends the agent back to fix it, and the turn continues until the check passes.
  • When a check denies, Claude Code asks whether the agent should revise or whether you override the rules it denied, and why. With the dialog turned off, or for an unattended agent, the agent revises on its own. You can also type /actual-cli:override <rule-id|all> [code] [reason] at any time. Only you can override; the agent can’t record one from its shell. Overrides covers the choices.
In Codex the same checks run with a few differences, the main one being that a plan is checked when the Plan-mode turn ends, so you see its first draft. Codex lists them.

Outside the agent

The CLI doesn’t run until you call it in a terminal or CI. There, you run the same checks yourself:
Plan and change checks explains how a check picks rules and what its outcomes mean, and Unattended agents and CI covers running them in a pipeline.

Staying out of the way

  • In a repository with no rule files under .actual/rules/, the plugin does nothing.
  • If the CLI is missing, outdated or crashes, you get a message, not a block. The checks fail open.
  • A rule that stays unresolved stops blocking after three denied rounds in a session.
  • An override clears a rule at both checks for the rest of the session.