claim_task
Atomically claim an executable task, rejecting stale revisions to prevent conflicts. Optionally declare the files or paths you plan to modify for other actors to see.
Instructions
Atomically claim one executable task. A stale revision is rejected as a conflict.
work_scope optionally declares the files/paths you expect to touch
(e.g. ["src/blackboard/service.py", "tests/test_service.py"]). It is
recorded on the task_started Event for other actors to see before they
start their own work, but it is not enforced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| plan_id | No | project | |
| task_id | Yes | ||
| actor_id | Yes | ||
| work_scope | No | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||