done

Release a Shepherd work claim.

Use done when a claim is finished, abandoned, or no longer needs to reserve attention.

Input

FieldTypeRequiredDescription
workItemIdUUID stringYesThe claim id returned by work.

Example

{
  "workItemId": "2f4d5b46-1a6e-49d8-9302-9bdf73aeb21a"
}

Result

Shepherd returns { "ok": true } and any pending announcements for the agent.

Behavior notes

  • Call done even if the task ended without a code change.
  • If a claim expires before done, the workspace treats it as no longer active.