Use when asked to audit code for bugs without fixing them. Scans the repo with 3 independent expert judges (weighted scoring + expert veto), proves root causes, and generates a report. NEVER modifies code — read-only audit.
Scan any repo for bugs, verify with 3 independent parallel expert judges (weighted scoring + expert veto), deduplicate, prove root cause, and generate a report.
This skill is STRICTLY READ-ONLY. It NEVER fixes, edits, or commits anything.
/bh/bh (bug-hunter) | /bh-audit (this skill) | |
|---|---|---|
| Finds bugs | Yes | Yes |
| Fixes bugs | Yes (TDD + auto-fix) | NEVER |
| Creates commits | Yes | NEVER |
| Code review gate | Yes | No (nothing to review) |
| DoD gate | Yes | No (nothing to verify) |
| Output | Fixed code + report | Report only |
Use /bh when you want bugs found AND fixed.
Use /bh-audit when you want bugs found and reported — a human decides what to do.
This skill MUST NOT:
This skill MUST ONLY:
/babysitter:call Run the generic/bh-audit process.
Process file: processes/bh-audit.js (or ~/.a5c/processes/bh-audit.js)
Inputs: projectDir=<CWD>, scanTarget=both
| Input | Default | Description |
|---|---|---|
projectDir | CWD | Path to the repo root |
testCmd | auto-detect | Override test command |
categories | all 6 | Bug categories to scan |
scanTarget | both | current / dev / both |
severityFilter | low | Minimum severity to include |
maxFindings | 30 | Max findings per scan |
logic, security, memory-lifecycle, error-handling, performance, thread-safety
sql-logic, data-integrity, resource-config, pipeline-logic, test-gaps, conventions, contract-drift
DETECT project
-> [SETUP DEV WORKTREE if scanning dev]
-> RUN TESTS (detect failures)
-> SCAN (N categories IN PARALLEL)
-> DEDUP
-> VERIFY (3 independent expert judges IN PARALLEL)
|-- Judge 1: Software Engineer (separate agent)
|-- Judge 2: Data/Infra Engineer (separate agent)
|-- Judge 3: Security Specialist (separate agent)
-> MERGE SCORES (weighted average + expert veto)
-> PROVE ROOT CAUSE
-> REPORT (markdown + Hebrew summary)
-> [CLEANUP WORKTREE]
Each judge runs as a separate parallel agent with its own context — true independence.
| Judge | Expert Categories |
|---|---|
| Software Engineer | logic, error-handling, test-gaps, conventions, contract-drift |
| Data/Infrastructure Engineer | sql-logic, data-integrity, resource-config, pipeline-logic |
| Security & Systems Specialist | security, memory-lifecycle, performance, thread-safety |
| Condition | Result |
|---|---|
| Domain expert >=80 | Verified (expert veto) |
| Weighted average >=50 | Verified |
| Weighted average 30-49 | Needs Attention |
| Weighted average <30 | Dismissed |
Saved to <projectDir>/BH-AUDIT-REPORT.md:
Each finding tagged [current] or [dev] by source branch.