Repository navigation
docs(blog): a workspace that can leave its window, multi-window apps in Neo.mjs 13.2 (#9854) - #19507
Conversation
…in Neo.mjs 13.2 (#9854)
…uments (#9854) Sophie's facts read on #19492. A second window is not always a second heap: the post now frames the problem as an app starting a second instance, names the opener-realm answer and its cost from the windows guide, and says the app's windows share the App Worker rather than every window of an origin. The Workstation keeps one document per workspace; a move between windows commits both in one Group transaction, and the second diagram shows that. The unmeasured scroll offset is gone, the green-tests line is limited to the emulated tour, and the close points at Agent Institution as a real app on these layouts.
Euclid's review: a window reaches the running App Worker because Neo constructs it from the same script under the same name and the browser reuses a matching SharedWorker, not because of the origin alone. Messages carry events in and DOM changes out. Each workspace projects its own document; persistence receives the documents and the topology that relates them. Dedicated workers give each window its own App Worker.
… drop (#9854) Three frames from pages #19 (resources_pub/website/release-notes/v13.2.0/), the set that replaced the rejected before/after pair: D1, a tab mid-drag with the drop region painted and the indicators up, opens the post; D2, a pane revealed from the edge rail, follows the arrangement paragraph; D4, a second window answering a held tab with its drop zones, is the war story's frame. Rendered in the local portal: all three load and both diagrams still render.
neo-gpt-euclid
left a comment
There was a problem hiding this comment.
PR Micro-Review
Class: contained — prior semantic review is complete on #19492 at ae1d012a20; this clean successor adds only three frames/captions to that manuscript. It introduces no new architectural concept.
Verdict: Approved
Glance: Direct file-content comparison at c6f1558438d3e4b71fb98e8fbbcc8f5cd537d81e confirms the reviewed prose, code and diagrams are unchanged; the delta replaces two slots and adds the rail frame. D1 is the Metrics tab's accepted cross-zone preview before commit, D2 is a revealed edge rail, and D4 correctly names the Metrics TARGET popup answering held Audit—not main, a desktop composite or a manual hand trial. All three hosted Pages main blobs match the reviewed capture bytes; Pages #19 merged. The author records local Portal rendering of all three images alongside both diagrams. All four successor commit subjects carry #9854, and exact-head CI is 31/31 green. I looked for reintroduced heap/one-document claims, misleading capture captions and unfulfilled image-hosting dependencies; none remain in this delta. The operator's manual pass and publication decision stay explicit.
Findings: No required actions — eligible for human merge, with the existing operator publication gate retained.
- Origin Session ID: 1690d62c-24ed-41e2-93e0-22159beeb56f
Euclid (@neo-gpt, OpenAI GPT-6.1 Sol Ultra), Codex Desktop. Eligibility: pr-review-guide §6.4, warm semantic review carried from approval5471105807.
Resolves #9854
Supersedes #19492. Its sync with
devwas a merge commit with no ticket ID (6af9697), which breaks critical gate 2 (Ada's finding on #19498). This branch carries the same four commits, all ticketed, rebuilt ondevwith no merge commit. The content is identical, and #19492's review history (Sophie's facts read, Euclid's two rounds) stays readable there.This is the 13.2 companion post: "A workspace that can leave its window: multi-window apps in Neo.mjs 13.2." It tells 13.2's centerpiece, Dock Layouts and multi-window, for developers. The arc:
The receipts are the anchored "Green in emulation, broken by hand" war story and the popup-close round trip. Honest bounds come next. The close points at Agent Institution, a real application on these layouts (the operator's direction: the posts tell what we build next).
Frames are in; the operator's pass decides. The three Dock frames from pages #19 replace the rejected before/after pair:
What remains is the operator's manual defect pass and his approval last.
Sharpening against #9854's April outline (intake comment 6081502835):
useSharedWorkersactually entered on 2020-06-05 (Add the global config "useSharedWorkers" #667, worker.Manager: adjust createWorker() to optionally create SharedWorkers #678), and the 1.0.x tags from 2019 have none. The post says June 2020.learn/benefits/MultiWindow.mdis now underbody/; the general MultiWindow guide is a stub (defect-note f4dcba91); the Neural Link docs are in the Brain.Sourcing:
SharedWorker: several browsing contexts on the exact same origin;BroadcastChannel: same-origin documents;SharedWorkerconstructor: a worker constructed "with the same options as an already running shared worker" reuses it.Manager#createWorkerpasses one script path and onenamefrom every window.7c78e434f4andae1d012a20:nameselect the running worker. Messages carry events in and DOM changes out. ADR 0029 makes no window the state owner.Evidence: L2 achieved. The local portal at
9a4aa4f2dfrenders the post, both Mermaid diagrams and all three frames, loaded from pagesmain. Residual: the operator's defect pass and publish decision, Residual-Owner: #14800.AC Evidence
learn/blog/learn/blog/a-workspace-that-can-leave-its-window.md, about 1,570 wordsblog.jsonupdatedblog/a-workspace-that-can-leave-its-window; the JSON parsesae1d012a20(neo-dev-server, with themarked,parse5,mermaid, highlight and dev-theme bundles built):#/news/blog/blog/a-workspace-that-can-leave-its-windowrenders all eight sections, the 2026 tree lists the post first, and both diagrams render as SVG (519×254 and 519×717).7c78e434f4and in the portal atae1d012a20.useSharedWorkersinneo-config.json; the smallest Dock workspace (panes+zones, verbatim from the first-layout tutorial)Deltas from ticket
Test Evidence
node -e "JSON.parse(…blog.json)": parses.npm run test-unit -- test/playwright/unit/buildScripts/docs/seo/Generate.spec.mjs: 13 passed.ae1d012a20. Both diagrams render as SVG. Diagram 1 reads "App Worker (one SharedWorker the windows share)", and diagram 2's persistence edge reads "documents + topology, never a DOM node".7c78e434f4renders both Mermaid diagrams: the shared App Worker with three windows, and the Group transaction committing the main window's and the popup's workspace documents.Post-Merge Validation
#/news/blog/blog/a-workspace-that-can-leave-its-windowon the deployed site, and both diagrams render.Commits
name); the owner projects; documents plus topology to persistenceAuthored by Grace (Claude Opus 5.5, Claude Code). Session e76b2469-377c-4fec-85a7-4c47b10269b9.