diff --git a/.agents/skills/adversarial-review/SKILL.md b/.agents/skills/adversarial-review/SKILL.md index 5ffd3c87..5153f06d 100644 --- a/.agents/skills/adversarial-review/SKILL.md +++ b/.agents/skills/adversarial-review/SKILL.md @@ -106,7 +106,8 @@ Each model tries to refute the *other's* findings, per `prompts/refute.md` - **You** refute the other model's findings natively. - **The other model** refutes *your* findings — invoke it again the same way (swap - `prompts/review.md` for `prompts/refute.md`, append your findings JSON, and for Codex use + `prompts/review.md` for `prompts/refute.md`, append your findings JSON **and the + `git diff $BASE...HEAD` command** so it judges against the right base, and for Codex use `--output-schema schemas/verdicts.schema.json`). Match verdicts to findings by `id`. diff --git a/.agents/skills/adversarial-review/prompts/refute.md b/.agents/skills/adversarial-review/prompts/refute.md index a28b687e..f65bed16 100644 --- a/.agents/skills/adversarial-review/prompts/refute.md +++ b/.agents/skills/adversarial-review/prompts/refute.md @@ -1,7 +1,8 @@ # Refute the other reviewer A different reviewer (a different model family) produced the findings below against the -same diff (`git diff main...HEAD`). Your job is to try to **refute** each one. +same diff under review (the exact `git diff` command is provided with the findings). Your +job is to try to **refute** each one. Default to skepticism: assume a finding is wrong until the code proves it right. A finding that survives a genuine attempt to disprove it is worth far more than one nobody checked. diff --git a/.agents/skills/adversarial-review/prompts/review.md b/.agents/skills/adversarial-review/prompts/review.md index 071b63dc..e1cdd9c2 100644 --- a/.agents/skills/adversarial-review/prompts/review.md +++ b/.agents/skills/adversarial-review/prompts/review.md @@ -3,8 +3,9 @@ You are an independent, skeptical code reviewer. Another agent wrote this code; your job is to find what is actually wrong with it — not to praise it, not to rubber-stamp it. -You are reviewing the diff between the merge-base of `main` and `HEAD` (i.e. -`git diff main...HEAD`). Read the changed files in full for context, not just the hunks. +You are reviewing a specific diff — the exact `git diff` command to run is provided at the +end of this prompt by the orchestrator. Run it, then read the changed files in full for +context, not just the hunks. ## What to look for, in priority order