René's URL Explorer Experiment


Title: id(web): program-only router pins only its root page — the merged world session bridge serves every hosted world by name · Issue #5728 · developing-today/code · GitHub

Open Graph Title: id(web): program-only router pins only its root page — the merged world session bridge serves every hosted world by name · Issue #5728 · developing-today/code

X Title: id(web): program-only router pins only its root page — the merged world session bridge serves every hosted world by name · Issue #5728 · developing-today/code

Description: Summary The #2146 phase-2 program-only router (create_program_router, merged in PR #5537 commit bde2ec004f) pins only its root page to the bound world. The world session bridge it merges is the shared, unpinned bridge: every bridge handl...

Open Graph Description: Summary The #2146 phase-2 program-only router (create_program_router, merged in PR #5537 commit bde2ec004f) pins only its root page to the bound world. The world session bridge it merges is the sha...

X Description: Summary The #2146 phase-2 program-only router (create_program_router, merged in PR #5537 commit bde2ec004f) pins only its root page to the bound world. The world session bridge it merges is the sha...

Opengraph URL: https://github.com/developing-today/code/issues/5728

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(web): program-only router pins only its root page — the merged world session bridge serves every hosted world by name","articleBody":"## Summary\n\nThe #2146 phase-2 program-only router (`create_program_router`, merged in PR #5537 commit `bde2ec004f`) pins only its root page to the bound world. The world session bridge it merges is the shared, unpinned bridge: every bridge handler leases whatever world the caller names, so a listener bound to `program:\u003cworld-A>` also serves the full world session API for every other world the hub hosts.\n\n## Evidence (verified this run against laptop primary main `57119df82e`)\n\n- `pkgs/id/src/web/routes.rs:515-531` — `create_program_router` sets `state.program_world` (read only by `program_page_handler`, routes.rs:614) and merges `world_ws::world_routes_at(&world_socket)` with a `WorldWebState { hub: state.world.clone(), cookie_secure }` — the whole hub, no world restriction.\n- `pkgs/id/src/web/world_ws.rs:40-47` — `WorldWebState` has only `hub` and `cookie_secure`; there is no pinned-world field for the bridge to enforce.\n- Bridge handlers route by caller-supplied world name:\n  - host-view: world_ws.rs:137 `hub.lease(query.world.as_deref(), None)`\n  - directory read/write: world_ws.rs:427 `hub.lease(world.as_deref(), token)` (world from `DirectoryQuery`/`DirectoryRequest`)\n  - invite: world_ws.rs:545 `hub.lease(request.world.as_deref(), supplied)` — with the hub admin token, an invite can be minted for a different world through this listener, and `lease` with an admin token may create the named world.\n  - websocket: `handler` upgrades and `run_session(&hub, ...)` (world_session/mod.rs:857) joins the world the session names.\n  - explore routes merged by `world_http_routes` ride along the same way.\n- The stated contract this breaks: `create_program_router`'s doc (routes.rs:506-514) says the program surface is the bound world's frontend + bridge \"and nothing else\", and `program_page_handler` (routes.rs:610-613) 404s for a world the hub does not host because the surface must never become \"a lobby for a different world\". The existing test `program_router_serves_only_the_program_surface` checks explorer paths 404 and that invite minting without the admin secret is 401 — but never tries a *different hosted world* through the bridge.\n\n## Why it matters\n\nA program binding is the surface an operator deliberately exposes for one world (potentially publicly, per #2146 programs-as-websites). Today that exposure silently includes every other hosted world's session bridge: directory reads/writes, host-view, invite minting, explore pages, and guest session joins for worlds the operator never bound to that listener. Per-world authority inside the bridge (guest caps, admin token) still applies, but the listener-level isolation the phase-2 design promises — one listener, one world — does not exist, and it fails silently: nothing in the router or tests names the gap.\n\n## Acceptance criteria\n\n- [ ] The program router's bridge is pinned to the bound world: requests naming any other world (host-view `?world=`, directory `world`, invite `world`, explore, websocket join) are refused (404, matching `program_page_handler`'s convention) without leasing or creating that world.\n- [ ] Requests naming the bound world, or omitting the world where the bridge defaults, work exactly as on the explorer surface.\n- [ ] Tests extend `program_router_serves_only_the_program_surface`'s pattern: with a hub hosting two worlds, a program router for world A refuses world B on each bridge entry point (invite, host-view, directory read/write, websocket join) and serves world A.\n- [ ] The mechanism is structural (the pin lives in the bridge state or an equivalent single choke point), not per-handler ad-hoc checks that a future bridge route can forget.\n\nRelated: #5537 (parent implementation), #5711 (the phase-1 parse-time companion gap: program target names not validated against the world-name rule). Distinct from #5711 — that is about which names parse; this is about which worlds a live program listener serves.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T00:43:03Z","url":"https://github.com/developing-today/code/issues/5728"}

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:0e4e9a81-11e0-cc73-dfc2-0cc187962531
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8E00:39ABD:72D81F:99CED8:6B062F94
html-safe-nonce51a75c16698b363b32c2564d8d8c5fd17487611d03f07d69bc85cf4047ee6fec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTAwOjM5QUJEOjcyRDgxRjo5OUNFRDg6NkIwNjJGOTQiLCJ2aXNpdG9yX2lkIjoiMjg3NDk5NzU5MDE1MDQ5MjA1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3d0099fff4b2e4d0bd129a69dc870d8fe73fc31bccf35e6238a17a52f3368d81
hovercard-subject-tagissue:6214279275
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/developing-today/code/5728/issue_layout
twitter:imagehttps://opengraph.githubassets.com/69957b7035e4143e3762dd0abd88bd001a5541dd8f55062089d2046797447c18/developing-today/code/issues/5728
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69957b7035e4143e3762dd0abd88bd001a5541dd8f55062089d2046797447c18/developing-today/code/issues/5728
og:image:altSummary The #2146 phase-2 program-only router (create_program_router, merged in PR #5537 commit bde2ec004f) pins only its root page to the bound world. The world session bridge it merges is the sha...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
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
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/5728#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F5728
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%2Fdeveloping-today%2Fcode%2Fissues%2F5728
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=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/5728
Reloadhttps://github.com/developing-today/code/issues/5728
Reloadhttps://github.com/developing-today/code/issues/5728
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests151 (151)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/5728
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/5728
id(web): program-only router pins only its root page — the merged world session bridge serves every hosted world by namehttps://github.com/developing-today/code/issues/5728#top
https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 5, 2026https://github.com/developing-today/code/issues/5728#issue-6214279275
#2146https://github.com/developing-today/code/issues/2146
#5537https://github.com/developing-today/code/issues/5537
#2146https://github.com/developing-today/code/issues/2146
#5537https://github.com/developing-today/code/issues/5537
#5711https://github.com/developing-today/code/issues/5711
#5711https://github.com/developing-today/code/issues/5711
Nexthttps://github.com/developing-today/code/issues/5728?timeline_page=1
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 5, 2026https://github.com/developing-today/code/issues/5728#issuecomment-6646362949
developing.todayhttps://kaneo.security.cab
CODE-1420https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/l1bdukmqye97zsw9gjt4bymd
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
on Nov 5, 2026https://github.com/developing-today/code/issues/5728#event-35190845574
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 5, 2026https://github.com/developing-today/code/issues/5728#issuecomment-6646374342
id: implement Programs as websites in id serve (design #2146) #5537https://github.com/developing-today/code/issues/5537
id(serve): WebContentTarget program: accepts world names no world can bear — validate against the world-name rule at parse #5711https://github.com/developing-today/code/issues/5711
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 5, 2026https://github.com/developing-today/code/issues/5728#issuecomment-6646403509
id(web): program-only router pins only its root page — the merged world session bridge serves every hosted world by name #5728https://github.com/developing-today/code/issues/5728
id(web): program-only router pins only its root page — the merged world session bridge serves every hosted world by name #5728https://github.com/developing-today/code/issues/5728
id(web): program-only router pins only its root page — the merged world session bridge serves every hosted world by name #5728https://github.com/developing-today/code/issues/5728
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 5, 2026https://github.com/developing-today/code/issues/5728#event-35190985930
dezren39https://github.com/dezren39
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
on Nov 11, 2026https://github.com/developing-today/code/issues/5728#event-35797016721
dezren39https://github.com/dezren39
on Nov 11, 2026https://github.com/developing-today/code/issues/5728#event-35801937517
fix(id): repair web_routers mixed-listener test call broken by cross-…https://github.com/developing-today/code/commit/933a2441835f997de94cc6c48fa4d587e703576c
933a244https://github.com/developing-today/code/commit/933a2441835f997de94cc6c48fa4d587e703576c
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 11, 2026https://github.com/developing-today/code/issues/5728#issuecomment-6797406302
#8676https://github.com/developing-today/code/pull/8676
#8676https://github.com/developing-today/code/pull/8676
feat(id): seitan admission path for id serve (#8487) #8529https://github.com/developing-today/code/pull/8529
test(id): #2146 phase 3 — mixed listeners share world sessions; later bind failure leaves no partial startup (#5537) #6809https://github.com/developing-today/code/pull/6809
#8676https://github.com/developing-today/code/pull/8676
dezren39https://github.com/dezren39
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Nov 11, 2026https://github.com/developing-today/code/issues/5728#event-35803566570
dezren39https://github.com/dezren39
on Nov 11, 2026https://github.com/developing-today/code/issues/5728#event-35810467000
fix(id): repair #5728 pin against current main (act_handler pin, hub …https://github.com/developing-today/code/commit/5234b62daf07d87d701839b0e044a646aa5c2c79
#5728https://github.com/developing-today/code/issues/5728
5234b62https://github.com/developing-today/code/commit/5234b62daf07d87d701839b0e044a646aa5c2c79
Merge pull request #8676 from developing-today/queue/9784-5728-pinned…https://github.com/developing-today/code/commit/99e482e031cd2fdd057e2647699941ced8fdaf77
#8676https://github.com/developing-today/code/pull/8676
99e482ehttps://github.com/developing-today/code/commit/99e482e031cd2fdd057e2647699941ced8fdaf77
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 11, 2026https://github.com/developing-today/code/issues/5728#issuecomment-6799077772
#8676https://github.com/developing-today/code/pull/8676
fix(id): pin the program router session bridge to its bound world (#5728) #8676https://github.com/developing-today/code/pull/8676
main-broken: developing-today/code id @6d2a24b — basic: id builds without world feature #8617https://github.com/developing-today/code/issues/8617
dezren39https://github.com/dezren39
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 11, 2026https://github.com/developing-today/code/issues/5728#event-35810507396
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 11, 2026https://github.com/developing-today/code/issues/5728#event-35810529520
developing-todayhttps://github.com/apps/developing-today
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
on Nov 11, 2026https://github.com/developing-today/code/issues/5728#event-35810537263
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/5728
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/5728
dezren39https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.