René's URL Explorer Experiment


Title: feat(server): pre-validation request hook for spec-default injection (#614) by bokelley · Pull Request #629 · adcontextprotocol/adcp-client-python · GitHub

Open Graph Title: feat(server): pre-validation request hook for spec-default injection (#614) by bokelley · Pull Request #629 · adcontextprotocol/adcp-client-python

X Title: feat(server): pre-validation request hook for spec-default injection (#614) by bokelley · Pull Request #629 · adcontextprotocol/adcp-client-python

Description: A python library to interact with adcp servers. Contribute to adcontextprotocol/adcp-client-python development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/pull/629

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f16ddbd6-e9a1-dfab-4e9d-8775ca34f968
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id90E4:EDA7A:20C37BF:299A883:6B0171FF
html-safe-nonceeefe44b860e1e36c1b7b17a4ddd76682aec033c98f9a4e1a3f66102d3b6e17a2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEU0OkVEQTdBOjIwQzM3QkY6Mjk5QTg4Mzo2QjAxNzFGRiIsInZpc2l0b3JfaWQiOiI1NDcwNDM0NzEzNTMxNDEyOTkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc5bfa6d87caa7b9ba27923d8f99bb1adb6107d5ae9cd664854f2784b3f6a2328
hovercard-subject-tagpull_request:3657322549
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/adcontextprotocol/adcp-client-python/629/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/34e1b1e5ac86bc8b69bc3fb9e3caf37babea486b0cf3c17f0a3c9984525f7e77/adcontextprotocol/adcp-client-python/pull/629
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/34e1b1e5ac86bc8b69bc3fb9e3caf37babea486b0cf3c17f0a3c9984525f7e77/adcontextprotocol/adcp-client-python/pull/629
og:image:altCloses #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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebokelley
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/adcontextprotocol/adcp-client-python/pull/629#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fpull%2F629
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%2Fpull%2F629
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=adcontextprotocol%2Fadcp-client-python
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/pull/629
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/pull/629
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/pull/629
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
bokelleyhttps://github.com/bokelley
mainhttps://github.com/adcontextprotocol/adcp-client-python/tree/main
claude/issue-614-pre-validation-hookshttps://github.com/adcontextprotocol/adcp-client-python/tree/claude/issue-614-pre-validation-hooks
Conversationhttps://github.com/adcontextprotocol/adcp-client-python/pull/629
Commits3 (3)https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits
Checkshttps://github.com/adcontextprotocol/adcp-client-python/pull/629/checks
Files changedhttps://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
bokelleyhttps://github.com/bokelley
mainhttps://github.com/adcontextprotocol/adcp-client-python/tree/main
claude/issue-614-pre-validation-hookshttps://github.com/adcontextprotocol/adcp-client-python/tree/claude/issue-614-pre-validation-hooks
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
May 10, 2026https://github.com/adcontextprotocol/adcp-client-python/pull/629#issue-4415652459
#614https://github.com/adcontextprotocol/adcp-client-python/issues/614
#614https://github.com/adcontextprotocol/adcp-client-python/issues/614
https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZhttps://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZ
Claude Codehttps://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZ
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/629
https://github.com/bokelley
bokelleyhttps://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
bokelleyhttps://github.com/bokelley
May 10, 2026https://github.com/adcontextprotocol/adcp-client-python/pull/629#issuecomment-4415365946
#614https://github.com/adcontextprotocol/adcp-client-python/issues/614
core/middleware/spec_defaults.pyhttps://github.com/bokelley/salesagent/blob/main/core/middleware/spec_defaults.py
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/629
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
force-pushedhttps://github.com/adcontextprotocol/adcp-client-python/compare/deaa4f889ebacdcfde0f60bf11e07fca037f8457..a7afcbb8598d1df855ec4e7b0a513e9236dc98c1
deaa4f8https://github.com/adcontextprotocol/adcp-client-python/commit/deaa4f889ebacdcfde0f60bf11e07fca037f8457
a7afcbbhttps://github.com/adcontextprotocol/adcp-client-python/commit/a7afcbb8598d1df855ec4e7b0a513e9236dc98c1
Compare https://github.com/adcontextprotocol/adcp-client-python/compare/deaa4f889ebacdcfde0f60bf11e07fca037f8457..a7afcbb8598d1df855ec4e7b0a513e9236dc98c1
May 10, 2026 13:14https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25353636205
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
May 10, 2026 13:14https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25353639698
bokelleyhttps://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
49feaefhttps://github.com/adcontextprotocol/adcp-client-python/commit/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
#629https://github.com/adcontextprotocol/adcp-client-python/pull/629
https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoohttps://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
May 10, 2026https://github.com/adcontextprotocol/adcp-client-python/pull/629#issuecomment-4415377546
49feaefhttps://github.com/adcontextprotocol/adcp-client-python/commit/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
Claude Codehttps://claude.ai/code
Please reload this pagehttps://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
bokelleyhttps://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
83013d1https://github.com/adcontextprotocol/adcp-client-python/commit/83013d1d10b1eed09ed7d17981c4d2b58d85aa43
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
#629https://github.com/adcontextprotocol/adcp-client-python/pull/629
https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoohttps://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
force-pushedhttps://github.com/adcontextprotocol/adcp-client-python/compare/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4..83013d1d10b1eed09ed7d17981c4d2b58d85aa43
49feaefhttps://github.com/adcontextprotocol/adcp-client-python/commit/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4
83013d1https://github.com/adcontextprotocol/adcp-client-python/commit/83013d1d10b1eed09ed7d17981c4d2b58d85aa43
Compare https://github.com/adcontextprotocol/adcp-client-python/compare/49feaefa5c63edfe56edc7ddd68d80bc33a0b7d4..83013d1d10b1eed09ed7d17981c4d2b58d85aa43
May 10, 2026 15:15https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354960573
bokelleyhttps://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
bbccd1fhttps://github.com/adcontextprotocol/adcp-client-python/commit/bbccd1fbab83919ba870033ef3f2b3d9d50f0333
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
#629https://github.com/adcontextprotocol/adcp-client-python/pull/629
https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoohttps://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
force-pushedhttps://github.com/adcontextprotocol/adcp-client-python/compare/83013d1d10b1eed09ed7d17981c4d2b58d85aa43..bbccd1fbab83919ba870033ef3f2b3d9d50f0333
83013d1https://github.com/adcontextprotocol/adcp-client-python/commit/83013d1d10b1eed09ed7d17981c4d2b58d85aa43
bbccd1fhttps://github.com/adcontextprotocol/adcp-client-python/commit/bbccd1fbab83919ba870033ef3f2b3d9d50f0333
Compare https://github.com/adcontextprotocol/adcp-client-python/compare/83013d1d10b1eed09ed7d17981c4d2b58d85aa43..bbccd1fbab83919ba870033ef3f2b3d9d50f0333
May 10, 2026 15:15https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354965046
claudehttps://github.com/claude
May 10, 2026 11:15https://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 injectionhttps://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/79d8578b73823f89741db257cc5d3474852f8524
79d8578https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/79d8578b73823f89741db257cc5d3474852f8524
#614https://github.com/adcontextprotocol/adcp-client-python/issues/614
https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZhttps://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
ecc5c58https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/ecc5c581a05a029bf52e07cb1808c467842b62e2
https://claude.ai/code/session_015hHQqXRbn2jX9WTu564gjZhttps://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
8330283https://github.com/adcontextprotocol/adcp-client-python/pull/629/commits/83302834fb0cdf87c011d3a23d44ce9d28d1ca08
#623https://github.com/adcontextprotocol/adcp-client-python/issues/623
#629https://github.com/adcontextprotocol/adcp-client-python/pull/629
https://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoohttps://claude.ai/code/session_0115Pruuy4MbdaxhPvgTBFoo
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
force-pushedhttps://github.com/adcontextprotocol/adcp-client-python/compare/bbccd1fbab83919ba870033ef3f2b3d9d50f0333..83302834fb0cdf87c011d3a23d44ce9d28d1ca08
bbccd1fhttps://github.com/adcontextprotocol/adcp-client-python/commit/bbccd1fbab83919ba870033ef3f2b3d9d50f0333
8330283https://github.com/adcontextprotocol/adcp-client-python/commit/83302834fb0cdf87c011d3a23d44ce9d28d1ca08
Compare https://github.com/adcontextprotocol/adcp-client-python/compare/bbccd1fbab83919ba870033ef3f2b3d9d50f0333..83302834fb0cdf87c011d3a23d44ce9d28d1ca08
May 10, 2026 15:15https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354968188
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
05d4cd8https://github.com/adcontextprotocol/adcp-client-python/commit/05d4cd8617440aaa638086ffa5cabc0bf61b403f
May 10, 2026https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354969759
Please reload this pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/629
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
May 10, 2026 15:15https://github.com/adcontextprotocol/adcp-client-python/pull/629#event-25354970137
https://github.com/apps/github-actions
github-actionshttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fpull%2F629
Please reload this pagehttps://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 pagehttps://github.com/adcontextprotocol/adcp-client-python/pull/629
https://github.com/bokelley
https://github.com/claude
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.