Galaxy Shell / docs
Docs / Arquitetura e desenvolvimento

Classes and variables of the web interface

openspec/specs/css-structure/spec.md · Editar no GitHub ↗

Esta página ainda não tem tradução em português. O conteúdo abaixo está em inglês.

Nesta página

Classes and variables of the web interface

Purpose

Defines the shared CSS variables, design tokens and component classes of the web interface, so the host, quick settings and wallpaper load one stylesheet of values.

Requirements

Requirement: Canonical sources and stylesheet loading

The system SHALL keep the canonical sources in vendor/interface, preserve the links web-shell/host, web-shell/ui-src and web-shell/ui, and the chat CSS MUST NOT be loaded in the outer document nor the theme stylesheet inside generated HTML responses. Full text: section Current contract.

Scenario: Generated HTML

  • WHEN a generated HTML response renders
  • THEN it does not load the theme stylesheet

Requirement: Semantic tokens only

The system SHALL make every system stylesheet use the semantic steps of host/theme.css and no literal radius, font size, shadow or color. web-shell/test/design-tokens.test.js counts literals against a baseline that may only go down. Full text: section Design tokens.

Scenario: New literal

  • WHEN a system stylesheet adds a literal radius, font size, shadow or color
  • THEN the design-tokens guard fails

Requirement: Fixed palettes stay fixed

The system SHALL keep the fixed palettes of the lock screen, the approval dialogs and the change review card, and the protected surfaces MUST read the --protected-* tokens instead of the radius and motion steps, so no token of a window theme changes them. Full text: section Design tokens.

Scenario: Window theme change

  • WHEN a window theme changes its radius or motion tokens
  • THEN the approval dialogs, review card, lock page and recovery are unchanged

Requirement: CSS is the default for transitions

The system SHALL time CSS transitions with --motion-fast, --motion-base and --ease-standard, using Motion in the trusted JavaScript only for exits, layout animation and springs, which the profile CSS cannot change. Full text: section Design tokens.

Scenario: Disabled control

  • WHEN a control is disabled
  • THEN it uses --opacity-disabled

Requirement: Profile customization is limited to the chat

The system SHALL limit a profile's style.css to the chat ShadowRoot through read_ui/replace_ui, and editing the historical variables MUST NOT customize the protected controls or give authority to them. Full text: section Customization and boundaries.

Scenario: Profile edits a historical variable

  • WHEN a profile sets --accent
  • THEN the protected controls are not customized

Requirement: Existing state classes stay under code control

The system SHALL keep the existing state classes and ARIA attributes under the control of the code, and new components MUST get explicit classes; parallel visual states that can diverge from the functional state MUST NOT be created. Full text: section Classes by component.

Scenario: New component

  • WHEN a new component is added
  • THEN it gets explicit classes

Requirement: Alpha rules of the chat glass

The system SHALL give a glass surface in the chat window a fill of alpha 0.25 or more, keep a translucent pixel outside a glass surface below 0.18, and paint .inline-surface with the opaque --panel. Full text: section Alpha in the chat window.

Scenario: Modal of the chat window

  • WHEN a modal or approval dialog opens
  • THEN ::backdrop is transparent with no backdrop-filter, and no scrim is painted on the desktop

Requirement: Solid material option

The system SHALL apply solid surfaces through the material-solid class on the html element, also automatically with prefers-reduced-transparency: reduce or forced-colors: active. Full text: section Glass material.

Scenario: Reduced transparency

  • WHEN the user prefers reduced transparency
  • THEN the solid alternative applies

Requirement: Bar geometry

The system SHALL keep --desktop-bar-height compatible with the 40px of the compositor, and application composition animation and blur MUST stay with Smithay and not become browser CSS. Full text: section Bottom bar.

Scenario: Geometry change

  • WHEN the bar geometry changes
  • THEN it takes the new compositor at the next login, and reloading CSS alone does not move the Wayland surface

Requirement: Lock screen is always dark

The system SHALL make lock-screen.css always dark with a fixed value for every color role and for --color-system-focus, with unlayered rules after theme.css, and the profile color MUST NOT be used there. Full text: section HeroUI lock screen (2026-11-02).

Scenario: Profile color or wallpaper palette

  • WHEN a profile color or a wallpaper palette is set
  • THEN the lock screen keeps its fixed dark palette

Requirement: Application icon route

The system SHALL resolve /api/application-icon?application=<id> only for an exact catalog ID under the allowed local roots of XDG/Flatpak/Snap icons, validate the resolved path, extension and size up to 2 MiB, and not accept a file path in the query. No remote icons are loaded. Full text: section Applications in the main field.

Scenario: Unknown ID

  • WHEN the ID is unknown
  • THEN the route answers 404, and an unavailable icon for a valid ID answers 204

Status

Doc status: current contract. Pinned tokens of the protected surfaces added 2026-11-11. Checked 2026-11-11.

Current contract

The canonical sources stay in vendor/interface. The links web-shell/host, web-shell/ui-src and web-shell/ui are preserved. This organization does not change the control hierarchy, sending, the tools or the isolation of documents.

vendor/interface/host/theme.css holds the shared values for color, typography, spacing, radii, surfaces and motion. The host, the quick settings and the wallpaper load this stylesheet before their component styles. The chat inherits the host variables through the ShadowRoot; its CSS uses fallbacks so that it also works in isolated previews. Do not load the chat CSS in the outer document, and do not load the theme stylesheet inside generated HTML responses.

Like a desktop application, the host pages set user-select: none at the root and keep selection for input, textarea, [contenteditable] and the chat .message-markdown text.

Where to configure

Group Main variables
Shell palette --color-background, --color-surface, --color-control, --color-text, --color-muted, --color-accent
Design scale see Design tokens: --radius-*, --space-*, --text-*, --weight-*, --shadow-*, --material-*, --focus-ring-*, --motion-*, --icon-*
Typography --font-family-ui, --font-family-mono, --font-family-quick; --font-size-* and --font-weight-* are deprecated
Spacing the semantic --space-* steps; the value-named --space-<px> tokens are deprecated
Geometry --conversation-width, --radius-control, --radius-panel, --composer-control-size, --inline-surface-height
Glass --glass-panel, --glass-border, --glass-filter, --glass-bar, --glass-shadow, --glass-card-shadow, --glass-bar-shadow
Bar --color-bar-*, --color-bar-light-*, --desktop-bar-height
Quick settings --quick-color-*, --quick-color-dark-*, --quick-glass-light, --quick-glass-dark
Widgets --color-metric-*, --color-quota-*, --color-chart-grid

Since 2026-11-01 one generated palette feeds every group, and the profile color of the user sets its tones; see the shared palette.

Design tokens

Decided with the user on 2026-11-03: the whole system UI takes one visual language, with the chat and the composer as the reference. host/theme.css holds the scale; every system stylesheet uses these semantic steps and no literal radius, font size, shadow or color.

