Title: id(world): F11.10 split world.rs, world_session.rs and cli.rs (moves only) · Issue #540 · developing-today/code · GitHub
Open Graph Title: id(world): F11.10 split world.rs, world_session.rs and cli.rs (moves only) · Issue #540 · developing-today/code
X Title: id(world): F11.10 split world.rs, world_session.rs and cli.rs (moves only) · Issue #540 · developing-today/code
Description: What and why Split the three largest modules into focused files, box large command variants so cmd_world stays under a stack budget, with no behaviour change. Exit: no file over 2,500 production lines. The blocker (open platform stack #2...
Open Graph Description: What and why Split the three largest modules into focused files, box large command variants so cmd_world stays under a stack budget, with no behaviour change. Exit: no file over 2,500 production li...
X Description: What and why Split the three largest modules into focused files, box large command variants so cmd_world stays under a stack budget, with no behaviour change. Exit: no file over 2,500 production li...
Opengraph URL: https://github.com/developing-today/code/issues/540
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(world): F11.10 split world.rs, world_session.rs and cli.rs (moves only)","articleBody":"## What and why\n\nSplit the three largest modules into focused files, box large command variants so `cmd_world` stays under a stack budget, with no behaviour change. Exit: no file over 2,500 production lines. The blocker (open platform stack #209-#248) has merged. The files have grown since the plan was written, and the open platform stack the split waited on has merged, so nothing blocks it now.\n\n## Source\n\n- [`.opencode/plans/phase-11-foundations.md:48`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-11-foundations.md#L48)\n- [`.opencode/plans/phase-11-foundations.md:72`](https://github.com/developing-today/code/blob/main/.opencode/plans/phase-11-foundations.md#L72)\n- [`.opencode/plans/2026-10-20_phase-11-status.md:20`](https://github.com/developing-today/code/blob/main/.opencode/plans/2026-10-20_phase-11-status.md#L20)\n\n## Current status\n\n**Not started.** Regressed since the plan: pkgs/id/src/world.rs is 7,596 lines (plan: 6,120), first `#[cfg(test)]` at :4020, so ~4,019 production lines; world_session.rs 4,180 (tests at :2560); cli.rs 4,126 (tests at :2062). No pkgs/id/src/world/ directory. The stack it waited on is merged (PRs #209, #211, #239, #244, #247-#250, #256 MERGED).\n\n## Acceptance criteria\n\n- [ ] world.rs, world_session.rs and cli.rs are split into focused modules; no file has over 2,500 production lines\n- [ ] Large command variants are boxed so `cmd_world` stays under a stack budget\n- [ ] Moves only: no behaviour change, and the existing test suite passes without edits to assertions\n\n## Size\n\nL\n\n## Prerequisites\n\nNone.\n\n\u003c!-- discovery:D1-010 -->\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-22T06:07:42Z","url":"https://github.com/developing-today/code/issues/540"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bfe90a0b-a95a-2960-ffdd-9d16df94a241 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C606:1293AE:519B86:6A9E7B:6B061FBF |
| html-safe-nonce | 9e3dffcd2d90e8aecffdad5afbd12128eeb8be092303d0bd2a573ab33f105ebb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjA2OjEyOTNBRTo1MTlCODY6NkE5RTdCOjZCMDYxRkJGIiwidmlzaXRvcl9pZCI6IjQxNjQxMDAxNzI1Njc0MjA4NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2fd4156fadda84bc55932c2ad9808a5211aeb45e90f49d91c037b39e89f9ed4f |
| hovercard-subject-tag | issue:5974044925 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/540/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a25aaa6cf53e696f3dbc03b7942b8cbcbc549e9bf140084dfa60e716bd523b4/developing-today/code/issues/540 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a25aaa6cf53e696f3dbc03b7942b8cbcbc549e9bf140084dfa60e716bd523b4/developing-today/code/issues/540 |
| og:image:alt | What and why Split the three largest modules into focused files, box large command variants so cmd_world stays under a stack budget, with no behaviour change. Exit: no file over 2,500 production li... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width