Docs · States
Relay runs inside a git repository
NOT_A_REPO · exit 30 · an agent can clear this
The current directory is not inside a git working tree. Relay computes the changed surface from git itself, so there is nothing for it to measure here.
Clears when
The command runs from inside a repository.
Commands
cd <your repository> relayevals next --format json
Every state, with its exit code, is listed in the documentation. An agent that reaches an unfamiliar state should run relayevals next --format json and follow the single action it returns.