Group Tokens Values
Radius --radius-tiny, --radius-item, --radius-control, --radius-surface, --radius-sheet, --radius-pill 4, 8, 10, 16, 20, 999 px
Spacing --space-hairline, --space-xs, --space-snug, --space-sm, --space-md, --space-lg, --space-xl, --space-2xl, --space-3xl, --space-4xl 2, 4, 6, 8, 12, 16, 20, 24, 32, 40 px
Type size --text-caption, --text-small, --text-label, --text-body, --text-reading, --text-title, --text-display 11, 12, 13, 14, 15, 18, 24 px
Weight --weight-regular, --weight-medium, --weight-strong 400, 500, 600
Elevation --shadow-edge (highlights only), --shadow-bar, --shadow-surface, --shadow-overlay
Material --material-glass, --material-glass-blurred (over the Smithay blur, with the near-neutral --color-glass-veil), --material-overview, --material-bar, --glass-filter
Focus --focus-ring-width, --focus-ring-offset, --focus-ring-offset-inset (rows in a scrolling list), --focus-ring-color 2 px, 2 px, -2 px, the system focus color
State and motion --opacity-disabled, --motion-fast, --motion-base, --ease-standard 0.45, 120 ms, 180 ms
Protected --protected-radius-item, --protected-radius-control, --protected-radius-surface, --protected-radius-sheet, --protected-radius-pill, --protected-motion-fast, --protected-motion-base, --protected-ease-standard (unlayered in theme.css; read only by the approval dialogs, the review card, the lock page and recovery) 8, 10, 16, 20, 999 px, 120 ms, 180 ms
Overlays --color-scrim (the backdrop of a modal dialog), --filter-approval-backdrop (what dims the content behind an approval in the chat window, with no alpha), --text-shadow-on-wallpaper (text drawn straight on the wallpaper) black at 60 %, 0 1px 3px black at 45 %
Icons --icon-sm, --icon-md, --icon-lg 14, 16, 20 px

What each step is for:

  • radius: item for rows of a list or a menu and small marks, control for buttons and fields, surface for cards, panels, popovers and message bubbles, sheet for the composer and dialogs.
  • type: body is the base of the panels, reading the conversation, title the heading of a dialog or a panel, display a page title (recovery, the lock clock has its own size).
  • the copied parts: ui-src/host/shadcn-host.css maps the shadcn role, radius and type names to these tokens in its @theme inline block.
  • the protected surfaces (approval dialogs, change review card, lock page, recovery) read the --protected-* tokens above in place of the radius and motion steps, so no token of a window theme changes them (openspec/specs/ui-themes/spec.md).
  • motion: --motion-fast, --motion-base and --ease-standard time the CSS transitions, which stay the default; exits, layout animation and springs use Motion in the trusted JavaScript, which the profile CSS cannot change (openspec/specs/motion/spec.md).

Names that avoid the Tailwind namespaces: Tailwind and HeroUI own --radius-xs..--radius-4xl, --text-xs..--text-9xl and --shadow-xs.., so the scale uses its own words for those groups.

The older names stay as deprecated aliases for profile style.css files: --radius-panel, --composer-radius, --glass-panel, --glass-panel-blurred, --glass-bar, --glass-shadow, --glass-bubble-shadow, --glass-card-shadow and --glass-bar-shadow point to the new tokens, and the value-named --font-size-<px>, --font-weight-<n>, --space-<px> and --radius-<px> keep their values. A var() alias is resolved on :root, so a profile that sets an old name changes only the rules that read that name: the chat CSS inside the ShadowRoot (ui-src/style.css) keeps reading the documented names of the table above, and the host CSS outside it reads the new ones.

Phase 2 (2026-11-03) moves the protected panel pages to the scale: their shared base host/panel-base.css (see panel pages) adds only the control heights of the panels, --panel-row-height (32 px, a menu row), --panel-control-sm, --panel-control-md, --panel-control-lg (28, 36, 40 px), --panel-tile-height (48 px, a quick settings tile) and --panel-track-height (8 px, a slider or meter track). The six panel stylesheets and the base are at zero in the guard below.

web-shell/test/design-tokens.test.js keeps the rule: it counts literal radii, font sizes, shadows and colors and value-named tokens in every system stylesheet (theme.css and the compiled HeroUI CSS are outside it; a var() fallback does not count), against a baseline that may only go down. The baseline holds what the later phases of the unification still remove; the fixed palettes of the lock screen, the approval dialogs and the change review card keep their colors. Since phases 3 and 4 (2026-11-03) host/host.css, ui-src/style.css and host/recovery.css are at 0, and host/lock-screen.css keeps one use: the clamp(56px, 9vw, 104px) of the clock, a display size above the scale that only the lock page draws. The approval palette is declared as custom properties, which the guard does not count.

How the system CSS uses the scale since phases 3 and 4:

  • host/host.css reads only the new names and no fallback of a token that theme.css always defines (the host document loads theme.css first); the fallbacks that stay belong to dynamic custom properties (--composer-bar-gap, --overview-plane-holes, --pinned-offset, the workspace indicator ones). ui-src/style.css keeps the documented profile names and its fallbacks (isolated previews); recovery.css keeps its fallbacks so recovery stays readable if /theme.css fails.
  • No global button shape: :where(button) sets the font, the neutral colors and the padding, :where(button:not(.button)) the control radius, so a HeroUI Button takes its radius from the shape rules of its build. The HeroUI press scale is off (:where(.button) { transform: none }). These defaults are unlayered, so they replace the HeroUI variant colors; host.css sets a variant color again where it must show.
  • Hover: :where(button:hover:not(:disabled, .button--danger)) uses --color-hover; accent buttons (send, connect, approve, the pressed voice toggle) use --color-accent-hover; the HeroUI danger variant (the confirm of a change discard) draws --color-error on --color-error-surface, with a stronger error mix on hover. Transparent controls that set their own background carry their own hover: the conversation tab (the select inside it is transparent), the new chat button, the account, notice and close buttons; a settings section row lights its indicator, and the color picker trigger its border. The old global filter: brightness() hover is gone. Disabled is --opacity-disabled everywhere.
  • Focus: one :is(button, select, summary, input):focus-visible rule with --focus-ring-*; rows inside a scrolling or clipping container (model options, bar items, app results, the conversation tabs, a settings section body, the message markers) use --focus-ring-offset-inset, so the ring is never cut.
  • Deliberate type changes of the chat CSS: an inline surface heading (h3) is --text-reading (15 px, was 16) and markdown headings are --weight-strong (600, was 650), the steps of the scale.
  • Profile contract inside the ShadowRoot: the user bubble and the inline surface still read --panel, and the marker preview reads --glass-panel with --panel as its fallback, so a profile that sets them changes these. Since 2026-11-03 the desktop user bubble takes the translucent --color-message-surface of the assistant bubble (one material in the conversation); a profile changes both through that variable. The translucent fallbacks of --color-code, --color-code-block and --border-table stay.
  • Icons: .icon, the bar, tray, composer and approval icons are --icon-md; the conversation close and the model select chevron --icon-sm; the overview close --icon-lg.

