Galaxy Shell - Architecture decisions
Doc status: current contract. Decision log: the Current direction section prevails; the sections of 2026-10-25 and 2026-10-26 are history. Checked 2026-11-12.
Implementation update: River was removed from the product. Login can now load the active checkout in the home directory, with build preparation and independent Smithay recovery. See the current loading and recovery contract. The descriptions below preserve earlier decisions and evidence; old releases can remain as known recovery, without reintroducing a River backend in the product.
Current direction as of 2026-10-27
Consolidation of the project owner's explicit decisions in the project chats. The sections of 2026-10-25 and 2026-10-26 below are historical; when they diverge, this direction and the linked implementation documents prevail. A technical proposal from the agent is not the same as a choice by the project owner.
| Layer | Approved direction | State and reference |
|---|---|---|
| Interface | React, HTML/CSS/JavaScript, compiled locally into the three editable files of the profile | Implemented and activated in the default session; build, migration and proof |
| Web host | Keep Electron/Chromium, with protected send and recovery | Tauri was discussed; its adoption was not approved. Contract of inline responses |
| Core | Keep Node + OpenCode, with persistence outside the UI | Replacing the host with Rust would not automatically migrate this core. Implementation |
| Composition | Develop an own compositor in Rust on top of Smithay to control scale and GPU effects | Independent base in native/smithay/, with live thumbnails verified; scope and limits |
| Transition | Adopt Smithay as the only compositor; remove River | Smithay session implemented, with direct use recorded on GDM/TTY2; River removed from the code and installers. No claim of parity or performance |
| AI operation | Give the AI context and maintenance commands for its own environment, with the user's privileges | system_context, execute_command and command_status implemented; contract |
| Recovery | Supervision outside the core, provider and conversation, with release rollback | Core recovery tested on the desktop, River in an isolated environment and Smithay fallback in synthetic tests; depends on the supervisor chain actually started at login. Evidence |
Removing River
In a later clarification of 2026-10-27, the project owner approved removing River and adopting Smithay as the only compositor. This decision replaces the earlier obligation to keep River as recovery. The River backend, WM and installers were removed from the product. The obsolete global registration in GDM may need administration to remove; the user wrapper uses Smithay. Recovery now targets a Smithay version known to work, with independent supervision and a preserved profile. The approval does not widen the evidence of Smithay compatibility, performance or physical recovery.
Active sources in the home directory
In a later clarification of 2026-10-27, the project owner asked for the active structure to load from a subfolder of their home directory, avoiding a return to old installed copies after login. Loading is implemented through the active checkout, with an independent build and fallback. Activation depends on the user's configuration; old processes are not replaced. See the contract and migration criteria. Profile and recovery stay separate from the sources.
Web visual components
In a later clarification in this chat, the project owner chose to keep all visual components in web technology. This includes chat, inline responses, bars, widgets, controls, custom window frames and the overview interface. The earlier recommendation to draw part of these components natively in Smithay was replaced by this choice.
Smithay is responsible for surface composition, transformations, GPU effects, stacking, focus and input forwarding. The web interface provides the visual content of the controls; the compositor runs the matching operations through an explicit, protected bridge. The current implementation still contains historical native elements, such as the River clock; this decision guides their evolution, without declaring a finished migration. The protected host and generated HTML keep distinct authorities, even though both are web.
Super mode, focus and the three states of the chat (2026-11-04)
On 2026-11-04 the project owner approved super-mode.md, after the usability review of 2026-11-03 and a question round. Super becomes a mode: a tap pans the camera out and shows only the text box; typing or Enter brings the whole chat; a second tap or Escape returns the camera and hides the box. The focus is the set of visible windows, and Alt+scroll steps between focuses, each tick moving the camera. The whole chat is centered on a workspace with no window and at a configurable side (right by default) on a workspace with windows; on a Grid it floats in a reserved margin, not a cell. Super+N replaces Ctrl+Shift+N; Super+Shift+F, Super+C and Super+Space do not exist. Phase 2 is a specification of groups (windows with a cell formation that move and frame as one focus, formed by Super+G, the Actions menu, the agent or a drag of one window onto another on the panned-out canvas of the same workspace). That drag is not the one rejected on 2026-10-28, which moves a window between overview cards to another workspace; the rejection stays. Status: phase 1 implemented on 2026-11-04 (the Super mode, the box state box and capabilities.chatBox, Alt+scroll, Super+N, the placement rule and the chat button; see "Wire contract (phase 1, as built)" in super-mode.md). Phases 2 and 3 are not implemented.
Dragging windows between overview cards: rejected
On 2026-10-28, the project owner explicitly decided that dragging a window between overview cards to move it between workspaces must never be implemented, because it does not fit the project philosophy. This is a product decision, not a technical limitation or a postponed feature. The feature must not return to planning or to suggestions for future evolution. The decision replaces item 3 of the list of visual effects.
Composition and thumbnails
The goal is to transform the representation of the whole window, keeping the logical size of the application and its content updating. Reducing the size requested from the application causes another layout and does not meet this goal. The Smithay base already verified proportional scaling and restore by click, consuming the click so it does not trigger the content. Physical GPU, consumption and fluidity still have no conclusive measurement.
Smithay fills the same compositor role as River; the backend in use must be discovered per session. Iced was the UI of the historical prototype. They are not substitutes at the same layer. Flutter stays a preserved WIP; neither of the two should be expanded as the definitive UI out of inertia.
The Smithay login session was authorized as an experiment, without making Smithay the default and without proving parity with River. The direct backend and the desktop bridge are implemented, with evidence of direct use and nested proofs recorded. Broad compatibility, physical VT resume and recovery after a compositor failure on the shared desktop still need their own validation. The Smithay document separates this evidence from the pending scenarios.
Isolation and continuity
The AI's maintenance ability supersedes the old restriction of editing only the three visual files. The authority belongs to the authenticated agent; generated HTML and the editable UI still have no commands, credentials or automatic send. Visual changes keep read_ui/replace_ui, journal, preview and rollback. The visible send field stays in the protected host.
A compositor crash disconnects its Wayland clients. Recovering the shell and the conversation does not restore unsaved documents and does not keep this conversation reachable during the failure. External supervision must stay independent of the UI it recovers.
Shared target
The project owner confirmed in the React chat the use of the current default GDM session, preserving the profile and the compositor. The proofs of 2026-10-27 record GDM/TTY2; TTY4 is the historical target, absent from those checks. These identifiers are dated evidence, never fixed configuration: before operating, discover the real session, socket, release and profile, and honor coordination.lock and coordination.log. The approval of the experimental login session does not authorize silently replacing the desktop in use.
Open questions
All visual components stay web. The choice of graphic transport, such as Wayland surfaces or offscreen textures, remains open to measurement; native drawing of components in Smithay was discarded by the project owner at this stage. Putting a web engine inside the compositor process was also not chosen as a new direction. The integrated rendering evaluation distinguishes native drawing, an embedded web engine and buffer sharing between processes. Gains in memory, latency or GPU need measurement; they do not follow only from using Rust or from reducing processes.
Origin of the decisions
Chats consulted on 2026-10-27, without incorporating transcripts, credentials or conversation snapshots:
- Can we use React in the UI? Can we scale the window size to the size of a thumbnail: approval of React + Electron and Smithay, thumbnail proof and later approval of the experimental session at login. At the original consultation, this last step was in progress; the Smithay guide records the later progress.
- Refactor UI with React: refactoring, preservation of customized profiles, explicit migration and confirmation of the default GDM target.
- Why we cannot open ChatGPT inside River: approval of maintenance of the shell itself and of recovery independent of the conversation.
- Review the UI: continuity of conversations/applications, global navigation and windows per conversation; River record.
Update of 2026-10-26
The concept conclusions and compositor evaluation update the direction of this record: conversation as the focal point and a participant in tiling, environments with shared windows, Flutter/Dart as the proposed direction and Mutter as the first candidate for technical proof. Hyprland is no longer a mandatory choice for the next step. The 2026-10-25 content below preserves the historical decisions that originated the prototype; it does not prove implementation of the new direction.
Product direction
Galaxy Shell is an agent-driven shell and window manager. The user chooses the external applications for development, terminal, browsing and notes; these applications stay responsible for their own content and workflows. The product organizes windows and workspaces, and presents intents, progress and approvals. It is not an IDE and not an application that embeds these tools.
In the POC, rectangles identified by role represent external windows, with no embedded editor, terminal or browser. The choice of executables and the real launch/control through Hyprland are not implemented yet. This decision prevails over earlier references to simulated content.
Recorded on: 2026-10-25 Status: Initial direction for a proof of concept; subject to technical validation.
Goal
Explore, for fun, a new AI-native desktop paradigm: agents receive intents, operate applications and manage windows automatically, while the shell presents dynamic, activity-oriented visual surfaces, not just a chatbot or a traditional launcher.
Current decisions
- Cross-platform from the architecture: share the agent engine, interaction model and interface across Linux, Windows and macOS; replace only the adapters specific to the operating system.
- First real platform: Linux + Hyprland. Use Hyprland IPC to list, open, focus, move, resize and organize windows, and to consume events. The agent must act without relying on manual user clicks.
- UI: Rust + Iced + wgpu. Start with Iced for conventional elements, state and inputs; use custom components and shaders through wgpu in the experimental interactions.
- Avoid Qt/QML as a central dependency, and avoid the obligation to base the product on GNOME Shell, GTK or Electron. This is not an assessment that Qt is technically obsolete; it is an architectural preference for a leaner and more controllable base.
- Do not implement an own compositor in the POC. Hyprland handles composition and windows; the application creates the experience surfaces on top of it.
- Wayland layer-shell when needed for dock, bars and overlays; evaluate Smithay Client Toolkit and practical compatibility with Iced. Do not assume the integration is ready.
- Agents/LLM integrated through typed tools, with an API for window control and surface composition. Autonomy is a central part of the proposal. Separate intent interpretation, execution, state and rendering.
- Declarative and dynamic interfaces: results can appear as panels, diffs, charts, controls and other contextual surfaces, not just messages.
- POC of interaction with a real agent: test the visual language and the reorganization of workspaces with OpenCode integrated from POC 1; only window management stays simulated.
- Chosen harness: headless OpenCode. Use the local server over HTTP and SSE from the Rust shell. OpenCode manages the agent cycle and the sessions; the application keeps the domain of activities/workspaces and runs typed tools. The choice does not fix an LLM provider or model.
Suggested component split
Agent-Native Desktop
├── UI Shell (Rust + Iced + wgpu)
│ ├── Intention surface
│ ├── Agent activity / status
│ ├── Dynamic workspace surfaces
│ └── Motion / shaders
├── Agent Runtime
│ ├── OpenCode headless client (HTTP + SSE)
│ ├── Activity / session mapping
│ └── Typed tool bridge / execution
└── Platform integration
├── Linux: Hyprland IPC + layer-shell
├── Windows: Win32 / UI Automation
└── macOS: Accessibility / window APIs
Important technical point
Controlling the position, focus and size of a window is not the same as operating the internal controls of an application. To interact with the content, add automation/accessibility adapters, the applications' own APIs or browser automation as needed. The three operating systems have different limits and permissions; full feature parity is not guaranteed.
First validation milestone
With the instruction “Prepare my development environment”, the agent must select/open applications, organize windows, present its own panel with activities and leave the workspace ready, with no user clicks. In the first POC, window management is simulated, but the interpretation of the intent and the choice of tools come from the real agent in OpenCode.
Engineering criteria
- Render on demand, pausing invisible animations.
- Instrumentation of CPU, memory, GPU and interaction latency.
- Tools with verifiable results and observable states.
- Isolated adapters, to allow swapping the compositor and the operating system.
- Consent and recovery mechanisms for potentially destructive actions.
Decision: OpenCode in POC 1
Decided on: 2026-10-25, by explicit choice of the project owner.
Adopt OpenCode as the harness, using its runtime and API to focus development on the shell and the desktop tools. Deep Agents was considered as an alternative, but will not be integrated in this milestone.
- Integrate a local headless OpenCode process, without embedding its interface.
- Send real intents and consume execution events over HTTP/SSE.
- Expose typed operations on the window simulator; define the tool transport in the implementation. MCP is a possibility, not yet validated in the project.
- Associate application activities with OpenCode sessions and reflect execution, completion, error and approval requests in the UI.
- Keep activities, workspaces and the tool executor in the application domain.
- Do not use deterministic intent interpretation as a substitute for the LLM integration in the acceptance flow.
- Check the real state of the target before repeating actions after interruptions; session history does not prove the result of an external action.
This is an implementation decision, not evidence of a finished integration. The OpenCode version, provider/model, configuration, process distribution and resume behavior will be validated in the implementation.
References: server and API, permissions and MCP.
Trusted main UI without an iframe
In an explicit decision of 2026-10-27, the main React UI is loaded from the checkout build and mounted directly in the host document, in a ShadowRoot under #surface. The profile's interface.json and app.js are not executed in the host. Profile CSS stays active inside the ShadowRoot, with transient adaptation of html, body and :root to the virtual container. Old HTML and JavaScript are preserved on disk and in the recovery history, ignored by the host and flagged in the interface; replace_ui changes to these files are refused. The trusted React UI validates CSS changes in the host itself before the journal process confirms them.
Single workspace overview (2026-10-29)
The project owner rejected the window view associated with F9. It came from the initial Smithay thumbnail proof and is not part of the current product direction. The current overview is the workspace overview, entered with Super+S (a Super tap focuses the chat since 2026-11-01) and with a three-finger swipe up. F9 is left available to applications. The side thumbnail of the application in chat mode remains part of the focus presentation. Details of the gesture and of the removal are in the Smithay contract.
Global bottom bar (2026-10-29)
The project owner asked to move the bar of workspaces and indicators to the bottom. The bar stays web; Smithay positions its surface and reserves the bottom strip, without creating native controls. Quick settings open above it. The implementation needs the updated compositor at the next login, preserving the session in use.
On 2026-10-31 the project owner set the bar design: a fully rounded glass pill with a breathing margin inside the reserved 40px, the active tab in the primary color, the date beside the clock, and the icons of open applications, stacked, next to each workspace name. The mouse wheel over the bar switches workspaces through the existing native slide. An edge-to-edge strip chosen earlier that day was replaced. The core sends only catalog IDs for the icons. See the bar design.
Top bar and bottom workspace bar (2026-10-31)
The user asked for a thin top bar like the Ubuntu GNOME bar and macOS. The desktop has two web bars, each in its own Electron window that Smithay places in a reserved strip of the primary output:
- The top bar (route
/desktop-topbar, Wayland title "Agent Native Top Bar") takes the top 32px. Start: a workspace indicator (a pill for the active workspace, a dot for each other one) and CPU and memory use. Center: the date, the time and the notification bell with its badge. End: the web panel launchers and the quick settings button with Wi-Fi, Bluetooth, battery, volume and a power icon. - The bottom bar (route
/desktop-sessions, title "Agent Native Desktop") takes the bottom 40px and holds only the workspace tabs and the new workspace button.
Both bars stay web in the protected host. Smithay only places them, reserves
their strips and composes them; it draws no control. A dot of the top bar
selects its workspace through the same request as a tab of the bottom bar.
The top bar is a second Electron window that loads the same host page with
data-desktop-bar="top", because a separate surface gets its own strip, its
own position and its own input region without new Wayland protocols. The top
bar stays dark in both themes and keeps its CSS material: the compositor blur
(barGlass) stays only behind the pill of the bottom bar. Both bars stay on
the primary output only, as the bottom bar did before. See
the Smithay contract.
Shell windows need the host process (2026-10-31)
The compositor no longer trusts a window title alone. The chat, both bars, the
web panels, the wallpaper and the agent-native-os app id are shell windows
only when the Wayland client is the host process that the authenticated core
registered with lock_host, as the lock panel already required. Another
client with the same title is a normal application: it gets no strip, no
global workspace, no input or layer priority and no Close/Minimize protection.
Bootstrap: no window is trusted before the registration. Host windows that map
before it are normal applications until it arrives, and then the compositor
marks them and places them. Trust ends with the registration, and a new pid
trusts only its own windows. The pid is the narrowest identity, because the
core registers a process and not a Wayland connection. The Electron host keeps
the title of each host window fixed, so a page cannot rename its window to
another protected title. Isolated web panels stay inside the
content area and cannot cover the bars. Web panel windows navigate only to
their own route. See
the Smithay contract.
Minimize removed from the shell's own controls (2026-10-29)
The project owner asked to remove minimize from the system controls and to configure
applications to hide this button when possible. The Electron host disables
minimizable; Smithay stops advertising the XDG Minimize capability. The internal command
and the restore of previously minimized windows stay preserved
for profile compatibility. This decision does not change maximize or close.
scripts/configure-window-controls.py applies the preference of the GNOME and
GTK 3/4 user, removing only minimize from the button lists, preserving position,
order and the other preferences. It is a user configuration, shared with
other GTK desktops of that user, run explicitly, without rewriting the
preference at each login. Apps with their own controls may ignore it; there is no
universal removal of pixels from a third-party bar. Do not crop headerbars.
The GTK configuration can be reread immediately or may require reopening the app. The Wayland capability needs the new compositor at the next login. Publishing, build and activation are distinct steps; do not restart the compositor in use.
Maximize toggles main area and side chat (2026-10-29)
The project owner defined maximize as a toggle between the app in the main area
(focus/immersive) and the chat on the left with the app on the right (focus/sidebar).
Restore does not return to an arbitrary previous geometry and does not collapse the app to a
thumbnail. The thumbnail remains tied to the action of going back to the conversation.
The Wayland requests set_maximized and unset_maximized go through the same policy as
the protected maximize/restore commands. They are idempotent: repeating maximize keeps
immersion; repeating restore keeps side by side. The XDG Maximized state follows
the real presentation of the selected app, including when changed by other
controls. Focus and clicks on the app in sidebar preserve the chat beside it. Explicitly
arranging in another layout clears the maximized indication.
Protected surfaces and windows of another workspace cannot change the composition through these requests. Restore needs the chat surface to be available. Applications stay responsible for drawing and respecting their own controls. There is no new native frame. Activation needs the new compositor at the next login; preserve the current session and distinguish synthetic tests from physical proof of the buttons.
Manual control handoff, "Devolver ao agente" (2026-10-31)
Implements the rule in openspec/changes/archive/2026-10-26-concept/design.md (hidden work and manual
control). When the user takes over a window, the agent pauses its actions on it
and keeps working on independent tasks.
- Take and return. Only the protected host acts. The settings dialog lists
the application windows with "Assumir controle" (Take control) and "Devolver
ao agente" (Return to the agent). The core route is
POST /api/manual-controlwith the host token and the exact body{window, held}. Direct input in the window does not take control. Generated HTML has no token and no agent tool takes or returns control. - Agent tools.
desktop_statemarks a held window withuserHeld: true.window_actionrefuses a held window with an error that names the window and tells the agent not to retry.arrange_windowsskips held windows: the core sends their IDs in theexcludelist of the compositorlayoutcommand, the compositor arranges the other windows and leaves each held window with its geometry, workspace and stacking. The result lists the arranged window IDs inarrangedand the held ones inskipped. When the compositor does not report thelayoutExcludecapability,arrange_windowsstill refuses while a held window is on the active workspace.open_applicationstill refuses while a held window is on the active workspace, because its placement changes the layout of that workspace. A held window on another workspace does not block either tool. The agent prompt describes the flag. - History (2026-10-31). The first version of this decision made
arrange_windowsrefuse the whole request while a held window was on the active workspace, because the compositortilelayout had no per-window exclusion. Theexcludelist and thelayoutExcludecapability replaced that refusal on the same day. The refusal stays only as the fallback for a compositor without the capability. - Only an explicit return clears it. Inactivity, focus change, minimize, a new turn or a UI reload do not clear a hold. Closing the window drops its record, as does a new compositor instance (its identifiers never return). The shell window cannot be held.
- Persistence. The core stores the stable compositor identifiers in
manual-control.jsonin the profile data directory (atomic write,0600), next toworkspace-windows.json. The record survives UI reloads and core restarts in the same compositor session. An unreadable or invalid file stops the core start and is preserved, because ignoring it would let the agent act on a held window.
Proof: web-shell/test/manual-control.test.js (refusal, persistence, pruning),
web-shell/test/manual-control-http.test.js (route, state, restart with a
synthetic compositor socket) and a browser check of the host dialog against a
synthetic core. Not proven: Electron host, the real Smithay session and real
application windows.
Workspace canvas and camera (2026-11-01)
The user asked, in Portuguese: "eu queria um sistema de janelas que nao fosse limitado por posicionamento, algo como um canvas que desse para reposicionar as coisas dentro e o chat ficasse ao lado flutuando". They added: "O canvas tem que ter alguma forma de snapping para facilitar colocar um app em tela cheia (mudanca de zoom e posicionamento da camera do canva, nao mudanca do tamanho da janela)".
The user approved the spec in canvas windows with its
recommended defaults on the same day. Each conversation workspace gets a 2D
canvas on the primary output and a camera with pan and zoom. Windows keep
their client size. A "full screen" snap changes only the camera. The chat
floats in a screen-space dock beside the canvas, and the camera never
transforms it. The canvas is a new layout, Layout::Canvas, behind the
protected setting canvas (on by default since 2026-11-03, openspec/specs/canvas-windows/spec.md, The default in effect). Grid, Focus, Monocle and Pair stay.
This decision replaces the rule that kept the infinite canvas outside the
milestone. The grid decisions D1, D2, D3, D5 and D6 of the
tiling spec now apply to the Grid layout only. It keeps the
"Composition and thumbnails" decision, and it keeps the rejection of dragging
windows between overview cards. A move inside one canvas never changes the
workspace of a window. Later on 2026-11-01 the user decided the default layout: "sim, registrar na
spec a decisão de manter o canvas como opção permanente, com Canvas como padrão
depois da fase 9". Canvas and Grid both stay as permanent layouts. Grid stays
the default until the phase 9 live check passes. After that, the setting
canvas is on by default and new workspaces start in Canvas; the setting stays
as the user choice and the rollback.
Status: phase 1 (input made correct for any transform) is done on 2026-11-01. See the Status section of the canvas spec.
Window layers and declarations (2026-11-01)
The user asked, in Portuguese: "Seriam tipo camadas né, teria como em vez de fixar o chat assim a gente posicionasse os elementos considerando camadas e ter camadas que não participam do zoom via alguma propriedade da janela? isso ajudaria a generalizar as regras do HUD sem eles deixarem de serem janelas, ou eles já não são janelas normais?" Then: "tem que aplicar isso" and "pode aplicar o plano agora, não tem como seguir com essa regra que voce fez de identificar pelo título, é péssimo para evoluir o sistema". And: "cada plugin deve ser possivel de adicionar uma camada no hud por conta propria, ter essas props são o que permite configurar os plugins (aplicativos html do hud)."
The spec is window layers, applied with its recommended
defaults. Every host window gets a declaration: a layer (a band and an order
inside it), a space (screen or canvas), an anchored placement, and input and
keyboard rules. These replace stacking_key and the title predicates of the
compositor. The window title becomes display text: an opaque token in the
title of a new toplevel of the registered host client links it to a
declaration that only the host control connection can send, and trust still
comes from the client identity. The web panels of web-panels.json are the HUD
plugins, and each plugin declaration sets its own layer, order, space and
anchor. Isolated plugins move below the chat (the hud band); the protected
panels, the bars and the lock stay above it, so no plugin or application can
cover the composer or the approvals. The canvas chat dock becomes an anchored
placement of the chat declaration. Status: phase 0 (docs) is done; phases 1a,
1b, 2, 3 and 4 implement it. Phase 4 removes every title rule of the
compositor and every fallback except the paint marker of the chat. Three title
texts stay for compatibility, and no phase 4 compositor rule reads them: the
legacy lock title that the host uses only when a compositor without
declarations answers "unsupported", the title "Agent Native OS" of the
fallback chat, and the snapshot display rule that reports an empty title for
an unbound host window with a token title. Phase 4 also adds two capability
checks to the persistent plan of every host and core maintenance restart, in
AGENTS.md (Host/core maintenance) and openspec/specs/self-maintenance/spec.md: deploy a
phase 4 host and core only on a compositor with declarations, and refuse a
host and core from before phase 2 on a compositor that requires them.
System tray (2026-11-01)
The user reported, in Portuguese: "falta suportar aplicativos que ficam em
segundo plano abertos somente com icones na barra, não está funcionando". The
session bus had no org.kde.StatusNotifierWatcher, so applications could not
register a tray icon. The spec is system tray. The core owns
the watcher name and is the host; beside a foreign watcher it is only a host and
never replaces it. The protected top bar draws the icons as web UI, and the
protected panel tray-menu draws the dbusmenu menus. The legacy XEmbed tray is
not implemented: it needs an X11 tray manager and an embedded X11 window in the
bar, which breaks the web-only UI rule, and current applications speak
StatusNotifierItem. Passive items are hidden. The menu opens under the right
end of the top bar, not under its icon, so the compositor does not change. No
agent tool and no generated HTML gets tray content or tray actions.
Workspaces on several outputs (2026-11-02, proposed)
The user reported, in Portuguese: "agora não consigo mover as coisas para o monitor secundário, queria poder clicar em um workspace aqui na barra de workspaces e arrastar um workspace inteiro para lá". Of two offered options, moving the windows to the grid of the extra output or the extra output showing the workspace, the user chose "Mostrar o workspace".
The spec is workspaces on several outputs, proposed and not yet approved. Each output can show its own workspace, and each workspace shows on at most one output. An extra output without a workspace keeps its shared grid of today. The user drags a workspace tab of the protected bottom bar onto an output: the protected host names the workspace with a typed command, the compositor checks the held press on the bar and tracks the drag with its own grab, and the core decides the drop, as for every workspace change. The feedback is compositing only (a picture of the workspace and a dim of the other outputs), so Smithay draws no native UI. A protected menu on the tab is the path without a drag. No agent tool, no scheduled turn and no generated HTML moves a workspace between outputs.
The first version proposed a swap (the xmonad greedyView). The user answered,
in Portuguese: "não, o monitor 1 tem espaco para workspace e o monitor 2 vai
ficar com espaço para workspace também, não funcionaria?". So the outputs are
independent, as in i3 and Sway. A drop of a workspace on an extra output shows
it there, and the workspace that output showed before shows on no output. When
the workspace came from the primary output, the primary shows the most recently
used workspace that no output shows, or the drop is refused. A selection of a
workspace that an extra output shows moves the keyboard focus to that output
and pulls nothing to the primary output. A selection of a workspace that no
output shows puts it on the output that has the focus.
This drag is not a drag between overview cards. That rejection stays: the
workspace drag starts only on a bottom bar tab, its target is an output, and
the overview keeps no drag of any kind. Everything ships behind the protected
setting workspaceOutputs, off by default, with a lease like canvas (history:
the setting was removed on 2026-11-03, see "2026-11-03: workspaces on several
outputs always on"). In the
lease grace time the compositor keeps the assignments on screen, and every rule
of input and focus is the rule of 6d54d19.
Revision 3, the same day. The user answered the open questions, in
Portuguese: "sobre as perguntas em aberto, sim o monitor 2 teria as mesmas
habilidades que o monitor 1, exceto HUD, de resto sim, chat proprio e tudo
mais, um workspace completo", and then "vai ser um workspace separado, então
continua sendo um chat só por workspace". So a workspace on an extra output is
a complete workspace there. It keeps its own conversation, and its chat window
shows on that output: each output that shows a workspace has one output chat,
declared as role chat with an output connector name (one chat per output).
A turn, its tool calls, its approvals and a scheduled turn act on the workspace
of their conversation, as today; only the routing to the chat window of the
right output and the keyboard focus are new. The Super tap gives the keyboard
to the chat of the focus output. Every layout works there, including Canvas
with its own camera and the chat dock of its output chat, which answers open
question 6 of canvas windows. The spec reads "exceto HUD"
as the bars, quick settings, notifications, the tray menu, the
workspace-menu panel and the HUD plugin panels: they stay on the primary
output, as does the overview. That reading waits for the confirmation of the
user. To the alternative "trocar o workspace do monitor em foco" for
Super+Left/Right, the bar wheel and the swipe, the user said "isso mesmo": they
step the workspace of the focus output and skip the workspaces that another
output shows; only a scheduled turn keeps the optional key primary on the
workspace command. The phases now ship the output chats (phase 2) and Canvas
on an extra output (phase 3) before the first user path (the menu, phase 4), so
no Canvas refusal exists. Status: phase 0 (docs) only.
Motion for the animations that CSS cannot do (2026-11-05)
The user asked to compare animation libraries, then for a spike of Motion
(https://motion.dev) against the CSP, the ShadowRoot and the glass of the
chat. To "Adotar o Motion na UI do sistema, em uso restrito?" and then
"Adotar o Motion e seguir para revisão e publicação no main?" the user
answered "Adotar e publicar". Decision: Motion is adopted for the system UI in
restricted use. CSS stays the default for hover, focus, popovers and simple
entries; Motion is for exits, layout and reorder animation, and springs, with
m under LazyMotion ... strict and MotionConfig reducedMotion="user" in
every root that uses it, or the animate of motion/mini in an effect where
the profile CSS must own the resting look. With it the message articles became React elements
("Todo componente que nós fazemos deve estar usando react"). Only the chat
bundle carries Motion today; each other bundle gets it only when a surface
there needs it. See Motion.
On 2026-11-06 the user said "pode adicionar "motion" aos componentes agora". The user named no list. My reading, in Motion: the popups, the switch and the tabs of the shared parts and the notification cards use Motion, and the runtimes of the chat and the panels each hold one copy. Surfaces whose protection or measurement depends on a stable position stay out.
System UI moves from HeroUI to shadcn/ui on Base UI (2026-11-04)
The user, after a nested QA of the settings tabs: "o shadcn é bem melhor que o heroui, foi uma decisão meio rapida e agora vamos ter que refazer ela", then "pode seguir com base ui". Decision: every system UI surface moves to shadcn/ui on Base UI, with lucide-react icons, in phases, with no setting and no fallback. It supersedes the choice of library below, and the decisions on glass, tokens and authority stay. See shadcn migration.
System UI in React with HeroUI (2026-11-02)
The user asked to reimplement every component of the system with HeroUI (https://heroui.com/). After a first spec that kept the lock screen, recovery, the approval dialogs, the change review card and the wallpaper outside it, the user decided: "não, eu quero toda a UI do sistema com essa lib, mesmo as que hoje não usam react, esse era o objetivo desde o começo que tudo usasse react, e agora essa lib", and added "troque os icones também".
Decision: every surface of the system UI becomes React with HeroUI v3, in phases with no setting and no safeguard (each phase replaces the old surface, and the rollback is a revert), and the system icons change (the spec proposes Gravity UI Icons, the set of the HeroUI docs). Generated HTML and isolated plugin panels are not system UI and keep their opaque iframes. The contracts stay: the protected host keeps its authority and the only send field, the approval dialogs keep the native top layer and fixed colors, the lock screen keeps its partition, CSP and fixed colors, and the measured glass elements keep their identities. No surface keeps a plain HTML fallback: the user called it overengineering ("acho overengineering", 2026-11-02), so a broken lock bundle means a VT switch and the end of that session, and nested QA and a live check of the lock screen stand in for a fallback. Application icons (tray, launcher, bar tabs) stay with the applications. Status: spec only; see the HeroUI migration.
Phone app (2026-11-02, proposed)
The user asked, in Portuguese: "teria uma forma de o usuário compartilhar o workspace com um telefone? imagino que tendo o controle do compositor pode ser que seja até melhor que soluções como vnc", then "a sugestao de monitor virtual funcionaria como se ele tivesse um workspace próprio para trabalhar?" and "salve um spec disso". The user then widened the scope: "nao do virtual output, de um app inteiro", and chose a complete phone app. Later the user asked about publishing a workspace online: "seria possivel usar uma tecnologia web para poder publicar um workspace online por exemplo? entendo os riscos de segurança, só considerando a possibilidade".
The spec is phone app, proposed and not yet approved. One app, paired with one PC on the LAN, gives the chat of each workspace, tool approvals, the read-only review card, notifications, media controls, the workspace list, the lock state and a streamed workspace. The app is a protected-host-level client, never generated HTML. A new gateway process listens on the LAN with a pinned self-signed certificate and forwards a typed allowlist of requests to the core, which keeps its loopback-only listener. The proposed platform is a native shell around a web UI in React and HeroUI, so the phone screens stay web, as the rule for visual components asks. The streamed workspace is a headless output of Smithay outside the pointer row, with its own workspace under the per-output model, H.264 on the GPU (software fallback) and WebRTC on the LAN. Touch drives the pointer path and the canvas camera. No HUD goes to the phone. Each stream needs a PC approval, a lock cuts it, and the phone never unlocks the PC. Web publishing is a late phase, view-only first, with one workspace and covered new windows. No agent tool, scheduled turn or generated HTML pairs a phone, starts, approves or controls a stream, or publishes a workspace. Status: phase 0 (docs) only.
Canvas lens, phase 1: the cylinder (2026-11-02)
The user asked to see the canvas as the inside of a sphere, so that a pan looks like a rotation around the viewer. Phase 1 of the inverted sphere view draws the Canvas workspace of the primary output through a cylinder warp.
Decision: the warp is a post-process. The canvas windows draw flat into an offscreen texture, and one fragment shader maps each screen pixel to its flat point. Each run of canvas-space items in the band order is one warp group, at most 4, so screen-space Desktop panels stay below and Hud panels above. The chat, the bars, the screen-space panels, the wallpaper, the cursor, the lock, the overview and the transitions stay flat. Input and visibility follow the lens of the last drawn frame, never the setting alone. In phase 1 a press on a warped window only focuses the window that is drawn there, and scroll over it reaches no client; phase 2 makes the input exact.
Contract: the protected setting canvasWarp ({mode: off|cylinder, angle: 20..90}, off by default) through /api/canvas-warp and the protected settings only. The compositor command canvas_warp is also a lease with the 60 s grace of the canvas lease, accepted while locked only for a mode other than off. A shader failure draws flat and reports canvasWarp.error. While the lens draws, the screenshot UI hides the original resolution. No agent tool, scheduled turn, generated HTML or plugin panel reaches the setting, the route or the command. Turn the setting off before a rollback of the core or the compositor.
Grid on the canvas model, step 1 (2026-11-03)
The user proposed running the Grid on top of the Canvas model, to keep one placement and coordinate path, and asked for the simplest version with no visible change to the Grid.
Decision: a workspace that is not Canvas has a locked camera at zoom 1 over a viewport at the origin, and screen_placement sends its windows through the canvas projection with it (crate::canvas::locked_project). The projection is the identity, so drawing, hit testing, cell sizes, the chat, the agent contracts (grid_layout_only, canvas_layout_only, user_active, rate_limited), the setting canvas and Focus stay as they were. A Grid workspace does not become Layout::Canvas: that would tie the Grid to the canvas lease and the fallback compositor without Canvas, give it the floating chat and the agent limits, and mix cell sizes with saved client sizes. Those findings and the next steps are in grid-on-canvas.md. Rollback is a git revert of the compositor change; no setting or stored state changed.
One workspace list, one camera per monitor, proposed (2026-11-03)
The user asked that every monitor have the same list of workspaces, and that a workspace opened on a monitor have its own camera of the same workspace. After the first answer (Canvas fits, the Grid does not, because a window has one size), the user pointed out that the Grid is now a formation inside the canvas.
Proposal: one workspace can show on several outputs, and the camera belongs to the pair (workspace, output). A window keeps one size in canvas units and draws on every output that shows its workspace; a Grid workspace keeps one formation, sized by its owner output, seen through a locked fitted camera on the other outputs. Each output keeps its own chat window of the same conversation. Canvas ships first; the Grid follows after its own canvas work; Focus, Monocle, Pair and Floating keep one output. This replaces W1 of workspaces on several outputs and depends on the next steps of grid on the canvas model. Status: approved on 2026-11-03 with every recommended default ("Aprovar os padrões"); nothing implemented yet. See shared-workspace-cameras.md.
The floating chat on the Grid (2026-11-03)
The user decided: "no modo grid também pode manter o mesmo comportamento do card de não travar, ficar flutuante".
Decision: on a Grid workspace that the primary output shows, the primary chat behaves as the floating chat of a Canvas workspace. It is no grid member and holds no cells, so the application windows use the whole grid; it draws centered at crate::canvas::dock(content) in the shell band above them; a Super tap and chat_dock hide and show it; a hidden chat draws nothing and takes no input; the dock glass is its only glass. One difference: a new Grid workspace starts with the chat shown, and a Canvas workspace that returns to Grid shows it again (a new canvas still starts with it hidden). The workspace stays Layout::Grid, so the setting canvas, the lease, the agent contracts (grid_layout_only, canvas_layout_only, user_active, rate_limited) and Focus do not change. The snapshot adds floatingChat {workspace, state} for the primary workspace while its chat floats, which the core (approval raise) and the host (floating look, approval and proposal show) read on a Grid workspace. Out of scope: the output chat of a Grid workspace on an extra output stays a tile, and the hidden state of a Grid chat is not saved for the login restore. Rollback: a git revert of the compositor, core and host together; an older host on the new compositor draws the grid look in the dock rectangle and cannot see a hidden Grid chat, and a new host on an older compositor keeps the grid look because floatingChat is missing. See grid-on-canvas.md, step 1b, and tiling-spec.md, The chat window.
A press outside the floating chat hides it (2026-11-03)
The user decided: "quando eu clico fora do chat ele deve sair de cena, mesma coisa a janela de configuração".
Decision: a press of the user outside a shown floating chat (Canvas, and Grid on the primary output) hides it, with the effect of a Super tap, and the press still reaches the window under it. The compositor owns the rule (hide_chats_on_press), so only real pointer input hides the chat. A press on the chat, its dialogs, a protected panel or another host window keeps it; bars, applications, the wallpaper and empty canvas hide it. The approval dialogs live in the chat window, which the compositor cannot see, so the core holds the chats with the command chat_hold {held} while an approval waits; a stale hold only disables the rule. The settings dialog of the chat host closes on a press on its backdrop. No agent tool, scheduled turn, generated HTML or plugin panel gains a way to hide or show the chat. See openspec/specs/canvas-windows/spec.md, Click outside.
2026-11-03: workspaces on several outputs always on
The user decided: "remover opcao de mostrar workspace em outros monitores, ela deve ser ativo sempre, nao uma feature flag" ("remove the option to show workspaces on other monitors; it must always be active, not a feature flag").
Decision: the protected setting workspaceOutputs, its route /api/workspace-outputs-enabled, its settings toggle and the refusal code disabled are removed. The core always renews the workspace_outputs lease after each connect on a compositor that reports capabilities.workspaceOutputs and capabilities.outputChats, and the shared_workspaces lease on the same connection with capabilities.sharedCanvas; it never sends either lease off. The leases stay as the version-skew safety, not as a user choice: when the core goes away, the compositor collapses the views at the end of the 60 s grace, and a core or compositor without the capabilities keeps W1 and sends no new key. Every connect reads state before its first workspace, so focus_only needs a sharedCanvas proven on that connection. The core drops a saved workspaceOutputs from state.json when it loads the profile, so an older core after a rollback reads its default (off) and renews no lease. Rollback: revert the host, the core and the compositor together, or rely on the lease end; the earlier rule "turn the setting off first" is history. The earlier text of the section "Workspaces on several outputs (2026-11-02, proposed)" that ships the feature behind the setting is history. See multi-output-workspaces.md and shared-workspace-cameras.md.
2026-11-03: a Grid workspace on several outputs (shared workspace cameras, phase 4)
Built phase 4 of shared-workspace-cameras.md: a Grid workspace can show on several outputs, one formation in canvas units and a locked fitted camera per view (S4, S5). Always on (capability plus lease), no setting. Decision for version skew: the compositor reports capabilities.sharedGrid, and the core adds the optional key grid: true to the shared_workspaces_enabled renewal only when that capability is proven on the connection; a renewal without it collapses the Grid views, so a phase 2 or 3 core never meets a shared Grid, and an older compositor never receives the key. Decision, a deviation from S8: no chat holds formation cells; each Grid view floats its own output chat, as the primary Grid does since step 1b of grid-on-canvas.md, so the formation keeps one shape on every output. The snapshot reports the chat of each extra Grid view in gridViews. Rollback: revert the compositor and the core together, or rely on the lease end; an older core with a new compositor never shares a Grid.
2026-11-03: saved output assignments and views (shared workspace cameras, phase 5)
The user approved phase 5 of shared-workspace-cameras.md ("Yes, phase 5"), built together with phase 6 of multi-output-workspaces.md, whose decision W11 was not built. Decisions:
- window-session.json stays at version 1 and adds
primaryWorkspace,workspaceOutputs: [{workspace, output}]by connector name (a workspace can repeat) andviews: [{output, x, y, zoom}]beside thecameraof each Canvas workspace;camerastays the primary view, else the first view, so an older core restores one view, and its first save drops the new fields (accepted). The formation owner is not saved. Each field is validated on load and a bad field only loses itself. - The order of W11 conflicts with the lease rule (the core renews the leases only after the restore ends, so the restore cannot send
workspace_output). Resolution, the safest option: keep the lease rule and the restore order, and run an outputs step after the restore, once the leases of the new connection are live: the saved primary workspace (only when the saved active workspace leaves for its connector), each saved pair as a replug move under the normal refusals, the camera of each view, then the saved active workspace withfocus_only. A lock or a passing refusal keeps the rest of the plan for after the unlock. - The camera of an extra view needs a new optional key,
camera {output}, gated bycapabilities.viewCameraand sent only after a state answer on the current socket proves it; an older compositor never gets the key and the view keeps the seed of S2. - The replug memory reopens a shareable workspace on its connector also while another output shows it; the compositor keeps the camera of that view for the session.
- Not built: the replug memory across a core restart. Rollback: revert the core (an older core drops the new fields at its first save) and the compositor together, or the core alone: the compositor key is optional and unused by an older core.
The Grid fills itself when a window comes or leaves (2026-11-04)
The user asked for "ordenar grade automaticamente" and chose "Reorganizar a Grade" after being told that it changes positions chosen by hand. Superseded: rule "a free cell stays free" of tiling-spec.md.
- The trigger is an application window that enters or leaves the grid: open, close, minimize, float, move to another output or workspace. The chat does not count, so a restart of the host moves nothing.
- Cells given on purpose (
place, a drop, the login restore) stay until the next window comes or leaves. Held windows keep their cells, and with no cell left a new window floats. - A close keeps a zoom, while a new window and Super+G end it.
- The last row of the even arrangement shares its width, so no cell stays free. This also changes the result of Super+G.
- The login restore needs a command of its own,
grid_restore(capabilities.gridRestore), becauseplacewithonly_freefinds nothing free. The core replaysminimizebefore it andmaximizeafter it. - For the agent,
placeon a full grid only swaps with one window, as before; a floating window can also take occupied cells unlessonly_free, and the windows in the way move. - Rollback: revert the compositor and the core. Either one alone also works: an older core on the new compositor keeps the even fill, because its
only_freeplace is refused.
2026-11-04: hot corners, with the setting in the core
The owner asked for hot corners with the top left corner as the Super tap and the other corners configurable ("Adiciona hotcorners, de cara já deixa cadastrado que no topo esquerdo a gente abre o overview de janelas (Super), os outros podem ser configurados"), and asked whether the settings screen is part of the shell, because a second place for settings would diverge. It is: the protected settings of the chat host save through the core into state.json, and the compositor takes each value only from the core. So the core owns the mapping and its default, the compositor starts with every corner off and has no default, and the GNOME key enable-hot-corners is neither read nor written. gsettings stays for values that other applications must see. See hot-corners.md.
The Grid respects the minimum size of each client (2026-11-04)
The nested QA of the self-filling Grid showed the calculator clipped: its minimum height of 616 px sat in a cell of 440 px. The user chose to respect the minimum ("Sim, respeitar").
- A window never covers less than its client asks for, in every placement. When the windows do not fit together, the ones that do not fit float at their minimum size, so nothing is clipped. Alternative rejected: reorder the windows to fit more of them, because the order is what the user sees stay stable.
- The minimum in cells is measured on the area without the margin of a whole chat, so showing the chat does not rearrange the grid. The price: a wide window can still be clipped while the whole chat shows.
- A held window keeps its cells even if its client asks for more.
The license is GPL-3.0-or-later (2026-11-05)
The owner chose it after a recommendation among the GNU licenses, first naming the AGPL and then changing ("Na verdade gpl 3 or later mesmo").
- The whole project is
GPL-3.0-or-later:LICENSEat the root, thelicensefield ofweb-shell,siteand the compositor crate, and the release, which carries the file and the notice of the adapted Smithay code.runtime/opencode-packageonly pins a third-party package and declares nothing. - No per-file headers: the root file and the manifests state it.
- Why not the AGPL: the desktop runs on the machine of its user, and its network clause matters only for someone who hosts a modified version for others. That case stays open under this choice.
- Effects: a distributed release must offer its matching source. Using an overlay in private has no obligation; distributing one built from the files of the base distributes a derived work, under this license.
- A survey of the dependencies on 2026-11-05 found no license that blocks this: the npm packages of
web-shellhave no GPL, with MPL-2.0 inlightningcss, and the 147 Rust crates on disk are permissive. 110 crates inCargo.lockwere not on disk and were not read. The BlueOak-1.0.0 and CC-BY-3.0 entries were read only by name. This is no legal review.
Owner decisions on the audit of 2026-11-10 (2026-11-10)
The owner answered four open questions of the streams of audit-2026-11-10.md. These are decisions; each doc below keeps its current contract until its change lands, and the first one landed on 2026-11-17.
- Profile CSS and the protected surfaces: "Isolar as superfícies". The approval dialogs, the change review card and the lock form move to a shadow root or a document that does not load the profile CSS (
/theme.css,style.css). Rejected: a host guard cascade layer, and keeping the best effort selector rule as the only defense. It needs a check in real Chromium. Landed on 2026-11-17 (naaando/galaxy-shell#4 and #5): the lock page and recovery load/protected-theme.css, a sheet without the profile copy, and the chat page gets the copy with every selector restricted off the approval dialogs and the review card; the dialogs and the card stay in the chat document, since the restriction does for selectors what a shadow root would, and inheritance reaches a shadow root as well. See profile-ui-themes.md, Isolation of the protected surfaces. - Theme packages that draw on windows: "Aprovação no host". A package draws on application windows only after the user approves it in the protected host, as
create_themedoes, andselectandreloadrefuse a package outside the approved profile path. A draw-time GPU budget is a later step and stays open. See window-effect-slots.md. - An effect for one window or one application: "Agente propõe, usuário aprova". A typed agent tool only proposes it and the protected host asks the user, as for
create_theme. Generated HTML, plugin panels and scheduled turns get nothing. - Where the keybinding table and the motion timing are edited: "Arquivo no perfil". A JSON file in the profile that the core watches and validates, with no settings section for now.
execute_commandruns as the user and can write this file, as it can write the rest of the profile. The contextual labels must follow the table (contextual-actions.md). See keybindings.md and motion-timing.md.
Still open: the split of host.js; the questions of layout-policy.md and state-events.md.
Window open slot, the black-hole close and the GPU budget (2026-11-13)
The owner answered the open questions of window-effect-slots.md and of phases 4b and 6 of theme-packs, in question boxes on 2026-11-13:
- "O slot substitui": a theme
window-openpass replaces the fixed 700 ms reveal of the window finish. Without a package, without an open pass, or when the pass fails on the GPU, the fixed reveal of today stays. - "Galaxy espelha o fechar": Galaxy opens from a point of light that grows into the window (the reverse of its close), 320 ms; Office opens with a short, quiet fade and scale, 160 ms ("Galaxy 320 ms, Office 160 ms").
- "Só window-open": phase 5 of window-effect-slots builds only the
window-openslot now;window-focus,window-borderandwindow-reststay for later. - "O tema vence": with the black-hole wallpaper on, the
window-closepass of the active theme draws, and the black hole is only the wallpaper. This replaces the precedence of 2026-11-10, under which a live black-hole sink kept the built-in close; with no close pass in the active theme, the built-in close stays. - "Só os limites atuais": no draw-time GPU budget or watchdog now; the source limits and the 80 to 1500 ms bound stay the only limits, because the shipped packages are built in. A budget comes with packages of others that draw on windows.
The open clock, the base pack and the userland principle (2026-11-13)
In question rounds on 2026-11-13 the owner settled the rest of phase 6 of theme-packs:
- "Q1 b": the open clock of a window starts at the map, when the application creates the window. A window that opens out of view spends its open there and shows in its final state.
- The theme open applies to main windows only; dialogs take the base open, and xdg popups have no open and draw with their window. The open follows the window while the organize moves it,
motion_timingof the profile scales only the base open, and a package that uses a reserved name is refused with a diagnostic. - "Sempre deve ter um default nesse caso ... o código disso deveria poder ser ajustado sem mexer no compositor": every window effect has its default in a built-in
basetheme pack (shader and CSS outside the Rust code), used when the active theme lacks that effect; a profile copy can adjust it. - "Tudo que podemos alterar deveria ser possível o usuário pedir para alterar no userland": a principle in agent-direction.md, Current operating philosophy. Window effects that the agent generates wait for a host approval card, built as a separate change ("16 b"); until then
create_themekeeps generating onlyoverview-f9passes. - Motion speed (question box, 2026-11-13): the profile motion speed scales only the defaults, the base open and the base close, by the same factor (
closeMs / 400). Galaxy, Office and Ninja keep the duration their theme sets, and there is noopenMsfield. This replaces the wording above, "motion_timingof the profile scales it", which stays as history. - The rim, the reveal and the outlines follow the accent of the active mode, light or dark.
- A floating top bar in Galaxy comes after Ninja.
Canvas window groups and minimize (2026-11-13)
The owner: "Acho que talvez devemos tratar um grupo de janelas no mesmo nível que tratamos uma janela, a posição das janelas do grupo pertence ao grupo". Decided in question boxes on 2026-11-13, not built:
- A group is a Canvas object at the level of a window, and the placement of its windows belongs to the group. A group has two or more windows; a window alone is loose.
- The tile assist forms a group. A loose window dropped on a group takes the tile under the pointer (a hole, or a split of a tile) and joins the group.
- A new window opens loose in a free spot of the canvas and the camera goes to it, as today.
- On hover or drag, a light theme frame with a handle shows around the group; the handle moves the whole group.
- Organize only inside groups ("Só dentro dos grupos"): opening or closing a window rearranges nothing else in the workspace; a group retiles when the output changes ratio or a window leaves it; "Organizar janelas" arranges the loose windows and the groups, each group as one block. This replaces the workspace-wide automatic organize of 2026-11-12 (04385be8, 511e7c11).
- A window that closes in a group leaves its tile empty, and the tile assist offers a window for it ("Fica o buraco com tile assist").
- Maximize (a double click on the title) takes the window out of its group, loose at the screen size; its tile stays a hole with the tile assist.
- Super+F on a window of a group frames the whole group at zoom 1, one screen (the proposed default; the owner had not used the key).
- Minimize: "Não deve ser possível minimizar em nenhum tema, minimizar deve tirar a janela da tela, mas ela vai para outra parte do canva". The request (the application button, the agent) takes the window out of what the camera shows: it leaves its group and slides beside it, out of the camera view and never sharing the group's space, and then the group retiles ("Animação, depois organiza"). When the window is alone in the camera view (maximized, framed or the only window), the camera zooms out to show the windows instead.
- A minimized window stays a normal window ("Elas são janelas normais, não estão guardadas diferente de outras"). It goes back by a drag onto the group; a click, its Office taskbar button or Alt+Tab flies the camera to it; the overview shows it with the rest. The Focus layout follows the same rule.
- There is no classic minimize and no minimize or restore slot. This supersedes the Office (200 ms toward the icon) and Galaxy (320 ms point of light) minimize motions proposed earlier the same day.
The Grid leaves in one change (2026-11-13)
The owner: "podemos planejar de tirar já que atualmente a usabilidade do canvas tá basicamente igual", then "De uma vez". Decided, not built; the short rules of AGENTS.md on the Grid and the canvas setting stay until the change lands.
- One change removes the Grid layout with Monocle, Pair and Floating, the protected setting
canvasand its rollbackcanvas=off, Super+Shift+T, "Usar Grid", and the Grid-only Rust. - The Focus layout (Super+T) stays, outside this change; the owner tries it and decides later.
- An extra output without the workspace lease shows its own Canvas with its own camera, instead of the fixed 6x4 grid.
- Keys: Super+Left/Right keep switching workspace; Super+Alt+arrow focuses the neighbor window and the camera follows; Super+Ctrl+arrow swaps the window's tile with its neighbor inside the group; Super+Ctrl+Alt+arrow (resize) leaves.
- Agent tools:
place,fill_grid,toggle_floatingandarrange_windows grid|tileleave, andarrange_windowskeepsrow. A window session saved with "grid" restores as Canvas. - Order (owner, 2026-11-13): phase 4b, the window open (phase 6 with the
basepack), the groups and minimize, then the Grid removal; Ninja in parallel.
Lumen leaves experimental (2026-11-16)
The owner, in a question box on 2026-11-16, after the nested captures of dock-theme phase 5 (light, dark, the open, the close, the workspace slide and reduced motion): "Sim, aprovo" to the look and the feel of Lumen at the next login. The entry of lumen in core/ui-themes.js drops experimental, so Settings shows no experimental mark for it, and the change dock-theme is archived. The dock tooltips stay the native title until issue #12.
The fourth theme is Lumen (2026-11-14)
Decided in a question box on 2026-11-14, for phase 0 of dock-theme: the fourth window theme, the one with the bottom dock, is Lumen, id lumen, in every name ("Qual nome fica para o quarto tema, o do dock?"; offered Orbit, Harbor and Lumen). The other owner answers of 2026-11-13 on that theme are in the design, section 1.
The third theme is Ninja (2026-11-13)
Decided in question boxes on 2026-11-13, for phase 5 of theme-packs:
- Shinobi is renamed Ninja, id
ninja, in every name; the effect names Shunshin (close), Fusuma (workspace switch) andneoedo(wallpaper) stay. - The direction is the owner's second concept board of the day, "Ninja v3": sober, industrial, "cyberpunk discreto"; 45-degree cuts and a modular composition; smoked glass panels; a window header with a title tab and square controls with a coral close. It supersedes the first board, its three palettes and the HTML mockups.
- The top bar is three separate islands, left, center and right, each as wide as its content, with no bar between them ("só vamos mostrar a barra onde tem conteúdo"; confirmed "Ilhas separadas" against the new board). The arrangement belongs to Ninja only.
- One palette: Mint #4FE3C2 (focus, selection, active state), Coral #FF7B72 (actions, interaction highlight), Âmbar #F2B84B (attention, warnings, status), Marfim #EAE7DD (main text), Grafite #1C1F24 (surfaces, bars, panels), Fumaça #0E1116 (background, glass, shadow). The profile color replaces the mint ("Sim, troca o mint"); coral and amber stay fixed.
- A light version with the same geometry serves the light mode ("Tem versão clara"); the board shows the dark one.
- The board's variants are ambiances, wallpapers on one visual system ("Sim, uma paleta e 3 ambientes"): Urbana (dia), Natureza (montanha) and Noturna (cidade), plus a fourth the owner kept, the cherry blossoms of Hirosaki at night. Chosen on Wikimedia Commons: Urbana (dia), "Shinjuku Gyoen National Garden and NTT DoCoMo Yoyogi Building, Tokyo, Japan" (Basile Morin, CC BY-SA 4.0); Natureza, "Kanagawa-Mt.Fuji and the sea of Chigasaki in twilight-xl" (Makoto_Lab, CC BY 4.0); Noturna, "Tokyo Tower, Minato City" (David Kernan, CC BY 4.0); the fourth, "Cherry blossoms along the moat of Hirosaki Castle at night 20260420c" (掬茶, CC BY-SA 4.0). Each wallpaper may carry a light animated layer that stops under reduced motion.
- Licences: CC0, public domain, CC BY 4.0 or CC BY-SA 4.0, credited in an attribution file that ships with the images ("CC0/domínio público ou CC BY/BY-SA 4.0"). Candidates are judged at full size behind the interface ("tenha mais critério para um wallpaper").
The wgpu renderer is the default, and GLES leaves after a physical login (2026-11-10)
Three owner decisions of 2026-11-10 on phase 4 of wgpu-renderer-plan.md, in the owner's words:
- "Padrão direto". The switch is direct: the normal login composites with the wgpu renderer, with no test entry in GDM first. Rejected: a second login entry for a trial period, as phase 2 had.
- "Não vamos testar GLES mais, vamos se preocupar somente com o wgpu". The performance gates of phase 4 against GLES (ABBA, p95, p99, interval, CPU, PSS) do not block the switch and are not run. GLES gets no new parity work; the existing parity tests stay until the removal.
- "Remover tudo do GLES", after a physical login that the owner confirms. Until then
--renderer gles,AGENT_NATIVE_RENDERER=glesand the file~/.config/agent-native-os/renderer-glesare the way back, the recovery of the login asks for GLES by itself, and a build without thewgpu-rendererfeature composites with GLES with a warning. The removal has its own plan,openspec/changes/archive/2026-11-10-gles-removal-plan/design.md. (Step 6 of that plan, 2026-11-11, removed--renderer,AGENT_NATIVE_RENDERERand the filerenderer-gles: the recovery of the login now asks for OpenGL and, for the registered recovery release that still has GLES, still exportsAGENT_NATIVE_RENDERER=gles; the removal completed in steps 7 to 11, 2026-11-11 and 2026-11-12: no build has GLES any more, the renderer is a normal dependency and the feature name is gone. The recovery still exports the variable only for the older registered release.)
Built on 2026-11-10: the switch only (see wgpu-renderer-plan.md, Phase 4, the switch, which also lists what only GLES draws). It applies at the next login whose active checkout has the commit; the recovery changes are in the dispatch copies and need scripts/install.sh once. Nothing changes in a running compositor. No route, command, capability or agent reach is added: the renderer stays a startup choice that no IPC command or setting changes.
The bar of the theme Office follows a Windows 10-style picture (2026-11-09)
The owner, with a picture of a Windows 10-style desktop and the Start menu open: "use this as reference instead of win 11 (win 10)", "not for colors, just for positioning ok", and on the CPU and memory figures "keep them but make them more compact". This replaces the Windows 11 picture of 2026-11-06 for the placement; the rest of that decision (the overview, the 48 px, our own Start mark, the extra output bar) stays.
- Primary bar from the left edge: Start, a search box, the Task View, the chat (where the picture has Copilot) and the pinned and open applications. At the end: the compact metrics, the tray arrow, network and sound, the clock (time above date) and the bell.
- The search box only opens the Start menu, whose field takes the focus: no new data source, route or authority.
- The metrics stay, two to a column with a smaller type; their own chart link opens the panel of the metrics, so the "Métricas do sistema" label leaves this bar only.
- The Start menu opens at the bottom left above the Start button, with a rail, Todos os apps under letters and Fixados as tiles. Recomendados leaves the layout because the picture has none; its data path stays, since removing it touches the core and its tests for no gain.
- The bar of an extra output keeps its layout of 2026-11-06.
The bar of the theme Office follows a Windows 11 picture (2026-11-06)
The user, with a picture of Windows 11 with the Start menu open: "Po ainda não tá fazendo o menor sentido", "Essa é a referência, verifique o que vamos mudar", and on the comparison "Sim, pode seguir". This replaces the grouping "Por função" of the same day.
- The primary bar has nothing on the left, and Start, the chat, the Task View and the applications centered. The workspaces leave the bar for the overview, behind the Task View button. Rejected: keeping the numbers on the bar, which is what the user compared against the picture and refused.
- The bar of an extra output keeps its numbers and controls. The overview exists only on the primary output, so nothing else chooses what that output shows. This is the one departure from the picture.
- Layout, organize and actions go to the overview header, because openspec/specs/contextual-actions/spec.md requires a visible counterpart of each shortcut.
- The bar has 48 px, so the compositor takes the strip from the declared
exclusive. No capability: an older compositor keeps 40 px and the page follows the window, and the Glass theme keeps 40 px. - Translucent bar and Start menu, and Recomendados with only the applications recently opened: these two were my recommendations, which the user accepted by going ahead. No file history enters the Start menu.
- Our own filled mark on the Start button, not the logo of another system.
The theme Office: a taskbar in the manner of Windows 11 (2026-11-06)
The user, on the first delivery of the themes: "O tema de janela, no caso, ele não é só sobre a superfície", and for the default "pode renomear para Office", "a dock embaixo, nenhuma dock em cima", "Pode ser o Windows 11". So a theme also has a layout, the theme basic became office, and it has one full-width bar, a Start menu and one button per window. The glass keeps its two bars. See openspec/specs/ui-themes/spec.md. No compositor change: the path of a bottom bar without a top bar already existed for older compositors, so the bar keeps its 40 px.
The window theme glass becomes Galaxy (2026-11-12)
The owner, on 2026-11-11: Galaxy replaces Vidro, fully rounded (openspec/changes/theme-packs/design.md, phase 1).
- The id
glassbecomesgalaxy, name Galaxy;uiThemeOfreads a storedglassasgalaxyand/api/ui-themerefusesglassas a new value. Galaxy has its own profile copy,<profile>/ui-themes/galaxy/; an oldglassfolder stays on disk, untouched and unused. - Shape: tiny 8, item 16, control 16, button 999, surface 28, sheet 32;
panelRadius28 andwindowRadius24. The new role token--radius-button(999 in Galaxy,--radius-controlin Office) is read by the shared button, input, tabs trigger, toggle and select trigger; boxes keep--radius-control.--control-padding-xkeeps a capsule at least half its height wide at each side; the protected surfaces pin it with the radii. - Office keeps its values in this phase (the Office shape of the design arrives with the phase that changes it).
Window themes, with a basic default (2026-11-06)
The user: "quero que a gente possa selecionar um tema de janela, aí separe o tema glass e ponha um default mais básico, quero fazer temas diferentes".
- The protected setting
uiThemeselects a theme of a closed list:basic, the default, andglass. A theme is one token file inhost/ui-themes/and one entry incore/ui-themes.js(window themes). - This limits the decision of 2026-11-03 "every panel in glass": it now describes the
glasstheme. One style for the whole system and the design tokens stay. - A profile from before this decision opens in
basicuntil the user chooses Vidro: the user asked for that default, and no profile held a choice to preserve. - A change applies with no page reload and no restart: the stylesheet reloads through the palette revision, the class
material-solidfollows it, and the core declares the windows with glass again in place.data-glasskeeps meaning what the compositor can do. - Rejected: a CSS file per theme for each surface, because the existing tokens and the solid class already cover every surface; and reusing the name "theme" of openspec/specs/themes/spec.md, which holds shaders.