Locking / Concurrency
Why it matters: Prevent concurrent agents from corrupting shared foundational state without creating permanent deadlocks.
Lease-based distributed locks for shared resources, with ownership tokens and automatic expiry.
API endpoints
| Method | Path | Description |
|---|---|---|
POST | /v1/locks | Acquire a lock |
POST | /v1/locks/:id/release | Release a lock |