claim_intent
Register intent to edit code before editing and get collisions with other active agents up front. Track declarations you read so signature changes are surfaced.
Instructions
Register intent to edit code BEFORE editing. Returns any collisions with other active agents. Call this first, always. Also pass reads: the declarations you consulted to write this — the functions, methods or types you are calling or implementing against. Tower tells you when one of them changes under you, and shows the old and new signature so you can patch your call sites without re-reading the file. If you are changing a symbol's signature, set declares on it to the new declaration as it will read in the source, up to the body (e.g. function verify(token: string, opts: Opts): boolean): agents whose work reads it are handed that contract immediately and can code against it in parallel instead of waiting for you. If the claim is refused, the response carries alternatives: what to avoid, and advice. Don't stop — work outside avoid; Tower messages you when it frees up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| files | No | ||
| force | No | ||
| reads | No | ||
| branch | Yes | ||
| repoId | No | ||
| agentId | Yes | ||
| purpose | No | ||
| symbols | No | ||
| projectId | No | ||
| etaMinutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claimId | Yes | ||
| blocking | No | ||
| conflicts | Yes | ||
| alternatives | No | ||
| projectWarning | No | ||
| recommendation | No | proceed | |
| unreadMessages | No |