Catch incomplete PRs
before they ship.
Your AI agent submitted a PR that looks done. The handler changed but the test didn't. The config updated but the migration wasn't created. sourcebook catches what's missing.
THE_PROBLEM
AI agents don't just hallucinate. They stop too early. They find the right file, make a clean edit, and move on — leaving test files, sibling components, and co-dependent configs unchanged. The PR passes CI. The bug shows up days later.
Completeness gate accuracy on 30 real diffs. If something's missing, it catches it.
False positive rate on clean diffs. Doesn't cry wolf on complete changes.
Per AI-powered analysis. Structural checks are instant and free.
HOW_IT_WORKS
CLI — check any diff locally
sourcebook check reads your staged changes and checks them against the repo's git co-change history, test file mappings, and import graph. No LLM. Under a second.
Hooks — catch it before the commit
sourcebook init wires up Claude Code hooks. Agent edits a file, sourcebook checks the diff, agent sees what's missing — all before the commit lands.
GitHub App — catch it on the PR
sourcebook reviews every PR for structural completeness. Comments with specific files that likely need to change. No more incomplete merges slipping through review.
Coming soonEverything you need as a solo developer or small team.
-
+
sourcebook check— diff completeness analysis -
+
check --ai— semantic analysis (BYOK) -
+
sourcebook init— context files + hooks setup - + All CLI commands (update, watch, truth, scan-history, ask)
- + MCP server for agent queries
- + Claude Code hooks integration
- + TypeScript, Python, Go, Rust
For engineering teams shipping 10+ AI-assisted PRs per day. We're looking for 3-5 design partners.
- + Everything in Free, plus:
- + GitHub App — automated PR completeness checks
- + Private repo analysis
- + Team-level co-change analytics
- + Founder-tuned rules for your repos
- + Direct support from the builder
JOIN_THE_WAITLIST
We're looking for 3-5 engineering teams to shape the product. You'll get early access, direct support, and input on what we build.
No spam. We'll reach out within 48 hours.
The CLI is free and always will be.
npx sourcebook check