Repository navigation
Closed
Labels
Description
Not a core-release blocker. This is ADR-081 step 5, landing in a core release after the first. The single-instance daemon lock, the exported launcher arguments and the startup product check are already on main. This issue adds the coexistence checks that keep core's installers and CLI from replacing or half-removing another NodeSpace product, plus the user-facing notices.
Decisions
Every check compares the installed bundle's NodeSpaceProduct with community. None names another product or its daemon, and there is no fallback for older bundles without the key.
Acceptance criteria
- Core's app bundle declares
NodeSpaceProduct = communityin itsInfo.plist. -
.pkg: the Distribution installation check (scripts/build-pkg.sh) and a newscripts/pkg-resources/preinstallrefuse before the payload when/Applications/NodeSpace.appdoes not declarecommunity. The message is: "Another NodeSpace product is installed on this Mac. Uninstall it with its own uninstaller first. Your databases stay on this Mac."NODESPACE_FORCE_COMMUNITY=1overrides it. No installed binary is executed. - Homebrew cask:
scripts/update-homebrew-cask.tsgenerates apreflightwith the same check and message, and~/.nodespace/databaseleaves thezaplist. -
nodespace uninstallrefuses when/Applications/NodeSpace.appexists and does not declarecommunity, with ADR-084 §5's message, and proceeds when no app is installed. - Skill guidance:
references/cli.mddescribes the uninstall refusal and what the agent should tell the user. The SKILL.md drift check passes. - Notices in the app (ADR-084 §4.3):
- when a daemon outside the shared label holds the socket: "Another NodeSpace background service is running (‹executable path›). Stop it, then choose Retry.";
- when
/Library/LaunchAgents/app.nodespace.daemon.plistruns another binary: "Another NodeSpace product's background service is registered for all users of this Mac. To remove it, run that product's uninstaller."
- Script tests cover the installation check and the cask preflight against fixture bundles with
community, another product and no key. Rust tests cover the CLI guard.
Folds in
Dependencies
- Blocked by [Core release blocker] Strip all Pro code, edition branching and sync/ACL state from core in one pass (ADR-081 steps 0 and 2) #3412 (edition branching removed, including the old
--editionpostinstall guard), and lands in a core release after the first. - Must ship in a core release before NodeSpaceAI/nodespace-sync#519 distributes a Pro installer.
References
Read these before starting. They are the source of truth; where this issue and an ADR disagree, the ADR wins.
Activity
mstomar125 commentedon Oct 5, 2026
Picking this up now. The parked draft PRs #3411 (uninstall), #3380 (cask preflight) and #3381 (.pkg pre-install check) get reworked to ADR-084 §5's exact refusal text, with no
nodespaced-profallback and nothing that names Pro. The bundle declaringNodeSpaceProduct = communityand the two in-app notices are added. Work happens in core's installer scripts and CLI; none of the open PRs touch them.🤖 Generated with Claude Code
Declare NodeSpaceProduct = community in the app bundle Info.plist
Declare NodeSpaceProduct = community in the app bundle Info.plist (#3610