refactor-improve
Self-improvement Improve — refactor-chain · improve
Bundle: refactor-chain (self-diagnosing, self-healing fix-it pipeline).
Phase: improve · Prerequisite: at least one recorded run (this one) in history.jsonl · Next: none — this closes the loop.
Adaptivity / conditional: repo-agnostic and advisory. It learns per-repo from history.jsonl and strengthens the confidence prior the harness already reads; it proposes one improvement and never changes code.
Purpose
A pipeline that never reflects can't get better. At the end of a run, this skill does the self-improvement retro: it reads this project's accumulated run history — every past chain's lane, confidence, per-step attempts, self-heals, and outcome — finds the patterns that keep recurring (a step that always needs two attempts here, a lane that's often misclassified, a fail reason that shows up again and again), and proposes exactly one concrete, high-leverage improvement for next time. It also confirms the run's outcome is recorded so the harness's per-repo confidence prior gets stronger. One improvement, not twenty — self-improvement is small, steady, and actually adopted.