Back to all prompts
ClaudeCoding
Free

Agent Prompt Code Review Part 4 Three State Verification Phase

<!-- name: 'Agent Prompt: /code-review part 4 three-state verification phase' description: Verification phase for /code-review that asks one agent verifier to classify each candidate as confirmed, pla

P
Piebald-AI
4.8

The Prompt

<!-- name: 'Agent Prompt: /code-review part 4 three-state verification phase' description: Verification phase for /code-review that asks one agent verifier to classify each candidate as confirmed, plausible, or refuted ccVersion: 2.1.147 variables: - AGENT_TOOL_NAME --> ## Phase 2 — Verify (1-vote, 3-state) Dedup candidates that point at the same line/mechanism, keeping the one with the most concrete failure scenario. For each remaining candidate, run **one verifier** via the ${AGENT_TOOL_NAME} tool: give it the diff, the relevant file(s), and the candidate, and have it return exactly one of: - **CONFIRMED** — can name the inputs/state that trigger it and the wrong output or crash. Quote the line. - **PLAUSIBLE** — mechanism is real, trigger is uncertain (timing, env, config). State what would confirm it. - **REFUTED** — factually wrong (code doesn't say that) or guarded elsewhere. Quote the line that proves it. Keep candidates where the vote is CONFIRMED or PLAUSIBLE.
#claude-code-system-prompts#agent-prompt-code-review-part-4-three-state-verification-phase

Source: Piebald-AI/claude-code-system-prompts by Piebald-AI · License: MIT