Classes by component

Area Classes
Conversation .chat-root, .chat-scroll, .chat-messages, .chat-message, .chat-message-role, .message-markdown
Interactive response .inline-surface, .surface-error, .surface-heading, .surface-pin, .pinned-surfaces, .pinned-surface; the pin is a HeroUI Button and adds .button, .button--ghost, .button--sm
Message markers .message-markers, .message-marker, .message-marker-preview, .chat-overlays; the marker is a HeroUI Button (.button--icon-only) and the preview a HeroUI Tooltip (.tooltip)
Protected input .composer-area, .composer-shell, .composer-root, .composer, .composer-input, .composer-send, .composer-stop, .show-agent, .voice-toggle, .capture-chip, .composer-icon, .model-row; HeroUI parts add .button, .button--*, .textarea, .tooltip
Bar and workspaces .system-bar, .workspace-tabs, .conversation-tab, .conversation-apps, .conversation-app, .desktop-date, .bar-icon, .workspace-card, .workspace-card-preview, .workspace-card-activity (data-activity: working, approval, finished)
Panels .model-picker, .account-dialog, .archived-dialog, .workspace-overview, .quick-settings-panel
Widgets .system-dashboard, .metric-card, .metric-cpu, .metric-memory, .metric-plan

Existing state classes (.desktop, .desktop-transparent, .chat-empty, .desktop-bar, .command-palette, .chat-sidebar) and ARIA attributes stay under the control of the code. data-theme/data-system-theme and data-glass keep using their existing contracts. Do not create parallel visual states that can diverge from the functional state.

