> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Read an F[no] hook refusal

> Recognize the three parts of a refusal, answer an ask, take the way out or the override, and choose which guards run.

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](/docs/concepts/security.md). A launch refusal from `fno agents spawn` is a different surface: see [a worker launch is refused](/docs/troubleshooting.md#a-worker-launch-is-refused).

## What a refusal reads

Every refusal has three lines:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
[fno <guard>] <why it stopped>
Way out: <the safe form of the same intent>
Override: <how you run the call anyway>
```

* `[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](https://mintcdn.com/fno/TAaU_lPdBuCVOAcf/images/hook-refusal-ask.png?fit=max\&auto=format\&n=TAaU_lPdBuCVOAcf\&q=85\&s=a03d5a3b5a88d1d8d89eecb80dd0eefd)

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](https://mintcdn.com/fno/TAaU_lPdBuCVOAcf/images/hook-refusal-deny.png?fit=max\&auto=format\&n=TAaU_lPdBuCVOAcf\&q=85\&s=50c53e25408befd2b951fdd4281f9a73)

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:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
fno doctor event find guard_decision --field decision=override
```

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](https://github.com/fnodotdev/fno/issues). The [configuration reference](/docs/reference/configuration.md) 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:

| Preset | Guards that run |
| - | - |
| `strict` | every gatable guard |
| `standard` (default) | `backlog-impostor guard`, `broad-kill guard`, `git-protection` |
| `off` | no gatable guard |

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:

| Guard | When it runs |
| - | - |
| `spawn gate`, `graph-write-protect`, `claude-config-write-guard`, `generated-write-guard` | always: these protect state you cannot rebuild |
| `lead guard` | on `lead.implementation_guard` in the same config file |
| `law` | while the rule stands. The rule's owner edits or retires it with `/fno:law` |
| `join-partition guard` | while a joined plan partitions files into bands |
| `send-message guard` | while fno mail is healthy. It steps aside by itself when mail is broken |
| `effect guard` | on calls that wait for an approval. The reason names the digest to approve |
| `refusal-streak` | on a streak of identical failed calls |

## The third identical failure parks

A Bash call that fails with the identical output twice parks on the third unchanged attempt. The refusal reads:

```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
[fno refusal-streak] `<command>` already failed with the identical result 2 times in this session; the third unchanged attempt is parked. Retrying it cannot succeed while the answer stays identical. Park the action: file the blocker (`fno backlog idea "<what is blocked and why>"`) or mail your lead (`fno agents mail send <lead>`), then move to other work. A changed command is judged fresh.
```

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

* [Security posture](/docs/concepts/security.md): the trust boundary the guards sit inside.
* [Troubleshoot F\[no\]](/docs/troubleshooting): the symptom table for everything else that can go wrong.
* [Configuration](/docs/reference/configuration.md): where `.fno/config.toml` sits and how settings merge.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.