bug-resolution-phase
Resolves selected ClawPatch findings through classification, bounded fixes, triage, docs/debt routing, and revalidation. Use when the user selects a ClawPatch finding, asks for ClawPatch-backed bug re
SKILL.mdskills/phases/bug-resolution-phase/SKILL.md
GitHubBug Resolution Phase
Selected-finding resolution. ClawPatch is the ledger and context source, not runtime proof and not the default patching engine.
Load REFERENCE.md before classifying or patching.
Contract
- Default to one selected finding; accept a batch only when explicitly bounded.
- Default scope is PR changes, highlighted diffs, supplied code portions, or certain paths/domains around the selected finding. Full-codebase scan only when no PR is open and no certain scope exists, or when the user explicitly asks.
- Pass that bounded scope to every ClawPatch command or explicit patch attempt that accepts scope, path, or diff guidance.
- Patch through normal Harness/Codex edits unless the user explicitly requests ClawPatch patch attempts.
- Exit resolved/revalidated, routed to debugging, recorded as debt, triaged false positive, or blocked with evidence.
Steps
- Read the selected finding with
clawpatch showand recover report/state context when useful. - Capture finding ID, report/state path, evidence, affected files, claimed behavior, current status, bounded scope, and provider/model default or explicit override when ClawPatch commands need it.
- Classify as
resolve-now,needs-runtime-debugging,tech-debt,false-positive, orblocked. - Execute that route within scope.
- Run focused verification, then
clawpatch revalidateor a clear triage/status update. - Keep final status decisions centralized for batches.
Output
Return mode, finding IDs, report/state paths, classification, route, changes, ClawPatch commands/state including provider/model default or override, verification, artifacts, caveats, and next action.