The IDs stay as references for JavaScript, accessibility and compatibility. :is(#id, .class) selectors let you use the classes without lowering the previous specificity. For aliases of element selectors, :where() avoids raising it. Do not remove these aliases without checking the profiles and the cascade. New components must get explicit classes.

Customization and boundaries

A profile's style.css stays limited to the chat ShadowRoot, using read_ui/replace_ui, preview, journal and recovery. The historical variables --accent, --background, --panel, --text and --muted stay available. Editing one of them in the profile does not customize the protected controls and does not give authority to them. The trusted host/panel styles require maintenance of the checkout.

A change in the React sources or in ui-src/style.css requires npm run build to update the three seed files. Changing host/theme.css affects the consumers that load this stylesheet again; this does not prove that existing processes are updated, and it does not replace supervised activation.

Popover positions, the automatic height of the field and the geometry of transitions are still measured in JavaScript. The animation/blur of the application composition belongs to Smithay and does not become browser CSS.

Evidence for the organization

On 2026-10-29, a browser comparison of static fixtures of a conversation, an empty conversation, the bar, the overview, settings, models and quick settings, in light and dark, found zero differences in the computed CSS properties, after equalizing focus and disabling transitions in the fixture. This checks the cascade of the reorganization, not native composition or physical interaction. check, the build and the 200 Node tests passed, including HTTP for the shared stylesheet and the exact permission in Electron.

Glass material

After the organization, a translucent material was applied to the message field, the model/application panels, settings, the overview and widgets. The bar keeps its light/dark palette and uses a translucent base. The background of the desktop messages gets more transparency, without creating a GPU filter for each message.

--glass-panel controls the composition of the background; --glass-filter controls the blur and the saturation; --glass-border, --glass-shadow and --glass-card-shadow control the edges and the depth. The default filter is blur(24px) saturate(145%). The quick settings keep data-glass and the solid inner surfaces for reading.

Since 2026-11-06 this material is the window theme glass (renamed galaxy on 2026-11-12), and its tokens live in host/ui-themes/galaxy.css, not in host/theme.css (window themes). The default theme office has opaque surfaces.

To configure solid surfaces, use the material-solid class on the html element of each trusted document. Since 2026-11-06 host/wallpaper-theme.js sets it from the token --ui-theme-material of the window theme. CSS applies the same alternative automatically with prefers-reduced-transparency: reduce or forced-colors: active. The class is an option of the CSS contract, with no new persistent selector in the UI.

The CSS filter samples only content of its own renderer. Blur of other Wayland surfaces stays limited to the Smithay panel implementation and configuration; this change does not implement refraction, content distortion or native blur of applications across the whole chat window. A uniform background can make the effect subtle.

The React harness also checks token inheritance between the document and the ShadowRoot, restoring a variable, and turning off the filter/shadow through the solid class. Visual inspection uses synthetic data in the browser; activation in Electron and Smithay composition in the existing session remain separate proofs.

Alpha in the chat window

Since phase 3 of glass from the alpha channel the compositor takes the shape of the chat glass from the alpha of the chat window. The mask starts at alpha 0.18 and is full at 0.25, and it has no upper limit. So, in the trusted CSS of the chat window (host.css, theme.css, ui-src/style.css):

  • A glass surface has a fill of alpha 0.25 or more. --material-glass-blurred composes to at least 0.25 in any profile color.
  • An opaque pixel is glass under itself and covers it, so opaque controls and text are free.
  • Outside a glass surface, a translucent pixel stays below 0.18: a shadow past the edge of a bubble, a fade, a hover or focus tint, a backdrop. What is thinner than about 4 px at any alpha is removed by the opening of the mask (the scrollbar thumb, the marks at the left of the conversation). --shadow-overlay peaks at about 0.165 past an edge and --shadow-surface at about 0.12.
  • The window of the chat ends a few pixels around its surfaces, and the box window 12 px around the composer, so a wide shadow stops at that edge and the cut shows as a rectangle over a light application (the user report of 2026-11-04). The composer, the first-run card and the settings over the glass, and the composer of the box in any material, keep only --shadow-edge.
  • .inline-surface paints the opaque --panel, so generated HTML cannot make glass inside its frame.

No modal of the chat window paints a scrim on the desktop. A scrim of alpha s turns a pixel of alpha a into 1 - (1 - a) * (1 - s), so even a scrim of 16 % carries a pixel of alpha 0.024 past the limit: every faint shadow under it would become a ring of glass. So ::backdrop is transparent with no backdrop-filter, on the settings as on the three approval dialogs. An open approval dims what is behind it by filter: var(--filter-approval-backdrop) on each child of the body except the approval dialogs: the frame of #surface, which profile CSS cannot restyle, the composer area and the other dialogs. It follows [open] through :has, so close, cancel and reload need no cleanup. A filter adds no alpha, but its blur spreads the alpha at the edge of a bubble by a few pixels.

web-shell/test/chat-alpha-rule.test.js holds the inline surface, the absence of a scrim, the filter and the lowest alpha of the material; the rest is this rule.

Bottom bar

The global bar sits on the bottom edge. In the browser, --shell-bar-height reserves 56px and the message field sits above it, with a gap of --composer-bar-gap (28px by default, 12px by default below 520px). The footer offset and its maximum height both read this one value, so a theme that moves the footer sets only --composer-bar-gap. On the desktop, Smithay places the separate 40px surface at the bottom and limits applications to the area above it; the chat document does not reserve the same strip again. --desktop-bar-height must stay compatible with the 40px of the compositor.

The active indicator sits on the top edge of the bottom bar. Since 2026-10-31 the bottom bar holds only the workspace tabs, and the new quick settings use top-right with a vertical offset of 44px, under the top bar. The Smithay geometry also moves the legacy protected defaults (top-right or bottom-right, offset_x=0/offset_y=40) under the top bar, without rewriting the configuration. Custom offsets and isolated panels keep their anchors. The cuts and texture coordinates of the transition effects also exclude the bottom strip.

The geometry change requires the new compositor at the next login. Reloading only the CSS does not move the Wayland surface of a compositor that is already open.

After integrating the concurrent changes from main, 205 Node tests, 71 Python tests in an isolated environment and 85 Rust tests with EGL passed, besides formatting, check and Clippy. On the 1280x720 web fixture, the bar took y=680..720, height 40px, with blur(24px) saturate(1.45) and no horizontal overflow. The React harness finished with PASS/DONE, including the token inheritance and solid material tests.

Bar design: floating glass pill (2026-10-31)

The desktop bar is one fully rounded glass pill. It stays inside the 40px area that Smithay reserves, with a 4px margin at the top and bottom and an 8px margin at the sides; the wallpaper shows through the margin. The pill uses --glass-bar, --glass-border, --glass-filter and the new --glass-bar-shadow, which is small enough for the 4px margin. The solid material, reduced transparency and forced colors remove the shadow and the translucency through the existing token overrides. The same day the user first chose an edge-to-edge strip and then replaced it with this pill.

  • The tabs, the + button (a circle), the quick settings segment and the web panel links are pills. Hover on an inactive tab uses --bar-hover.
  • The active tab uses the primary color: an accent pill (--bar-accent) fills it and its text uses --color-on-accent. The pill is the #conversation-tabs::after indicator, so it slides between tabs with the duration and easing of the native workspace slide (--workspace-motion-duration, --workspace-motion-easing). Hover on the active tab uses --color-accent-hover; focus rings on it use the on-accent color. Reduced motion turns off the slide and the color fade.
  • The mouse wheel over the bar moves one workspace per step, in tab order, with no wrap at the ends. It sends the same select request as a tab click, so the core plays the same native slide. A new step waits 250ms, so a fast flick does not skip workspaces. Horizontal wheel deltas count when they are larger than the vertical ones.
  • Tabs are 176px wide, or 232px when they show application icons. They shrink when space is short, down to the 36px number-only form. The tab list sizes to its tabs, so the + button stays next to the last tab. Each tab has a definite width, because its inline-size container hides the content width.
  • The quick settings segment holds Wi-Fi, Bluetooth, battery, a divider, the date (.desktop-date, muted, such as "sáb, 31 out") and the time (weight 600). Below 720px the date is hidden and the divider moves to the time.
  • The 96px right reserve of the browser bar applies only outside the desktop bar. The desktop bar hides that browser clock.

The glass of the pill is real: Smithay blurs the windows and the wallpaper behind it (see glass behind the desktop bar). The Electron bar measures the pill and reports it to the core; while the compositor has the pill, body[data-bar-glass="true"] turns off the CSS backdrop-filter of the pill, so the two blurs do not stack. The pill keeps --glass-bar, --glass-border and --glass-bar-shadow. The browser, an older compositor without barBackdropBlur and the solid material keep the CSS material only. The compositor part needs a rebuild and a new login; the host part needs a host reload.

The quick settings follow the same rules: background hover states instead of a brightness filter (--color-hover on tiles, --color-accent-hover on active tiles), spacing on the --space-* scale, and a 12px submenu and confirmation radius inside the 13.5px panel (since 2026-11-03 the panel base of the panel pages sets 16px for both). The divider of an active split tile mixes --color-on-accent at 30%. The geometry and the protected panel contract do not change.

Application icons in the tabs

Each tab shows the applications with a window in its workspace, as an overlapping stack after the name: up to three icons and a +N counter. The core adds application to every non-shell window in wm.windows. The value is the catalog ID that WindowSession.application already resolves for session restore: an exact appId match on the desktop ID, StartupWMClass or the executable name. The value is terminal for the built-in terminal and null when no catalog entry matches. It is never a path.

The host loads the icons through the existing /api/application-icon?application=<id> route and its 32-entry blob URL cache. The built-in terminal uses the host SVG. Windows without an icon show the first letter of their label. A mask cuts each icon where the next one sits, so the stack works on any bar background. A tab narrower than 200px hides the stack before the name. The tab title and accessible name list a short label per application: the last segment of the appId (Nautilus for org.gnome.Nautilus), or Terminal. Window titles are not used, so a title change does not rebuild the tabs or move keyboard focus.

Evidence on 2026-10-31: format:check, check and 227 Node tests passed. A synthetic core started with testEnvironment (private data and config, no provider, no compositor socket) served /desktop-sessions with three workspaces. The page stubbed only the radios, battery, theme and wm.windows; the icons came from the real route and local catalog, including the Firefox Snap icon. Headless Chrome at 2x scale and the real 40px height captured the pill in dark and light, hover on an inactive tab, on the active tab and on the status segment, keyboard focus and a 700px width. Synthetic wheel events moved the active workspace from 1 to 2, three fast events moved it one step only, and an upward event moved it back. A frame with the slide slowed to 3000ms shows the accent pill between two tabs. The quick settings were captured on the test:palette fixture in dark and light, with tile hover, active tile hover, the Wi-Fi submenu with synthetic networks and the power confirmation. An ad-hoc script on a private socket checked the application tags; another checked that Snap icons load only from the entry's own package. Captures stay outside Git in ~/.codex/artifacts/qa/agent-native-os/bar-design-2026-10-31/. Electron, the native slide in Smithay, the real Smithay window list and the live session are not proven by this step.

Top bar (2026-10-31)

body.desktop-top-bar (with body.desktop-bar) shows #top-bar and hides #conversation-bar. The top bar is a three-column grid inside --top-bar-height (40px, the same value as the compositor strip): start, center and end. It uses its own tokens, --color-top-bar-background, --color-top-bar-text, --color-top-bar-muted and --color-top-bar-hover, which stay dark in both themes; the solid material removes the transparency. The system icons are inline SVG with .bar-icon (16 px, currentColor), so they take the light text color of this bar with no filter. Each workspace dot is a 24px by 24px hit area (--workspace-hit); the visible mark is its ::before, centered in it: a small planet, a sphere shaded from the bar tokens, 8px for a dot and 14px for the active one, which takes the profile accent (the user, 2026-11-05: the theme of the project is a galaxy). The active button is wider by the same room on each side, so the gaps between marks are equal. When there is no room, many dots shrink to 10px (the active one to its mark plus 4px) and then the start zone clips, so they never cover the clock. A 24px gap separates the indicators from the metrics, and each metric value stays next to its label. The bottom bar close icon is a 24px hit area whose center is as far from the right edge as the tab number is from the left edge. A metric that does not fit wraps to a hidden second line and hides whole. A launcher ends with an ellipsis after 160px. A hidden bell keeps its space (.unavailable, visibility hidden), so the clock stays in place. The low battery color on this always dark bar is --color-top-bar-error. Below 900px the metrics hide; below 640px the date and the panel launchers hide.

body.legacy-indicators is the bottom bar on a compositor without the top strip. It restores the indicator rules from before the top bar for the indicators that React renders at the end of #conversation-bar (the layout flag of host/bar-state.js), and hides the volume and the power icon.

HeroUI composer (2026-11-02)

The composer is React and HeroUI (openspec/changes/archive/2026-11-02-heroui-migration/design.md, phase 1). shadcn-host.js renders it into .composer-root (display: contents) inside the static .composer-shell, which keeps the glass, the --radius-sheet radius and the plain .model-row. The elements keep their IDs and classes: #send.composer, #trusted-input.composer-input (HeroUI TextArea), #send-button.composer-send, #cancel.composer-stop, #capture-remove.capture-remove (icon-only HeroUI Buttons with a HeroUI Tooltip and no title), #show-agent.show-agent and #voice-toggle.voice-toggle (HeroUI Buttons with a label and a title), and the capture chip. The HeroUI parts also carry the HeroUI classes .button, .button--primary|tertiary|ghost, .button--icon-only, .textarea and, on the portaled tooltip, .tooltip. The icons are Gravity UI Icons with .composer-icon (fill icons, so not .icon, which strokes). host.css stays unlayered and wins over the HeroUI layers, so the look is the look of the plain composer; .composer-shell :is(.button, .textarea) drops the HeroUI focus ring. One :is(#send, .composer) rule sets the layout of the field row (flex, --space-sm gap, padding --space-md --space-md --space-sm --space-lg); the shell owns the material, so the row draws none, and the older duplicate :focus-within and .composer-shell rules are gone. The command palette and the narrow layout change only the bottom padding. The canvas chat work removed #chat-dock-toggle on 2026-11-02, so .composer-shell holds only the React composer and the model row.

HeroUI cards above the composer (2026-11-02)

Phase 7 of openspec/changes/archive/2026-11-02-heroui-migration/design.md moves the first-run color card, the memory notice and the change review card to React and HeroUI. The sections #profile-color-onboarding.profile-color-onboarding, #memory-notice.memory-notice and #change-review.change-review stay in index.html and keep the glass, the border and the 16px radius (since 2026-11-04 the review card is opaque, with the fixed --approval-* pairs of the approval dialogs, and keeps only its shape; see self-maintenance.md, Source change review card); React renders their content. host.css stays unlayered and wins over the HeroUI layers.

Since phase 4 of the style unification (2026-11-03) one rule draws these cards (only two since the review card became opaque on 2026-11-04): --material-glass with --glass-filter, the glass border, --shadow-surface, --radius-surface, padding --space-md --space-lg, --text-label, and a --space-md gap to the composer. The memory notice title, the first-run title and the change title are --text-title (the change title --text-reading, it sits next to its state), weight --weight-strong. The memory notice is drawn glass in CSS only; it is not one of the chat glass regions that Smithay blurs.

  • First-run card: h2#profile-color-onboarding-title, the text p, the group #profile-color-onboarding-presets.profile-color-swatches with .profile-color-swatch (the HeroUI Button of the settings, with --swatch, data-color, aria-pressed and a title), the [data-wallpaper-note] note, #profile-color-onboarding-feedback and button#profile-color-done.profile-color-done (also .button) with the Gravity Check in .profile-color-done-icon. The > p and > button rules still match, because the React children are direct children of the section.
  • Memory notice: #memory-notice-title, #memory-notice-summary, #memory-notice-list with li, .memory-notice-detail and .memory-notice-meta, #memory-notice-error and #memory-notice-dismiss. The buttons are HeroUI Buttons (also .button) with a Gravity icon in .memory-notice-icon.
  • Change review card (order and reasons in self-maintenance.md, Source change review card): .change-content holds everything but the sticky footer .change-actions, .change-heading is the fixed heading, .change-agent with .change-agent-label and .change-agent-more holds the text of the agent, .change-summary-clamped limits it to four lines, and .change-warning, .change-warning-text and .change-warning-paths are the fixed lines. The other classes of the plain card stay (.change-head, .change-title, .change-state-*, .change-summary, .change-totals, .change-files, .change-file, .change-path, .change-counts, .change-gates, .change-gate-*, .change-note, .change-refusal, .change-blocked, .change-actions, .change-approve, .change-discard, .change-discard-confirm, .change-discard-cancel, .change-dismiss, .change-outcome, .change-hint, .change-diff-text, .change-log-text). .change-diff and .change-gate-log are HeroUI Disclosures (also .disclosure), not details: the heading is .change-section-heading, the trigger .change-section-trigger with the Gravity chevron .change-section-indicator, and the inner body .change-section-body. host.css drops the padding of .change-review .disclosure__body and the HeroUI button ring; the buttons carry a Gravity icon in .change-icon.

HeroUI approval dialogs (2026-11-02)

Phase 8 of openspec/changes/archive/2026-11-02-heroui-migration/design.md moves the content of the tool, schedule and theme approvals to React and HeroUI. The native dialogs #tool-approval, #schedule-approval and #theme-approval (also .approval-dialog) stay in index.html, empty: React renders their content as direct children, so the rules on :is(#tool-approval, #schedule-approval, #theme-approval) > :is(header, ...) still match. The fixed --approval-* colors stay; no HeroUI token or profile color reaches them.

Since phase 4 of the style unification (2026-11-03) the dialogs share the scale for everything but color: --radius-sheet, --shadow-overlay, the --color-scrim backdrop, the spacing and type steps, --radius-control buttons, --focus-ring-* and a --motion-base entry. The fixed palette gained --approval-hover and --approval-accent-hover (light-dark pairs) for the hover of the buttons, and --approval-border now matches the default border of the system (#cecbdb light, #434051 dark). See openspec/specs/color-palette/spec.md.

  • The IDs and classes of the plain dialogs stay: the header with h2 and .approval-count, .tool-approval-summary, .tool-approval-heading, #tool-approval-arguments (dt, dd and pre only), #tool-approval-message, #schedule-approval-prompt, #theme-approval-detail, .theme-sample, .theme-sample-accent, .theme-swatches, .theme-swatch, .approval-hint, .approval-error and .approval-actions.
  • Permitir (#allow, #schedule-allow, #theme-allow) and Recusar (#deny, #schedule-deny, #theme-deny) are HeroUI Buttons (also .button, 36 px high) with a Gravity icon in .approval-icon (Check, Xmark). The approval button rule adds inline-flex and a 6 px gap. A disabled button keeps the HeroUI pointer-events: none: turning the pointer events on left React Aria in a pressed state after a click on a disarmed Permitir.

HeroUI recovery page (2026-11-02)

Phase 10 of openspec/changes/archive/2026-11-02-heroui-migration/design.md moves recovery out of the chat document. /recovery serves host/recovery.html, its own document, which loads /theme.css, /shadcn-recovery.css, the unlayered /recovery.css and /shadcn-recovery.js, and nothing of the chat document. host.css has no recovery rules any more, and body.recovery no longer exists.

  • main#recovery (also .recovery-panel) keeps the static link back (.back-to-chat), the h1 and the intro text. React renders the rest into #recovery-root: #profile-migration-warning (also .profile-warning), #change-status, #recover-change, the HeroUI Disclosure .recovery-history with .recovery-history-trigger and #change-history, #recovery-note, #recovery-error (also .recovery-error) and #restore.
  • #recover-change (secondary) and #restore (primary) are HeroUI Buttons (also .button, .recovery-action) with a Gravity icon. They keep the plain focus outline of the host. #recover-change exists only while a change waits for recovery.
  • The page is opaque in every window: recovery.css sets the background on :root and body, and has no electron-desktop rule.
  • Since phase 4 of the style unification (2026-11-03) recovery.css uses only the scale (the h1 is --text-display and --weight-strong, focus is --focus-ring-*, the actions have no press scale), and every token keeps its fallback so the page stays readable if /theme.css fails.
  • The hidden #history dump of the conversations is gone; it never showed.
  • In the chat, #change-recovery (the link to /recovery) stays. It shows while a change waits for recovery, and when shadcn-host.js did not load (see the Phase 10 result).

HeroUI lock screen (2026-11-02)

Phase 11 of openspec/changes/archive/2026-11-02-heroui-migration/design.md moves the lock page to React and HeroUI. /lock-screen serves host/lock-screen.html, which loads /theme.css, /shadcn-lock.css, the unlayered /lock-screen.css and /shadcn-lock.js, and nothing of the chat, recovery or panel documents.

  • main#lock-root (aria-label="Tela bloqueada") is the React root. React renders #clock (.clock), #date (.date) and form#unlock with the HeroUI Label (.label), the HeroUI Input #password (.input), the HeroUI Button #submit (.button, .button--primary) with a Gravity icon, and #status with data-kind error or info. .field is the grid of the field and the button.
  • lock-screen.css is always dark and sets every color role that the HeroUI tokens of theme.css read (--color-background, --color-surface, --color-control, --color-hover, --color-selection, --color-text, --color-muted, --color-accent, --color-accent-hover, --color-on-accent, --color-error, --color-error-surface, --color-border) and --color-system-focus to a fixed value. The rules are unlayered and come after theme.css, so they win over the profile color (a layer) and a wallpaper palette (unlayered, earlier). Never use the profile color here.
  • shadcn-lock.css holds only the button, input and label CSS of HeroUI.
  • Since phase 4 of the style unification (2026-11-03) lock-screen.css keeps its fixed dark palette in :root and takes spacing, type, radius, icon, disabled and focus from the scale; the HeroUI press scale of the button is off. The clock keeps clamp(56px, 9vw, 104px), the one literal size left in the guard baseline.
  • The <link> of lock-screen.css has the id react-aria-pressable-style. React Aria looks for that id before it adds its own <style>, which the lock CSP (style-src 'self', no nonce) would refuse. lock-screen.css carries the same [data-react-aria-pressable] rule.

HeroUI bars and workspace overview (2026-11-02)

Phase 9 of openspec/changes/archive/2026-11-02-heroui-migration/design.md moves the content of the two bars, the system inspector and the workspace overview to React and HeroUI. index.html keeps the empty headers #conversation-bar and #top-bar, div#system-inspector.system-inspector, the native dialog#workspace-overview with an empty header and #workspace-overview-list. React renders into them, so the rules on the IDs and the classes of the plain markup still match.

  • The IDs and classes stay: #conversation-tabs.workspace-tabs with .conversation-tab (data-active, data-shown, data-output, data-refusal), .conversation-select, .conversation-number, .conversation-name, .conversation-apps, .conversation-app, .conversation-output and .conversation-close; #new-chat.new-chat; #workspace-dots with .workspace-dot; #bar-metrics with .bar-metric; #notifications-open; #desktop-indicators with #tray-items, .tray-item, #web-panel-buttons and #quick-settings-open; the overview .workspace-date-group, .workspace-card and its children; and the dashboard IDs.
  • The buttons of the bars, the cards and the overview close button are HeroUI Buttons (also .button). host.css is unlayered, so its rules win. One zero-specificity block (:where(:is(...).button)) turns off the HeroUI position, isolation, fixed height and width, press transform, transition, white-space, user-select and focus box-shadow on these controls; the :focus-visible outline of host.css stays. A dot with aria-disabled="true" keeps full opacity and its pointer events, as the plain dot did. A disabled tab or card keeps the HeroUI pointer-events: none.
  • The system icons are inline SVG with .bar-icon (16 px, no margin): the Gravity Plus, Xmark, Bell and Power, and the own Wi-Fi, Bluetooth, battery and volume icons of ui-src/host/system-icons.jsx. The Yaru img.icon elements and their filters are gone. Tray icons and application icons stay img elements with the image of the application.
  • The inspector is a HeroUI Disclosure: .system-inspector-heading holds the trigger .system-inspector-trigger (the old summary look, with the Gravity chevron .system-inspector-indicator) and the body .system-inspector-body holds #system-dashboard. The summary rules are now trigger rules; [aria-expanded="true"] replaces [open].
  • The overview close button shows the Gravity Xmark at 20 px in place of the × text. The activity chip of a card shows a 12 px Gravity icon (.workspace-card-activity-icon: CircleFill, CircleExclamation, Check) in place of a text glyph.

HeroUI conversation controls (2026-11-02)

Phase 2 of openspec/changes/archive/2026-11-02-heroui-migration/design.md moves the controls of the conversation in the ShadowRoot of #surface to HeroUI:

  • .surface-pin (inline and pinned) is a HeroUI Button with aria-pressed on the inline control and disabled at the limit of four pins. React Aria drops title, so an effect sets it.
  • Each .message-markers entry is a HeroUI Button with .message-marker. Its preview .message-marker-preview is a HeroUI Tooltip with role=tooltip, placed by React Aria to the right of the marker and kept inside main. It renders in .chat-overlays, a container in #trusted-ui-body, never in the outer document.
  • The surface heading keeps a plain h3 in .surface-heading; a HeroUI Card would add padding and a surface to the measured bubble.

The ShadowRoot links /chat-host.css before /trusted-ui.css. That route gives the same file as /shadcn-host.css, or the stylesheet of the active overlay of the chat host, which the panels never get (immutable-base.md, The overlay). The utilities are in cascade layers, so ui-src/style.css and the profile style.css (both unlayered) win over them. ui-src/style.css uses that on purpose: .surface-pin and .message-markers button keep the plain size and look (height: auto on the pin, no focus ring from a part; the :focus-visible outline stays). The bare h3 rule is now .surface-heading h3, so a HeroUI part with an h3 keeps its own look. A profile that styles h3 by element still wins over HeroUI, because the profile CSS is unlayered.

Panel pages (2026-11-02)

The protected panel pages use React and, since phase 6 of openspec/specs/shadcn-migration/spec.md, shadcn/ui on Base UI. Each page links /theme.css, /shadcn-host.css (utilities in cascade layers) and then its own unlayered CSS, so the panel CSS wins. Each keeps a static <main>, which the host measures; React renders its content.

The shared base (2026-11-03, phase 2 of the style unification): every panel page, the plain screenshot page too, links /panel-base.css after /shadcn-host.css and before its own CSS. Its rules are in the panel cascade layer, declared after the layers of that file, so they win over the utilities and the unlayered page CSS still wins over them. It is plain CSS, not compiled with Tailwind: Tailwind would emit a theme variable for each palette token that the base reads (--color-surface: var(--surface), a cycle with theme.css). It holds what the pages repeated:

  • the reset: color-scheme, the panel font (--font-family-quick) at --text-body, box-sizing, the transparent body, no text selection outside the editable fields;
  • .panel-surface, the one panel surface: --material-glass, a 1 px --glass-border, --radius-surface and --shadow-surface, and with body[data-glass="true"] the frosted --material-glass-blurred with the light text roles (openspec/specs/web-panels/spec.md, "Glass with real blur"). It is main of quick settings, the tray and workspace menus and the volume indicator, main of the notification center (set by notifications.jsx), each popup li.card and the screenshot .toolbar. --panel-raised-surface is its solid layer for submenus and dialogs;
  • one header style: .panel-menu-title (--text-small, --weight-strong, muted) over a menu and .panel-heading (--text-title) over a panel; .panel-menu-status;
  • one menu: .panel-menu-list and .panel-menu-item, the HeroUI Menu of the tray and workspace menus, 32 px rows, --radius-item, the hover tone, the inset focus outline (--focus-ring-offset-inset) and the dimmed children of a disabled item; the separator of the list;
  • the focus outline of the scale on button, input and the HeroUI Button, ToggleButton and slider thumb instead of the HeroUI ring, --opacity-disabled, and the transitions --motion-fast / --motion-base with --ease-standard;
  • the track and fill of a HeroUI Slider or Meter (--panel-track-height, --radius-pill, the control tone and the accent).

Icons use only --icon-sm, --icon-md and --icon-lg; the 16 px grid icons draw at 16 px (.symbolic of quick settings was 18 px). The decorative props of an icon are iconProps of ui-src/host/system-icons.jsx. The volume indicator fills its fixed window with --radius-surface (it was a pill) and only fades, so the compositor glass matches it. The screenshot page uses --font-family-quick through the base (it read the undefined --font-ui), the palette for its dim (the wallpaper background tone), and the Gravity UI Xmark inlined in screenshot.html.

  • Volume indicator: main.volume-indicator holds the Gravity UI icon .volume-icon and the HeroUI Meter .volume-meter (also .meter), with .track (.meter__track), #fill.fill (.meter__fill, width from the value) and #value.value (.meter__output). The muted state is body[data-muted="true"] and a different icon; the --level variable is gone.
  • Notifications: #list.list holds li.card (also .card--default, the HeroUI Card) with .closed, .unread, .clickable, .entering and data-urgency, data-id; .card-head with .app, time and the close button .close (HeroUI Button, .button--icon-only, Gravity UI Xmark); .summary, .body, and .actions with .action (HeroUI Buttons, .button--secondary). The history header #center-header.center-header holds the Do Not Disturb switch .dnd (HeroUI Switch, .switch, .switch__content, .switch__control, .switch__thumb; the id #do-not-disturb is on its input[role=switch]) and #clear-all.flat (HeroUI Button with the Gravity UI TrashBin icon). #service-status and #empty stay. .flat[aria-pressed] is gone.
  • The panel CSS keeps the plain look: .card is display: block (the HeroUI Card is a flex column), the text buttons have height: auto, and .close, .action and .flat drop the HeroUI focus ring, so the button:focus-visible outline shows. The switch keeps the HeroUI ring on its track.
  • Tray menu (phase 4): main.tray-menu holds #tray-menu-title.tray-menu-title, #tray-menu-status.tray-menu-status and the HeroUI Menu #tray-menu-list.tray-menu-list (also .menu, role=menu). Each entry is a div.tray-entry (also .menu-item, React Aria data-hovered, data-focus-visible, data-disabled) with data-entry, not a button; its four grid cells are .tray-entry-check (Gravity UI Check, or CircleFill .tray-entry-radio for a radio), a span with the application icon img.tray-entry-icon, the label .tray-entry-label and .tray-entry-arrow (Gravity UI ChevronRight or ChevronDown). An open submenu is section.tray-submenu (also .menu-section, role=group) after its entry, not a nested ul. The separator is div.tray-separator[role=separator] (also .separator). The plain .tray-entry:hover, :focus-visible and :disabled rules are now the [data-hovered], [data-focus-visible] and [data-disabled] rules. The panel CSS keeps the plain grid, sizes, hover tone and focus outline over the HeroUI menu layers (no gap, no HeroUI padding, no ring).
  • Quick settings (phase 5): main.quick-settings-panel holds .panel-content (.dimmed while a submenu shows), the open submenu section.submenu and the confirmation #confirmation.quick-confirmation; React renders only the parts that show, so a hidden part has no element. The controls keep their IDs and classes (.system-row, .media-card, .sliders, .slider-row, .toggles, .quick-toggle with .toggle-main and .toggle-arrow, .extras, .extra-toggle, .icon-button, .back, .flat, .menu-list, .network-row, .device-row, .stream-row, .schedule-row, .settings-row). A toggle with aria-pressed is a HeroUI ToggleButton (also .toggle-button, data-selected); the other buttons are HeroUI Buttons (also .button). Each slider is a HeroUI Slider .quick-slider (also .slider, role=group with the ID and the label) with .slider__track, .slider__fill and .slider__thumb, and the visually hidden input[type=range] in the thumb; the --range-progress variable and the input[type=range] rules are gone. Icons are inline SVG with .symbolic (16 px since 2026-11-03, 18 px before, currentColor): Gravity UI icons and the own icons of ui-src/host/system-icons.jsx; the Yaru img elements, the --icon-filter use, .screenshot-icon, .power-icon and the .arrow text size are gone. .settings-row-icon, .device-check svg and .profile-check replace the text marks. The panel CSS stays unlayered: the button rule resets the HeroUI height, width, ring and colors, keeps the pointer events of a disabled control, and the :focus-visible outline stays (since 2026-11-03 from the panel base); the slider rules keep the 8 px track and the 16 px round thumb.
  • Settings dialog (phase 6): dialog#account-dialog.account-dialog has padding: 0 and overflow: visible. Its child .account-scroll holds the padding, the scroll and the maximum height. #account-overlays is the portal container of the dialog popovers, outside the scroller, so a popover is not clipped. React renders .account-header-root and .account-root (both display: contents). Each section is a section with its ID and class (.window-appearance, .window-control, ...) around a HeroUI Disclosure; the heading is .settings-heading with the trigger .settings-summary and the Gravity chevron .settings-indicator. The old summary rules are gone. The switches are HeroUI Switches (.overview-planes-toggle, also .switch, ID on the input[role=switch]). A color input is a HeroUI ColorPicker: .settings-color-trigger with .settings-color-swatch, and the popover .settings-color-dialog (area, hue slider, hex field). The window style fields are .window-style-field rows with a HeroUI Select or NumberField. The profile color swatches stay .profile-color-swatch (a HeroUI Button with --swatch, aria-pressed and its box-shadow ring) and .profile-color-remove shows the Gravity Xmark. host.css stays unlayered and turns off the HeroUI button box-shadow in the dialog, except on the swatch.
  • Model picker (phase 6): .model-picker-root (display: contents) in .model-row holds the HeroUI Button #model-select.model-select with .model-label and .model-select-icon. The popover is a React Aria popover in document.body: .model-picker-popover is a plain wrapper that React Aria positions, and the dialog #model-picker.model-picker inside it draws the panel and keeps the frosted glass rule. The search is .model-search-field (HeroUI SearchField, .search-field__group with the border) around the input #model-search.model-search; the list is #model-options.model-options with .model-option items. The keyboard highlight is [data-focused], not data-active, and the current model shows the Gravity Check in .list-box-item__indicator, not a text mark.

Conversation hierarchy (2026-10-29)

The protected area uses .composer-shell to join the form and the model/settings row visually. The existing nodes, IDs and listeners are kept; the same footer is still moved into the overview. The model selector is aligned to the left and the open panel stays in the top layer, not clipped by the glass.

The empty conversation shows .chat-welcome. CPU, memory and quota sit in the inspector .system-inspector, initially closed (a HeroUI Disclosure since phase 9 of openspec/changes/archive/2026-11-02-heroui-migration/design.md; a details element before). The dashboard queries metrics only when the panel is open, the conversation is empty, there is no draft and the presentation allows it to be shown. Closing, typing or leaving this presentation suspends the refresh. The open/closed state is local to the host, with no new persistent preference.

The notice about the previous profile is shown in full in Settings; the discreet .profile-notice-button button opens the dialog and moves focus to the notice. The /recovery page shows its own copy of the notice (#profile-migration-warning inside #recovery). No profile file is discarded.

The chat CSS reduces the spacing, aligns the user messages to the right and keeps the role names in the DOM for screen readers, with no visual repetition. The side index gets lower opacity at rest and returns to full opacity on hover/focus. Inline components keep their width and isolation. The values are configurable through --message-gap, --message-padding, --message-block-padding, --user-message-width, --message-index-opacity, --composer-radius and --welcome-composer-gap. A profile's custom CSS still prevails inside the ShadowRoot; this change does not rewrite that CSS.

Validation: 205 Node tests and the React harness with 45 PASS/DONE scenarios. On the HTTP host with synthetic transport, the empty screen, a Markdown conversation, the profile in Settings, metrics expansion, model search and protected sending were checked; the sending published an inline component and only prepared its action draft. The responsive 390x720 fixture used the host assets/state without the embedding policy of the main page: it confirmed no horizontal overflow, a fully visible field and zero metrics requests while collapsed; on opening, the first query happened, and on collapsing/sending it stopped updating. The real protected route was also inspected directly. No provider or real desktop socket was used. Electron, the compositor and the profile in use were not restarted by this proof, which is not an accessibility or security audit.

Date navigation and archived conversations (2026-10-29)

The overview groups the open workspaces by the last message sent (lastActivityAt), with a fallback to creation (createdAt): Hoje (Today), Ontem (Yesterday), Últimos 7 dias (Last 7 days), Últimos 30 dias (Last 30 days) and month/year. The limits are local calendar days. Inside each group, the most recent activity comes first; the numbers, shortcuts and identities of the workspaces stay those of the bar. Old conversations without a valid date go in Sem data registrada (No date recorded), with no migration that invents dates. Creation and an accepted send persist their respective timestamps; navigating, archiving and restoring do not make a conversation artificially recent.

Archived conversations appear in the overview itself, identified as Arquivada (Archived), with no number or shortcut of an open workspace. The protected field “O que você quer fazer?” (What do you want to do?) filters open and archived conversations by name, ignoring case, accents and word order. There is no separate search and no entry for archived conversations in Settings. Enter opens the first result; the down arrow moves focus to the first card. Clicking an archived one uses unarchive and returns to the existing conversation. The search does not send messages to the provider. The /name shortcut for applications keeps its flow. The conversation draft is stored separately from the overview query, including in the host reload checkpoint.

The overview has no general title and no instruction text, by decision of the user on 2026-10-29. It keeps the accessible name Workspaces, the close button and the groups by date. .workspace-date-group, .workspace-date-heading and .workspace-date-grid preserve the selectors of the focus, capture and zoom controls. The outer list is the only scroll container. There is no dragging of windows between cards.

Previews and cache

Smithay capture stays the priority. The controller already keeps in memory the last valid image during pending/unavailable states of the same instance; it does not reuse images from another instance. No persistent capture cache was introduced. When there is no usable image, the card shows a summary of the last two user/assistant messages, limited to 220 characters each, as literal text and with the identification Conversa (Conversation). With no messages, it reports that state. Archived conversations use the summary and do not enter the compositor capture requests. A ready capture replaces the summary; a workspace that is really empty goes back to the summary.

The earlier browser image showed unavailability because the fixture does not connect a compositor. A read-only inspection on 2026-10-29 confirmed ready=true, compositor connected and last capture ready=true, empty=true, error=null in the real session. This does not prove the capture of a workspace with applications and does not replace Electron QA. The investigation and the limits are in the QA report of this step.

Applications in the main field

The / prefix keeps the application selector in the protected composer. The results use a CSS grid with automatic columns of at least 220px (or the available width), wrapping onto new rows and explicit left alignment. Each card reserves 40px for the icon. Long names get an ellipsis; the full name stays in the button and in the accessible semantics. The option selected by keyboard is brought into the visible area of the selector.

The authenticated route /api/application-icon?application=<id> resolves only an exact catalog ID and its Icon metadata, under the allowed local roots of XDG/Flatpak/Snap icons. A Snap entry in /var/lib/snapd/desktop/applications named <snap>_<app>.desktop may also use an absolute Icon inside its own package, /snap/<snap>/; the resolved path of another package is refused. It validates the resolved path, the extension and the size up to 2 MiB. An unavailable icon for a valid ID answers 204; an unknown ID answers 404. It does not accept a file path in the query. The host gets the resource with the existing token and creates a local blob URL; URLs are limited to 32 entries and revoked on discard or pagehide. The CSP allows blob only as an image in this host context. The internal browser/terminal use local SVGs from the host; an item with no resolvable icon keeps the initial in a slot of the same size. No remote icons are loaded.