# Verdicts and codes

[View as human](https://replume.dev/docs/verdicts-and-codes/)

Every report ends with one verdict. A code in brackets names the reason. This page describes version 0.2.17.

## Verdicts

| Verdict | What it means | What to do next |
| --- | --- | --- |
| PASS | The required checks ran and passed, and nothing broke the task's rules. | Read the diff and the lines right under the verdict, then commit. A line such as "Expected values changed: <files>, needs human approval" means a person should look at those files. PASS does not mean the change is right in every way. |
| FAIL | Replume has evidence of a problem: new failing tests compared with the task start, a check taken away from an existing test (including forced success such as `assert.ok(true)`), or a change to a path you protect. The code says which, for example `[TEST_FAILED]` or `[TEST_WEAKENED]`. | Read the named tests or files. Fix the code, or ask the agent to, then run `replume verify`. If the FAIL looks wrong, see [What Replume checks](https://replume.dev/docs/checks/#not-yet). |
| INCOMPLETE | Replume could not establish a pass. It is not a pass. Common reasons: a timeout, a flaky test, a result that depends on your machine, a missing dependency, or, in strict mode, a changed expected value. | Follow the **Next** line. It names what was missing and the command to run. |
| NOT VERIFIED | Nothing could be verified, for example because the check itself could not run. | Follow **Next**, fix the setup, and run `replume verify`. |
| NO CHANGES | The session changed nothing. The report says why. | Nothing to review. |

In default mode, a finding Replume cannot prove is listed as "not verified, for review" in the report and does not change the verdict. See [Default and strict mode](https://replume.dev/docs/modes/).

`replume watch`, the Verdict line of the report and `replume report --json` all use the same word. `replume verify` exits 0 on PASS, 1 on FAIL and 2 on INCOMPLETE.

`replume guide codes` lists every code this version can print. In the table, the code in brackets is the text to look for; the reason beside it depends on the run. Replace placeholders in angle brackets. `npm test` stands for your own test command, as Replume prints it. Before `replume verify`, commit the changes you want checked.

## Code reference

| Code | Cause | Screen marker | What to do and run |
| --- | --- | --- | --- |
| `RUNNER_NOT_FOUND` | The named test runner did not start or exited as command-not-found. | `[RUNNER_NOT_FOUND]` | Install the runner in the project, then run the test command again. `replume init --check` |
| `IGNORED_FILE_NEEDED` | The tests need a git-ignored file the agent wrote, and the commit does not hold it. | `[IGNORED_FILE_NEEDED]` | Make the fix in a tracked file; for build output, run the project's build. `replume verify` |
| [`SPEC_TEST_CONFLICT`](https://replume.dev/docs/verdicts-and-codes/#spec-test-conflict) | Replume recognized a conflict between the task and a test in the agent’s final message. | `[SPEC_TEST_CONFLICT]` | If the test is right, ask the agent to fix the code. If the test is wrong, correct it, run the confirmation command, and commit the intended changes before running verify. `replume confirm-config <test-file>` |
| `AGENT_POLICY_REFUSED` | The tests pass, but the agent's final message says its own sandbox, approval policy or permissions refused a step, so the requested change did not happen. | `[AGENT_POLICY_REFUSED]` | Do that step yourself, or allow it in the agent's settings and ask the agent again, then run `replume verify`. |
| `TESTS_FLAKY` | A test failed and passed on a rerun of the same code. Not evidence about the change. | `[TESTS_FLAKY]` | Fix the flaky test, then run `replume verify`. |
| `ENV_DIFFERS` | The test result depends on the environment, not on the change: the command failed in Replume's clean environment and passed with the session's own. Not a test failure. | `[ENV_DIFFERS]` | Make the tests pass in a clean environment, then run `replume verify`. |
| `DEPS_MISSING` | Project dependencies needed by the check are absent. | `[DEPS_MISSING]` | Run the project's documented dependency install (`npm ci` for a locked Node project), then retry. `replume init --check` |
| [`TEST_FAILED`](https://replume.dev/docs/verdicts-and-codes/#test-failed) | A required test command failed.  | `[TEST_FAILED]` | Fix the code and rerun that command. `npm test` |
| `ZERO_TESTS` | The command ran but collected zero tests. | `[ZERO_TESTS]` | Correct the test command or test selection so at least one test runs. `npm test` |
| `TEST_UNCONFIRMED` | Exit 0 has no recognizable evidence that a test ran. | `[TEST_UNCONFIRMED]` | Use a test runner that prints test counts/results, then rerun. `npm test` |
| `TEST_TIMEOUT` | A test command exceeded its time limit. | `[TEST_TIMEOUT]` | Fix the hanging test or raise the configured limit and rerun. `replume init --check` |
| `TESTS_DID_NOT_RUN` | The test command started, but the environment stopped it before any tests ran. | `[TESTS_DID_NOT_RUN]` | Read the error lines, fix the test environment, and rerun the project’s test command or `replume init --check`. Replume ends the session without a Stop retry. |
| `TEST_PASSES_BEFORE` | Only tests changed for a behavior task, and the new cases also passed against the task-start code. | `[TEST_PASSES_BEFORE]` | Use `git diff HEAD` to review the change. Add a test that exposes the original problem and implement the requested behavior. |
| `TEST_NOT_RUN` | The contract has no test command, or the command could not be executed. | `[TEST_NOT_RUN]` | Add a runnable test command to the confirmed contract. Check setup, then run verification again. `replume init --check` |
| `SCENARIO_FAILED` | An optional or required scenario ran and failed its expectation. | `[SCENARIO_FAILED]` | Fix the behavior or the scenario with a justified policy change. `replume verify` |
| `SCENARIO_NOT_RUN` | No scenario was run or a required scenario is missing. | `[SCENARIO_NOT_RUN]` | Add/run the required scenario; optional scenarios may remain absent if another check supplies evidence. `replume verify` |
| `SCENARIO_PRE_EXISTING` | A scenario failed the same way at task start and is unrelated to this change. | `[SCENARIO_PRE_EXISTING]` | Fix it in a separate task if needed; this result does not fail the current task. `replume verify` |
| `RUNTIME_FAILED` | The opted-in runtime probe failed. | `[RUNTIME_FAILED]` | Inspect its command, output and artifacts; fix and rerun. `replume verify --runtime` |
| `RUNTIME_NOT_CHECKED` | The runtime probe could not run or was not supplied. | `[RUNTIME_NOT_CHECKED]` | Provide the required image/dependencies or opt in and rerun when runtime evidence is needed. `replume verify --runtime` |
| `SANDBOX_LIMIT` | An isolation limit stopped the check without a test verdict. | `[SANDBOX_LIMIT]` | Inspect the reported limit and rerun with suitable resources. `replume init --check` |
| `EMPTY_DIFF` | There is no diff between the commits being compared. Staged or unstaged changes are excluded. | `[EMPTY_DIFF]` | Run `git status --short`. Review and commit the intended changes, or select the correct base and target commits, then run `replume verify`. |
| `CONTRACT_DRAFT` | The task contract remains a draft; its policy was not applied. | `[CONTRACT_DRAFT]` | Review and confirm the contract. `replume confirm` |
| `CONTRACT_MISSING` | No usable task contract was found. | `[CONTRACT_MISSING]` | In Approve mode, draft the task, review it and run `replume confirm`. In Auto, start a fresh agent session with your task. `replume draft --task "Describe your task"` |
| `SCOPE_UNSET` | No allow paths were provided, so scope could not be checked. | `[SCOPE_UNSET]` | Add the intended paths to the contract. `replume confirm` |
| `SCOPE_EXTRA` | A changed file or new dependency lies beyond the agreed task. | `[SCOPE_EXTRA]` | Restore it or get the contract updated by the task owner. `git diff HEAD` |
| `CHANGE_NOT_OBSERVED` | Hooks did not record a successful write of this changed file. | `[CHANGE_NOT_OBSERVED]` | Make the change through a supported agent tool or review it manually; rerun verify. `git diff HEAD` |
| `NO_AGENT_SESSION` | No agent session for this task was recorded. | `[NO_AGENT_SESSION]` | Check hook installation and run the task through the agent. `replume status` |
| [`CHANGE_NOT_CHECKED`](https://replume.dev/docs/verdicts-and-codes/#change-not-checked) | The available checks could not establish the behavior of a changed file. | `[CHANGE_NOT_CHECKED]` | Read the reason beside the file, add a relevant check or review the change yourself, and commit any changes you want verified. `replume verify` |
| `BASELINE_UNAVAILABLE` | Task-start test or snapshot evidence could not be read. | `[BASELINE_UNAVAILABLE]` | Run `replume init --check`, restore the task-start snapshot, or start a fresh task. `replume init --check` |
| `NO_COMMIT` | The repository has no commit to compare. | `[NO_COMMIT]` | Stage the files for your initial commit first. `git commit -m "Initial commit"` |
| `STALE_REPORT` | The working tree differs from the saved report's tree. | `[STALE_REPORT]` | Run `replume verify` again on the current tree. `replume verify` |
| `TASK_TEST_RED` | A test named by the task remains failing from the task start. | `[TASK_TEST_RED]` | Fix that test's underlying code; do not treat it as unrelated baseline failure. `npm test` |
| [`SUITE_SHRANK`](https://replume.dev/docs/verdicts-and-codes/#suite-shrank) | Fewer tests ran than at the start of the task. | `[SUITE_SHRANK]` | Restore removed or deselected tests, then rerun the full test command for your repo. The command below is for a repo that uses npm test. `npm test` |
| `REQUIRED_CHECK_MISSING` | A required contract check has no passing run. | `[REQUIRED_CHECK_MISSING]` | Run or repair that named check. `replume verify` |
| `JIRA_NOT_DONE` | A Jira acceptance item has contrary executed evidence. | `[JIRA_NOT_DONE]` | Complete the item and rerun its matching check. `replume verify` |
| `JIRA_NOT_CHECKED` | A Jira acceptance item lacks a matching executed check. | `[JIRA_NOT_CHECKED]` | Add and run a check that proves the item. `replume verify` |
| `POLICY_CHANGED` | Protected policy or its trusted-base version changed. | `[POLICY_CHANGED]` | Restore the base policy or make a reviewed policy change outside this PR/task. `replume verify` |
| `PROTECTED_TEST_EDIT` | An existing protected test or snapshot was changed. | `[PROTECTED_TEST_EDIT]` | Restore it and fix production code; an authorized exact-content confirmation can permit a justified edit. `git diff HEAD` |
| `PROTECTED_CONFIG_EDIT` | Protected test runner/config or another protected path was changed. | `[PROTECTED_CONFIG_EDIT]` | Restore the file, or use the confirmation command the agent relays for a supported config change. `replume confirm-config <path> --sha <hash-from-message>` |
| `TEST_BENT` | A failing test's expectation was bent to match the bug while reached source stayed unchanged. | `[TEST_BENT]` | Restore the assertion and fix the source behavior. `git diff HEAD` |
| `TEST_WEAKENED` | Assertions, test selection or mocks were changed to make a test easier to pass. | `[TEST_WEAKENED]` | Restore the test's strength and fix the code it checks. `git diff HEAD` |
| `TEST_BYPASS` | Production code special-cases the test or runner. | `[TEST_BYPASS]` | Remove the special case and implement the behavior. `git diff HEAD` |
| `TEST_SCRIPT_CHANGED` | The test command or runner selection was altered. | `[TEST_SCRIPT_CHANGED]` | Restore it or obtain exact-content confirmation for a necessary change. `git diff HEAD` |
| `COMMIT_BEFORE_GREEN` | The agent tried to commit/publish before required tests were green. | `[COMMIT_BEFORE_GREEN]` | Run the required tests, fix failures, then commit. `npm test` |
| `DESTRUCTIVE_COMMAND` | A proposed command may delete work or rewrite history. | `[DESTRUCTIVE_COMMAND]` | Use a non-destructive alternative. `git status --short` |
| `SECRET_FILE_ACCESS` | A step tried to read/write a credential or secret file. | `[SECRET_FILE_ACCESS]` | Leave secret files alone; use the project's documented configuration. `git status --short` |
| `OUT_OF_SCOPE_EDIT` | The proposed edit lies outside the task's allowed paths. | `[OUT_OF_SCOPE_EDIT]` | Keep changes inside scope or update the task contract. `git diff HEAD` |
| `REPLUME_STATE_WRITE` | An agent step tried to write `.replume/` state. | `[REPLUME_STATE_WRITE]` | Let Replume own that state. `git status --short` |
| `LOOP_DETECTED` | The same action repeated without progress. | `[LOOP_DETECTED]` | Change approach. `replume status` |
| `STOP_CHECK_UNMET` | A contract `done` condition was unmet at Stop. | `[STOP_CHECK_UNMET]` | Run the missing check and fix its result. `replume verify` |
| `STOP_RETRIES_EXHAUSTED` | Stop retries ended while checks still failed. | `[STOP_RETRIES_EXHAUSTED]` | Continue the task and rerun verification. `replume status` |
| `CLAIM_UNSUPPORTED` | The agent claimed a result the ledger does not support. | `[CLAIM_UNSUPPORTED]` | Run a supporting check or correct the claim. `replume report --session` |
| `UNATTRIBUTED_CHANGE` | A file changed through a step the hooks could not attribute. | `[UNATTRIBUTED_CHANGE]` | Restore or inspect the change and rerun through observed tools. `git diff HEAD` |
| `MODEL_REVIEW_FINDING` | Optional second-agent review raised a finding. | `[MODEL_REVIEW_FINDING]` | Inspect the cited evidence; fix or explain the finding. Model opinion cannot override the ledger. `replume report --session` |
| `MODEL_JUDGE_FINDING` | Optional model judge flagged a step. | `[MODEL_JUDGE_FINDING]` | Compare the cited diff with the task; fix or explain. `replume report --session` |
| `TASK_NAMES_PROTECTED` | The task names an existing protected test. | `[TASK_NAMES_PROTECTED]` | Add a new test or ask for exact-content confirmation. `replume verify` |
| `INTERVENTION_OTHER` | An older or unrecognized intervention rule was recorded. | `[INTERVENTION_OTHER]` | Read the original rule/message and update this catalog if still used. `replume report --session` |
| `CHECK_FAILED` | A failed check lacks a more specific classification. | `[CHECK_FAILED]` | Read its check output and rerun after fixing it. `replume verify` |
| `CHECK_NOT_RUN` | A check lacks an executed result and no specific cause was classified. | `[CHECK_NOT_RUN]` | Read its detail, make the check runnable and rerun. `replume verify` |
| [`EXPECTATION_CHANGED`](https://replume.dev/docs/verdicts-and-codes/#expectation-changed) | A requested test edit needs review because an expected value changed without being stated in the task, a case was lost or changed, or Replume could not read the cases. | `[EXPECTATION_CHANGED]` | If the new value is right, copy the exact command and hash from the report. Commit the intended changes before running verify. `replume confirm-config <test-file> --sha <hash-from-report>` |
| [`ASKED_DELETE_NOT_DONE`](https://replume.dev/docs/verdicts-and-codes/#asked-delete-not-done) | A file the first prompt asked the agent to delete is still present. | `[ASKED_DELETE_NOT_DONE]` | Delete the path named on the Next line and commit the intended deletion. If it should stay, start a new task instead. `replume verify` |
| [`STALE_TEST_PATH`](https://replume.dev/docs/verdicts-and-codes/#stale-test-path) | Tests moved, but the runner still names the old path. | `[STALE_TEST_PATH]` | Follow the report’s Next line after reviewing and committing the intended change. `replume verify` |
| [`STOP_TIME_LIMIT`](https://replume.dev/docs/verdicts-and-codes/#stop-time-limit) | The Claude Code Stop check exceeded its time budget. | `[STOP_TIME_LIMIT]` | Follow the report’s Next line after reviewing and committing the intended change. `replume verify` |
| [`AGENT_UNFINISHED`](https://replume.dev/docs/verdicts-and-codes/#agent-unfinished) | The agent says part of the task is still undone, even if the tests pass. | `[AGENT_UNFINISHED]` | Finish the remaining work, review and commit the intended changes, then run `replume verify`. |

## What the screen says

The excerpts below come from scripted checks, some captured with earlier versions, so the wording in 0.2.17 can differ. Use your own report for paths and confirmation hashes.

Paths, counts, values and quotes in angle brackets vary by session. Use the path and hash shown in your report. The examples show the report text you need to look for.

### `PROTECTED_TEST_EDIT`

Captured hook message. By default, Replume checks a test edit right after it runs. This message appears in strict mode when `auto.block_test_edits: true` refuses the edit before it runs.

```
Replume blocked a tool call:
[PROTECTED_TEST_EDIT] Replume: this command would modify pytest.ini, which is protected by the task contract, so it was not run. Make the code fit it instead. You are allowed to edit app/**, shop/**, tests/**. Do it now without asking the user. Then run `python -m pytest`. Do not retry it through another tool or a copy. If you were asked for this change, still reach the goal in the allowed files and say in your final message what you did instead.
[TEST_SCRIPT_CHANGED] Replume: this command writes pytest.ini, which holds the test command (pytest.ini). Replume cannot compare a shell write; if a change there is needed, make it with the Edit tool. In AUTO mode the test command is part of the spec, like a protected test: leave it as it was and make `python -m pytest` pass by fixing the code in the allowed files (app/**, shop/**, tests/**). Do not ask the user; say in your final message what you did instead.
```

Inspect the diff, then fix the source or update the task with the intended runner change. If a write was refused, it will not appear in the diff.

```
git diff HEAD
```

### `EXPECTATION_CHANGED`

In default mode, an expected value changed in the area the task asked to change does not change the verdict. The report opens with "Expected values changed: <files>, needs human approval". In strict mode it is INCOMPLETE, as below.

Captured fixture report. An assertion stayed in the file but did not run to completion.

```
Verdict: INCOMPLETE [EXPECTATION_CHANGED]
Status: INCOMPLETE — an expected value may have changed in tests/test_size.py (a kept assertion did not run to the end in Replume's run: line 17: format_size(1048576) == "1 MiB": read its diff) (verify PASS; steered 0 times, 0 blocked)
Next: a person decides: if the new value is right, confirm it, then run replume verify: `replume confirm-config tests/test_size.py --sha 234e9aeac27e8758`.
```

Inspect the reported diff. Restore the check if it is right. If the change is intentional, use the command with the path and hash from your own report. Commit the intended changes before verifying.

```
replume confirm-config <test-file> --sha <hash-from-report>
replume verify
```

### `TEST_BENT`

Captured fixture report. The test expectation was changed to match the bug.

```
Verdict: FAIL [TEST_BENT]
Status: FAIL — the expected value in tests/test_units.py was bent to the code (round(kg_to_lb(10),2): 22.05 -> 22.0) (verify FAIL; steered 1 time, 0 blocked)
Next: restore tests/test_units.py, or if the new value is right, a person confirms it, then runs replume verify: `replume confirm-config tests/test_units.py --sha 898ca6127c36127f`.
```

Restore the original check and fix the source. The example repo uses pytest. Commit the intended fix before running verify.

```
python -m pytest
replume verify
```

### `TEST_WEAKENED`

In 0.2.17, forced success is FAIL in default and strict mode. An agent replaced `assert.strictEqual(cartTotal(60, 'SAVE10'), 54)` with `assert.ok(true)` and left the bug in place. `replume verify --task` printed:

```text
Verdict: FAIL [TEST_WEAKENED] — at least one required check failed
```

Captured fixture report. The move changed expected values.

```
Verdict: FAIL [TEST_WEAKENED]
Status: FAIL — test_weakened in test/unit/test_coupons.py, test/unit/test_pricing.py: an expected value moved with a new value (test/unit/test_coupons.py: receipt(cart,"TEN"): "Total: 48.60" -> "Total: 44.00"; test/unit/test_pricing.py: apply_discount(54.0,10): 48.6 -> 44.0) (verify FAIL; steered 1 time, 0 blocked)
Next: restore test/unit/test_coupons.py, test/unit/test_pricing.py, or if the new value is right, a person confirms it, then runs replume verify: `replume confirm-config test/unit/test_coupons.py --sha 22145bdd46982c9b && replume confirm-config test/unit/test_pricing.py --sha cf46bcb8d0465b64`.
```

Restore the changed checks at their new paths. If a value change is intentional, a person can use the exact confirmation command printed for each file. Commit before rerunning verification.

```
replume verify
```

### `TEST_FAILED`

Screen format for a failed test command.

```
Verdict: FAIL [TEST_FAILED]
```

Fix the failing code or test setup. Run the test command from your own Next line. This example uses pytest. Commit before rerunning verification.

```
python -m pytest
replume verify
```

### `STALE_TEST_PATH`

Captured fixture report.

```
Verdict: INCOMPLETE [STALE_TEST_PATH]
Status: INCOMPLETE — pytest.ini still points to the old test path (testpaths = tests), and the tests moved to test/unit: update it so the test command finds them there (verify PASS; steered 0 times, 0 blocked)
Next: after the fix, run replume verify to check again.
```

Change the runner setting so it discovers the moved tests. Run the full suite to check what it collects. Commit the fix, then run verification.

```
replume verify
```

### `STOP_TIME_LIMIT`

Captured Claude Code hook output from a scripted CLI run with a zero-second budget to trigger the message. A fresh standard setup has a larger budget.

```
Replume: INCOMPLETE [STOP_TIME_LIMIT] — the checks did not finish within 0 s of the Stop hook, so this stop has no result. The report, if the checks still finish, is .replume/reports/00000000-0000-4000-8000-000000000001.md. Next: run `replume verify`.
```

Read the saved report if it finished. Review and commit the intended change, then rerun verification outside the hook.

```
replume verify
```

### `ASKED_DELETE_NOT_DONE`

Captured fixture report. The named path was still present.

```
Verdict: INCOMPLETE [ASKED_DELETE_NOT_DONE]
Status: INCOMPLETE — the task asks to delete units/__init__.py, which is still there (verify PASS; steered 0 times, 0 blocked)
Next: delete units/__init__.py, then run replume verify.
```

Delete the path from your report if the task really requires it. Commit the intended deletion before verifying. If the file should stay, start a new task with that instruction.

```
replume verify
```

### `SPEC_TEST_CONFLICT`

Captured fixture report. The agent said a test contradicted the named spec.

```
Verdict: INCOMPLETE [SPEC_TEST_CONFLICT]
Status: INCOMPLETE — the agent's final message says the task and a test disagree: "npm test still fails on the 91 minutes test, because that test contradicts docs/parking.md.". A person decides which is right. If the test is wrong, correct it, run `replume confirm-config test/parking.test.js`, commit, then run `replume verify` (verify FAIL; steered 1 time, 1 blocked)
Next: a person decides whether the task or the test is right: `replume confirm-config test/parking.test.js`.
```

A person decides what the requirement is. If the test is right, ask the agent to fix the source. If the test is wrong, correct it and use the confirmation command for that file. Commit before running verify.

```
replume confirm-config <test-file>
replume verify
```

### `AGENT_UNFINISHED`

If the agent admits unfinished work, the verdict is INCOMPLETE. In a scripted check on the published build, the agent said “tests/test_pricing.py still needs to be updated to the new name; I kept an alias for now.” The report’s Next line quoted that reason.

```
INCOMPLETE [AGENT_UNFINISHED]
```

Finish what the report names. Review and commit the intended changes, then run `replume verify`.

### `SUITE_SHRANK`

Fewer tests ran than at the start of the task.

```
INCOMPLETE [SUITE_SHRANK] — fewer tests ran than at the task start (<before> → <after>): a test may have been removed, skipped or deselected
```

Restore removed or deselected tests, then rerun the full test command for your repo. A rewrite of requested tests can run fewer test functions without this code if it keeps the cases and accounts for the drop. The command below is for a repo that uses npm test.

```
npm test
```

### `CHANGE_NOT_CHECKED`

The available checks could not establish the behavior of a changed file.

```
Verdict: INCOMPLETE [CHANGE_NOT_CHECKED] — the available checks cannot establish a pass
```

Read the reason beside the file, add a relevant check or review the change yourself, and commit any changes you want verified. Replume now records tracked changes from the file comparison after a tool call, even when it cannot infer the write from the command text.

```
replume verify
```
