feat(revyl): drive booked sessions through hostedAttachment
Summary
The Revyl plugin declares hostedAttachment (ADR 0042, #5319), so core can hand it a booked session.
inspectchecks the platform, refuses plugindata, and requiresproxyBaseUrlto be exactly/v1/sessions/<booked id>/revylwith no userinfo, query or fragment; that route is theassignment.bindbuilds an action-only client on the route with the scopedtoken, with no start, stop or credential-check call. One lease holds the session; the runtime never starts or stops it and keeps the device from idling untilexpiresAt, or until the route reports the session ended or the token refused.- Route 401 →
cloud_attachment_token_rejected, 409session_not_running→cloud_session_ended, 413 →provider-request-too-large.
Core change (scope expansion): readiness required a settings text-size read, which Revyl cannot back, so every Revyl connect rolled back. The probe now tries text-size, then an unrecorded snapshot, moving on only after a typed unsupported refusal. Providers that read text size, such as ADC, keep their check. No vendor names in core.
Before / after
agent-device connect cloud --platform ios booking a Revyl session:
- Before: rolled back with
probe_unsupported. - After: committed after a snapshot read on the route.
Validation
Head dd743c91a5: pnpm check:affected --run --base origin/0.22 passed, exactCommit: true.
Tests: connect cloud commits on iOS and Android through a real attachment daemon, the Revyl plugin and a fake route (fails without the core change); probe order with a fictitious client; ADC sends no snapshot; plugin tests against a fake route. Hosted CI pending.