agent-wal
Installation
SKILL.md
Agent WAL (Write-Ahead Log)
Write important state to disk before responding. Prevents the #1 agent failure mode: losing corrections and context during compaction.
Core Rule
Write before you respond. If something is worth remembering, WAL it first.
When to WAL
| Trigger | Action Type | Example |
|---|---|---|
| User corrects you | correction |
"No, use Podman not Docker" |
| You make a key decision | decision |
"Using CogVideoX-2B for text-to-video" |
| Important analysis/conclusion | analysis |
"WAL/VFM patterns should be core infra not skills" |
| State change | state_change |
"GPU server SSH key auth configured" |
| User says "remember this" | correction |
Whatever they said |