Draft
Conversation
|
|
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
Stress-tests claims, designs, and bug findings by dispatching two isolated sub-agents (advocate + skeptic) and synthesizing their arguments into a structured verdict. Counters sycophancy and single- agent agreement bias by forcing maximal disagreement before commit. Two modes: - Decision mode: free-form arguments organized by evaluation dimensions for approach/design choices - Proof mode: N null hypotheses the skeptic proves and advocate refutes, for verifying bug findings and security claims Includes SKILL.md + 5 reference docs: - anti-patterns.md (10 common failure modes with diagnoses) - decision-mode.md (structure for approach selection) - proof-mode.md (N-null-hypothesis structure for finding verification) - prompt-templates.md (advocate/skeptic templates enforcing anti-balance) - synthesis.md (verdict table format and recommendation structure) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7f05877 to
833dbef
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
adversarial-verificationplugin that stress-tests claims, designs, and bug findings by dispatching two isolated sub-agents (advocate + skeptic) and synthesizing their arguments into a structured verdict. Counters sycophancy and single-agent agreement bias by forcing maximal disagreement before the caller commits.What it does
Two modes:
Core principle: isolated sub-agent contexts are non-negotiable. An agent that sees the other side's arguments will soften to accommodate them. The adversarial value comes from each agent arguing without knowledge of the counter-argument, with synthesis happening separately.
Structure
SKILL.md(main entry point with decision tree for mode selection)references/decision-mode.md(structure for approach selection)references/proof-mode.md(N-null-hypothesis structure for finding verification)references/prompt-templates.md(advocate/skeptic templates enforcing anti-balance)references/synthesis.md(verdict table format + recommendation structure)references/anti-patterns.md(10 common failure modes with diagnoses)When to use
Test plan
python3 .github/scripts/validate_codex_skills.pypasses (verified locally).claude-plugin/marketplace.json.codex/skills/adversarial-verification🤖 Generated with Claude Code