---
name: blacksite-selective-verify
description: Select and run the smallest valid Blacksite formatting, compile, test, lint, processing, validation, packaging, and native gates based on changed files and the current task state. Use after edits or before slice/candidate completion; do not default to full workspace gates.
---

# Blacksite selective verification

Read `.codex/workflow.toml` and [the verification matrix](references/verification-matrix.md), then invoke `python scripts/codex/verify.py`.

- `plan` explains selected and skipped gates without executing them.
- `fast` runs the smallest useful edit loop.
- `slice` adds affected-package tests, strict Clippy, domain checks, docs integrity, and named native requirements.
- `candidate` is permitted only for a nominated Candidate-ready state and runs missing release gates once.
- `status` reads the digest ledger; `invalidate --reason ...` invalidates only when inputs or acceptance change.

Every Cargo command must go through `cargo_lane.py`. Do not run overlapping Cargo processes. Reuse a PASS when its relevant input digest, command, lane signature, toolchain, features, and environment are unchanged. Store complete output under `.codex/logs/` and show only the compact result or the first bounded actionable failure.

Do not append workspace tests, workspace Clippy, processing, validators, packaging, or native QA to an ordinary fast loop. Prefer focused tests in the lightest crate that owns the invariant.
