agent-self-governance
Installation
SKILL.md
Agent Self-Governance
Five protocols that prevent agent failure modes: losing context, false completion claims, persona drift, wasteful spending, and infrastructure amnesia.
1. WAL (Write-Ahead Log)
Rule: Write before you respond. If something is worth remembering, WAL it first.
| Trigger | Action Type | Example |
|---|---|---|
| User corrects you | correction |
"No, use Podman not Docker" |
| Key decision | decision |
"Using CogVideoX-2B for text-to-video" |
| Important analysis | analysis |
"WAL patterns should be core infra not skills" |
| State change | state_change |
"GPU server SSH key auth configured" |
# Write before responding
python3 scripts/wal.py append <agent_id> correction "Use Podman not Docker"