---
description: Exxat DS — Ask Leo thread primitives, sidebar, and escalation from command palette.
activation: model_decision
---

<!-- Synced from .agents/rules/exxat-ask-leo.mdc - run npx exxat-ui sync-extras after Cursor rule edits -->

# Exxat DS — Ask Leo

## Intent

Ask Leo is the **long-form AI** surface (`AskLeoSidebar`, `⌘⌥K`). Short search stays in **`CommandMenu`** (`⌘K`).

## MUST

1. Compose transcripts with **`Message`**, **`Bubble`**, **`Marker`**, **`MessageScroller`** — product wrapper **`LeoThreadMessages`**.
2. User / assistant / thinking variants per **`ask-leo-pattern.md`**.
3. No toast for streaming status — `Marker` + inline chrome only (`exxat-no-toast.md`).

## MUST NOT

- Fork per-surface transcript markup or manual scroll-stick logic.
- Use Lucide icons on Leo thread UI (`exxat-fontawesome-icons.md`).

## See also

- `exxat-command-menu.md`, `exxat-utility-bar.md`
- `exxat-leo-icon-motion.md` — animated Leo mark on buttons / FABs / floating actions
- `exxat-form-fields.md` — host forms beside Leo Assist Bar use DS Field / Input / Textarea
- `exxat-chart-leo-spotting` skill (plot insights only)

## Chat bubble and Leo generation

- **User bubble is washed-out grey.** `Bubble` default variant fills with `muted` mixed 70% with `background`, ink `foreground`. It is not the dark primary fill. Assistant stays `ghost`.
- **Leo creating data or components** (rows, cards, charts, sections) follows `exxat-leo-generation`: inited, thinking, completed, icon-only Stop, parent and child. Do not build a chat-style spinner for generated surfaces.
