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:
| Tier | Command | Use when |
|---|---|---|
| Fast | ./scripts/verify.sh --fast | Local iteration / residuals — fmt + cargo test --workspace + smoke-docs |
| Full | ./scripts/verify.sh or --full | Before 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).