Lightweight coding agent that runs in your terminal
Rust
AGENTS.md: clarify test approvals for codex-rs (#3132)
Jeremy Rose1c04e1314daf
diff --git a/AGENTS.md b/AGENTS.mdindex 1c3f8ad825..83fd2a3ec4 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -11,7 +11,7 @@ In the codex-rs folder where the rust code lives:Run `just fmt` (in `codex-rs` directory) automatically after making Rust code changes; do not ask for approval to run it. Before finalizing a change to `codex-rs`, run `just fix -p <project>` (in `codex-rs` directory) to fix any linter issues in the code. Prefer scoping with `-p` to avoid slow workspace‑wide Clippy builds; only run `just fix` without `-p` if you changed shared crates. Additionally, run the tests:1. Run the test for the specific project that was changed. For example, if changes were made in `codex-rs/tui`, run `cargo test -p codex-tui`.2. Once those pass, if any changes were made in common, core, or protocol, run the complete test suite with `cargo test --all-features`.-When running interactively, ask the user before running `just fix` and tests to finalize; `just fmt` does not require approval.+When running interactively, ask the user before running `just fix` to finalize. `just fmt` does not require approval. project-specific or individual tests can be run without asking the user, but do ask the user before running the complete test suite.## TUI style conventions