Claim a work card
project_card_claimMove a project card to "doing" and claim it for an actor before editing its scope, preventing concurrent edits by other agents unless the claim is forcibly taken over.
Instructions
Claim a card for an actor, move it to doing and optionally declare the filesystem scope that will be changed. Claim before editing anything the card covers; another actor's claim is refused unless forced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Card to claim, e.g. T-0042. | |
| actor | Yes | Who is claiming. Defaults to the MCP client's own name; a hand-typed value will not match the identity the edit guard sees. | |
| force | No | Take a claim another actor already holds. Requires reason. | |
| scope | No | Repository paths this claim covers. Overlapping scopes are what stop two agents editing the same files. | |
| reason | No | Why the existing claim is being taken over. Recorded on the card. | |
| expectedRevision | No | Revision string from an earlier read of this record. The write is refused if it no longer matches, so a concurrent edit is reported rather than overwritten. Omit to skip the check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | A canonical record with its body, revision and reference graph. | |
| warnings | No | Non-fatal findings, such as a stale claim that was taken over. |