# Repeated Failure Learning

> Prove whether failures share one recurring root cause.

- Skill: `sgaabdu4/repeated-failure-learning` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add sgaabdu4/repeated-failure-learning`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sgaabdu4/repeated-failure-learning/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: sgaabdu4 (https://skillmd.com/u/sgaabdu4)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/sgaabdu4/repeated-failure-learning

---


# Repeated Failure Learning

## Trigger

- Same root cause or failed approach occurs twice.
- User reports recurrence.
- Unrelated failures != recurrence.
- Failed candidate + original violation remains → prior cause/solution = unproven → return `diagnosing-bugs`; same theory/variant mutation, retry, push, or publish = forbidden.
- Comparable candidate fails twice → no third candidate; `question-me` asks whether the violation persists and whether a materially different direction is wanted.
- Recurrence through an existing prose/static rule = false-gate evidence; do not count rule presence as prevention.

## Ownership

- Diagnosis = `diagnosing-bugs`.
- Regression strength = `test-quality`.
- Gate contract + commands/hooks/CI = `deterministic-checks`.
- Any route → record recurrence evidence in the affected repository → hand packet to `he-learn`; lifecycle continues.
- Block delivery only when recurrence proves continued work risks security/privacy/accessibility/data integrity/data loss/irreversible action.
- This skill owns recurrence + root-cause evidence only; prevention selection = `he-learn`.

## Evidence

| Field | Required proof |
|---|---|
| Signature | Stable error/symptom + affected boundary |
| Attempts | Change + result for each comparable attempt |
| Recurrence | Same root cause or failed approach ≥2 times |
| Cause | Root owner + why prior action failed |
| Success | Correcting change + passing proof |
| Exposure | Callers/data/routes/tests/docs/config affected |

## Complete

- Recurrence proven by comparable evidence.
- Root cause + successful correction identified.
- Evidence packet = signature + attempts + cause + correction + exposure.
- `he-learn` packet handed off in every route without routine source pause.

Report = `PASS | CONCERNS | FAIL` → recurrence proof → root cause → correction → exposure → handoff/gap.

