Galaxy Shell / docs
Docs / Decisions and plans

Galaxy Shell: project name and compatibility

openspec/changes/naming/design.md · Edit on GitHub ↗

This document records decisions, plans or evidence from a project stage. It does not imply that every item is implemented or validated in the current version.

On this page

Galaxy Shell: project name and compatibility

Doc status: partly landed. Landed: the name decision, project prose and the macOS names (core/platform-directories.cjs). Not landed: the Linux migration of runtime identifiers (agent-native-os paths, AGENT_NATIVE_* variables). Checked 2026-11-10.

Decision (2026-11-05)

The project owner chose Galaxy Shell, replacing Agent Native OS, and explicitly requested renaming the GitHub repository and project documentation.

  • Canonical repository: https://github.com/naaando/galaxy-shell
  • Product category: experimental, intent-driven Linux desktop shell with its own Wayland compositor. It runs on Linux; it is not a new kernel or a complete Linux distribution.
  • Suggested Portuguese descriptor: Um desktop Linux guiado por intenção.
  • Suggested English descriptor: An intent-driven Linux desktop.
  • Suggested tagline: Seu universo. Sua intenção.

The name preserves the spatial metaphor of workspaces, the canvas and its camera. “Shell” describes the current product more precisely than the considered “Galaxy OS”. The descriptors, tagline and visual treatment in the dossier are editorial proposals.

See the product, philosophy and architecture dossier (pt-BR). Its technical baseline is d0be793814f712168c20343f8c6a0cf71db7afd3. The dossier is a standalone HTML document with no external assets or analytics.

Scope of this rename

Update the repository name, repository description, documentation headings and prose. Historical evidence still describes the implementation and validation of its original date. Keep quoted historical statements and exact runtime strings unchanged when they document a protocol, title, executable or command.

The following are compatibility identifiers, not the public product name:

  • agent-native-os configuration, data and cache paths, including existing river-shell profiles;
  • AGENT_NATIVE_* environment variables;
  • package/crate names, application IDs, launcher names and desktop entry filenames;
  • fixed window titles and workspace markers such as Agent Native OS [workspace:N];
  • service names, socket paths, locks, tokens and any installed sourceRoot configuration.

This change does not migrate profiles or directories, change the application UI, rebuild or restart a live session. Renaming these identifiers requires a separately scoped compatibility migration.

Name everywhere (2026-11-06)

Asked about the profile directory of the new systems, the owner said: "todos os lugares devem chamar galaxy shell". This sets the target; it is read here as a goal for every place, reached in the two parts below. Nothing has been renamed yet, and the list above stays in force on Linux until the migration lands.

New systems. macOS and Windows use Galaxy Shell from their first line: profile directory, bundle id, executable and package. These never inherit the old name, so they need no migration. The AGENT_NATIVE_* names of the shared code stay until the Linux migration reaches them. On macOS (since 2026-11-09, core/platform-directories.cjs) the directories are ~/Library/Application Support/Galaxy Shell/{profile,voice,coordination,themes,web-panels.json} and ~/Library/Caches/Galaxy Shell/build-v1; an explicit XDG_CONFIG_HOME, XDG_STATE_HOME or XDG_CACHE_HOME moves its part into a Galaxy Shell folder there.

Linux: a scoped compatibility migration, not started. Measured in tracked files at 3fb3ff75, without lockfiles and built bundles: AGENT_NATIVE_ 604 hits in 135 files (34 distinct runtime names), agent-native-os 176 in 85, Agent Native 469 in 119, river-shell 24 in 15. Existing installations hold ~/.local/share/agent-native-os, ~/.config/agent-native-os, ~/.cache/agent-native-os, ~/.local/state/agent-native-os, the launchers in ~/.local/bin and the GDM entry. The order matters, because mixed versions fail silently:

  1. Filters first. Every filter of the environment covers both prefixes before anything reads a new name, with a test that sweeps process.env for any new name. Today browser-mcp.cjs, test-environment.js, nested-qa.py and the exact list of change-proposals.js know only the old one. Otherwise a new name reaches the agent's Chrome, the gates (which run code of the proposal) and a synthetic test, which can then compete for the live session. Both names of the launch key are always deleted, because children inherit process.env.
  2. Readers accept both, writers stay old. Both versions must run during the window.
  3. Paths with one owner. coordination.lock and coordination.log move only with one path that every chat and worktree agrees on: two paths mean two locks, and mutual exclusion ends with no error. The same goes for the process markers AGENT_NATIVE_SUPERVISION_ID (read from /proc/<pid>/environ) and AGENT_NATIVE_QA_RUN.
  4. Protocol in step. Window titles, tokens, cookies and partitions have duplicated literals (layers.rs, workspace_web.rs, window-declarations.js, host-navigation.cjs, server.js, desktop.cjs, desktop-window-options.cjs). Use one constant per identifier and move the compositor and the host together; a mismatch refuses the lock. A host of the new name on a core of the old one must refuse to start: without the descriptor name it knows, the core makes its own key and prints Browser session: ...?key=, which the host copies to its log.
  5. Profile with a backup. Copy, verify, then switch, with a tested rollback. Never in place and never destructive without the owner's yes; a live session changes only at a new login.
  6. Contract. Remove the old names after a window with no reader left.

Each step needs its own spec, its gates and nested QA before it starts.

Local checkout folder (2026-11-05)

The owner authorized renaming the local checkout and updating what was out of date in the repository, ignoring historical records. The suggested active folder is now ~/galaxy-shell. The folder name is free: nothing in the code depends on it, and --source-root and sourceRoot take any absolute path inside the home directory.

