You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JS SDK adcp-client#2170 ("feat: support ADCP rc8 async discovery", merged) wired ctx.handoffToTask(...) for async get_products / get_signals, plus explicit INVALID_REQUEST rejection of async accountless/wholesale discovery. Python has no equivalent.
Python's SalesPlatform.get_products (src/adcp/decisioning/specialisms/sales.py) and SignalsPlatform.get_signals (signals.py) return MaybeAsync[...Response] and their docstrings claim "Sync catalog read" / "Sync at the wire level — GetSignalsResponse has no async envelope." That premise is now false: the shipped rc.9 generated types include GetProductsSubmitted / GetSignalsSubmitted plus get_products/get_signals working envelopes (generated_poc/core/async_response_refs/{media_buy,signals}/).
What already exists
The runtime handoff plumbing is verb-agnostic: _invoke_platform_method checks is_task_handoff for every verb (dispatch.py) and _project_handoff emits the generic {task_id, status: submitted} envelope. So handoff is not verb-gated — the gap is at the typed-API/contract layer.
Scope
Change get_products / get_signals return type from MaybeAsync[...] to a SalesResult-style arm including TaskHandoff[...] (the alias already exists in decisioning/types.py), and fix the now-incorrect "no async envelope" docstrings.
Wire task-status / list-tasks / webhook payload validation for the get_products / get_signals task types (the generic handoff projection works, but per-verb completion-artifact validation does not).
Reject accountless + wholesale async discovery with AdcpError(INVALID_REQUEST), mirroring JS #2170 (no such guard exists today).
Note: get_signals ships only submitted + working envelopes (no input_required), narrower than create_media_buy.
Activity
feat(decisioning): async (handoff) discovery for get_products / get_s…
feat(decisioning): async (handoff) discovery for get_products / get_s…