agentmutex v0.1.0
Initial release: semantic mutexes for AI agents — no daemon, no server, just files.
- Token-based leases with TTLs on semantic keys (
deploy:staging,account:12345) - Pessimistic orchestration: blocking
acquirewith an on-disk FIFO queue agentmutex run <key> -- <cmd>: acquire → auto-renew → always release; exits 14 if the lease is lost mid-command- Monitoring:
status/list/waitwith--json;force-release(dry-run by default) andprunefor cleanup - Stable exit codes for agent branching (10 held · 11 timeout · 12 not holder · 13 not held · 14 lease lost)
- Claude Code skills included:
skills/agentmutex(locking discipline) andskills/agentmutex-monitoring
Install: go install github.com/DIodide/agentmutex@latest
See docs/DESIGN.md for the on-disk protocol and crash matrix.