Repository navigation
Description
Summary
The reusable reference-seller storyboard harness added in #818 exists and can be invoked from the TS SDK workflow with ADCP_SDK_TARBALL, but the Python reference seller is not currently green against the current TS @adcp/sdk 3.1.0-beta.3 storyboard runner.
This blocks adcontextprotocol/adcp-client#1916 from pinning a Python tag and making the cross-repo interop workflow a release gate.
Repro
From a TS SDK checkout with a built candidate tarball:
git checkout 9b13320a9b3b81420a85ee0c9ab5ede0d29ac70d
ADCP_SDK_TARBALL=/path/to/adcp-sdk-8.1.0-beta.0.tgz \
ADCP_PORT=3101 \
STORYBOARD_RESULT_PATH=/tmp/storyboard-result.json \
SELLER_LOG_PATH=/tmp/storyboard-seller.log \
./scripts/ci/run_storyboard_reference_seller.shI ran this locally using the TS-side workflow prototype from adcontextprotocol/adcp-client#1916 against Python commit 9b13320a9b3b81420a85ee0c9ab5ede0d29ac70d (#818 merge commit).
Actual result
The harness runs, detects the controller, but exits non-zero with overall_status: partial:
Status: partial
Steps: 19 passed, 18 failed, 53 skipped
controller_detected: true
Failure groups:
12x VALIDATION_ERROR: get_products failed: get_products response failed schema validation at /cache_scope: 'cache_scope' is a required property
2x VALIDATION_ERROR: create_media_buy failed: create_media_buy response failed schema validation at /status: value not in allowed enum (9 options)
1x expected TERMS_REJECTED, got PRODUCT_NOT_FOUND
1x expected PACKAGE_NOT_FOUND, got MEDIA_BUY_NOT_FOUND
2x NOT_FOUND from comply_test_controller setup steps
The dominant blocker is get_products: examples/v3_reference_seller/src/platform.py returns GetProductsResponse(products=products) without cache_scope, while response validation intentionally does not infer it.
The seller log also reports the same schema warnings:
Schema validation warning (response) for get_products: /cache_scope 'cache_scope' is a required property
Schema validation warning (response) for create_media_buy: /status value not in allowed enum (9 options)
Expected result
A Python tag containing scripts/ci/run_storyboard_reference_seller.sh should pass the current TS candidate runner so the TS repo can:
- build a candidate
@adcp/sdktarball, - check out the pinned Python tag,
- invoke the Python-owned harness with
ADCP_SDK_TARBALL, and - use the result as a blocking release/PR interop gate.
Notes
On the TS side, one local issue found during this repro was fixed separately: AJV duplicate $id failures when compiling flat/core schemas before bundled response schemas. After that fix, the remaining red signal is the Python reference seller contract mismatch above.
Activity
bokelley commentedon May 22, 2026
Triage — Execute PR
Root cause (two independent failures):
cache_scopemissing fromget_productsresponse —products_response()only emitscache_scopewhen explicitly passed;examples/seller_agent.pywasn't passing it. AdCP 3.1 made the field required.statusfield increate_media_buyresponse holds a lifecycle value — AdCP 3.1 strictly separatesstatus(task-envelope:submitted/working/completed/…) frommedia_buy_status(lifecycle:pending_creatives/active/…). Themedia_buy_response()helper was writing the lifecycle value intostatus. Same bug existed inupdate_media_buy_response()— fixed in the same pass.The TERMS_REJECTED→PRODUCT_NOT_FOUND and PACKAGE_NOT_FOUND→MEDIA_BUY_NOT_FOUND failures in the storyboard log are cascading from these two primary schema validation failures.
Pre-PR review: code-reviewer (blocker on
update_media_buy_response()— fixed) + ad-tech-protocol-expert (protocol semantics confirmed ✓). Full test suite: 4991 passed.Draft PR: #826
Generated by Claude Code
bokelley commentedon May 23, 2026
Status refresh from #826 CI: the draft fix targets the 3.1 task-envelope split, but repo CI still runs @adcp/sdk 7.10.2 / AdCP 3.0.12 for examples/seller_agent.py and expects lifecycle status at /status. That explains the remaining 5 storyboard failures after the original schema issues were reduced. Recommendation: defer #826 until the relevant CI path is switched to the 3.1 runner/schema surface, or split the cache_scope-only fix from the status-envelope change if we need an immediately mergeable 3.0.12-compatible patch.
feat!: align media-buy responses with AdCP 3.1
bokelley commentedon May 24, 2026
Resolved by #842, which merged the AdCP 3.1 media-buy response alignment and validated the reference seller storyboard on @adcp/[email protected] (88 passed, 0 failed, 2 skipped). Closing this tracker.