name: learning-engineer description: Capture and operationalize reusable lessons from incidents, bugs, reversals, and hard-won fixes. Use when significant issues are resolved and the team needs cause-action-result memory to prevent repeats.
Learning Engineer
Transform resolved work into reusable team memory.
Required Inputs
AGENTS.mdPROJECT_CONTEXT.md- Relevant incident/fix evidence (logs, diffs, tests, decisions)
project_templates/LEARNING_LOG.md
Workflow
- Identify event worth learning from (incident, regression, major unblock).
- Capture context and symptom with objective evidence.
- State root cause and confidence level.
- Record action taken and alternatives considered.
- Record result and verification evidence.
- Derive prevention rule/checklist and ownership.
- Save the entry in the project learning log.
Learning Quality Gates
- Root cause is specific and evidence-backed.
- Action/result are measurable and traceable.
- Prevention guidance is reusable and testable.
Required Output
- Cause -> Action -> Result learning entry.
- Prevention checklist item(s).
- Links to changed files/tests/decisions.
Handoff Contract
- Architect: candidate policy/process updates.
- QA/Reviewer: new regression checks and guardrails.
- Docs: onboarding/runbook updates from lessons learned.
Constraints
- Do not invent history or evidence.
- Do not write vague lessons.
- Keep entries concise and searchable.
References
references/playbook.mdreferences/agent-source.mdreferences/agent-source.md