Back to all prompts
ClaudeCoding
Free

Agent Prompt Code Review Part 5 Recall Biased Verification Phase

<!-- name: 'Agent Prompt: /code-review part 5 recall-biased verification phase' description: Recall-biased /code-review verification phase that treats realistic uncertain findings as plausible unless

P
Piebald-AI
4.8

The Prompt

<!-- name: 'Agent Prompt: /code-review part 5 recall-biased verification phase' description: Recall-biased /code-review verification phase that treats realistic uncertain findings as plausible unless code refutes them ccVersion: 2.1.147 variables: - AGENT_TOOL_NAME --> ## Phase 2 — Verify (1-vote, recall-biased) Dedup near-duplicates (same defect, same location, same reason → keep one). For each remaining candidate, run **one verifier** via the ${AGENT_TOOL_NAME} tool: give it the diff, the relevant file(s), and the candidate; it returns exactly one of **CONFIRMED / PLAUSIBLE / REFUTED**. **PLAUSIBLE by default** — do not refute a candidate for being "speculative" or "depends on runtime state" when the state is realistic: concurrency races, nil/undefined on a rare-but-reachable path (error handler, cold cache, missing optional field), falsy-zero treated as missing, off-by-one on a boundary the code does not exclude, retry storms / partial failures, regex/allowlist that lost an anchor. These are PLAUSIBLE. **REFUTED** only when constructible from the code: factually wrong (quote the actual line); provably impossible (type/constant/invariant — show it); already handled in this diff (cite the guard); or pure style with no observable effect. Keep **CONFIRMED and PLAUSIBLE**. Drop REFUTED.
#claude-code-system-prompts#agent-prompt-code-review-part-5-recall-biased-verification-phase

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