# Configuration

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

Settings live in `.replume/config`, a YAML file. `replume init` writes `mode: auto`. Everything else is optional.

## The settings

```yaml
mode: auto              # auto (default) or approve
strict: false           # false (default), true, or all
protect:                # paths the agent may not change; a write is blocked
  - tests/golden/**
auto:
  isolation: auto       # auto, docker or worktree; worktree keeps Docker out
  runtime: off          # off (default), auto or web
  test_timeout_sec: 120 # 5 to 3600
  max_retries: 3        # 0 to 20; times the agent is sent back (strict mode)
review:
  enabled: true         # model review at Stop; it runs only in strict mode
memory:
  mark_false: false     # true lets replume mark-false suppress a finding
```

A value Replume cannot read falls back to its default. `replume guide config` prints the settings this version reads.

| Setting | What it does |
| --- | --- |
| `mode` | `auto` takes the first message of a session as the task. `approve` keeps the draft, confirm and accept flow. |
| `strict` | `false` reports. `true` blocks the agent's Stop on high-confidence findings. `all` sends every finding to the agent. See [Default and strict mode](https://replume.dev/docs/modes/). |
| `protect` | Path globs the agent may not change. A write is blocked in every mode. A protected path that changed is FAIL. |
| `auto.isolation` | Where checks run. `auto` uses Docker when the daemon runs and the image is present, else an isolated working copy. Replume does not download or build the image. |
| `auto.runtime` | Runs the committed program as a user would, in Docker. Off by default. |
| `auto.test_timeout_sec` | Time limit for the test command. A timeout is INCOMPLETE `[TEST_TIMEOUT]`. |
| `auto.max_retries` | How many times strict mode sends the agent back. |
| `review.enabled` | `false` turns off the model review. In default mode it does not run at Stop anyway. |
| `memory.mark_false` | `true` lets `replume mark-false` suppress a finding you judged false. |

## Environment variables

| Variable | Effect |
| --- | --- |
| `REPLUME_STRICT=1` | Same as `strict: all`. |
| `REPLUME_REVIEW=off` | No model review, in any mode. |
| `REPLUME_TELEMETRY=0` | No usage data. `DO_NOT_TRACK=1` does the same. Nothing is sent when `CI` is set. |
| `REPLUME_COPY_LIMIT_SEC` | Time limit for building the isolated copy, 60 seconds by default. |

## Marking a false finding

If you judge a finding to be wrong, set `memory: mark_false: true` and run:

```sh
replume mark-false test_weakened@tests/test_a.py --reason "the assert was split over two lines"
```

The finding id is `rule@path`, as the report prints it. Next time, that rule is suppressed for that path in this repository. `--pattern <glob>` suppresses it for a group of paths.

## Confirming a test change

When Replume refuses a change to an existing test, snapshot or test runner config, you can confirm that exact content:

```sh
replume confirm-config tests/test_cart.py
```

A file with different content is checked again. For a change not made yet, pass the hash from Replume's message with `--sha`.

## Check what Replume will do

```sh
replume status
```

It prints the version, mode, agent hooks, Docker, what will run in the isolated copy, and the last report. In 0.2.17 it does not show the `strict` or `protect` settings. Read `.replume/config` for those.
