AGENTS.md@templates/agent-workflow/codex · git:20260601.1c5ac87 · 2026-06-01 · sha256 74a15d5c52393495

AGENTS.md@templates/agent-workflow/codex git:20260601.1c5ac87A

Immutable. This exact content is served forever at /api/v1/blob/74a15d5c52393495.

# AGENTS.md — River Review integration

## Code review

Before finalizing any code change, run River Review to catch issues:

```bash
river run . --reviewers auto
```

If neither the `ANTHROPIC_API_KEY` nor the `OPENAI_API_KEY` environment variable is set, use dry-run mode:

```bash
river run . --dry-run
```

## When to invoke

- After implementing a feature or fix, before committing.
- When the user explicitly requests a review.
- Before opening or updating a pull request.

## Interpreting results

| Severity | Action                                     |
| -------- | ------------------------------------------ |
| Critical | Must fix before merging. Report to user.   |
| Major    | Should fix before merging. Report to user. |
| Minor    | Advisory. Surface to user; does not block. |
| Info     | Informational only.                        |

Output in JSON for programmatic use:

```bash
river run . --reviewers auto --output json
```