bug-hunt

Run a bug hunt over active P1/P2 bug tickets: re-verify each against live code, close obsolete ones, fix the rest the way forward. Only on explicit /bug-hunt or 'bug hunt'.

Bug Hunt

Run a focused hunt over active P1/P2 bug tickets, verify each against live code, and fix current bugs through the lean-sprint workflow. The host follows the role contract in lean-sprint.

Invocation

1. Pick

Use harnez find issues -a status:active; select Category Bug (or clearly bug-like categories such as Reliability) at P1/P2. Order fresh tickets and blockers first. Pair tickets that share code into one batch.

2. Re-verify (read-only)

Have read-only searchers check tickets against live code and recent history. They return one status per ticket: STILL-CURRENT, PARTLY, or OBSOLETE, with evidence, root-cause file and line, way-forward fix, write set, and test. Treat misleading or stale titles as clues, not facts.

Searchers may run in parallel with each other and with the active developer. Keep one writer at a time; the host commits only files it staged.

3. Record

Add a dated live-check section to each ticket with the result and evidence. The host commits these ticket updates before implementation. Keep the ticket as the record of the finding.

4. Decide

5. Fix and review

Run the lean-sprint §2–5 loop for each batch. Keep one developer at a time, one commit per ticket, and one make test-q1 run per batch. Close a ticket only after its acceptance checks pass.

The host performs the live check itself, such as a real harnez apply, live probes, real-flow git checks, and a clean git status after harnez init. Reopen the ticket with pre-work when acceptance is missed.

6. Teardown

Follow lean-sprint §6 for teardown and the study note. Stop and report if work loops or is blocked on a decision; do not check in with the user during the hunt.

Delegate the fix loop to lean-sprint, a study to study, and a parked follow-up to issue. Follow their instructions instead of copying their mechanics here.

Content
file-backed
License:
AGPL-3.0-or-later
Origin
first-party
Source:
docs/commands/bug-hunt.md
Source revision
3cb914dfaf6c43cbbbc43868d6b47c2cc7516c22
Requires
Targets
codex, claude
Invocation
/bug-hunt

Related skills