learning-loop
Learning Loop · LL
The goal is better work next time, with fewer interventions from the user: a subsequent agent finds and correctly applies the decision without the user repeating it. Assess correctness and repeated intervention together in later comparable work; completing a retrospective or writing guidance does not establish this outcome.
What did we learn? Why was it not already carried forward? What smallest change would carry it into the next relevant task?
Run this global procedure in the current work's scope. The working project owns its decisions; the skill's global availability grants no authority to edit other repositories or global policy. Follow the user's existing authorization: assessment requests stay read-only; requests to apply improvements proceed through the authorized repairs.
Place in the learning workflow
Use /learning-loop to turn evidence from actual work into the smallest authorized repair at its owner, then inspect whether later comparable work benefits. Start with the source task, accepted decision and existing artifacts; a KB capture is useful input, not a prerequisite.
Use /learning-save when the pass produces reusable research or synthesis worth preserving in the KB and that write is authorized. Use /learning-playbook when a proposed lesson extends beyond its project or becomes new behavioral guidance. Required reading belongs in a short task-triggered pointer in the narrowest applicable AGENTS.md; the detailed learning stays at its owner. Later comparable work supplies the next observation, without a new schedule or registry.
1. Bound the evidence
Resolve the working owner and its instructions. Use the requested date, commit range or task; state the boundary when inferred. Read the relevant worklog entries, actual diffs, source evidence and current code, standards and checks. Distinguish committed, staged and unstaged work. Reconcile superseded steers against explicit acceptance and current implementation.
Finish with a bounded source set and allowed destinations. Preserve unrelated work.