René's URL Explorer Experiment


Title: v3.0.0-rc.4: migrate to reallocation_threshold + human_review_required (breaking) · Issue #185 · adcontextprotocol/adcp-client-python · GitHub

Open Graph Title: v3.0.0-rc.4: migrate to reallocation_threshold + human_review_required (breaking) · Issue #185 · adcontextprotocol/adcp-client-python

X Title: v3.0.0-rc.4: migrate to reallocation_threshold + human_review_required (breaking) · Issue #185 · adcontextprotocol/adcp-client-python

Description: Summary AdCP 3.0-rc.4 (unreleased, targeting GA) introduces a breaking change to the campaign governance plan schema and adds several new fields across policy, brand, and brand-ref schemas. This issue tracks the SDK work needed to suppor...

Open Graph Description: Summary AdCP 3.0-rc.4 (unreleased, targeting GA) introduces a breaking change to the campaign governance plan schema and adds several new fields across policy, brand, and brand-ref schemas. This is...

X Description: Summary AdCP 3.0-rc.4 (unreleased, targeting GA) introduces a breaking change to the campaign governance plan schema and adds several new fields across policy, brand, and brand-ref schemas. This is...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"v3.0.0-rc.4: migrate to reallocation_threshold + human_review_required (breaking)","articleBody":"## Summary\n\nAdCP 3.0-rc.4 (unreleased, targeting GA) introduces a breaking change to the campaign governance plan schema and adds several new fields across policy, brand, and brand-ref schemas. This issue tracks the SDK work needed to support it.\n\nResolves the SDK-side implications of [adcontextprotocol/adcp#2310](https://github.com/adcontextprotocol/adcp/issues/2310).\n\nSpec changes land in adcp PR [bokelley/policy-framework-2310 branch]; release notes in `docs/reference/release-notes.mdx` under 3.0.0-rc.4.\n\n## Breaking changes (must migrate)\n\n1. **`budget.authority_level` is removed.** The enum (`agent_full | agent_limited | human_required`) is gone. Replace with two orthogonal fields:\n\n   - `budget.reallocation_threshold: number ≥ 0` — budget reallocation autonomy, denominated in `budget.currency`\n   - `budget.reallocation_unlimited: true` — explicit full-autonomy sentinel (mutually exclusive with threshold)\n\n   Migration mapping:\n   ```\n   authority_level: 'agent_full'     → reallocation_unlimited: true\n   authority_level: 'agent_limited'  → reallocation_threshold: \u003cpositive value>\n   authority_level: 'human_required' → plan.human_review_required: true\n                                       (+ reallocation_threshold: 0 if strict)\n   ```\n\n2. **Exactly one of `reallocation_threshold` / `reallocation_unlimited` is required.** Budget now has a `oneOf` constraint.\n\n## New fields\n\n- `plan.human_review_required: boolean` — every plan action escalates for human review under GDPR Art 22 / EU AI Act Annex III\n- `plan.human_override: { reason, approver, approved_at? }` — artifact required to downgrade human_review_required true → false on re-sync\n- `plan.policy_categories: string[]` — already existed but now cross-validated\n- `policy-entry.json` gains `requires_human_review: boolean`\n- `policy-category-definition.json` gains `requires_human_review: boolean`\n- `brand.json` gains `data_subject_contestation: { url?, email?, languages? }` at brand and house levels\n- `brand-ref.json` gains inline `industries` and `data_subject_contestation` for callers who don't control brand.json\n- `restricted-attribute` enum adds `age` and `familial_status`\n- `objectives` has `maxLength: 2000`; `policy-entry.policy` has `maxLength: 5000`; `description` has `maxLength: 500`\n\n## Cross-field invariants\n\nThe schema enforces two `if/then` rules that some codegen tools drop:\n\n- If `policy_categories` contains `fair_housing | fair_lending | fair_employment | pharmaceutical_advertising`, then `human_review_required: true` is required\n- If `policy_ids` contains `eu_ai_act_annex_iii`, then `human_review_required: true` is required\n\nThese are load-bearing invariants — regulated-vertical campaigns cannot opt out of human oversight. Codegen that drops `if/then` (e.g., `datamodel-code-generator` in strict mode) will fail to enforce this client-side.\n\n## SDK tasks\n\n### Required\n\n- [ ] Regenerate types from the 3.0.0-rc.4 schemas\n- [ ] Update MIGRATING.md (or equivalent) with the `authority_level` → `reallocation_threshold` / `reallocation_unlimited` / `human_review_required` mapping as the top migration item\n- [ ] Update every `sync_plans` example, test fixture, and quickstart that currently uses `authority_level`\n- [ ] Ensure `oneOf` on budget (threshold XOR unlimited) is enforced either by the validator or by a client-side check\n- [ ] Verify that `age` and `familial_status` are accepted as `restricted-attribute` values (any hardcoded 8-value lists need expanding)\n\n### Recommended\n\n- [ ] Add a client-side validator for the `policy_categories` ∋ regulated-vertical → `human_review_required: true` invariant (specifically important if your codegen drops `if/then`)\n- [ ] Add a helper for building Annex III plans — one-liner that sets `policy_categories`, `human_review_required`, and nudges the caller about `data_subject_contestation`\n- [ ] Add a helper for building `human_override` artifacts (validates reason length, email format)\n- [ ] Add typed accessors for `check_governance` response fields: `escalation.reason`, `humanReviewAutoFlippedBy` (if the server surfaces it), and the new findings: `data_subject_contestation_missing`, `annex_iii_industry_advisory`\n\n### For governance-agent implementors using the SDK\n\n- [ ] Ensure your governance agent auto-flips `human_review_required` based on resolved `policy_categories`, `policy_ids`, and `custom_policies`\n- [ ] Emit a critical `data_subject_contestation` finding when the plan requires human review but no contestation contact is discoverable\n- [ ] Resolve contestation in order: plan.brand inline → brand.json → brand.json.house → missing\n- [ ] Do not allow `mode: advisory | audit` to downgrade denied/escalated when `human_review_required: true`\n- [ ] Require `human_override` artifact for re-sync downgrades (reason ≥20 chars, email approver)\n- [ ] Append-only plan revisions — do not silently replace prior state\n\n## References\n\n- Release notes section: https://adcontextprotocol.org/docs/reference/release-notes (3.0.0-rc.4)\n- Annex III obligations: https://adcontextprotocol.org/docs/governance/annex-iii-obligations\n- Issue that prompted the work: https://github.com/adcontextprotocol/adcp/issues/2310\n\n## One-line pitch for your SDK README\n\n> AdCP is the first open advertising protocol where GDPR Article 22 and EU AI Act Annex III are load-bearing schema invariants, not policy PDFs — regulated-vertical campaigns cannot opt out of human oversight, and every decision is audit-logged by default.\n","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-04-18T21:12:59Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/185"}

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:26617924-8e97-822d-649e-67c1d66d72c4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE3E2:2E7EBB:B67255:E7899F:6B00F692
html-safe-nonce3d9d24dc866a339c9c2e74229d3268fdd3a492b179afc2cb1745a7fb95682a0c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0UyOjJFN0VCQjpCNjcyNTU6RTc4OTlGOjZCMDBGNjkyIiwidmlzaXRvcl9pZCI6IjE2NjkyNDI2NjYzMzgwMjMwNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac908defcf60ea1effbbe99372505a2b23d106808130457bac449c18fd8dae0c90
hovercard-subject-tagissue:4289196109
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/185/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9dcfcd8c1f377023a8282b32e08029f189e1ed5aaa3befd3d41e5f0f268b1f28/adcontextprotocol/adcp-client-python/issues/185
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9dcfcd8c1f377023a8282b32e08029f189e1ed5aaa3befd3d41e5f0f268b1f28/adcontextprotocol/adcp-client-python/issues/185
og:image:altSummary AdCP 3.0-rc.4 (unreleased, targeting GA) introduces a breaking change to the campaign governance plan schema and adds several new fields across policy, brand, and brand-ref schemas. This is...
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/185#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fissues%2F185
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%2F185
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/185
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/185
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/185
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/185
New issuehttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/185
#199https://github.com/adcontextprotocol/adcp-client-python/pull/199
v3.0.0-rc.4: migrate to reallocation_threshold + human_review_required (breaking)https://github.com/adcontextprotocol/adcp-client-python/issues/185#top
#199https://github.com/adcontextprotocol/adcp-client-python/pull/199
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
on Apr 18, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/185#issue-4289196109
adcontextprotocol/adcp#2310https://github.com/adcontextprotocol/adcp/issues/2310
https://adcontextprotocol.org/docs/reference/release-noteshttps://adcontextprotocol.org/docs/reference/release-notes
https://adcontextprotocol.org/docs/governance/annex-iii-obligationshttps://adcontextprotocol.org/docs/governance/annex-iii-obligations
GDPR Art 22 / EU AI Act Annex III: block agent_full for regulated verticals adcp#2310https://github.com/adcontextprotocol/adcp/issues/2310
bokelleyhttps://github.com/bokelley
on Apr 19, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/185#event-24645330342
feat: sync rc.4 schemas + wire update_rights taskhttps://github.com/adcontextprotocol/adcp-client-python/commit/c8de56875581d929755068dcfbef0d6209cf06b4
https://docs.github.com/articles/closing-issues-via-commit-messages
c8de568https://github.com/adcontextprotocol/adcp-client-python/commit/c8de56875581d929755068dcfbef0d6209cf06b4
feat!: sync rc.4 schemas + wire update_rights taskhttps://github.com/adcontextprotocol/adcp-client-python/commit/6c0e0e9e3037bd6a59b9f184d9a8fa347cc4fe20
https://docs.github.com/articles/closing-issues-via-commit-messages
6c0e0e9https://github.com/adcontextprotocol/adcp-client-python/commit/6c0e0e9e3037bd6a59b9f184d9a8fa347cc4fe20
bokelleyhttps://github.com/bokelley
completedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#199https://github.com/adcontextprotocol/adcp-client-python/pull/199
on Apr 19, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/185#event-24649055678
Sign up for freehttps://github.com/signup?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/185
Sign in to commenthttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/185
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.