↓ Skip to main content

0006. Surfaces: one core, four sizes, a card answered where you are

Documented version: v0.1.9

Status: Accepted, 2026-10-11. Consolidated on 2026-10-12 from former 0008, former 0009, former 0022, former 0023, former 0024 and former 0030. Amended on 2026-10-16: the Nest has no Tasks tab.

Context
#

Users want several levels of presence: the island, a tray icon, a corner widget, notifications, a palette, a full app. Built naively, each would re-implement who needs attention, which session is in front and how a card ended. The owner’s Living Flock prototype (design/explorations/08-living-flock.html) draws the app as one identity at four distances, with the flock in a shared sky in every size. Some surfaces show agents’ text, which may carry words meant to steer whatever reads them.

Decision
#

  • Meaning in core, look in the surface. core says who needs the user (an ordered attention level), which session is in focus, and how each card ended (here, in the terminal, expired, by a rule). Surfaces choose clips, icons, colors and sounds, from one small view model (a projection per surface only when a payload grows), and speak only in Intents through the same commands.
  • Quick’s action inbox: Flock, Chat and Now, with Settings in the gear. Now presents one ViewModel.inbox from core/app, including deferred offers, session problems, actionable connector rows, Chat requests and memory proposals. A row opens its existing interaction owner; no inbox operation answers a permission or executes the destination’s action. Activity and Connections keep their full views in the Nest.
  • Four sizes: Mini is the pill (340 x 38, the flock and no text at rest: news reaches it only as a body, a color or a motion; active dictation has the transient feedback below). Quick is the island inside the fixed 880 x 640 logical-pixel layer surface: 440 CSS px wide normally, 492 CSS px in Chat, before the UI’s 1.14 zoom (502 and 561 logical px respectively). Height stays within 556 CSS px (634 after zoom), clamped further if the viewport is smaller. Mini and Quick may share a user-selected width of 560, 680 or 760 logical pixels, saved as local presentation state. Default restores the original per-size/per-tab widths and Quick height; Room and Full are unaffected. Mini stays 38 logical pixels high for every width. A selected width caps Quick at 600 logical pixels, including inline dictation feedback. General > Appearance and Quick > General edit the same presentation preference; shared storage notifications and refocus keep both controls current. Selected dimensions are clamped to both the viewport and available screen space, with Quick zoom applied exactly once. Selection never resizes the mapped layer surface. Only the measured visible rectangle takes input. Mini’s overflow is an icon-only list button with a localized hidden-session count for assistive technology. Reserve a separate hit target before placing birds. It opens the Nest’s Flock through the existing surface transition; it never decides, releases or changes an offer. Room is the Nest window, resizable down to 480 x 360 px with no maximum, first opened large within the screen. Full is the Nest maximized or in full screen; Esc returns to the size before it. The layer-shell overlay never grows past its fixed size.
  • Surfaces at rest are layer surfaces mapped once at a fixed size, one input region each; the corner widget sits in a corner the user picks and is not a window to drag. At rest the island and passive Linux dictation webview live, plus the widget if chosen; the Nest is created when opened. The dictation surface stays transparent when idle. The palette is not a surface: it opens inside the island’s or the Nest’s page.
  • A card is answered where the user is: on the island or in the Nest. The island holds permission and question cards and Ctrl+Alt+Y/N (in panel mode it anchors by the tray, the same window). The Nest answers the flock’s cards (Allow, Deny, Always allow, a question’s choices, Reply in the terminal) on the Flock’s card of the session in front, and its Chat’s cards in the Chat, with the island’s buttons and rules: destructive keeps Deny the bright one and offers no Always (0002). The user is in the Nest when its window has the focus and shows the Nest, not Settings; then a card does not open the island, the Nest’s need strip and sound say it waits, and Ctrl+Alt+Y/N answer the card on screen there. Anywhere else a card opens the island, so an agent never waits unseen. Going into the Nest folds an island that holds a card; leaving it brings the island back. Only these two answer: the app checks the webview behind each answer, and Settings, the widget and the palette never do. Every answer is still a click (or its key) by the user, and is audited. A paired phone may also answer (0002).
  • No presence mode leaves an acknowledged card unseen. In Island, Panel and Quiet a pending card opens the island and plays its sound, or, in the Nest the user is in, shows in its need strip with its sound (Quiet only quiets what happens at rest). In Paused core does not acknowledge cards and releases them at once, so the agent asks in its terminal with no wait, and connectors stop polling.
  • The Nest has Flock, Chat, Connections and Activity (Week with By project, History, Cost, Traces, Audit), with Dictation as the fifth tab. Memory is a side panel of the Chat, with Settings behind a gear and the agents’ capability table in Settings › Agents. Changing size keeps the selection: the session is core’s focus; the tab, filters and chosen connection are look the app hands to the Nest. The Nest opens with Zeca off, without the Chat tab and Ask Zeca (D7). Activity keeps the spend figures, including historical task:N rows; Settings keeps the budget value. /continue remains in Chat; it does not bring back a Tasks surface. Stop is available only for an execution Vults started through its supported driver (D8), never merely because it watches a flock session.
  • Dictation has one owner for each kind of content. Its Nest area owns History, Voice commands, Talk with Zeca, Meetings, Dictionary and Snippets as those phases ship. The Dictation tab also presents its configuration in separate Voice, Keyboard shortcuts, Command settings, Vocabulary, Styles, Paste, Privacy and Diagnostics pages, with the same navigation as its work pages. Voice owns the shared transcription model and spoken language; Chat & voice links there. Statistics links to Activity > Dictation, the aggregate owner. Configuration still runs in the Settings webview, with existing label checks; Nest gains no model, key, budget, insertion-permission or agent-config authority. Each setting has one editor. Transcripts and meeting content stay in the Nest’s webview; Diagnostics in Settings shows technical measurements, not transcripts or agent text. Selection, filters, drafts and an active recording survive size changes and visits to Settings or Activity. With Zeca off, independent dictation stays available; Talk with Zeca follows his opt-in.
  • Linux dictation feedback has its own passive capsule. A fixed bottom-centered surface shows a microphone and measured bands while listening, an amber border hands-free, and existing transcription/result states. It uses the production theme, never takes keyboard or pointer input, and stays transparent when idle. An optional caption above holds heard/result text and retains its existing two-second result expiry. There are no buttons or independent audio owners. Island/Nest feedback is suppressed while this surface exists; creation failure retains inline feedback. This is a passive status exception to the main island/Nest surface rule.
  • Cards always take priority over dictation. Pending cards, screen lock and Paused presence hide the capsule; expired results do not return afterward. Feedback never covers, answers or delays a card, grants insertion, or steals focus. Cards retain their existing island/Nest routing. The fixed surface remains mapped with an empty input region, even while visible.
  • One surface at a time (the island and the Nest stay two surfaces underneath). While the Nest is open and in sight (Room or Full), the island is hidden, pill and sky and all, with no region that takes the mouse. It comes back when the Nest closes or goes back to Quick or Mini (or is minimized, where the system says so); the footer’s Back to the island is Quick. Nothing else wakes it but a card while the user is outside the Nest; answered, it folds after its usual delay and rests hidden again.
  • The Nest’s window (nest-window) moves, resizes and is in Alt+Tab, without the system’s title bar: the prototype’s rounded frame, a header that moves it, edges that resize it. It holds two webviews under one header, the Nest’s (nest) and Settings’ (settings), one shown at a time. The gear shows Settings; a tab shows the Nest; open_settings(section) opens the window on Settings, at a page when asked. Dictation configuration uses that same privileged webview while keeping the Dictation tab selected.
  • Only Settings’ webview holds the powers: writing an agent’s config (0003), saving or clearing a key, making or taking a policy, pairing, revoking or reaching a phone (0002), and turning on a request on the user’s behalf (0004). Commands check the label of the webview that called, never the window’s (settings_page, policies::from_settings). The two webviews share the origin’s storage, which Settings never reads. Settings shows no agent’s text: its frame holds tab names and counts, the presentation menu (the four sizes and sounds), and a footer that switches Zeca and brings up the terminal of the session in front (it keeps only who that session is). Its pages are General, Agents, Chat & voice, Approvals, Projects, Activity, Connectors, Phone, Flock & Zeca and About. Dictation configuration uses this webview under its own tab, outside the global Settings sidebar.
  • A surface offers only the actions that work. The app reaches an agent only while a hook waits and does not own a watched agent’s process, so a menu shows what works on this desktop and says when it cannot (Open terminal where a window cannot be raised offers the folder). Stop only for an execution Vults started through a supported driver. Mute, pin and hide are kept per project folder, because sessions come and go.

