agent-wal
Write-Ahead Log protocol for agent state persistence. Prevents losing corrections, decisions, and context during conversation compaction. Use when: (1) receiving a user correction โ log it before responding, (2) making an important decision or analysis โ log it before continuing, (3) pre-compaction memory flush โ flush the working buffer to WAL, (4) session start โ replay unapplied WAL entries to restore lost context, (5) any time you want to ensure something survives compaction.