Skip to content

Keep isolated Zeron instances separate - #1629

Open
Master0fFate wants to merge 4 commits into
zeronsh:mainfrom
Master0fFate:fix/isolate-instance-plugins
Open

Master0fFate wants to merge 4 commits into
zeronsh:mainfrom
Master0fFate:fix/isolate-instance-plugins

Conversation

@Master0fFate

@Master0fFate Master0fFate commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Add an opt-in isolated desktop launch with ZERON_ISOLATED=1. Each launch gets its own UUID, engine data directory, IPC port, app identity, and plugin state. The launch records its endpoint in instance.json and prints the environment needed to target it from the CLI or MCP. Reloads keep the same instance; normal launches keep their existing settings.

The engine and agents still run with the user’s normal OS permissions. This is application-level isolation, not an OS sandbox.

On macOS, isolated instances do not post native notifications: a notification click can otherwise open the regular app.

Checks

  • Added coverage for instance configuration, app IDs, engine endpoint selection, and plugin state across separate data directories.
  • git diff --check passed.
  • Rust tests could not run locally because the environment has no Rust toolchain; CI will run them.

Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant