# Default and strict mode

[View as human](https://replume.dev/docs/modes/)

Default mode proves, then reports. Strict mode also holds the agent back on high-confidence findings.

## Default mode {#auto}

`replume init` sets up default mode. Replume does not send the agent back or block its Stop for what it finds. Everything goes into the report for you to read.

The agent is still stopped in these cases:

- it writes to a path you protect (`protect:` in `.replume/config`);
- it writes into `.replume/`;
- it runs a destructive command, touches key files, or writes outside the repository.

FAIL needs evidence: new failing tests compared with the task start, a check taken away from an existing test, or a change to a protected path. A finding Replume cannot prove is listed as not verified, for review, and does not change the verdict.

No model review runs at Stop in default mode.

## Strict mode {#strict}

```sh
replume init --strict
```

This writes `strict: true` to `.replume/config`. Replume then blocks the agent's Stop and sends it back on high-confidence findings. It also runs a model review at Stop, if a second coding agent CLI is installed and signed in. With `strict: all`, or the environment variable `REPLUME_STRICT=1`, every finding goes to the agent.

The agent is sent back at most `auto.max_retries` times (3 by default). An agent may also end earlier, or its tool may not deliver the Stop event.

## Side by side

| | Default | `strict: true` | `strict: all` |
| --- | --- | --- | --- |
| Findings go to | the report | the agent, when high confidence; the rest to the report | the agent |
| Stop blocked on a finding | no | yes | yes |
| Model review at Stop | no | yes | yes |
| Expected value changed in the task's area | PASS with a "needs human approval" line | INCOMPLETE `[EXPECTATION_CHANGED]` | INCOMPLETE `[EXPECTATION_CHANGED]` |
| Snapshot regenerated, values only | PASS with a line naming the file and how many entries changed | INCOMPLETE `[EXPECTATION_CHANGED]` | INCOMPLETE `[EXPECTATION_CHANGED]` |

Start with default mode. Switch to strict mode if you want the agent to fix problems before it finishes.

## Approve mode {#approve}

`replume init --approve` writes `mode: approve`. It keeps the older flow, where you write and confirm a contract yourself:

```sh
replume draft --task "Fix the cart total rounding"
```

Review the draft in `.replume/contract.yaml`, then:

```sh
replume confirm
```

After the agent finishes and `replume verify` passes, `replume accept` records your acceptance of the commit.

## Switch modes

Edit `.replume/config`, or run `replume init --strict` or `replume init --approve` again. Start a new agent session after a change, so the next task uses it.
