Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Verify before PR

Contributor gate for Castellan development. Operators running agents day-to-day should use Daily driver (castellan drift-check) instead of this script.

The single verification entry point is ./scripts/verify.sh:

TierCommandUse when
Fast./scripts/verify.sh --fastLocal iteration / residuals — fmt + cargo test --workspace + smoke-docs
Full./scripts/verify.sh or --fullBefore every PR; CI default — clippy, hack, release build, all smokes + moat proofs

Full tier always retains moat proofs: ablation decay, Φ/convergence gate, mid-run topology drain, Guardians plan_verify. Long orchestration demos (rah/swarm/mux flywheel, field/pane demos) are full-only.

./scripts/verify.sh --fast    # while coding
./scripts/verify.sh           # before PR
castellan drift-check

CI runs the full script on every PR (.github/workflows/ci.yml). Shared CARGO_TARGET_DIR across worktrees: optional source scripts/dev-env.sh (see engineering).