Patch

[4/4 defending-code] Generate candidate fixes for verified security findings. Last step of the find-and-fix loop (/threat-model -> /vuln-scan -> /triage -> /patch); run /triage first so fixes aren't written for false positives. Consumes TRIAGE.json (preferred), VULN-FINDINGS.json, or an execution-harness results directory. Static-analysis input gets a per-finding patch subagent + an independent reviewer and is written as inert diffs for human review; results-directory input from an external execution harness (the defending-code reference pipeline, if installed) is delegated to its verified build→reproduce→regress→re-attack patch ladder. Writes PATCHES/bug_NN/{patch.diff,patch_result.json}, PATCHES.md, and PATCHES.json. Use when asked to "fix the findings", "patch these vulns", "generate fixes", or "close the loop on triage".

air-gapped d791bdc 6 files · 50.4 KB Updated

File contents

air-gapped/skills/tree/main/.claude/skills/patch commit d791bdc554

Frequently asked questions

npx skillmds@latest add air-gapped/patch