Task ID (tsk_...).
Request body.
Bounded harness identifier.
Optionallease_duration_seconds?: numberRequested lease lifetime in seconds; the task aggregate enforces its bounds.
Caller-generated lease UUID.
Optionalrequire_ready?: booleanConservatively reject the claim when the current task projection has unfinished blockers.
Caller-generated coding-session UUID.
Human-readable coding-session label.
The caller-held lease, including its fencing token.
Retrieve a task's current session lease Returns the authenticated assignee's viewer-safe live lease summary, or null when no live lease exists. Fencing and opaque session identifiers are never included.
Task ID (tsk_...).
Viewer-safe live lease summary, or null.
Release a task session lease Releases the authenticated assignee's matching live task lease. Repeating a release after the lease is absent succeeds. A different live successor lease returns a mismatch.
Task ID (tsk_...).
Empty response. HTTP 204 is returned after release is accepted.
Renew a task session lease Renews the authenticated assignee's matching live task lease. Both caller-generated UUIDs must match the aggregate's current lease.
Task ID (tsk_...).
Request body.
Optionallease_duration_seconds?: numberRequested renewed lifetime in seconds; the task aggregate enforces its bounds.
Current caller-held lease UUID.
Current coding-session UUID.
The renewed caller-held lease.
Claim a task for a coding session Atomically claims a user-assigned task for the authenticated user's coding session. The caller generates and retains both UUIDs. An exact retry returns the existing lease without extending it; another live holder produces a conflict. Developer and server-to-server credentials cannot impersonate the assigned user.