To move an existing active checkout under a running session, hold coordination.lock, rename the folder, create the old path as a symbolic link in the same step and update sourceRoot in project.json. Restart nothing. Keep the link while any process, worktree or virtual environment can still use the old path: the running compositor, host and core were started from it, and the .git files of existing worktrees still point through it. Run git worktree repair before you remove the link. Other clones, including the recovery clone, are independent and can keep their folder names.

This does not change the identifiers listed above. The configuration, data and cache directories under agent-native-os, including the river-shell profile, keep their names. The state directory relocation below is a separately authorized exception.

Local state directory (2026-11-06)

The owner explicitly authorized moving ~/.local/state/agent-native-os to ~/.local/state/galaxy-shell. The directory was renamed while holding its coordination.lock, and the old name became a relative symlink to galaxy-shell. The lock inode was preserved and no process restarted. Existing scripts and the live supervisors still use the old path through this link, so there is one state owner and one coordination lock. Keep the link until all readers, installed supervisors and recovery versions have migrated. This relocation changes no configuration, data, cache, environment variable or protocol identifier.

To roll back this local relocation, hold the same lock, verify that the old path is exactly that symlink, remove only the symlink and rename the directory back. Never create a second state directory or copy the coordination lock.

Existing use and unresolved trademark availability

An unrelated company uses GalaxyShell for hosting, infrastructure and software development: its services and its OVHcloud partner listing. These pages were consulted on 2026-11-05. This is evidence of existing use, not proof of a registered mark, a legal conflict, exclusivity or permission.

The owner considered the distinction between a desktop shell and those services and authorized the project rename. No INPI or other territory trademark records were searched in this task. Brazilian examination considers similarity and market affinity, including confusion or association: INPI trademark manual. Trademark availability therefore remains unverified. This documentation records the product name decision; it is not a legal clearance report.

Open source licensing

The owner chose GPL-3.0-or-later on 2026-11-05 ("Na verdade gpl 3 or later mesmo"); see architecture-decisions.md. The text is in LICENSE. Third-party licenses do not change, including the local model's LFM Open License.

Interface branding (2026-11-05)

The owner subsequently authorized updating the visible interface name while preserving existing installations. The Electron application menu, notification server display information and login-session display name now use Galaxy Shell, with no suffix since the owner asked to drop "(Smithay experimental)". Agent instructions use the same product name. Existing window titles and workspace markers stay unchanged because older compositors and host routing recognize them. Executables, desktop entry filenames, app IDs, environment variables, profile paths and the core startup log format also remain unchanged. No profile migration or live-session restart is required. The menu change takes effect when the host is next started; installed system session entries need the normal registration update to display the new label.

Communication priorities (2026-11-05)

The owner specified five primary messages, in this order:

  1. The system interface is built in React.
  2. The desktop is fully customizable.
  3. An infinite canvas organizes application windows.
  4. An AI assistant is built into the desktop.
  5. Each workspace is a context/conversation of its own.

Lead product presentations with these points; architecture, security contracts and implementation maturity provide supporting detail. “Fully customizable” describes the product direction and source-level flexibility, not unrestricted privileges for generated HTML: profile appearance changes still use the documented CSS flow, and trusted React changes require source maintenance and a build. Canvas is the default for new workspaces since 2026-11-03; saved opt-outs and existing layout choices remain preserved. Grid is still available.

Verification of the positioning

The React claim refers to the shell interface, not the Rust compositor or Node core. Customization spans profile appearance and source-level structural changes; it does not mean every structure has a no-code editor. “Infinite canvas” describes the spatial interaction model; camera coordinates are bounded by the implementation. Workspace conversations own history and window context, but this is not process or security isolation.

The black-hole wallpaper can be reused on a web page: createDigitalScene in vendor/interface/host/wallpaper-digital.js renders procedural WebGL shaders, with helpers from wallpaper-crystals.js and wallpaper-stars.js. A site adapter should supply palette, canvas sizing, animation timing and optional pointer input; desktop event streams and the /desktop-wallpaper/sink endpoint do not belong in the site. The performance budget and browser compatibility need their own validation. No wallpaper port was made as part of this positioning review.

Dossier stack and black-hole visual (2026-11-05)

The complete main stack is shown directly below the hero, grouped into UI, styling/effects, web host/build, compositor/Linux, core/agent and Python/local AI. Optional voice engines and local/remote model choices are identified in that strip.

The hero reuses createDigitalScene from the desktop wallpaper, through docs/assets/dossier-black-hole.js. Rebuild the inlined bundle with node scripts/build-product-dossier.js after preparing web-shell dependencies. The resulting HTML remains self-contained, including for offline file opening. The oversized canvas is clipped at the hero's right edge. It caps resolution and 30 fps, pauses offscreen or in a hidden tab, draws a still frame for reduced motion, and handles WebGL context loss/restoration. No desktop streams, endpoints, credentials or network requests enter the adapter. The desktop shader sources remain unchanged.

Stack mind map

The flat stack strip was replaced at the owner's request by a mind map directly below the hero: Galaxy Shell at the center, with four functional branches (interface, desktop/canvas, AI assistant and core/operations). Primary technologies stay visible; native details controls reveal supporting components without requiring JavaScript. The narrow layout uses a connected vertical tree. The map groups responsibility and is not a data-flow diagram.

Product presentation focus

The owner requested that the public HTML focus on the product. Its naming comparison, brand discussion and installation-renaming notes were removed, along with the hero metadata. Naming decisions and compatibility guidance remain in this document and AGENTS.md.

Landing page editorial direction

The public HTML now presents the experience, embedded assistant, React customization, product philosophy and GitHub entry points. The stack mind map and wallpaper remain. Audit tables, dated implementation evidence, internal decisions, source-by-source citations and report navigation were removed from the landing page. Technical evidence remains in the repository documentation and version history. The landing retains a brief experimental notice and distinguishes style customization from source changes that require a build.