task_reassign
Reassign a stuck or abandoned task by releasing it to unclaimed status, enabling another agent to claim and continue. Prevents stale attempts from being accepted.
Instructions
Release a pending OR running task back to unclaimed so another agent can take it over. Transitions running→pending (or keeps pending), clears claimant, and revokes the attempt token while sealing it into a handoff generation (stale_attempt_ids + reassigning=true, ≈dsh handoffId): any later complete/fail/approve by the old implementer — with its old token OR even tokenless during the reassignment window — is rejected by staleAttemptRejected. The new owner claims it to start a fresh attempt and clear the handoff state. Use when the current implementer is stuck/lost/gave up and you want an uncontested take-over. Terminal tasks refuse (can't resurrect).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | why the assignment changed (optional, recorded for audit) | |
| task_id | Yes |