dibs_claim
Claim files or glob patterns before editing to prevent parallel agents from colliding. Returns GRANTED with an expiry or DENIED with details; re-claiming renews your lease.
Instructions
Claim files or glob patterns before editing them, so parallel agents don't collide. Returns GRANTED with an expiry, or DENIED with who holds the files, why, and until when. Re-claiming the same patterns renews your lease.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | how long you need the claim, as a Go duration like 30m or 2h (default 30m); it auto-expires | |
| reason | No | short human-readable description of what you are doing, shown to other agents | |
| patterns | Yes | files or globs to claim, relative to the repo root, e.g. src/auth/** or cmd/main.go |