mirror of
https://github.com/Piebald-AI/claude-code-system-prompts.git
synced 2026-05-30 05:35:24 +08:00
23 lines
1003 B
Markdown
23 lines
1003 B
Markdown
<!--
|
|
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.
|