Brain · Errors

Errors

The error-learning loop. Every mistake logged with a prevention rule, surfaced before you repeat it. Errors that recur become Lessons; Lessons regenerate into CLAUDE.md; the agent reads them on next run. The loop closes.

See it in motion

Where to find it

  • Desktop: http://localhost:4000/, then BrainErrors in the sidebar.
  • Hosted: repoops.ai/team/docs/errors.md
  • Keyboard: K, then type “Errors”.
  • Source: .claude/brain/errors.md
  • Recurring: Same prevention rule fires ≥ 2× → flagged on the Today dashboard's Brain pulse panel.

What it does for you

Mistakes turn into rules.Each entry: what broke, what fixed it, what rule prevents it next time. The rule lands in `CLAUDE.md`; the next session walks in already knowing.
Recurring defects get attention.If the same action recurs across two sessions within 14 days, the reflector proposes a prevention rule in `.claude/brain/proposed/`. Accept it on the Recurrence rules tab to promote it into the lesson loop. Fix the rule, or replace it.
The hard-won knowledge compounds.Six months of errors.md is a brain that doesn't make beginner mistakes. The team brain (hosted rollup) sums across every bound device.

Configure

Nothing - errors.md is a flat .md file. New entries land via PR or the reflector.

Use it well

Add an error the moment you fix one. Be specific about the trigger and the fix; vague rules don't prevent recurrence. The reflector reads what you reject to bias future proposals - keep rejections loud.

Read more