René's URL Explorer Experiment


Title: feat(testing): reference upstream-traffic recorder middleware for query_upstream_traffic adopters (adcp#3830 item 4) · Issue #347 · adcontextprotocol/adcp-client-python · GitHub

Open Graph Title: feat(testing): reference upstream-traffic recorder middleware for query_upstream_traffic adopters (adcp#3830 item 4) · Issue #347 · adcontextprotocol/adcp-client-python

X Title: feat(testing): reference upstream-traffic recorder middleware for query_upstream_traffic adopters (adcp#3830 item 4) · Issue #347 · adcontextprotocol/adcp-client-python

Description: Python sibling of adcp-client#TBD. Ship a reference middleware Python adopters drop into their `comply_test_controller` implementation to populate the session-scoped recording buffer that `query_upstream_traffic` returns. Why PR adcontex...

Open Graph Description: Python sibling of adcp-client#TBD. Ship a reference middleware Python adopters drop into their `comply_test_controller` implementation to populate the session-scoped recording buffer that `query_up...

X Description: Python sibling of adcp-client#TBD. Ship a reference middleware Python adopters drop into their `comply_test_controller` implementation to populate the session-scoped recording buffer that `query_up...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(testing): reference upstream-traffic recorder middleware for query_upstream_traffic adopters (adcp#3830 item 4)","articleBody":"Python sibling of adcp-client#TBD. Ship a reference middleware Python adopters drop into their \\`comply_test_controller\\` implementation to populate the session-scoped recording buffer that \\`query_upstream_traffic\\` returns.\n\n## Why\n\nPR adcontextprotocol/adcp#3816 ships the spec contract for \\`upstream_traffic\\` storyboard checks. Python-based adopters (sales-house adapters, signal marketplaces, governance tools written in FastAPI / Flask) opt in by exposing \\`query_upstream_traffic\\` from \\`comply_test_controller\\`. The recorder primitive lets them avoid hand-rolling the buffer + redaction + caller-scoping that the spec requires.\n\n## What to build\n\n\\`adcp.testing.upstream_recorder\\`:\n\n\\`\\`\\`python\nfrom adcp.testing import UpstreamRecorder\n\nrecorder = UpstreamRecorder(\n    enabled=os.getenv(\\\"ADCP_SANDBOX\\\") == \\\"1\\\",\n    redact_pattern=r\\\"^(authorization|token|api_key|...)\\$\\\",\n    buffer_size=1000,\n    ttl_seconds=3600,\n)\n\n# Wire as httpx event hook / requests session adapter\nimport httpx\nclient = httpx.Client(event_hooks={\\\"request\\\": [recorder.on_request], \\\"response\\\": [recorder.on_response]})\n\n# Or for requests:\nimport requests\nrequests.Session().mount(\\\"https://\\\", recorder.requests_adapter)\n\n# In your comply_test_controller handler for scenario: query_upstream_traffic:\ndef handle_query_upstream_traffic(req, principal):\n    result = recorder.query(\n        principal=principal,\n        since_timestamp=req.params.get(\\\"since_timestamp\\\"),\n        endpoint_pattern=req.params.get(\\\"endpoint_pattern\\\"),\n        limit=req.params.get(\\\"limit\\\", 100),\n    )\n    return {\n        \\\"success\\\": True,\n        \\\"recorded_calls\\\": result.items,\n        \\\"total_count\\\": result.total,\n        \\\"truncated\\\": result.truncated,\n        \\\"since_timestamp\\\": req.params[\\\"since_timestamp\\\"],\n    }\n\\`\\`\\`\n\nSame key behaviors as the Node sibling: caller scoping (per-principal buffer), redaction at recording time, sandbox-only gating, optional purpose tagging callback.\n\n## HTTP client coverage\n\nShip adapters for the common Python HTTP clients:\n- \\`httpx\\` (event hooks — primary)\n- \\`requests\\` (transport adapter)\n- \\`aiohttp\\` (trace config)\n- \\`urllib3\\` (lowest level — nice-to-have)\n\n## References\n\n- Spec contract: adcontextprotocol/adcp#3816 (merged)\n- Sibling Node issue: adcp-client (file in parallel)\n- Source issue: adcontextprotocol/adcp#3830 item 4\n- Runner-side companion: adcp-client#1253 (consumer side; orthogonal to this)","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-02T16:18:06Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/347"}

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:cf1ff7dc-2584-9167-e2ad-1bc367814140
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD13E:2DBB21:D43761:11BDE7E:6B0101B0
html-safe-nonceee959b63ddb9b5a452220d7d6f537e4bfc9acf29eb9afdf2ac267450b8aa5820
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTNFOjJEQkIyMTpENDM3NjE6MTFCREU3RTo2QjAxMDFCMCIsInZpc2l0b3JfaWQiOiI2MjgyODEyMDkyMzQ5MjE5MjQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac88e6603de3fdc824cc127fdf7f04f240b12c2e2ed2dd8a6ad4a9026e3d1a001e
hovercard-subject-tagissue:4369418901
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/347/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6e49f5b831c910b619b8b65f6f75354a5653bf48fdfe518ff91705fbdbec27cb/adcontextprotocol/adcp-client-python/issues/347
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6e49f5b831c910b619b8b65f6f75354a5653bf48fdfe518ff91705fbdbec27cb/adcontextprotocol/adcp-client-python/issues/347
og:image:altPython sibling of adcp-client#TBD. Ship a reference middleware Python adopters drop into their `comply_test_controller` implementation to populate the session-scoped recording buffer that `query_up...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebokelley
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/adcontextprotocol/adcp-client-python/issues/347#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fissues%2F347
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%2F347
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/347
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/347
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/347
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/347
New issuehttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/347
#939https://github.com/adcontextprotocol/adcp-client-python/pull/939
feat(testing): reference upstream-traffic recorder middleware for query_upstream_traffic adopters (adcp#3830 item 4)https://github.com/adcontextprotocol/adcp-client-python/issues/347#top
#939https://github.com/adcontextprotocol/adcp-client-python/pull/939
claude-triagedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22claude-triaged%22
enhancementNew feature or requesthttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
on May 2, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#issue-4369418901
adcontextprotocol/adcp#3816https://github.com/adcontextprotocol/adcp/pull/3816
feat(compliance): unified anti-façade + cascade-attribution contract (#3813) adcp#3816https://github.com/adcontextprotocol/adcp/pull/3816
Anti-façade contract: deferred follow-ups from #3816 expert review adcp#3830https://github.com/adcontextprotocol/adcp/issues/3830
bokelleyhttps://github.com/bokelley
claude-triagingTriage routine is actively working on this issue (1-3 min)https://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22claude-triaging%22
on May 2, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#event-25096319779
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
on May 2, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#issuecomment-4364309483
@bokelleyhttps://github.com/bokelley
https://claude.ai/code/session_01U6twLPtW5rLZim9zBRRNbLhttps://claude.ai/code/session_01U6twLPtW5rLZim9zBRRNbL
Claude Codehttps://claude.ai/code
bokelleyhttps://github.com/bokelley
enhancementNew feature or requesthttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
claude-triagedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22claude-triaged%22
claude-triagingTriage routine is actively working on this issue (1-3 min)https://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22claude-triaging%22
on May 2, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#event-25096361576
bokelleyhttps://github.com/bokelley
on May 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#event-25101120237
feat(decisioning): MockAdServer Protocol + /_debug/traffic counters (#…https://github.com/adcontextprotocol/adcp-client-python/commit/53d8b8cbe7be5208e3d1250a7e1068f93c33ca28
#…https://github.com/adcontextprotocol/adcp-client-python/issues/383
53d8b8chttps://github.com/adcontextprotocol/adcp-client-python/commit/53d8b8cbe7be5208e3d1250a7e1068f93c33ca28
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
on May 11, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#issuecomment-4424268654
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
on May 21, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#issuecomment-4508187785
#755https://github.com/adcontextprotocol/adcp-client-python/pull/755
#755https://github.com/adcontextprotocol/adcp-client-python/pull/755
bokelleyhttps://github.com/bokelley
on May 22, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#event-25868789585
chore: configure release-please for 6.0.0-beta line (closes #802) (#804)https://github.com/adcontextprotocol/adcp-client-python/commit/fc5ee16b5c01ce649d6d5b5b044d706e032f5432
#802https://github.com/adcontextprotocol/adcp-client-python/issues/802
#804https://github.com/adcontextprotocol/adcp-client-python/pull/804
fc5ee16https://github.com/adcontextprotocol/adcp-client-python/commit/fc5ee16b5c01ce649d6d5b5b044d706e032f5432
bokelleyhttps://github.com/bokelley
on Jun 7, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#event-26445902089
feat(testing): add reference UpstreamRecorder middlewarehttps://github.com/adcontextprotocol/adcp-client-python/commit/63ce32e485ed531a6fe5aba252e79d4ec559971d
https://docs.github.com/articles/closing-issues-via-commit-messages
63ce32ehttps://github.com/adcontextprotocol/adcp-client-python/commit/63ce32e485ed531a6fe5aba252e79d4ec559971d
bokelleyhttps://github.com/bokelley
completedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#939https://github.com/adcontextprotocol/adcp-client-python/pull/939
on Jun 7, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#event-26446694808
bokelleyhttps://github.com/bokelley
on Jun 7, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/347#event-26446694815
feat(testing): reference UpstreamRecorder middleware for query_upstre…https://github.com/adcontextprotocol/adcp-client-python/commit/5ca5758faecce74e84d948b18c94732319a687c1
https://docs.github.com/articles/closing-issues-via-commit-messages
5ca5758https://github.com/adcontextprotocol/adcp-client-python/commit/5ca5758faecce74e84d948b18c94732319a687c1
Sign up for freehttps://github.com/signup?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/347
Sign in to commenthttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/347
claude-triagedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22claude-triaged%22
enhancementNew feature or requesthttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22enhancement%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.