The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(AGENTS.md): update test file naming rules and externalize-inline-tests script
Steven Enamakel651a285ba940
diff --git a/AGENTS.md b/AGENTS.mdindex 22dc331bf4..5882fc4cf4 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -137,9 +137,10 @@ coverage must be at least 80 percent.starts with `use super::*;` and carries no `#[cfg(test)]` of its own. Never nameone `test.rs`, `tests.rs` or `<module>_test.rs`, and never write an inline`#[cfg(test)] mod tests { ... }` (`pnpm rust:layout` fails on an inline module- and on `test.rs`/`tests.rs`; it does not yet catch `<module>_test.rs`). The same- rule binds every `vendor/` submodule: `node scripts/externalize-inline-tests.mjs- <repo-root> --write` converts one mechanically, and a crate root directly in+ and on `test.rs`/`tests.rs`/`<module>_test.rs`). The same rule binds every+ `vendor/` submodule: `node scripts/externalize-inline-tests.mjs <repo-root>+ --write` converts one mechanically (add `--rename-legacy` for `test.rs` and+ `<module>_test.rs`), and a crate root directly in`src/bin/` keeps its tests in `src/bin/<stem>/` because Cargo builds any `.rs`placed straight in `src/bin/` as a binary.- Rust domain tests live beside their modules. Use