- production-error-sweep-loop.md 42 lines · 2.1 KB
Production Error Sweep Loop
Loop Engineering — keep an autonomous responder working the error queue, one root cause at a time, until production is quiet.
🎯 Goal
Continuously pull the top production error, find its root cause (not just the symptom), ship a tested fix, and verify the error stops recurring.
⏱️ Schedule
Suggested interval: 15m (or trigger on new error alerts).
▶️ Run it
/loop 15m "Take the highest-impact unresolved production error. Reproduce it, find the root cause, write a regression test, fix it, and open a PR. Continue until no high-severity errors remain."🔁 Iteration steps
- Perceive — read the top error by impact (frequency × severity).
- Reason — reproduce and trace to the true root cause with the
debugagent. - Plan — design a minimal fix plus a regression test that fails first.
- Act — implement the fix; the
incident-responderagent documents impact and mitigation. - Observe — confirm the regression test passes, then open a PR with
/create-pr.
🛑 Stopping condition
The high-severity error queue is empty and every fix is covered by a passing regression test.
🧩 Referenced components
agent:expert-advisors/debug— root-cause analysis.agent:security/incident-responder— impact assessment and mitigation notes.command:git-workflow/create-pr— ships each fix for review.
💡 Example
A recurring null-pointer crash is traced to an unvalidated webhook payload; the loop adds a failing regression test, fixes the validation, verifies, and opens fix: validate webhook payload before parse.
Scanned by NVIDIA SkillSpector
Automated static analysis (no LLM) · v2.12.0 · 2026-10-17
SkillSpector looks for patterns such as shell commands, credential access, network calls or unpinned dependencies. An observation is something worth reading in the files before you install, not a confirmed vulnerability. Components that run code locally, like hooks, MCP servers and security tooling, naturally show more of them.
No observations.
Learn more about NVIDIA SkillSpector or how components are reviewed.