Weave pre-commit quality gate
Run the three checks in order. Stop and report on the first failure — do not proceed to the next step if one fails.
cargo fmt --all— formats all code in place; then rungit diff --name-onlyto list any files that were changed and need to be staged before committingcargo clippy -- -D warnings— lint, deny all warningscargo test— run all unit + integration + E2E tests
Report clearly:
- Which checks passed ✓
- Which failed ✗ and what output was produced
- What the developer needs to fix before committing