| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:f16ddbd6-e9a1-dfab-4e9d-8775ca34f968 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 90E4:EDA7A:20C37BF:299A883:6B0171FF |
| html-safe-nonce | eefe44b860e1e36c1b7b17a4ddd76682aec033c98f9a4e1a3f66102d3b6e17a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEU0OkVEQTdBOjIwQzM3QkY6Mjk5QTg4Mzo2QjAxNzFGRiIsInZpc2l0b3JfaWQiOiI1NDcwNDM0NzEzNTMxNDEyOTkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c5bfa6d87caa7b9ba27923d8f99bb1adb6107d5ae9cd664854f2784b3f6a2328 |
| hovercard-subject-tag | pull_request:3657322549 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/adcontextprotocol/adcp-client-python/629/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/34e1b1e5ac86bc8b69bc3fb9e3caf37babea486b0cf3c17f0a3c9984525f7e77/adcontextprotocol/adcp-client-python/pull/629 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34e1b1e5ac86bc8b69bc3fb9e3caf37babea486b0cf3c17f0a3c9984525f7e77/adcontextprotocol/adcp-client-python/pull/629 |
| og:image:alt | Closes #614
What this adds
pre_validation_hooks: dict[str, Callable[[str, dict], dict]] | None on every public entry point — serve(), create_mcp_server(), create_a2a_server(), MCPToolSet, create_mc... |
| 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 | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/adcontextprotocol/adcp-client-python/pull/629#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fpull%2F629 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fpull%2F629 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=adcontextprotocol%2Fadcp-client-python |
| Reload | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| Reload | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| Reload | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| adcontextprotocol | https://github.com/adcontextprotocol |
| adcp-client-python | https://github.com/adcontextprotocol/adcp-client-python |
| Code | https://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 |
| Actions | https://github.com/adcontextprotocol/adcp-client-python/actions |
| Projects | https://github.com/adcontextprotocol/adcp-client-python/projects |
| Security and quality | https://github.com/adcontextprotocol/adcp-client-python/security |
| Insights | https://github.com/adcontextprotocol/adcp-client-python/insights |
| https://github.com/adcontextprotocol/adcp-client-python |
| bokelley | https://github.com/bokelley |
| main | https://github.com/adcontextprotocol/adcp-client-python/tree/main |
| claude/issue-614-pre-validation-hooks | https://github.com/adcontextprotocol/adcp-client-python/tree/claude/issue-614-pre-validation-hooks |
| Conversation | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| Commits3 (3) | https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits |
| Checks | https://github.com/adcontextprotocol/adcp-client-python/pull/629/checks |
| Files changed | https://github.com/adcontextprotocol/adcp-client-python/pull/629/files |
| feat(server): pre-validation request hook for spec-default injection (#614) | https://github.com/adcontextprotocol/adcp-client-python/pull/629#top |
| bokelley | https://github.com/bokelley |
| main | https://github.com/adcontextprotocol/adcp-client-python/tree/main |
| claude/issue-614-pre-validation-hooks | https://github.com/adcontextprotocol/adcp-client-python/tree/claude/issue-614-pre-validation-hooks |
|
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| May 10, 2026 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#issue-4415652459 |
| #614 | https://github.com/adcontextprotocol/adcp-client-python/issues/614 |
| #614 | https://github.com/adcontextprotocol/adcp-client-python/issues/614 |
| https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZ | https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZ |
| Claude Code | https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZ |
| Please reload this page | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
|
May 10, 2026
| https://github.com/adcontextprotocol/adcp-client-python/pull/629#ref-issue-4415582546 |
|
feat(server): pre-validation request hook / spec-default registry
#614
| https://github.com/adcontextprotocol/adcp-client-python/issues/614 |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| May 10, 2026 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#issuecomment-4415365946 |
| #614 | https://github.com/adcontextprotocol/adcp-client-python/issues/614 |
| core/middleware/spec_defaults.py | https://github.com/bokelley/salesagent/blob/main/core/middleware/spec_defaults.py |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| Please reload this page | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| force-pushed | https://github.com/adcontextprotocol/adcp-client-python/compare/deaa4f889ebacdcfde0f60bf11e07fca037f8457..a7afcbb8598d1df855ec4e7b0a513e9236dc98c1 |
| deaa4f8 | https://github.com/adcontextprotocol/adcp-client-python/commit/deaa4f889ebacdcfde0f60bf11e07fca037f8457 |
| a7afcbb | https://github.com/adcontextprotocol/adcp-client-python/commit/a7afcbb8598d1df855ec4e7b0a513e9236dc98c1 |
|
Compare
| https://github.com/adcontextprotocol/adcp-client-python/compare/deaa4f889ebacdcfde0f60bf11e07fca037f8457..a7afcbb8598d1df855ec4e7b0a513e9236dc98c1 |
| May 10, 2026 13:14 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25353636205 |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| May 10, 2026 13:14 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25353639698 |
| bokelley | https://github.com/bokelley |
|
May 10, 2026
| https://github.com/adcontextprotocol/adcp-client-python/pull/629#ref-commit-49feaef |
|
| https://github.com/claude |
| fix(server): defensive copy before hook call eliminates in-place muta… | https://github.com/adcontextprotocol/adcp-client-python/commit/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4 |
| 49feaef | https://github.com/adcontextprotocol/adcp-client-python/commit/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4 |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| #629 | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo | https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| May 10, 2026 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#issuecomment-4415377546 |
| 49feaef | https://github.com/adcontextprotocol/adcp-client-python/commit/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4 |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| Claude Code | https://claude.ai/code |
| Please reload this page | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
|
Typed dispatcher rejects valid request when account is omitted on auth-resolved tools
#623
| https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
|
feat(types): adopter inheritance pattern triggers ~50 type: ignore[assignment]
#624
| https://github.com/adcontextprotocol/adcp-client-python/issues/624 |
| bokelley | https://github.com/bokelley |
|
May 10, 2026
| https://github.com/adcontextprotocol/adcp-client-python/pull/629#ref-commit-83013d1 |
|
| https://github.com/claude |
|
| https://github.com/bokelley |
| fix(server): defensive copy before hook call eliminates in-place muta… | https://github.com/adcontextprotocol/adcp-client-python/commit/83013d1d10b1eed09ed7d17981c4d2b58d85aa43 |
| 83013d1 | https://github.com/adcontextprotocol/adcp-client-python/commit/83013d1d10b1eed09ed7d17981c4d2b58d85aa43 |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| #629 | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo | https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| force-pushed | https://github.com/adcontextprotocol/adcp-client-python/compare/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4..83013d1d10b1eed09ed7d17981c4d2b58d85aa43 |
| 49feaef | https://github.com/adcontextprotocol/adcp-client-python/commit/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4 |
| 83013d1 | https://github.com/adcontextprotocol/adcp-client-python/commit/83013d1d10b1eed09ed7d17981c4d2b58d85aa43 |
|
Compare
| https://github.com/adcontextprotocol/adcp-client-python/compare/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4..83013d1d10b1eed09ed7d17981c4d2b58d85aa43 |
| May 10, 2026 15:15 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354960573 |
| bokelley | https://github.com/bokelley |
|
May 10, 2026
| https://github.com/adcontextprotocol/adcp-client-python/pull/629#ref-commit-bbccd1f |
|
| https://github.com/claude |
|
| https://github.com/bokelley |
| fix(server): defensive copy before hook call eliminates in-place muta… | https://github.com/adcontextprotocol/adcp-client-python/commit/bbccd1fbab83919ba870033ef3f2b3d9d50f0333 |
| bbccd1f | https://github.com/adcontextprotocol/adcp-client-python/commit/bbccd1fbab83919ba870033ef3f2b3d9d50f0333 |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| #629 | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo | https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| force-pushed | https://github.com/adcontextprotocol/adcp-client-python/compare/83013d1d10b1eed09ed7d17981c4d2b58d85aa43..bbccd1fbab83919ba870033ef3f2b3d9d50f0333 |
| 83013d1 | https://github.com/adcontextprotocol/adcp-client-python/commit/83013d1d10b1eed09ed7d17981c4d2b58d85aa43 |
| bbccd1f | https://github.com/adcontextprotocol/adcp-client-python/commit/bbccd1fbab83919ba870033ef3f2b3d9d50f0333 |
|
Compare
| https://github.com/adcontextprotocol/adcp-client-python/compare/83013d1d10b1eed09ed7d17981c4d2b58d85aa43..bbccd1fbab83919ba870033ef3f2b3d9d50f0333 |
| May 10, 2026 15:15 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354965046 |
| claude | https://github.com/claude |
| May 10, 2026 11:15 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#commits-pushed-79d8578 |
|
| https://github.com/claude |
|
| https://github.com/bokelley |
| feat(server): pre-validation request hook for spec-default injection | https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/79d8578b73823f89741db257cc5d3474852f8524 |
| 79d8578 | https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/79d8578b73823f89741db257cc5d3474852f8524 |
| #614 | https://github.com/adcontextprotocol/adcp-client-python/issues/614 |
| https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZ | https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZ |
|
| https://github.com/claude |
|
| https://github.com/bokelley |
| fix(server): snapshot raw_params before hook to preserve context-echo… | https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/ecc5c581a05a029bf52e07cb1808c467842b62e2 |
| ecc5c58 | https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/ecc5c581a05a029bf52e07cb1808c467842b62e2 |
| https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZ | https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZ |
|
| https://github.com/claude |
|
| https://github.com/bokelley |
| fix(server): defensive copy before hook call eliminates in-place muta… | https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/83302834fb0cdf87c011d3a23d44ce9d28d1ca08 |
| 8330283 | https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/83302834fb0cdf87c011d3a23d44ce9d28d1ca08 |
| #623 | https://github.com/adcontextprotocol/adcp-client-python/issues/623 |
| #629 | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo | https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| force-pushed | https://github.com/adcontextprotocol/adcp-client-python/compare/bbccd1fbab83919ba870033ef3f2b3d9d50f0333..83302834fb0cdf87c011d3a23d44ce9d28d1ca08 |
| bbccd1f | https://github.com/adcontextprotocol/adcp-client-python/commit/bbccd1fbab83919ba870033ef3f2b3d9d50f0333 |
| 8330283 | https://github.com/adcontextprotocol/adcp-client-python/commit/83302834fb0cdf87c011d3a23d44ce9d28d1ca08 |
|
Compare
| https://github.com/adcontextprotocol/adcp-client-python/compare/bbccd1fbab83919ba870033ef3f2b3d9d50f0333..83302834fb0cdf87c011d3a23d44ce9d28d1ca08 |
| May 10, 2026 15:15 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354968188 |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| 05d4cd8 | https://github.com/adcontextprotocol/adcp-client-python/commit/05d4cd8617440aaa638086ffa5cabc0bf61b403f |
| May 10, 2026 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354969759 |
| Please reload this page | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
| https://github.com/bokelley |
| bokelley | https://github.com/bokelley |
| May 10, 2026 15:15 | https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354970137 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
May 10, 2026
| https://github.com/adcontextprotocol/adcp-client-python/pull/629#ref-pullrequest-4415588506 |
|
chore(main): release 5.0.0
#620
| https://github.com/adcontextprotocol/adcp-client-python/pull/620 |
|
feat(server): ship built-in spec_compat_hooks() for pre-v3 / pre-4.4 buyer compatibility
#646
| https://github.com/adcontextprotocol/adcp-client-python/issues/646 |
|
feat(testing): forward pre_validation_hooks through build_asgi_app (follow-up to #626)
#651
| https://github.com/adcontextprotocol/adcp-client-python/issues/651 |
| https://github.co/hiddenchars |
| https://github.com/adcontextprotocol/adcp-client-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fpull%2F629 |
| Please reload this page | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
|
feat(server): pre-validation request hook / spec-default registry
| https://github.com/adcontextprotocol/adcp-client-python/issues/614 |
| Please reload this page | https://github.com/adcontextprotocol/adcp-client-python/pull/629 |
|
| https://github.com/bokelley |
|
| https://github.com/claude |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |