From: Alpha Chen Date: Fri, 24 Apr 2026 15:18:21 +0000 (+0000) Subject: Trim AGENTS.md to just pre-commit rule only X-Git-Url: http://quire.kejadlen.dev/?a=commitdiff_plain;h=fef2db74b5a3d9b2f2862f515ba17d3a1cc02be6;p=quire.git Trim AGENTS.md to just pre-commit rule only Clippy and miette conventions are already enforced by tooling. Use "just all" instead of "cargo test" since the justfile is the canonical check runner. Assisted-by: GLM-5.1 via pi --- diff --git a/AGENTS.md b/AGENTS.md index 9a722e5..185ab96 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,11 +2,4 @@ ## Before committing -Always run `cargo test` and verify all tests pass before committing. -Never skip this step, even for small or "obvious" changes. - -## Rust conventions - -- Use `fs_err` instead of `std::fs` (enforced by clippy) -- Use miette's `bail!` and `ensure!` macros instead of `return Err(miette!(...))` -- Prefer `for` loops over `Iterator::for_each` for side-effects (enforced by clippy) +Always run `just all` and verify everything passes before committing.