René's URL Explorer Experiment


Title: id(world_net): route_frame lets a frame's own 'world' key override the session-bound world — a WorldSessions session keyed to one world silently leases another · Issue #4576 · developing-today/code · GitHub

Open Graph Title: id(world_net): route_frame lets a frame's own 'world' key override the session-bound world — a WorldSessions session keyed to one world silently leases another · Issue #4576 · developing-today/code

X Title: id(world_net): route_frame lets a frame's own 'world' key override the session-bound world — a WorldSessions session keyed to one world silently leases another · Issue #4576 · developing-today/code

Description: Summary route_frame (pkgs/id/src/world_net.rs:387-396) only inserts the session-bound world when the frame does not already carry a world key — it never overrides one. That breaks the contract the rest of the stack is built on: WorldClie...

Open Graph Description: Summary route_frame (pkgs/id/src/world_net.rs:387-396) only inserts the session-bound world when the frame does not already carry a world key — it never overrides one. That breaks the contract the ...

X Description: Summary route_frame (pkgs/id/src/world_net.rs:387-396) only inserts the session-bound world when the frame does not already carry a world key — it never overrides one. That breaks the contract the ...

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

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(world_net): route_frame lets a frame's own 'world' key override the session-bound world — a WorldSessions session keyed to one world silently leases another","articleBody":"## Summary\n\n`route_frame` (`pkgs/id/src/world_net.rs:387-396`) only *inserts* the session-bound world when the frame does not already carry a `world` key — it never overrides one. That breaks the contract the rest of the stack is built on:\n\n- `WorldClient.world` is documented (world_net.rs:404) as the \"World named in every frame this client sends\".\n- The host binds a session to a world by the **first frame only**: `run_session_with` (pkgs/id/src/world_session/mod.rs:847-890) removes `world` from the first frame and leases that world for the session's whole lifetime; later frames cannot re-route.\n- The new coordinator `WorldSessions` (#3845, merged today in PR #3896) retains sessions keyed by `(endpoint, world)` (world_net.rs:1473-1510) and trusts that key to mean the world the session is actually bound to.\n\nSo a session opened/keyed for world **arena** whose first frame already carries `\"world\": \"bazaar\"` — the shape hand-built join frames routinely use (cf. world_session/tests.rs:1386, :1403) — silently leases **bazaar** on the host, while the coordinator keeps handing out that client as the arena session. Every later frame routed through it (which `route_frame` stamps `arena`, to no effect — the lease is already bazaar) acts on bazaar. Wrong-world reads/writes with no error anywhere.\n\n## Evidence (verified this run, main @ 6fc3145d5)\n\nVerbatim `route_frame` (world_net.rs:387-396, snippet md5 3644119170747a4a3197b05032d01efc) in a laptop probe (`~/git/fleet/probe-2026-11-02-laneB-routeframe/` on the laptop):\n\n```\nbound=arena frame_world=\"bazaar\" routed={\"capability\":\"1.abc\",\"type\":\"join\",\"world\":\"bazaar\"}\nbare frame routed world=\"arena\"\n```\n\n- Frame with its own `world` key + bound world `arena` → routed frame still names `bazaar` (frame wins).\n- Control: frame without a `world` key + bound world `arena` → routed frame names `arena` (insert path works).\n\nAll current in-tree `route_frame` callers (commands/world.rs:738, world_ssh.rs:2680, :2860, `WorldClient::send_json` world_net.rs:470) build frames without a `world` key, so the override branch is latent today — it activates the moment a caller reuses a world-carrying frame template through a bound session, which the `WorldSessions` API now invites. There are no tests for `route_frame`.\n\n## Why it matters\n\nWorld selection is a capability boundary (per-world capability checks are the F13.8 design's stated invariant, doc/2026-11-01T17-54-35Z_design_id_concurrent_world_sessions). A client-side coordinator that can silently hold a session to a different world than its key claims undermines that invariant and produces wrong-world actions that look successful.\n\n## Acceptance criteria\n\n- [ ] `route_frame` with a bound world produces a frame naming that world even when the input frame already carries a different `world` key (bound world wins), or the mismatch is rejected with an explicit error — one behavior, documented on `WorldClient.world` / `route_frame`.\n- [ ] Unit tests for `route_frame`: insert-when-absent, override/reject-when-present-and-different, no-op when the frame's world already equals the bound world, `None` bound world leaves the frame untouched.\n- [ ] A `WorldSessions`-level test (extending the coordinator tests in world_net.rs) shows a session opened for world A cannot end up leased to world B via a pre-keyed first frame.\n- [ ] Existing world_net / world_session tests stay green.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-02T20:42:17Z","url":"https://github.com/developing-today/code/issues/4576"}

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:3030a826-9efb-453c-2b50-b8d6938509ea
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEDCE:DAF5F:A2DE43:D1F8F9:6B063427
html-safe-noncea46db11f1791c7ac504b0fece32274b0a4a678ee7dfc94fcc200eec7ce68ceaf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRENFOkRBRjVGOkEyREU0MzpEMUY4Rjk6NkIwNjM0MjciLCJ2aXNpdG9yX2lkIjoiMTg0MzUwNzYyMjg4OTAxMDIxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5c858200ec1b4a1bb632b0800f2bce47110c06570ab0a7ed1729792f1adc7a53
hovercard-subject-tagissue:6170603097
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/4576/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fac4101ca5a323b72429b27cf9b841dc91158fab61eefa93242b17e591d67021/developing-today/code/issues/4576
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fac4101ca5a323b72429b27cf9b841dc91158fab61eefa93242b17e591d67021/developing-today/code/issues/4576
og:image:altSummary route_frame (pkgs/id/src/world_net.rs:387-396) only inserts the session-bound world when the frame does not already carry a world key — it never overrides one. That breaks the contract the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonec3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0
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
release9eb3bb1597d09170a5f282cd38ae376dee1a5ec1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/4576#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F4576
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%2F4576
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/4576
Reloadhttps://github.com/developing-today/code/issues/4576
Reloadhttps://github.com/developing-today/code/issues/4576
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/4576
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/4576
#7583https://github.com/developing-today/code/pull/7583
id(world_net): route_frame lets a frame's own 'world' key override the session-bound world — a WorldSessions session keyed to one world silently leases anotherhttps://github.com/developing-today/code/issues/4576#top
#7583https://github.com/developing-today/code/pull/7583
https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/shttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%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
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 2, 2026https://github.com/developing-today/code/issues/4576#issue-6170603097
id: implement F13.8 concurrent multi-server world sessions #3845https://github.com/developing-today/code/issues/3845
feat(id): coordinate concurrent world sessions (#3845) #3896https://github.com/developing-today/code/pull/3896
6fc3145https://github.com/developing-today/code/commit/6fc3145d5e24e921549e37adbcfde0563e74e80c
Nexthttps://github.com/developing-today/code/issues/4576?timeline_page=1
dezren39https://github.com/dezren39
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%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
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/shttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fs%22
on Nov 2, 2026https://github.com/developing-today/code/issues/4576#event-34953320697
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 2, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6587973181
id(world_net): route_frame lets a frame's own 'world' key override the session-bound world — a WorldSessions session keyed to one world silently leases another #4576https://github.com/developing-today/code/issues/4576
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 2, 2026https://github.com/developing-today/code/issues/4576#event-34958410800
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 2, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6589212199
id(world_net): route_frame lets a frame's own 'world' key override the session-bound world — a WorldSessions session keyed to one world silently leases another #4576https://github.com/developing-today/code/issues/4576
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#event-35482446835
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6719077357
3bd1953https://github.com/developing-today/code/commit/3bd195366bb9520795e28bc7256e2b14f0d08f51
id(world_net): route_frame lets a frame's own 'world' key override the session-bound world — a WorldSessions session keyed to one world silently leases another #4576https://github.com/developing-today/code/issues/4576
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6719077603
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6719079595
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6719251309
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6719267039
#7583https://github.com/developing-today/code/pull/7583
f20ab1dhttps://github.com/developing-today/code/commit/f20ab1d9029d6bc5fd2b7e220847465367d8d753
dezren39https://github.com/dezren39
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#event-35483401073
fix(id): route_frame lets the session-bound world win over a frame's …https://github.com/developing-today/code/commit/92eed2311144142d1be516fc37eca20cae678dcb
92eed23https://github.com/developing-today/code/commit/92eed2311144142d1be516fc37eca20cae678dcb
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#7583https://github.com/developing-today/code/pull/7583
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#event-35483401136
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6719304180
fix(id): route_frame lets the session-bound world win over a frame's own world key #7583https://github.com/developing-today/code/pull/7583
92eed23https://github.com/developing-today/code/commit/92eed2311144142d1be516fc37eca20cae678dcb
fix(id): route_frame lets the session-bound world win over a frame's own world key #7583https://github.com/developing-today/code/pull/7583
fix(id): route_frame lets the session-bound world win over a frame's own world key #7583https://github.com/developing-today/code/pull/7583
fix(id): route_frame lets the session-bound world win over a frame's own world key #7583https://github.com/developing-today/code/pull/7583
dezren39https://github.com/dezren39
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#event-35483419966
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6719304544
#4576https://github.com/developing-today/code/issues/4576
#7583https://github.com/developing-today/code/pull/7583
92eed23https://github.com/developing-today/code/commit/92eed2311144142d1be516fc37eca20cae678dcb
dezren39https://github.com/dezren39
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#event-35483422038
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 8, 2026https://github.com/developing-today/code/issues/4576#issuecomment-6719522609
developing.todayhttps://kaneo.security.cab
#7583https://github.com/developing-today/code/pull/7583
#7583https://github.com/developing-today/code/pull/7583
f20ab1dhttps://github.com/developing-today/code/commit/f20ab1d9029d6bc5fd2b7e220847465367d8d753
92eed23https://github.com/developing-today/code/commit/92eed2311144142d1be516fc37eca20cae678dcb
#4576https://github.com/developing-today/code/issues/4576
#7583https://github.com/developing-today/code/pull/7583
fix(id): route_frame lets the session-bound world win over a frame's own world key #7583https://github.com/developing-today/code/pull/7583
id(world_net): route_frame lets a frame's own 'world' key override the session-bound world — a WorldSessions session keyed to one world silently leases another #4576https://github.com/developing-today/code/issues/4576
dezren39https://github.com/dezren39
on Nov 9, 2026https://github.com/developing-today/code/issues/4576#event-35528454386
test(id): adapt prekeyed-first-frame coordinator test to handle-based…https://github.com/developing-today/code/commit/75fcee84839285a8b04b2a1f09eaf2fec3010c3f
75fcee8https://github.com/developing-today/code/commit/75fcee84839285a8b04b2a1f09eaf2fec3010c3f
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/4576
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/4576
dezren39https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/shttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%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
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.