Surgical Patch

Fix bugs and small behavior changes at the narrowest responsible layer. Use when regression proof, preserved surrounding behavior, and task-relevant tests matter.

Julius Brussee Updated 120k repo stars
Caveman Learn report: a summary and savings cards on the left; the biggest places tokens go, with one fix opened, and a chart of how full sessions get on the ri

File contents

Surgical patch

Reproduce failure first when economical; otherwise capture strongest available evidence.

  • Trace symptom to responsible mechanism.
  • Change narrowest layer that owns incorrect behavior.
  • Preserve unrelated behavior and user changes.
  • Avoid cleanup, renaming, and abstraction outside fix.
  • Add only regression proof relevant to task.

Run focused proof plus nearest affected gate. Stop when failure is fixed and regression proof passes.

JuliusBrussee/caveman commit 1c06cb1436

Frequently asked questions

npx get-skill add juliusbrussee/surgical-patch