Title: feat(decisioning): MockAdServer Protocol + /_debug/traffic counters for anti-façade compliance · Issue #383 · adcontextprotocol/adcp-client-python · GitHub
Open Graph Title: feat(decisioning): MockAdServer Protocol + /_debug/traffic counters for anti-façade compliance · Issue #383 · adcontextprotocol/adcp-client-python
X Title: feat(decisioning): MockAdServer Protocol + /_debug/traffic counters for anti-façade compliance · Issue #383 · adcontextprotocol/adcp-client-python
Description: Context Adopter platform methods that return empty without calling anything (e.g. sync_creatives → [], get_media_buy_delivery → []) violate AdCP's anti-façade contract introduced in adcp PR #3816. Today there is no machine-checkable way ...
Open Graph Description: Context Adopter platform methods that return empty without calling anything (e.g. sync_creatives → [], get_media_buy_delivery → []) violate AdCP's anti-façade contract introduced in adcp PR #3816. ...
X Description: Context Adopter platform methods that return empty without calling anything (e.g. sync_creatives → [], get_media_buy_delivery → []) violate AdCP's anti-façade contract introduced in adcp PR #38...
Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/issues/383
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(decisioning): MockAdServer Protocol + /_debug/traffic counters for anti-façade compliance","articleBody":"## Context\n\nAdopter platform methods that return empty without calling anything (e.g. `sync_creatives` → `[]`, `get_media_buy_delivery` → `[]`) violate AdCP's anti-façade contract introduced in adcp PR #3816. Today there is no machine-checkable way to assert \"this method actually made a downstream call to the ad server\" — storyboard runs pass even when the platform is a no-op.\n\nCross-link: existing issue #347 (upstream-traffic recorder middleware) — this issue is the platform-side bookend. #347 records HTTP traffic the SDK emits; this issue records the calls the platform attempts to make to the ad server.\n\nRefs:\n- `examples/v3_reference_seller/src/platform.py`\n- adcp PR #3816 (anti-façade contract)\n\n## Acceptance Criteria\n\n- [ ] `MockAdServer` Protocol (or ABC) defined in the decisioning toolkit — the contract every platform method should call into for upstream operations (push creative, push media buy, fetch delivery, etc.)\n- [ ] Default impl with traffic counters (per-method call count, last-call timestamp, last-call args)\n- [ ] `/_debug/traffic` endpoint exposes the counters, gated behind a debug flag\n- [ ] V3 reference seller's `platform.py` rewired to call the `MockAdServer` for every spec operation\n- [ ] Storyboard runner can assert `traffic.sync_creatives.call_count >= 1` after a `sync_creatives` storyboard\n- [ ] Cross-linked to #347 in description","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-03T00:30:05Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/383"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:416f6a30-9810-e595-674e-5a4e10592951 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E080:2F4BD9:CFE3EB:113ABDC:6B00F6DE |
| html-safe-nonce | 1b4d84eb8536dffa4346da004b5e755240c81c7383c4cbf9afd3ced8cce7925c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDgwOjJGNEJEOTpDRkUzRUI6MTEzQUJEQzo2QjAwRjZERSIsInZpc2l0b3JfaWQiOiIyOTg4MzkzOTM1MTc0NDMyNDc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ed8f6a826b3b655f587d211c64aa7a3cd4f43cbc38823e1b6653c9fe160df126 |
| hovercard-subject-tag | issue:4370449418 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/adcontextprotocol/adcp-client-python/383/issue_layout |
| twitter:image | https://opengraph.githubassets.com/422ceaf31b0e3e7c40a278e2d45d0e91b46b25eb4f397080c43240418872a87a/adcontextprotocol/adcp-client-python/issues/383 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/422ceaf31b0e3e7c40a278e2d45d0e91b46b25eb4f397080c43240418872a87a/adcontextprotocol/adcp-client-python/issues/383 |
| og:image:alt | Context Adopter platform methods that return empty without calling anything (e.g. sync_creatives → [], get_media_buy_delivery → []) violate AdCP's anti-façade contract introduced in adcp PR #3816. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bokelley |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| go-import | github.com/adcontextprotocol/adcp-client-python git https://github.com/adcontextprotocol/adcp-client-python.git |
| octolytics-dimension-user_id | 221690821 |
| octolytics-dimension-user_login | adcontextprotocol |
| octolytics-dimension-repository_id | 1090305973 |
| octolytics-dimension-repository_nwo | adcontextprotocol/adcp-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1090305973 |
| octolytics-dimension-repository_network_root_nwo | adcontextprotocol/adcp-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width