cyberneticlibrary

Detect bugs in pull request code

pr-reviewer-bugssubagentsetup L1260
layerswap/layerswapapp
What it does

Detect bugs in pull requests across edge cases, type safety, and cross-file impact

Best for

Catching null-check gaps and breaking changes when deep code reading and cross-file validation matter

Inputs
  • · Git diff against target branch
  • · Full source files (not just diffs)
Outputs
  • · Critical bugs (blocks merge)
  • · Cross-file impact analysis
  • · Warnings and suggestions
  • · Summary with effort estimates
Requires
  • · git
  • · File system reads
Preconditions

Git repository with clear target branch; changed files readable; Haiku model loaded

Failure modes

Missed race conditions in complex async flows; false positives on type assertions; incomplete cross-file search; context window limits on large PRs

Trust signals
  • · Exhaustive bug detection checklist provided
  • · Cross-file impact search required for breaking changes
  • · Copy-paste ready fixes with file:line references