entangled_acquire_lock
Acquire an exclusive mutex lock on a file, directory, or critical task to stop multiple agent CLIs from editing it at once and causing merge conflicts. Locks auto-expire via ttl.
Instructions
[ENTANGLED] Acquires an exclusive mutex lock on a file, directory, or critical task. Prevents multiple agent CLIs from editing the same file concurrently and causing merge conflicts. Locks automatically expire after ttl_seconds (default 30 minutes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| ttl_seconds | No | ||
| resource_path | Yes | ||
| task_description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |