Before every git push, agents must:
- Run
cargo fmt --all -- --check. - Run Cargo Clippy with
-D warnings, including every feature, target, and manifest combination exercised by this repository's GitHub Actions workflows. - Run every locally executable validation command from every file in
.github/workflows/, including tests, checks, docs, benches, fuzz-target checks, release builds, and WASM/demo builds where configured. - Whenever CI configuration changes (
.github/workflows/**,.github/actions/**,.github/dependabot.yml, or pre-commit configuration), runzizmor --pedantic --strict-collection .from the repository root and fix every finding. - Fix every failure or warning caused by the pending changes. Repeat the complete validation set until it passes.
- Commit all intended fixes before pushing, then confirm the worktree contains no uncommitted changes from the task.
A push is not allowed while any required check is failing. Hosted deployment actions, secret-dependent publication, and packaging for operating systems unavailable on the current host may be excluded only when they cannot be reproduced locally; inspect those workflow steps for consistency and report the limitation explicitly.