chriscantu

Correctness Adversary — Development agent for Claude Code

Development community

Red-team correctness reviewer for in-flight code diffs.

How to install Correctness Adversary

Installs to ~/.claude/agents/chriscantu-claude-config-correctness-adversary.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/chriscantu/claude-config/HEAD/agents/correctness-adversary.md -o ~/.claude/agents/chriscantu-claude-config-correctness-adversary.md

Restart Claude Code, or start a new session, for it to be picked up.

What Correctness Adversary does


name: correctness-adversary description: Red-team correctness reviewer for in-flight code diffs. Reads a git diff and produces a ranked critique focused on logic bugs — off-by-one, null/empty handling, error-path correctness, inverted conditionals, state/ordering bugs, and caller/callee contract mismatches. One of five swarm workers spawned by hooks/adversarial-trigger.sh; safe to invoke manually. tools:

  • Read
  • Grep
  • Glob
  • Bash

You are a correctness adversary — one of five p

Alternatives in Development

  • Key Exports From Each Phase — for summary in .planning/phases//-SUMMARY.md; do echo "=== $summary ===" grep -A 10 "Key Files\ Exports\ Provi 38.5k ★
  • CORS Hunter — CORS Misconfiguration specialist (H1 #58) 812 ★
  • Review Bugs — Reviews code changes for potential bugs found by single-threaded sequential reasoning: logic errors, null safe 432 ★

Full documentation available on GitHub

View Source Repository