Consequences
#

  • A test checks every preset: an acknowledged card is always shown, on the island or in the Nest the user is in, and Paused never acknowledges one. While a card waits, the agent’s terminal says Waiting for your answer in Vults; the palette’s Review its card opens it in the Nest or on the island. The Nest open behaves as the Panel preset’s rest for the island.
  • A future page picks its webview by what it shows: agents’ text goes in the Nest’s, powers in Settings’. A surface that needs a power opens Settings at its page.
  • Child webviews need Tauri’s unstable feature. On Linux the webviews of a window share its box, so they are switched, never laid over each other, and the hidden one is kept out of GTK’s show-all. Opening on Settings loads the Nest’s page too, hidden and resting. An event the app sends reaches every webview’s listeners; a page still draws only what it asked for.
  • On Wayland the compositor places the Nest’s window; it cannot be pinned under the island’s spot.
  • UI checks must exercise each dictation state alongside an arriving permission or question, with Zeca on and off, Black and Light, and reduced motion. Native validation covers Mini/Quick geometry, focus and input regions, plus Room at 480 x 360 and larger sizes, on X11 and Plasma Wayland.

History
#

  • former 0008, 2026-10-04: one core, many surfaces; the island is the only card host.
  • former 0009, 2026-10-04: no presence mode hides an acknowledged card.
  • former 0022, 2026-10-12: only Settings holds the powers (then as a window of its own).
  • former 0023, 2026-10-12: Settings becomes a webview of the Nest’s window; checks go by webview label.
  • former 0024, 2026-10-12: the island steps aside while the Nest is open.
  • former 0030, 2026-10-12: the Nest answers a card too, while the user is in it.
  • 2026-10-16 (former 0031): remove Tasks from the Nest; keep D7, spend and budget, and the D8 boundary for /continue.
  • 2026-10-17: Quick’s Now inbox opens each row’s owner and never answers a card.
  • 2026-10-17 to 2026-10-19: Dictation becomes the fifth Nest tab; its configuration stays in the Settings webview, its Linux status moves to a passive capsule, and cards always come first.
  • 2026-10-21: Mini and Quick share a chosen width inside a fixed overlay that is never resized; Mini stays 38 px high.
  • 2026-10-21: agent profiles live in Flock and the Nest owns their saves; no new main tab.
  • 2026-11-11: one presentation menu in the headers replaces the size switch, full screen and sound toggle.
  • 2026-11-15: fold in Offer only the actions the agents allow (former 0011), which is retired.