Commit Graph

2 Commits

Author SHA1 Message Date
eb0f543366 Optimize memory: Redirect error logs to daily files
Changed error logging from MEMORY.md (permanent) to daily logs (time-based).
This prevents MEMORY.md from becoming polluted with error stack traces
that degrade search quality.

Impact:
- Future errors go to memory/YYYY-MM-DD.md (naturally age out)
- MEMORY.md stays focused on project context only
- Search results no longer polluted by duplicate stack traces

Change: self_healing.py line 131: daily=False → daily=True

Note: SOUL.md, MEMORY.md, jordan.md also optimized (not in git - gitignored)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 14:04:12 -07:00
f018800d94 Implement self-healing system Phase 1: Error capture and logging
- Add SelfHealingSystem with error observation infrastructure
- Capture errors with full context: type, message, stack trace, intent, inputs
- Log to MEMORY.md with deduplication (max 3 attempts per error signature)
- Integrate error capture in agent, tools, runtime, and scheduler
- Non-invasive: preserves all existing error handling behavior
- Foundation for future diagnosis and auto-fixing capabilities

Phase 1 of 4-phase rollout - observation only, no auto-fixing yet.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-14 18:03:42 -07:00