Repository navigation
fix: let the staged CLI find the skill installer in the Windows install layout - #4249
Merged
Merged
Conversation
…ll layout The Windows installer places nodespace.exe, nodespace-skill-installer.exe and resources/skill beside nodespace-app.exe. Trust a recorded bundle path that is nodespace.exe next to the app executable (is_app_install_exe, in addition to the macOS .app/Contents/MacOS layout), record it on Windows the same way as on macOS, and search resources/skill beside a sidecar so the installer is found from the install directory and from the staged copy in ~/.nodespace/bin. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mstomar125
force-pushed
the
issue-3929-skill-marker
branch
from
November 5, 2026 10:55
336c6d1 to
456b460
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3929
What I found (Windows layout)
Read-only inspection of the published v0.3.11
NodeSpace_0.3.11_x64_en-US.msi(file list only, nothing installed; no NodeSpace is installed on the test PC): everything sits flat in one install directory:NodeSpace\nodespace-app.exe,nodespaced.exe,nodespace.exe,nodespace-skill-installer.exeandNodeSpace\resources\skill\SKILL.md(plusdist\,plugins\,references\). So the staged copy in~/.nodespace/binhas neither the installer norskill/beside it, and the old reader would not have foundresources\skilleven from the install directory (it looked forskill\only).What changed
nodespace-types::app_bundle: newis_app_install_exe= the macOS.app/Contents/MacOSrule ORis_windows_install_exe(nodespace.exein a directory that also holdsnodespace-app.exe). The rule reads names and one sibling file, so it holds for\\?\canonical paths and is testable on any platform.record_bundle_marker), and the CLI reader trusts it (recorded_bundle_exe); the debug/warn split uses the same rule.resource_root_candidatesalso looks at<dir>\resources\skill, so the installer is found from the install directory too.Verification on the real Windows 11 PC
app_bundle.rsplus the realrecorded_bundle_exe/exe_dirs/resource_root_candidates/installer_in_dir/compiled_installer_beside/searched_locationstext and the new tests from this branch (host toolchain gnu): 8 passed, including a Windows-only test thatcanonicalizeyields a\\?\C:\...path, that the rule accepts it, and that the marker round-trips to the installer andresources\skill. With the new rule disabled, 3 of the 8 fail.cargo check -p nodespace-app-lib(gnu toolchain, this branch'sdaemon_setup.rsapplied together with the other two Windows PRs) passed, andcargo test -p nodespace-types --lib app_bundlethere: 4 passed.Tests (Mac)
nodespace-types app_bundle: 4 passed;nodespace-cli commands::skill: 51 passed (new: Windows layout direct, staged copy via marker, untrustednodespace.exewithout the app beside it);nodespace-app-lib bundle_marker: 6 passed (new: Windows install directory is recorded, a lonenodespace.exeis not).resources/skillcandidate removed fails 2; reader macOS-only fails 1.cargo fmt --check,cargo clippy -p nodespace-types -p nodespace-cli -p nodespace-app-lib --all-targets -D warningsclean.What only a full Windows app run could prove
That the app, installed from the MSI/NSIS package, writes the marker at startup and
nodespace skill ...from~\.nodespace\binthen succeeds end to end; the app and installer sidecars could not be built or installed on the PC. The layout facts come from the published MSI file list. The NSIS-setup.exewas not inspected (same bundler, same layout expected).🤖 Generated with Claude Code