# Codex and Cursor steering

[View as human](https://replume.dev/docs/agent-steering/)

Replume can send feedback during a session after supported tool calls. This is early support and depends on the hooks the host delivers.

## Codex

```sh
replume init --codex
```

In Codex, use `/hooks` to review and trust the project hooks, then start a fresh session. The supported tool hooks cover Bash and `apply_patch`. Replume checks newly landed shell changes as well as file edits. It can send an after-edit warning even if the same call already received a scope warning before it ran.

## Cursor

```sh
replume init --cursor
```

Start a fresh Cursor session in the same repo. Replume can steer live after supported edit tools and shell steps. If a shell step weakens a test, Replume sends the steer at the next eligible post-tool hook, even when that hook reports a different command. It can also catch changes from a shell command that writes a file and then fails.

Cursor headless mode may omit the prompt and Stop events. The checked headless session made the contract later from the transcript and saved a report at session end. It could not do a Stop retry because no Stop event arrived. The final report identifies when verification ran the tests in an isolated copy instead.
