Agents
View as agent ↗Install project hooks for the agent you actually use.
The supervision loop: Auto turns the first task prompt into a contract. Supported hooks record actions and compare file changes, then flag weakened tests or edits beyond the task. At a supported Stop, Replume reruns tests, checks claims against recorded evidence and gives a verdict with a next step. Known limits · See the full loop
Which agent should I start with?
In 0.2.12, Auto lets test, snapshot and runner changes run and checks their contents against the task start immediately afterward. This applies to Claude Code, Codex and Cursor through supported hooks. The blocking observations below are from earlier builds. auto.block_test_edits: true restores pre-edit refusal in Auto.
- Claude Code: Use it for the full current workflow. Prompt and tool hooks build the contract, capture supported actions, check the resulting changes and send feedback. The Stop hook produces a session report, and in strict mode can return failed tests to the agent.
- Codex: Early support. Trust the project hooks through
/hooks. Hooks can record actions, block supported calls and return feedback after supported edits. The final verdict still comes at session end. 0.2.12: Supported Bash andapply_patchcalls are recorded; after-step checks can compare the changed content and return feedback. The Stop hook can request continuation if Codex delivers the event. - Cursor: Early support. Use
replume init --cursorif the project has no.cursor/directory. Replume can steer live after supported edit tools and shell steps. The final verdict depends on an end-of-session event. Headless testing showed a warning and no Stop retry. If there is no session report, check the hooks and usereplume verifyon the intended commit.
Claude Code
Run replume init when Claude Code is detected. It writes project hooks to .claude/settings.json. Live CLI runs observed a protected edit denied, a Stop block delivered, and a retry. The interactive UI and repeat reliability were not established by those runs.
Cursor
Run replume init --cursor, or have a .cursor/ directory before init. Check .cursor/hooks.json. Early support: hooks install and fire. Replume can steer live after supported edit tools and shell steps. In an earlier run, a Cursor headless test showed a warning and no Stop retry; the warning did not block the edit. A protected Write was blocked in two CLI runs. In a 27 October 2026 Cursor IDE run with published Replume 0.2.1, beforeSubmitPrompt arrived with empty stored text, no Stop event was observed by the ledger check, and a test expectation edit was warned and applied. In a 28 October 2026 IDE run with the packed 0.2.3 candidate and Cursor 3.27.12, beforeSubmitPrompt arrived twice with empty text and transcript_path null. An early edit to a test file was warned and applied before a contract existed; it was not blocked. The first ledger read on that same tarball showed no Stop event. Later, Stop arrived twice with status aborted; each Stop made a contract late from the agent transcript. After the contract existed, a later write to the protected test file was blocked. These observations do not establish consistent Stop delivery or a completed Stop retry in the IDE. Source: the 27 and 28 October 2026 Cursor IDE checks recorded in the project review log.
Codex
Run replume init --codex, or have a .codex/ directory before init. Check .codex/hooks.json; review and trust the project hooks in Codex’s /hooks screen. Early support: hooks install and fire after trust. Recorded CLI runs include a protected-edit block and a Stop block, but do not establish reliability in every session. Cloud hooks and disabled or untrusted hooks are outside those observations.
When Codex shows Hooks need review, choose Review hooks or Trust all and continue. If you continue without trusting, the hooks will not run. To trust them later, open /hooks and press t. Codex can label a Stop-hook message warning: before the report is ready. Use replume status or replume watch for the result.
GitHub Copilot
Opt in with replume init --copilot. It writes .github/hooks/replume.json. The adapter can record the prompt and supported pre-tool actions, deny selected actions, and run the test gate on agentStop and finalize a report at Stop or session end. It checks recorded edit paths at the end. It does not inject the prompt brief or provide the same after-each-edit feedback as Claude Code.
Hermes Agent
Opt in with replume init --hermes. It updates the Hermes home config, outside the repo. Hermes must approve the hooks before using them. The adapter can inject a task brief, record supported pre-tool actions, deny selected actions and run the test gate when pre_verify fires. It checks recorded edit paths at the end. It does not provide Claude Code’s after-each-edit feedback.
Retries depend on the host
Retries happen only in strict mode. The default cap is three retries, configurable as auto.max_retries. The first test run is separate from the retries. An agent may end earlier or never deliver Stop. Cursor uses a follow-up message when supported, which cannot deny Stop.
During-session feedback
Set up after-edit feedback in Codex and Cursor. Codex must trust the project hooks. Cursor headless may deliver no Stop event, so do not count on a retry there.