Prompt file imported from lancerbeta/solana-alpha-lab (
.cursor/commands/delivery-review.md). Copyright stays with the author.
Delivery review
For the exact task contract and exact diff, verify DELIVERY_HARNESS_V1 with
scripts/delivery_harness.py check. Launch isolated critics: code review
always; the remaining roles are frozen by the task contract
required_review_roles according to canonical triggers (goal/DoD for a
new/changed outcome, architecture on boundaries/contracts/schemas/security
risk, owner-UX on owner-operable surfaces, refactor on its measured trigger)
and strengthened by deterministic floors (ARCHITECTURE_CRITIC on
control/schema/authority surfaces). Contracts without the field and
LIVE_PR_HEAD use the legacy triple CODE_REVIEWER+GOAL_DOD_CRITIC+
ARCHITECTURE_CRITIC. Machine gates require the exact resolved role-set via
one shared resolver. If isolated critics cannot run, record
SINGLE_AGENT_REVIEW_FALLBACK with verdict NOT_READY. Merge denies
fallback. Apply the same deterministic gates.
Before launching the architecture critic, classify the review profile:
uv run --locked --managed-python python -B scripts/semantic_premise_review_cli.py classify \
--changed-path <path> ... \
--task <exact-task-contract>
When the result profile is STANDARD, do not supply a semantic packet.
When the result profile is SEMANTIC_PREMISE:
- Build a frozen
smial.semantic-premise-review-packetviabuild-packet(live args or fixture). Packet independence fields attestPACKET_INFORMATION_PATHonly — not live parent-prompt isolation. - Run fail-closed
validate-launchwith the classification JSON, packet, and exact candidate binding (task/base/head/diff/claims). Stale or missing packet blocks architecture launch. - Launch
architecture-criticin isolated context with that packet + exact diff + named claim files only. Do not pass the implementation transcript. - Architecture findings must include
packet_fingerprint_sha256=<exact fingerprint>.
Canonical independent-review evidence still records role ARCHITECTURE_CRITIC
only — never a fourth merge role. Semantic routing cannot select work or grant
authority. Model diversity defaults to UNPROVEN; PROVEN requires an explicit
model identity string.