Skip to content

Pro rebuild (after core release): core install coexistence checks and other-product notices (ADR-084 §4.3, §5) #3415

Closed

Description

@malibio

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 = community in its Info.plist.
  • .pkg: the Distribution installation check (scripts/build-pkg.sh) and a new scripts/pkg-resources/preinstall refuse before the payload when /Applications/NodeSpace.app does not declare community. 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=1 overrides it. No installed binary is executed.
  • Homebrew cask: scripts/update-homebrew-cask.ts generates a preflight with the same check and message, and ~/.nodespace/database leaves the zap list.
  • nodespace uninstall refuses when /Applications/NodeSpace.app exists and does not declare community, with ADR-084 §5's message, and proceeds when no app is installed.
  • Skill guidance: references/cli.md describes 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.plist runs 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

#3349, #3350, #3351, #3356.

Dependencies

References

Read these before starting. They are the source of truth; where this issue and an ADR disagree, the ADR wins.

Activity

  1. added
    pro-boundary
    on Oct 1, 2026
  2. self-assigned this
    on Oct 5, 2026
  3. mstomar125 commented on Oct 5, 2026

    @mstomar125
    Contributor

    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-pro fallback and nothing that names Pro. The bundle declaring NodeSpaceProduct = community and 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backendpro-boundary

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions