d0fc0114da66
Begin resuming an agent session (flip it to the transient `resuming` status)
Atomically transitions a resumable test-authoring session to the transient resuming status, BEFORE the resume planner runs. This is the concurrency guard for the cloud TAA continuation flow: two concurrent answers to the same needs_attention session cannot both run a planner or spawn competing cloud instances, because only one wins the flip to resuming and the loser gets a 409. Granted only when the session's latest_instance_status is resumable (needs_attention, failed, or completed), or it is already resuming but stale (last updated longer ago than the server-side TTL — a crashed attempt, safe to steal). A live (non-stale) resuming session returns 409. The session leaves resuming when the resume spawns a new instance (→ queued) or via a status_update on the messages endpoint (re-clarification / error restore); a crashed attempt is reclaimed by the next answer's TTL steal. Only test_authoring sessions accept this call.
Path parameters
The ID of the agent session
Response
The agent session, now in the resuming status