Help us improve
Share bugs, ideas, or general feedback.
Mine for hidden bugs that pattern-based auditors miss — logic errors, broken assumptions, state machine gaps, and semantic fragility
npx claudepluginhub terryc21/bug-prospectorMine for hidden bugs that pattern-based auditors miss — logic errors, broken assumptions, state machine gaps, and semantic fragility
Share bugs, ideas, or general feedback.
Mine for hidden bugs that pattern-based auditors miss.
Code auditors check how your code is written — they find force unwraps, missing @MainActor, retain cycles, and deprecated APIs. If the syntax breaks a rule, they flag it.
Bug Prospector checks what your code assumes — it finds logic that compiles and runs fine today but breaks when a real user does something unexpected. Things like:
Auditors find code that looks wrong. Bug Prospector finds code that looks right but behaves wrong.
| # | Lens | What It Finds |
|---|---|---|
| 1 | Assumption Audit | Implicit assumptions that break under real-world conditions |
| 2 | State Machine Analysis | Unreachable states, simultaneous states, interrupted transitions |
| 3 | Boundary Conditions | Zero/one/max values, empty collections, off-by-one errors |
| 4 | Data Lifecycle Tracing | Data created but never cleaned up, stale displays, orphaned references |
| 5 | Error Path Exerciser | Error paths that leave UI stuck, swallow errors, or lose user data |
| 6 | Time-Dependent Bugs | Timezone issues, rapid-tap duplicates, slow network, first-launch-after-weeks |
| 7 | Platform Divergence | Code that works on Apple Silicon but fails on Intel, OS version gaps |
claude plugin add Terryc21/bug-prospector
Or clone and install locally:
git clone https://github.com/Terryc21/bug-prospector.git
claude plugin install ./bug-prospector
/bug-prospector # Interactive — choose scope and lenses
/bug-prospector all # Full 7-lens scan on recent changes
/bug-prospector quick # Quick 3 lenses (Assumptions + Errors + Boundaries)
Reports are written to .agents/research/YYYY-MM-DD-bug-prospector-*.md with:
Terminal-adaptive tables: Detects terminal width before rendering. Wide terminals (160+ columns) get the full 8-column table inline. Narrow terminals get a compact 4-column table with the full table written to the report file.
After the report, you can fix bugs immediately. Fixes are grouped into phases:
| Situation | Recommended Lenses |
|---|---|
| Pre-release audit | All 7 |
| After adding a new feature | Assumptions + State + Errors |
| After a crash report | Boundaries + Errors + Platform |
| Debugging intermittent failures | State + Time |
| New platform support | Platform + Boundaries |
| Data model changes | Data Lifecycle + Assumptions |
For how Bug Prospector differs from pattern-based tools (linters, compiler warnings, code review), and how it pairs with Workflow Audit, see How It Works.
MIT