skills/fix-loop/SKILL.md
Autonomous error detection and repair pipeline. Runs parallel to Build Loop. Capture → Confirm → Investigate → Fix → Prove → Light Council → Deliver or Escalate.
npx skillsauth add bigeasyfreeman/adlc fix-loopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Fix Loop runs in parallel with the Build Loop. It watches production for errors and autonomously repairs them. The Architect reviews fixes, not triages bugs.
Capture → Confirm → Investigate → Fix → Prove → [LIGHT COUNCIL] → Deliver PR
↑ |
└── Retry (max 3) ──────────────┘
|
Escalate (if 3 fails) ←─────────┘
Monitor for errors with full context:
| Source | What to Capture | |--------|----------------| | Error monitoring | Exceptions: type, message, stack trace, correlation ID | | Health checks | Degraded/failed endpoints with response details | | Test regressions | Tests that previously passed now failing | | Performance anomalies | Latency spikes, throughput drops with timing data | | Security alerts | Dependency vulnerabilities, suspicious access patterns |
Domain adaptation:
Filter noise from signal:
Root cause analysis with codebase context:
git blame and recent changes for related codeWrite the fix in isolation:
If fix doesn't pass: Retry with enriched context (failure reason from previous attempt). Max 3 retries.
Evidence package:
3 personas review (not full 6 — this is a fix, not a feature):
| Persona | Focus | |---------|-------| | Skeptic | Does this fix the root cause, or just the symptom? | | Operator | Is the fix safe to deploy? Rollback plan? | | Security Auditor | Does the fix introduce new security issues? |
Verdicts: APPROVED / REVISION REQUIRED (retry) / ESCALATE (human needed)
PR with:
If 3 fix attempts fail, create detailed issue with:
adlc:
fix_loop:
enabled: true
confirmation_threshold: 5 # errors in window = confirmed
confirmation_window_hours: 1
max_fix_attempts: 3
auto_escalate: true
council_weight: light # skeptic + operator + security_auditor
security_auto_elevate: true # security fixes → Critical risk tier
development
Discovers and records repo-local approved build paths so agents reuse proven patterns instead of inventing parallel architectures.
development
Scoped maintenance for docs/solutions entries when stale signals, refactors, or explicit user scope require refresh.
documentation
Conditionally captures verified reusable ADLC learnings into docs/solutions after successful closeout.
development
Uses Graphify as ADLC's graph-backed research layer and Beads as an optional dependency-aware task memory layer. Produces evidence for compatibility, reuse, accuracy, dark-code hotspots, and long-horizon handoff.