plan-check or impl-check denies, the agent goes back to revise. When the denial is wrong, or you’re going ahead anyway, you override the rule for the rest of the session and record why. Only you can: the CLI refuses an override that comes from the agent’s own shell.
Denials and their limits
In Claude Code, a plan that conflicts with a rule is denied before you see the approval dialog, and changes that conflict are denied at the end of the turn. The conflict goes back to the agent with the rule and the reason, and the turn continues until it’s fixed. Two limits keep governance out of the way of unrelated work. A rule stops blocking after three denied rounds in a session, counted per rule, so a new conflict always gets its own three. When the CLI is missing, outdated or fails, you get a message instead of a block. The round limit is set byACTUAL_PLAN_CHECK_MAX_ROUNDS for plans and ACTUAL_IMPL_CHECK_MAX_ROUNDS for changes, and must be at least 1.
The dialog in Claude Code
When a gate denies, Claude Code asks what should happen in its own select dialog:- Revise the plan to conform, the recommended choice, sends the agent back to fix it.
- Override all overrides every rule that gate is blocking now, never a rule only the other gate is denying.
accepted; anything else you type there is kept as your reason. The override is then recorded, and the plan goes on to its approval, or for a denied change, the turn ends.
Anything you type under Other in the first question goes to the agent as your answer. If you dismiss either question, nothing is overridden and the agent relays the denial.
The dialog needs the plugin’s mod, which loads on Claude Code 2.1.287 or later. To let the agent revise on its own without asking, turn off Governance: ask how to handle a denial under /plugin, or set ACTUAL_OVERRIDE_DIALOG=off. The unattended setting turns the dialog off too.
Override from the prompt
Type the command as a message at any time, which is also how to override some of the rules a gate is blocking and not others:allcovers the rules the checks are blocking now. A rule id is the one the deny message prints.- A named rule that isn’t blocking is still overridden, and the reply says so.
- The first word after the target is read as the code, when it’s one of the five below. The code and the reason are both optional.
- Use the full name. Claude Code registers plugin commands only under the plugin’s prefix, so a bare
/overridecomes back as an unknown command.
Reason codes
A reason that doesn’t start with one of the five codes is recorded with the code
other. Telemetry sends the code. For an other override from a signed-in run, it also sends the typed reason, with anything that looks like a secret replaced by [redacted] and cut to 280 characters, and Actual AI shows it only to your organization’s admins. Words you type after one of the five codes stay on your machine. Your reason does come back to the agent, though: later checks in the session repeat it in what they return, so it can reach the provider running your agent. Keep secrets out of it. Privacy and telemetry has the details.
Override from a terminal
When the dialog and the slash command aren’t available, because the mod didn’t load or the CLI is older, runactual check-override from an ordinary terminal:
The command runs only with a person at it: standard input has to be a real terminal, and the process can’t carry Claude Code’s
CLAUDECODE or CLAUDE_CODE_ENTRYPOINT markers. A command refused from Claude Code’s integrated terminal works from a separate terminal.
Override lifetime
An override applies to both gates for the rest of the session, in the governed context it was made for: the session id together with the rules directory. A new session starts with every rule in force again.The override log
Every round and every override is recorded in~/.actualai/actual/plan-check-overrides.log, with how each override was issued (terminal, session_prompt or session_dialog), its code and reason, and which gate was blocking the rule. The CLI keeps the file readable only by you. The session’s own record, under ~/.actualai/actual/plan-check-sessions/, holds the reason and code too.
Overrides stay with a person
The agent can’t record an override for itself. The dialog’s answer goes to the plugin, never to the agent, and the CLI refuses an in-session override from any process that carries Claude Code’sCLAUDECODE marker, which every command the agent runs inherits. In Codex, it refuses one from a process carrying CODEX_THREAD_ID or CODEX_SESSION_ID. These checks raise the cost of an agent overriding itself; they’re no cryptographic proof that a person acted.
Overrides in Codex
Codex has no plugin commands, so there’s no/actual-cli:override. When a check stops a Codex turn, type actual override <rule-id|all> [code] [reason] as your message, or choose Override in the picker where the agent can show one. Codex covers both.

