Repository navigation
Description
Cross-repository parent epic: SceneTech/AppScene#122
Related WebScene input/activation gate: #100
Problem
The packaged unchanged VS Code OSS app can open files from its preconfigured Explorer workspace, but the user reports that Open File... and Open Folder... cannot open any selection. With the current remote Node authority, VS Code should use its own browser SimpleFileDialog for the vscode-remote scheme, enumerate through the existing remote file service, and return a URI without requiring Electron or a native local-file picker.
This exact consumer path has not been observed. Current evidence does not distinguish command activation, quick-input focus/layout, directory enumeration, selection, or the subsequent workspace navigation.
Investigation and implementation
- Add validation-only observations around the unchanged commands and DOM: command accepted, dialog created/visible/focused, scheme/authority, initial directory, enumeration request/result count, active item, accepted URI, and dismissal reason. Do not log raw user paths outside isolated fixtures.
- Compare the real dialog DOM, focus, keyboard/pointer interaction, scrolling, and geometry with Chromium using the same remote server and fixture tree.
- Audit WebScene APIs exercised by
SimpleFileDialogand its quick-input/list widgets; reduce any failure to a product-neutral DOM/CSS/input/filesystem contract. - Verify remote filesystem messages, URI serialization, Unicode names, hidden files, parent traversal, file-vs-folder filtering, and cancellation.
- Preserve unchanged VS Code source. Any fix belongs in WebScene; the vscode-demo overlay may observe only under its dedicated acceptance query.
- Hand the selected folder/workspace URI to AppScene#124 for navigation/lifecycle qualification.
Acceptance
-
Open File...,Open Folder...,Add Folder to Workspace..., andOpen Workspace from File...expose the correct remote fixture entries. - Keyboard and pointer can focus, navigate, select, accept, and cancel; focus returns correctly.
- File selection opens the editor; folder/workspace selection emits the exact URI expected by the host navigation lane.
- Chromium/native geometry and required pixels pass for empty, populated, filtered, error, and selected states.
- Enumeration and interaction latency have cold/warm p50/p95 budgets; cascade/layout/visual-tree/publication work is bounded against directory size.
- Large directories are virtualized/bounded and repeated open/cancel cycles do not retain DOM nodes, requests, or handles.
- Direct portable/native changed-behavior tests pass before merge, followed by packaged acceptance.
Schedule
This is the first implementation issue under AppScene#122. Capture the current failure on a20cf890 / 7cd66b3, fix the earliest failing WebScene contract, then unblock AppScene#124.
Activity
wieslawsoltes commentedon Sep 17, 2026
First reproduced prerequisite is fixed and merged.
ReferenceError: HTMLAnchorElement is not definedfrom unchanged VS Code's realm-aware anchor check.HTMLAnchorElementbranding for top-level and iframe realms and merged at6566cf3b.The #247 consumer trace now continues from merged WebScene
6566cf3bto locate the next command/dialog/enumeration/navigation boundary. This completion does not yet prove that Open File or Open Folder works.wieslawsoltes commentedon Sep 17, 2026
Qualification checkpoint after #250:
File: Open Folder...command now reaches and renders the remoteSimpleFileDialog; the earlierHTMLAnchorElementfailure is gone./private/tmp/webscene-247-fixture/beta/through the real dialog.BrowserHostService.openWindowframe, so it did not retain the selectedvscode-remoteURI/options.The local, query-gated consumer observer now emits the handoff JSON synchronously before invoking the real host method; its focused tests pass 26/26. No VS Code source was changed and no WebScene contract change is justified from this run. Keeping #247 open until one final run retains the exact selected URI/openWindow request. AppScene #124 is not yet claimed as the next blocker because this boundary is still unproven.
wieslawsoltes commentedon Sep 17, 2026
Follow-up capture with the navigation-safe handoff observer was inconclusive and does not change the qualification state.
24.18.1; overlay SHA-256035b784f74f31d34bfd05ba0b96249a2ef5424e1577fee4a253d51b0d2e443dc.SCENETECH_REMOTE_PICKER_HANDOFFrecord was emitted. This run therefore proves neither success nor failure of the selectedvscode-remoteURI boundary.The run stopped at that exact focus/input-routing boundary without further retries; all AppScene processes were closed. Keep #247 open. The local-only diagnostic commits remain
d813f2band92a9716; focused observer/native tests pass 26/26 and no VS Code source was changed.wieslawsoltes commentedon Sep 17, 2026
Hierarchy audit: #247 remains the sole P0 owner of the remote command →
SimpleFileDialog→ exact selected URI/BrowserHostService.openWindowboundary. AppScene#124 starts at the resulting target URL/navigation request; #252 starts at new-document workspace/provider reconstruction; #269 starts at file-model open/edit/save/recovery.The final qualifying matrix must include Open File, Open Folder, Add Folder, Open Workspace, and remote Save As; pointer and keyboard; accept/cancel/error; hidden/Unicode/symlink/large-directory entries; byte-exact URI scheme/authority/path/query serialization; correct force-new/reuse/add-mode options; focus restoration; no retained rows/requests; and cold/warm latency/DOM/scene bounds. The 24.18.1 follow-up capture was inconclusive because Chat/Copilot focus intercepted the command and desktop input left the AppScene document, so it supplies no handoff claim and no new engine issue.
wieslawsoltes commentedon Sep 17, 2026
Wave 0 qualification is complete with the exact unchanged VS Code service handoff retained.
The query-gated diagnostic invoked the real
workbench.action.files.openFolderaction directly, removing the earlier Command Palette/Chat focus ambiguity while leaving picker selection and product behavior unchanged. The packaged AppScene/WebScene run selected the product-neutral fixture folder and synchronously observedBrowserHostService.openWindow:{ "callSequence": 1, "elapsedMs": 66704.56654191017, "openables": [{ "kind": "folder", "scheme": "vscode-remote", "authority": "127.0.0.1:64170", "path": "/private/tmp/webscene-247-fixture/beta", "value": "vscode-remote://127.0.0.1:64170/private/tmp/webscene-247-fixture/beta" }], "options": { "forceNewWindow": false, "forceReuseWindow": false, "addMode": false } }Retained observer state records
calls[0].outcome = "handoff", driver statusresolved, 4 visible fixture rows, maximum 17 rendered rows, 512 dialog DOM nodes, and sampling p95 2.11 ms. This cold-start diagnostic invoked Open Folder as soon as the workbench DOM appeared; its 3.55 s dialog visibility sample is therefore a startup-overlap sample, not a regression conclusion. The prior ready-workbench capture measured 901.25 ms within the 2 s picker bound. No generic WebScene/AppScene defect is identified by this evidence.Build/validation:
645f29cc3176500b4b5762ba887cf2a7f0ffdf2c6566cf3b24.18.1d69ead716915e1e611eca6bdf323587030048f4902d0ba501efc22691525214bca98179The selected remote URI and same-window option set are correct. AppScene#124 now owns target-URL/navigation/lifecycle qualification; WebScene#252 starts after navigation at new-document workspace/provider reconstruction. No #124/#252 implementation was started here.