Skip to main content
A guard is a check fno runs on an agent’s tool call before the call executes. A guard refuses only to stop one of four harms: destroyed work or data, a leaked secret, spent money, or an irreversible public act. When a guard refuses, the message names fno, names the guard, and tells you how to proceed. This page explains each part of that message and your options. For the guard layer’s place in the security model, see security posture. A launch refusal from fno agents spawn is a different surface: see a worker launch is refused.

What a refusal reads

Every refusal has three lines:
  • [fno <guard>] names fno as the refuser and the guard that spoke. Your harness renders a hook denial as its own permission denial. The tag tells you the denial is not the harness’s own decision.
  • The Way out line is the safe form of the same intent. If you can, take it.
  • The Override line tells you how to run the call anyway. If the guard is wrong for your case, use it.

A session you attend gets a question

On a Claude Code session you attend, the stop is a question, not a denial. The harness shows its own confirmation dialog and quotes the refusal: The Claude Code confirmation dialog quoting a refusal, with Yes, No, and Esc options Choose Yes to run the call once. Choose No or press Esc to leave the call stopped. fno records your answer as override rows in its event journal, the log of what the hooks decided, so your answers are not lost. A session no one attends has nobody to answer a question, so the same text arrives as a denial: A terminal capture of a claude -p run: the hook denial names the tag, the Way out line, and the Override line A worker fno dispatched always gets the denial. Every harness other than Claude Code gets the denial too.

Read your overrides

Each approved call leaves one row per guard in the event journal. Each row names the guard, the tool, and the time. To read the rows, run:
Add --since 2d to narrow the rows to a period. A guard you override in every session is a guard in your way. If one guard collects overrides across sessions, tell your lead. Or open an issue at github.com/fnodotdev/fno/issues. The configuration reference shows where .fno/config.toml sits and how settings merge.

Choose which guards run

Seven guards answer one setting, guards.preset in .fno/config.toml. A gatable guard is one the preset can turn off: The guards that run only under strict are recursive-grep guard, test-run guard, bin-install guard, and bg-process guard. The FNO_GUARD_PRESET environment variable wins over the config file. If the preset seems not to apply, check that variable. No setting turns one gatable guard off by name. Choose the preset that matches. Some guards never gate on the preset:

The third identical failure parks

A Bash call that fails with the identical output twice parks on the third unchanged attempt. The refusal reads:
To leave the park, change the command, fix what fails, or wait 10 minutes for the streak to expire. If the blocker is real, file it or mail your lead, and move to other work.

Next steps