René's URL Explorer Experiment


Title: feat(decisioning): project full get_adcp_capabilities response schema into DecisioningCapabilities · Issue #479 · adcontextprotocol/adcp-client-python · GitHub

Open Graph Title: feat(decisioning): project full get_adcp_capabilities response schema into DecisioningCapabilities · Issue #479 · adcontextprotocol/adcp-client-python

X Title: feat(decisioning): project full get_adcp_capabilities response schema into DecisioningCapabilities · Issue #479 · adcontextprotocol/adcp-client-python

Description: 🚧 DO NOT TRIAGE — work in progress, owned by @bokelley. This issue tracks an in-flight PR (bokelley/capabilities-projection). Please don't pick it up. Summary DecisioningCapabilities (src/adcp/decisioning/platform.py:21) declares 7 field...

Open Graph Description: 🚧 DO NOT TRIAGE — work in progress, owned by @bokelley. This issue tracks an in-flight PR (bokelley/capabilities-projection). Please don't pick it up. Summary DecisioningCapabilities (src/adcp/deci...

X Description: 🚧 DO NOT TRIAGE — work in progress, owned by @bokelley. This issue tracks an in-flight PR (bokelley/capabilities-projection). Please don't pick it up. Summary DecisioningCapabilities (src/adcp/...

Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/issues/479

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(decisioning): project full get_adcp_capabilities response schema into DecisioningCapabilities","articleBody":"> 🚧 **DO NOT TRIAGE — work in progress, owned by @bokelley.** This issue tracks an in-flight PR (`bokelley/capabilities-projection`). Please don't pick it up.\n\n## Summary\n\n`DecisioningCapabilities` (`src/adcp/decisioning/platform.py:21`) declares 7 fields. The AdCP capabilities response schema (`schemas/cache/bundled/protocol/get-adcp-capabilities-response.json`) defines ~25 dimensions across 6 protocol blocks. The handler projection (`src/adcp/decisioning/handler.py:841-925`) emits 5 dimensions. Adopters who need to declare anything past the basics override `get_adcp_capabilities` on a `PlatformHandler` subclass and hand-build the response.\n\nThis isn't feature creep — it's correctness work. The SDK is under-shipping the spec.\n\nRelated: #477 (multi-platform proof — declares full capabilities and validates the projection at scale).\n\n## Scope\n\nProject the full schema into `DecisioningCapabilities` by carrying instances of the already-generated Pydantic sub-models (`Account`, `MediaBuy`, `Targeting`, `GeoMetros`, `Idempotency`, `AudienceTargeting`, `ConversionTracking`, `Signals`, etc. — all in `src/adcp/types/generated_poc/bundled/protocol/get_adcp_capabilities_response.py`).\n\n```python\n@dataclass\nclass DecisioningCapabilities:\n    # Dispatch / SDK-internal — kept\n    specialisms: list[str] = field(default_factory=list)\n    governance_aware: bool = False\n    creative_agents: list[Any] = field(default_factory=list)\n    config: dict[str, Any] = field(default_factory=dict)\n\n    # Spec capability blocks — new, structured to mirror the wire\n    adcp: Adcp | None = None\n    account: Account | None = None\n    media_buy: MediaBuy | None = None\n    signals: SignalsCapabilities | None = None\n    governance: GovernanceCapabilities | None = None\n    sponsored_intelligence: SiCapabilities | None = None\n    creative: CreativeCapabilities | None = None\n    brand: BrandCapabilities | None = None\n\n    # Deprecated — flat shortcuts superseded by structured fields above\n    pricing_models: list[str] = field(default_factory=list)        # → media_buy.supported_pricing_models\n    supported_billing: list[str] = field(default_factory=list)     # → account.supported_billing\n    channels: list[str] = field(default_factory=list)              # unused on wire\n```\n\nAdopters import sub-models from `adcp.decisioning` (re-exported):\n\n```python\nfrom adcp.decisioning import (\n    DecisioningCapabilities, Account, MediaBuy, Targeting,\n    GeoMetros, GeoPostalAreas, Idempotency,\n)\n\ncapabilities = DecisioningCapabilities(\n    specialisms=[\"sales-non-guaranteed\"],\n    account=Account(supported_billing=[\"operator\"]),\n    media_buy=MediaBuy(\n        supported_pricing_models=[\"cpm\"],\n        execution=Execution(\n            targeting=Targeting(\n                geo_countries=True,\n                geo_metros=GeoMetros(nielsen_dma=True),\n            ),\n        ),\n    ),\n)\n```\n\n`PlatformHandler.get_adcp_capabilities` projects the structured fields directly via `model_dump`. Adopter overrides become rare.\n\n## Deprecations\n\nThe flat legacy fields (`pricing_models`, `supported_billing`, `channels`) are NOT in the AdCP 3.0 spec — they're SDK convenience shortcuts that pre-dated the structured projection. Deprecating them as part of this work.\n\n- v4.x (this PR): legacy fields keep working with `DeprecationWarning` at server boot when set. Projection rule: structured field wins; fall back to legacy when structured absent.\n- v5.0: remove legacy fields.\n\n`governance_aware`, `creative_agents`, `config`, `specialisms` stay — they're SDK-internal dispatch, not wire shape.\n\n## Acceptance criteria\n\n- [ ] `DecisioningCapabilities` carries every spec capability block via generated sub-models\n- [ ] Sub-models re-exported from `adcp.decisioning`\n- [ ] `PlatformHandler.get_adcp_capabilities` projects all dimensions; round-trips through `validate_response` against `protocol/get-adcp-capabilities-response.json` for every parametrized case\n- [ ] Legacy fields fire `DeprecationWarning` when set; projection rule: structured wins\n- [ ] `validate_capabilities_response_shape` rejects malformed declarations with structured `details`\n- [ ] `examples/v3_reference_seller/src/platform.py` updated to use the new shape (motivating example)\n- [ ] `docs/decisioning/capabilities.md` — adopter-facing guide\n- [ ] No regressions in existing reference-seller storyboard\n\n## Files changed (estimated ~1500 LOC including tests + docs)\n\n- `src/adcp/decisioning/platform.py` — extend `DecisioningCapabilities`\n- `src/adcp/decisioning/handler.py:841-925` — rewrite projection\n- `src/adcp/decisioning/validate_capabilities.py` — stricter checks + deprecation warning trigger\n- `src/adcp/decisioning/__init__.py` — re-export sub-models\n- `src/adcp/server/responses.py:capabilities_response` — accept new sub-block kwargs uniformly\n- `examples/v3_reference_seller/src/platform.py` — adopt new shape\n- `tests/decisioning/test_capabilities_projection.py` — round-trip per dimension\n- `tests/decisioning/test_capabilities_legacy_compat.py` — back-compat + deprecation\n- `docs/decisioning/capabilities.md` — new guide\n\n## Out of scope\n\n- Multi-platform routing — see #477\n- Webhook delivery extensions — see #478\n- UI-only capability flags (e.g. `supports_inventory_sync`, `inventory_entity_label`) used by some operators — these are admin-dashboard concerns, not protocol. Stay in adopter `config`. Doc note explains where.\n\n## Why this matters\n\n1. **Spec fidelity**: any adopter wanting to declare `geo_metros.nielsen_dma`, `creative_specs.vast_versions`, `account.account_financials`, `audience_targeting.minimum_audience_size`, `conversion_tracking.attribution_windows`, etc. doesn't need a custom override.\n2. **Migration target for operator-shaped capability dataclasses**: parallel `TargetingCapabilities` / `AdapterCapabilities` patterns in downstreams collapse into `DecisioningCapabilities` once the SDK can declare them.\n3. **Capability-driven validation**: future work — runtime enforcement that platform behavior matches declared capabilities. With full coverage we can validate semantics, not just shape.","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-03T14:20:26Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/479"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f24ebbfb-bbcb-0f66-8ca2-109909691f60
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAB20:1201C:C4713C:106CDA9:6B00F764
html-safe-nonce6b11202371b480110fff706c7bc4a9d9f1f516406bc81436d360f6af14273e7f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjIwOjEyMDFDOkM0NzEzQzoxMDZDREE5OjZCMDBGNzY0IiwidmlzaXRvcl9pZCI6IjE1MTgxODY3ODUzNDIwMjc2MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3a7190f95bd64d463b8217ed29591c28abc51cb56c5362a579359f256f2f6aed
hovercard-subject-tagissue:4372037053
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/adcontextprotocol/adcp-client-python/479/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cb46e4770f636b1259924a8d76376b74741ac178c0255707330ecc6e53f77179/adcontextprotocol/adcp-client-python/issues/479
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cb46e4770f636b1259924a8d76376b74741ac178c0255707330ecc6e53f77179/adcontextprotocol/adcp-client-python/issues/479
og:image:alt🚧 DO NOT TRIAGE — work in progress, owned by @bokelley. This issue tracks an in-flight PR (bokelley/capabilities-projection). Please don't pick it up. Summary DecisioningCapabilities (src/adcp/deci...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebokelley
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
go-importgithub.com/adcontextprotocol/adcp-client-python git https://github.com/adcontextprotocol/adcp-client-python.git
octolytics-dimension-user_id221690821
octolytics-dimension-user_loginadcontextprotocol
octolytics-dimension-repository_id1090305973
octolytics-dimension-repository_nwoadcontextprotocol/adcp-client-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1090305973
octolytics-dimension-repository_network_root_nwoadcontextprotocol/adcp-client-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/adcontextprotocol/adcp-client-python/issues/479#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fissues%2F479
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fissues%2F479
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=adcontextprotocol%2Fadcp-client-python
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/479
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/479
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/479
adcontextprotocolhttps://github.com/adcontextprotocol
adcp-client-pythonhttps://github.com/adcontextprotocol/adcp-client-python
Codehttps://github.com/adcontextprotocol/adcp-client-python
Issues44 (44)https://github.com/adcontextprotocol/adcp-client-python/issues
Pull requests13 (13)https://github.com/adcontextprotocol/adcp-client-python/pulls
Actionshttps://github.com/adcontextprotocol/adcp-client-python/actions
Projectshttps://github.com/adcontextprotocol/adcp-client-python/projects
Security and qualityhttps://github.com/adcontextprotocol/adcp-client-python/security
Insightshttps://github.com/adcontextprotocol/adcp-client-python/insights
https://github.com/adcontextprotocol/adcp-client-python
New issuehttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/479
New issuehttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/479
#328https://github.com/adcontextprotocol/adcp-client-python/pull/328
#484https://github.com/adcontextprotocol/adcp-client-python/pull/484
feat(decisioning): project full get_adcp_capabilities response schema into DecisioningCapabilitieshttps://github.com/adcontextprotocol/adcp-client-python/issues/479#top
#328https://github.com/adcontextprotocol/adcp-client-python/pull/328
#484https://github.com/adcontextprotocol/adcp-client-python/pull/484
claude-triagedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22claude-triaged%22
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
on May 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/479#issue-4372037053
@bokelleyhttps://github.com/bokelley
#477https://github.com/adcontextprotocol/adcp-client-python/issues/477
feat(examples): multi-platform-per-process proof — mock platforms with PlatformRouter, refactor v3 reference seller along the way #477https://github.com/adcontextprotocol/adcp-client-python/issues/477
feat(webhooks): HMAC/bearer outbound delivery + Docker localhost normalization for parity with operator-shaped webhook senders #478https://github.com/adcontextprotocol/adcp-client-python/issues/478
bokelleyhttps://github.com/bokelley
claude-triagedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22claude-triaged%22
on May 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/479#event-25108239841
bokelleyhttps://github.com/bokelley
on May 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/479#event-25109069417
fix(decisioning): update v3 reference seller smoke tests for Speciali…https://github.com/adcontextprotocol/adcp-client-python/commit/09c5669d1f1f9669adc3a21b47c47e63169528ab
09c5669https://github.com/adcontextprotocol/adcp-client-python/commit/09c5669d1f1f9669adc3a21b47c47e63169528ab
bokelleyhttps://github.com/bokelley
completedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#484https://github.com/adcontextprotocol/adcp-client-python/pull/484
on May 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/479#event-25109113327
KonstantinMirinhttps://github.com/KonstantinMirin
on May 13, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/479#event-25486666368
feat(decisioning): surface capability sub-models via adcp.decisioning…https://github.com/KonstantinMirin/adcp-client-python/commit/bc5bb9af06a6c189aa3219221d2fac4078cc5706
bc5bb9ahttps://github.com/KonstantinMirin/adcp-client-python/commit/bc5bb9af06a6c189aa3219221d2fac4078cc5706
feat(decisioning): widen DecisioningCapabilities with structured wire…https://github.com/KonstantinMirin/adcp-client-python/commit/5a5219e2f6fb965ff489f5ae19feaaf10c953e3c
5a5219ehttps://github.com/KonstantinMirin/adcp-client-python/commit/5a5219e2f6fb965ff489f5ae19feaaf10c953e3c
feat(decisioning): retype DecisioningCapabilities.specialisms to Spec…https://github.com/KonstantinMirin/adcp-client-python/commit/9fb7fc93a9cbc6602cffe0ee88d7d8e118390b77
9fb7fc9https://github.com/KonstantinMirin/adcp-client-python/commit/9fb7fc93a9cbc6602cffe0ee88d7d8e118390b77
feat(decisioning): project full capability blocks via DecisioningCapa…https://github.com/KonstantinMirin/adcp-client-python/commit/c09433c2526d3a7635ea6cb7a975f840e03dc82d
c09433chttps://github.com/KonstantinMirin/adcp-client-python/commit/c09433c2526d3a7635ea6cb7a975f840e03dc82d
feat(decisioning): adopt structured capabilities in v3 reference sellerhttps://github.com/KonstantinMirin/adcp-client-python/commit/83161053ecda45f10b2d263e902c628a6b158ef5
8316105https://github.com/KonstantinMirin/adcp-client-python/commit/83161053ecda45f10b2d263e902c628a6b158ef5
docs(decisioning): adopter guide for declaring capabilitieshttps://github.com/KonstantinMirin/adcp-client-python/commit/f2e8f9acbe598ed4b9b02fe5afebdc3fac80bd7a
f2e8f9ahttps://github.com/KonstantinMirin/adcp-client-python/commit/f2e8f9acbe598ed4b9b02fe5afebdc3fac80bd7a
fix(decisioning): address expert review — major_versions passthrough,…https://github.com/KonstantinMirin/adcp-client-python/commit/b72b74485a5fb1c6800bc2659e0ec22740c90fc0
b72b744https://github.com/KonstantinMirin/adcp-client-python/commit/b72b74485a5fb1c6800bc2659e0ec22740c90fc0
fix(decisioning): handle Specialism|str union in create_media_buy_storehttps://github.com/KonstantinMirin/adcp-client-python/commit/6f3faa0447c328ca82ee29e03e52ee6a4f2a5140
6f3faa0https://github.com/KonstantinMirin/adcp-client-python/commit/6f3faa0447c328ca82ee29e03e52ee6a4f2a5140
Sign up for freehttps://github.com/signup?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/479
Sign in to commenthttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/479
claude-triagedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22claude-triaged%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.