# Development ```bash cargo fmt --check cargo test cargo clippy --all-targets -- -D warnings ./scripts/quality-gate.sh python3 tests/benchmarks/runner.py self-test ``` `scripts/quality-gate.sh` runs formatting, Clippy with warnings as errors, the tests with and without the P4 pilot feature, the Python unit tests, and the benchmark self-tests and runs. The repository workflow is in `AGENTS.md` and `docs/prompts/`. Brick pins `nightly-2026-05-28` in `rust-toolchain.toml`, matching Fold's Rust analyzer; rustup selects it automatically for Cargo, rustfmt and Clippy inside this repository. ## Agent skill The evidence-aware architecture review workflow lives in `skills/brick-sast/`. It includes a deterministic JSON summary helper and a review reference that keeps graph observations separate from source-verified architectural conclusions. Validate the package with: ```bash env UV_CACHE_DIR=/private/tmp/brick-uv-cache uv run --with pyyaml \ python /path/to/skill-creator/scripts/quick_validate.py skills/brick-sast ```