René's URL Explorer Experiment


Title: feat(server): createTenantStore — opinionated multi-tenant AccountStore with fail-closed isolation · Issue #457 · adcontextprotocol/adcp-client-python · GitHub

Open Graph Title: feat(server): createTenantStore — opinionated multi-tenant AccountStore with fail-closed isolation · Issue #457 · adcontextprotocol/adcp-client-python

X Title: feat(server): createTenantStore — opinionated multi-tenant AccountStore with fail-closed isolation · Issue #457 · adcontextprotocol/adcp-client-python

Description: Parent: #452 Depends on: #456 (AccountStore.sync_governance typed surface) JS source .changeset/create-tenant-store.md (6.7) — the headline 6.7 helper. Problem solved Resolves the class of bug "adopters routing by wire-supplied operator ...

Open Graph Description: Parent: #452 Depends on: #456 (AccountStore.sync_governance typed surface) JS source .changeset/create-tenant-store.md (6.7) — the headline 6.7 helper. Problem solved Resolves the class of bug "ado...

X Description: Parent: #452 Depends on: #456 (AccountStore.sync_governance typed surface) JS source .changeset/create-tenant-store.md (6.7) — the headline 6.7 helper. Problem solved Resolves the class of bug &quo...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(server): createTenantStore — opinionated multi-tenant AccountStore with fail-closed isolation","articleBody":"Parent: #452\nDepends on: #456 (AccountStore.sync_governance typed surface)\n\n## JS source\n\n`.changeset/create-tenant-store.md` (6.7) — the headline 6.7 helper.\n\n## Problem solved\n\nResolves the class of bug \"adopters routing by wire-supplied operator without cross-checking the auth principal could write across tenants.\" This is solved by baking the per-entry tenant gate INTO the framework — cross-tenant entries never reach adopter code.\n\n## Proposed API\n\n```python\nfrom adcp.decisioning import create_tenant_store\n\nstore = create_tenant_store(\n    resolve_by_ref=lambda ref: ...,                    # AccountStore.resolve\n    resolve_from_auth=lambda ctx: tenant_id_or_none,   # tenant from auth principal\n    tenant_id=lambda account: account.tenant_id,       # extract tenant from Account\n    tenant_to_account=lambda tenant_id: account_or_none,\n    upsert_row=lambda row, ctx: ...,                   # optional adapter hook\n    sync_governance_row=lambda row, ctx: ...,          # optional adapter hook\n)\n```\n\n## Fail-closed semantics\n\n- If `resolve_from_auth(ctx)` returns `None`, every entry fails `PERMISSION_DENIED` regardless of operator.\n- `accounts.upsert` and `accounts.sync_governance` on the returned store are immutable (Python equivalent of JS's `writable: false`) so adopters can't override and bypass the gate.\n- Adopters with genuine custom needs use composition or write a plain `AccountStore`.\n\n## Acceptance criteria\n\n- `create_tenant_store` exported from `adcp.decisioning`.\n- Fail-closed test: `resolve_from_auth` returns `None` → every entry rejected with `PERMISSION_DENIED`.\n- Cross-tenant test: principal's tenant != entry's tenant → rejected before reaching `upsert_row`/`sync_governance_row`.\n- Immutability test: attempting to override `accounts.upsert` on the returned store raises.","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-05-03T11:29:01Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/457"}

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:439aa7bd-8226-795c-2cf1-f8c9b163a745
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id94F8:2DBB21:B8C875:F798E5:6B00F6C1
html-safe-nonce69fac6ea4bccb833e60d5ee2680953bf0a27e888f8c2627e5c951b5e9f362058
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEY4OjJEQkIyMTpCOEM4NzU6Rjc5OEU1OjZCMDBGNkMxIiwidmlzaXRvcl9pZCI6IjI1NjU1MzI1ODY0NDkzNjg3NzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbf409ef122c15da5eb8052d09c0f198fa971a8a168a8417f8e0251acfa33a8de
hovercard-subject-tagissue:4371631910
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/457/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9f1fdfb838a59a9b73cc34b014b5f2cd9d89cff6af07c7bc378c2584a9c8ccb7/adcontextprotocol/adcp-client-python/issues/457
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9f1fdfb838a59a9b73cc34b014b5f2cd9d89cff6af07c7bc378c2584a9c8ccb7/adcontextprotocol/adcp-client-python/issues/457
og:image:altParent: #452 Depends on: #456 (AccountStore.sync_governance typed surface) JS source .changeset/create-tenant-store.md (6.7) — the headline 6.7 helper. Problem solved Resolves the class of bug "ado...
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/457#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fadcontextprotocol%2Fadcp-client-python%2Fissues%2F457
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%2F457
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/457
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/457
Reloadhttps://github.com/adcontextprotocol/adcp-client-python/issues/457
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/457
New issuehttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/457
#473https://github.com/adcontextprotocol/adcp-client-python/pull/473
feat(server): createTenantStore — opinionated multi-tenant AccountStore with fail-closed isolationhttps://github.com/adcontextprotocol/adcp-client-python/issues/457#top
#473https://github.com/adcontextprotocol/adcp-client-python/pull/473
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 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/457#issue-4371631910
#452https://github.com/adcontextprotocol/adcp-client-python/issues/452
#456https://github.com/adcontextprotocol/adcp-client-python/issues/456
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 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/457#event-25106244576
https://github.com/bokelley
bokelleyhttps://github.com/bokelley
on May 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/457#issuecomment-4366058304
#456https://github.com/adcontextprotocol/adcp-client-python/issues/456
#456https://github.com/adcontextprotocol/adcp-client-python/issues/456
#456https://github.com/adcontextprotocol/adcp-client-python/issues/456
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 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/457#event-25106269838
bokelleyhttps://github.com/bokelley
on May 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/457#event-25107817113
feat(decisioning): create_tenant_store — opinionated multi-tenant Acc…https://github.com/adcontextprotocol/adcp-client-python/commit/cbc1088a97d1e1fb7f076c2a6eaa5e16766c1bd9
https://docs.github.com/articles/closing-issues-via-commit-messages
cbc1088https://github.com/adcontextprotocol/adcp-client-python/commit/cbc1088a97d1e1fb7f076c2a6eaa5e16766c1bd9
bokelleyhttps://github.com/bokelley
completedhttps://github.com/adcontextprotocol/adcp-client-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#473https://github.com/adcontextprotocol/adcp-client-python/pull/473
on May 3, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/457#event-25107862588
KonstantinMirinhttps://github.com/KonstantinMirin
on May 13, 2026https://github.com/adcontextprotocol/adcp-client-python/issues/457#event-25486665942
feat(decisioning): create_tenant_store — opinionated multi-tenant Acc…https://github.com/KonstantinMirin/adcp-client-python/commit/8dd5dabc06f38f7045ec000190f6c8ad6565baa7
https://docs.github.com/articles/closing-issues-via-commit-messages
8dd5dabhttps://github.com/KonstantinMirin/adcp-client-python/commit/8dd5dabc06f38f7045ec000190f6c8ad6565baa7
Sign up for freehttps://github.com/signup?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/457
Sign in to commenthttps://github.com/login?return_to=https://github.com/adcontextprotocol/adcp-client-python/issues/457
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.