agent-resilience
Installation
SKILL.md
Agent Resilience
Patterns for surviving context loss, capturing corrections, and continuously improving.
WAL Protocol (Write-Ahead Logging)
The Law: Chat history is a buffer, not storage. Files survive; context doesn't.
Trigger β scan every message for:
- βοΈ Corrections β "It's X, not Y" / "Actually..." / "No, I meant..."
- π Proper nouns β names, places, companies, products
- π¨ Preferences β styles, approaches, "I like/don't like"
- π Decisions β "Let's do X" / "Go with Y"
- π’ Specific values β numbers, dates, IDs, URLs
If any appear:
- WRITE FIRST β update
memory/SESSION-STATE.md - THEN respond