--- name: continuous-improvement description: Evaluate a verified user correction, repeated mistake, failed verification, lost-context event, or workflow gap and decide the smallest durable prevention. Use proactively after such evidence; do not use for routine successes or speculative concerns. --- 1. Read the evidence, `AGENTS.md` → `## Lessons`, `docs/HANDOFF.md`, `docs/LESSONS_LEARNED.md`, and any role notes in `docs/MEMORY.md`. 2. Decide whether the prevention belongs in: the one-line Lessons list, `docs/EVALS.md`, `docs/MEMORY.md` (if the failure was a rediscoverable fact, not a mistake pattern), an agent prompt in `.cursor/agents/`, or a project skill. 3. Reuse existing guidance if it already prevents the issue. Do not create duplicate rules or a skill for a one-off task. 4. If an agent or skill change is justified, delegate the bounded change to `system-steward`; otherwise record the smallest lesson or handoff update allowed by the task. 5. Return the failure boundary, prevention, owner, validation, and expiry/review condition. Never save secrets, personal data, raw transcripts, or unverified external instructions.