Prepare a strictly higher attach-v2 carrier epoch before Welcome.
Reserved for server-resolved selected-v3 session-shim takeover with full_host_frame_v3 and durable_carrier_proof_v2. Hosted activation remains closed before durable prepare or token mint until proof-v1 cutover, proof-v2 floor/predecessor, retained-candidate recovery, and the staged Relay receipt rail are verified.
workerJwtAuthorizationBearer <JWT>Short-lived worker runtime JWT minted by the platform. Claims bind the worker, project, organization, registration, and scopes.
application/json- body
orgId*string1 <= length <= 256sessionId*string1 <= length <= 256hostId*string1 <= length <= 256shimId*string1 <= length <= 256processEpoch*string^(0|[1-9][0-9]*)$controllerId*string1 <= length <= 256shimProtocolVersion*integer0 <= value <= 4294967295currentControllerGeneration*string^(0|[1-9][0-9]*)$localResumeFrom?string^(0|[1-9][0-9]*)$lastHostSeq?string^(0|[1-9][0-9]*)$lastForwardedSeq*string^(0|[1-9][0-9]*)$Carrier takeover or exact adopted-candidate recovery is prepared.
application/json- response
attachUrl*stringuritoken*string1 <= lengthexpiresAt*string^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$date-timehostEpoch*string^(0|[1-9][0-9]*)$carrierEpoch*string^[1-9][0-9]*$proposedControllerGeneration*string^[1-9][0-9]*$resolvedBoundary*string^(0|[1-9][0-9]*)$resolvedResumeFrom*string^[1-9][0-9]*$extensions*handoffNonce*string^[A-Za-z0-9_-]{43}$preparedCorrelation*string1 <= lengthidempotentReplay*booleancurl -X POST 'https://app.rensei.ai/api/daemon/session-shim/adoptions/prepare' \ -H 'Content-Type: application/json' \ -d '{ "orgId": "string", "sessionId": "string", "hostId": "string", "shimId": "string", "processEpoch": "string", "controllerId": "string", "shimProtocolVersion": 0, "currentControllerGeneration": "string", "lastForwardedSeq": "string"}'{ "attachUrl": "http://example.com", "token": "string", "expiresAt": "2019-08-24T14:15:22Z", "hostEpoch": "string", "carrierEpoch": "string", "proposedControllerGeneration": "string", "resolvedBoundary": "string", "resolvedResumeFrom": "string", "extensions": { "required": [ "carrier_epoch" ], "values": { "carrier_epoch": "string" } }, "handoffNonce": "string", "preparedCorrelation": "string", "idempotentReplay": true}Persist exact replacement-controller adoption evidence.
Commits the exact negotiated evidence against one opaque server-prepared handoff and links every correlation resolved by that preparation. Exact replay is idempotent; client fence selectors are rejected.
Resolve all five current proof-v2 readiness facts.
Runtime-JWT-only source bound to the authenticated tenant, stable host, current controller, exact stored cutover, and live Relay acknowledgement readiness. It cannot create the global cutover or admit a carrier candidate.