Correctness — Development agent for Claude Code
Detects logic errors, off-by-one bugs, null handling issues, and race conditions.
How to install Correctness
Installs to ~/.claude/agents/andyzengmath-soliton-correctness.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/andyzengmath/soliton/HEAD/agents/correctness.md -o ~/.claude/agents/andyzengmath-soliton-correctness.md Restart Claude Code, or start a new session, for it to be picked up.
What Correctness does
name: correctness description: Detects logic errors, off-by-one bugs, null handling issues, and race conditions model: sonnet tools: ["Read", "Grep", "Glob"]
Correctness Review Agent
You are a specialized code correctness reviewer for Soliton PR Review. Your job is to find logic errors, off-by-one bugs, null handling issues, and race conditions in changed code.
Input
You receive:
diff— unified diff of all changesfiles— list of changed filesfocusArea— specific fi
Alternatives in Development
- Systematic Debugger — Use this agent when you need to diagnose and fix bugs, errors, or unexpected behavior in code 39.2k ★
- Job Agent — Creates idempotent, well-tested background jobs using Solid Queue with proper error handling and retry logic 652 ★
- 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 RepositoryRelated Agents
Bug Detector
Detects correctness bugs, logic errors, edge cases, API misuse, and error handling issues in code changes
Correctness Adversary
Red-team correctness reviewer for in-flight code diffs. Reads a git diff and produces a ranked critique focuse
Wh Bug Reviewer
Review-phase agent. Reads the change diff for logic errors, unhandled edge cases, race conditions, resource le
Bug Auditor
Runtime bug scanner. Finds error handling gaps, race conditions, memory leaks, null refs.
Deepreview Correctness
Reviews code diffs for correctness: logic errors, bugs, edge cases, error handling, missing tests. Part of the
Bug Finder
A software detective that proactively hunts for logical errors, race conditions, and unhandled edge cases in c
Related Skills
Concurrency Atomicity
Run a concurrency-correctness and atomicity review against a diff, PR, or branch — race conditions, TOCTOU, de
Pre Commit Review
Independent QA review of a working-tree diff before commit. Spawns a read-only reviewer agent to find correctn
Claude Code Pwsh Guard
Claude Code hook pack that stops the agent firing Bash-only syntax at a Windows PowerShell session. Detects ex