René's URL Explorer Experiment


Title: feat(server): SubdomainTenantRouter middleware for multi-tenant deployments · Issue #355 · adcontextprotocol/adcp-client-python · GitHub

Open Graph Title: feat(server): SubdomainTenantRouter middleware for multi-tenant deployments · Issue #355 · adcontextprotocol/adcp-client-python

X Title: feat(server): SubdomainTenantRouter middleware for multi-tenant deployments · Issue #355 · adcontextprotocol/adcp-client-python

Description: Summary JS already ships subdomain tenant routing; Python adopters hand-roll it (salesagent's domain_routing.py is ~250 LOC). Ship a Starlette middleware that resolves Host header → tenant, populates a contextvar, hands down to AccountSt...

Open Graph Description: Summary JS already ships subdomain tenant routing; Python adopters hand-roll it (salesagent's domain_routing.py is ~250 LOC). Ship a Starlette middleware that resolves Host header → tenant, populat...

X Description: Summary JS already ships subdomain tenant routing; Python adopters hand-roll it (salesagent's domain_routing.py is ~250 LOC). Ship a Starlette middleware that resolves Host header → tenant, pop...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(server): SubdomainTenantRouter middleware for multi-tenant deployments","articleBody":"## Summary\n\nJS already ships subdomain tenant routing; Python adopters hand-roll it (salesagent's `domain_routing.py` is ~250 LOC). Ship a Starlette middleware that resolves `Host` header → tenant, populates a contextvar, hands down to `AccountStore`/`TaskStore`/etc.\n\n## Design\n\n### Surface\n\n- `SubdomainTenantRouter` Protocol with `resolve(host: str) -> Tenant | None` method\n- Starlette middleware that:\n  - Reads `Host` header\n  - Calls the resolver\n  - Populates a contextvar with the resolved tenant\n  - 404s on unknown hosts\n- Reference implementation backed by a static dict mapping (development/test)\n- Production adopters back the Protocol with their tenant table\n\n### Composition\n\nTenant-scoped contextvar threads down to `AccountStore`, `TaskStore`, `BuyerAgentRegistry`, etc., letting all downstream stores filter by tenant without explicit plumbing.\n\n## Cross-references\n\n- RFC: [docs/proposals/v3-identity-bundle-design.md](https://github.com/adcontextprotocol/adcp-client-python/blob/main/docs/proposals/v3-identity-bundle-design.md)\n- JS parity tracker: [adcp-client#1249](https://github.com/adcontextprotocol/adcp-client/issues/1249)\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-02T17:52:19Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/355"}

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:47598f9c-2f57-8bf7-822f-d7cb60493aa9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idABD6:229B2E:D25486:116EFBA:6B00F7F7
html-safe-noncea81b35a5ba890c904404f4e5c3100acbf49c832855a59dd181cab38b89abc521
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkQ2OjIyOUIyRTpEMjU0ODY6MTE2RUZCQTo2QjAwRjdGNyIsInZpc2l0b3JfaWQiOiI0MjQzNDIzMzEzNjcxNTUwOTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac748478f480b7b0c05f7e536499a87dc5de20609520f83041a2e787977d5eba55
hovercard-subject-tagissue:4369622919
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/355/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b648830c85e590cd190a93a0dcac67ed3193c0931affc69c9705c31de3daab4e/adcontextprotocol/adcp-client-python/issues/355
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b648830c85e590cd190a93a0dcac67ed3193c0931affc69c9705c31de3daab4e/adcontextprotocol/adcp-client-python/issues/355
og:image:altSummary JS already ships subdomain tenant routing; Python adopters hand-roll it (salesagent's domain_routing.py is ~250 LOC). Ship a Starlette middleware that resolves Host header → tenant, populat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebokelley
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
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
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/adcontextprotocol/adcp-client-python/issues/355#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fissues%2F355
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%2F355
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/355
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/355
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/355
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/355
New issuehttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/355
#368https://github.com/adcontextprotocol/adcp-client-python/pull/368
feat(server): SubdomainTenantRouter middleware for multi-tenant deploymentshttps://github.com/adcontextprotocol/adcp-client-python/issues/355#top
#368https://github.com/adcontextprotocol/adcp-client-python/pull/368
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/355#issue-4369622919
docs/proposals/v3-identity-bundle-design.mdhttps://github.com/adcontextprotocol/adcp-client-python/blob/main/docs/proposals/v3-identity-bundle-design.md
adcp-client#1249https://github.com/adcontextprotocol/adcp-client/issues/1249
Claude Codehttps://claude.com/claude-code
bokelleyhttps://github.com/bokelley
enhancementNew feature or requesthttps://github.com/adcontextprotocol/adcp-client-python/issues?q=state%3Aopen%20label%3A%22enhancement%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/355#event-25096835722
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
on May 2, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/355#issuecomment-4364403907
@bokelleyhttps://github.com/bokelley
https://claude.ai/code/${CLAUDE_CODE_REMOTE_SESSION_ID}https://claude.ai/code/$%7BCLAUDE_CODE_REMOTE_SESSION_ID%7D
Claude Codehttps://claude.ai/code
bokelleyhttps://github.com/bokelley
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/355#event-25096903807
bokelleyhttps://github.com/bokelley
on May 2, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/355#event-25098094707
feat(server): SubdomainTenantRouter middleware for multi-tenant deplo…https://github.com/adcontextprotocol/adcp-client-python/commit/8a18e0f93259b39cb5d08ea1f46dcafb885ee130
8a18e0fhttps://github.com/adcontextprotocol/adcp-client-python/commit/8a18e0f93259b39cb5d08ea1f46dcafb885ee130
feat(server): SubdomainTenantRouter middleware for multi-tenant deplo…https://github.com/adcontextprotocol/adcp-client-python/commit/1e27dad86787cfa09155e937fa0c3b2e7d169911
1e27dadhttps://github.com/adcontextprotocol/adcp-client-python/commit/1e27dad86787cfa09155e937fa0c3b2e7d169911
bokelleyhttps://github.com/bokelley
completedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#368https://github.com/adcontextprotocol/adcp-client-python/pull/368
on May 2, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/355#event-25098139755
Sign up for freehttps://github.com/signup?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/355
Sign in to commenthttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/355
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.