Skip to content

Make the CLI's uninstall and logs commands follow NODESPACE_HOME #3612

Closed

Description

@mstomar125

Problem

packages/cli/src/commands/uninstall.rs and packages/cli/src/commands/logs.rs still build paths from $HOME directly, not from the shared home resolver. Under NODESPACE_HOME:

  • nodespace logs --path-only reports the real log path (seen in the 2026-10-05 smoke test);
  • nodespace uninstall would act on the real user's NodeSpace home.

#3601 (model path) and #3609 (daemon.toml, nodespace mcp) moved their callers to nodespace_dir(). These are the remaining ones.

Note: #3606 (held for the release after next) also edits uninstall.rs. Do this after it merges, or coordinate.

Documentation

Acceptance criteria

  • Both commands resolve their home through the shared resolver, so NODESPACE_HOME isolates them.
  • Tests with HOME pointing at a temp "real" home and NODESPACE_HOME at another prove the real home is never read or modified. Mutation-checked.

🤖 Generated with Claude Code

Activity

  1. malibio commented on Oct 5, 2026

    @malibio
    Collaborator

    Frontend baseline: 322 test files passed, 5875 tests passed

  2. self-assigned this
    on Oct 5, 2026
  3. added a commit that references this issue on Oct 5, 2026
    481e8d6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions