Title: feat(decisioning): boot-time validate_capabilities_response_shape against spec invariants · Issue #422 · adcontextprotocol/adcp-client-python · GitHub
Open Graph Title: feat(decisioning): boot-time validate_capabilities_response_shape against spec invariants · Issue #422 · adcontextprotocol/adcp-client-python
X Title: feat(decisioning): boot-time validate_capabilities_response_shape against spec invariants · Issue #422 · adcontextprotocol/adcp-client-python
Description: Context protocol/get-adcp-capabilities-response.json requires account.supported_billing when seller claims media_buy. The framework's projection wasn't checking this, so the v3 ref seller was non-conformant until PR #402 fixed it manuall...
Open Graph Description: Context protocol/get-adcp-capabilities-response.json requires account.supported_billing when seller claims media_buy. The framework's projection wasn't checking this, so the v3 ref seller was non-c...
X Description: Context protocol/get-adcp-capabilities-response.json requires account.supported_billing when seller claims media_buy. The framework's projection wasn't checking this, so the v3 ref seller w...
Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/issues/422
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(decisioning): boot-time validate_capabilities_response_shape against spec invariants","articleBody":"## Context\n\n`protocol/get-adcp-capabilities-response.json` requires `account.supported_billing` when seller claims `media_buy`. The framework's projection wasn't checking this, so the v3 ref seller was non-conformant until PR #402 fixed it manually.\n\nAdd a boot-time validator that exercises the capabilities response shape against the spec; refuse to start if the projection violates an invariant.\n\n## Acceptance Criteria\n\n- [ ] New `validate_capabilities_response_shape()` invoked from `create_adcp_server_from_platform`\n- [ ] Failing platform fails fast at boot with a descriptive error\n- [ ] Test covers `account.supported_billing` invariant when `media_buy` is claimed\n\n## Refs\n\n- PR #402 (manual fix for `account.supported_billing`)\n- `protocol/get-adcp-capabilities-response.json`","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-03T02:39:59Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/422"}
| 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:2c3a3f23-77d6-b0a2-9c21-69f0ac7695cc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEF2:31E99C:BB264A:FB82F6:6B00F698 |
| html-safe-nonce | ffa83c51c0d826158cc7dcebfdd37abd393dbf78c927dac5c211a55a7e5183c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUYyOjMxRTk5QzpCQjI2NEE6RkI4MkY2OjZCMDBGNjk4IiwidmlzaXRvcl9pZCI6IjUwODQ3Mjc3MTgxMzQ3NDA2MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 62c13d791d79b35004f3fa70d9c3f4de2bbaeb319ff4103beaba3f93cb052ca3 |
| hovercard-subject-tag | issue:4370675078 |
| 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/422/issue_layout |
| twitter:image | https://opengraph.githubassets.com/255117fa43cb95836b0f45d20af0a206b63e19c219ad9031ea6c7af6d131fcf3/adcontextprotocol/adcp-client-python/issues/422 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/255117fa43cb95836b0f45d20af0a206b63e19c219ad9031ea6c7af6d131fcf3/adcontextprotocol/adcp-client-python/issues/422 |
| og:image:alt | Context protocol/get-adcp-capabilities-response.json requires account.supported_billing when seller claims media_buy. The framework's projection wasn't checking this, so the v3 ref seller was non-c... |
| 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