GhostCommandPalette specification
Status: Approved for GHO-104. Approved direction (Zac, 2026-11-17, Option A): compose existing GhostDialog with useGhostCombobox to deliver grouped command results, keyboard highlight selection, and empty/loading presentation following the WAI-ARIA APG Combobox with list autocomplete pattern. Consumers own filtering, async result updates, command execution, and shortcut registration. The palette emits the selected command's stable identity and requests close on selection, subject to controlled-state ownership. Examples may demonstrate Cmd/Ctrl+K without installing a global listener. No global command registry and no built-in fuzzy search.
Dependencies: GhostDialog specification (GHO-28), GhostCombobox specification (GHO-32), and ADR 0012: Modal overlays.
Purpose and user problems
GhostCommandPalette is a modal command surface for power-user workflows: jumping to pages, running editor actions, switching themes, or invoking app verbs from a single searchable list. Users open the palette (commonly via a button or a documented keyboard chord such as Cmd/Ctrl+K), type to narrow results, move through grouped commands with arrow keys, and activate a command with Enter or pointer selection.
Applications need predictable overlay behavior (modal focus trap, scroll lock, background isolation, focus restoration) without reimplementing combobox semantics, live-region announcements, or stale async guards. The palette is a composition component: it coordinates a GhostDialog modal shell with useGhostCombobox combobox state behind a dedicated GhostCommandPalette* part tree. v1 ships only that part tree — no documented hand-assembly recipe for wiring GhostDialog and GhostCombobox without the palette root.
Non-goals
- A global command or shortcut registry, default Cmd/Ctrl+K listener, or framework-wide keybinding engine.
- Built-in fuzzy search, internal filtering, query highlighting, or ranking.
- Executing commands inside the component (consumers handle
commandevents). - Persisted selection / form submit integration (
name, hidden mirrors, ormodelValuecommit semantics likeGhostCombobox). - Multi-select or toggle commands.
- Creatable options, free-text values, or tag editing.
- Replacing
GhostDropdownMenuaction menus orGhostComboboxform fields. - Virtualization implementation or bundled virtualizer dependency.
- Changing
GhostDialogorGhostComboboxpublic contracts (includingGhostComboboxContentfloating behavior). The palette reuses documented dialog parts anduseGhostCombobox; it does not mountGhostComboboxContentor calluseFloatingfor the command list.
Public API
Parts and exports
Headless exports from @ghostvue/vue:
GhostCommandPalette— renderless root providinguseGhostDialoganduseGhostComboboxcontext, coordinating dialog open state, search/loading, command selection, and polite announcementsGhostCommandPaletteTrigger— optional control that opens the palette (wraps dialog trigger semantics)GhostCommandPaletteOverlay— modal backdrop whileopenandmodal=trueGhostCommandPaletteContent— modal dialog surface hosting the combobox (role="dialog",aria-modal="true")GhostCommandPaletteTitle— accessible dialog name (h2, linked viaaria-labelledby)GhostCommandPaletteInput— combobox query field (role="combobox")GhostCommandPaletteList— palette-owned listbox surface inside the dialog (always expanded while the dialog is open; no portal, nouseFloating, and no dependency onGhostComboboxContent)GhostCommandPaletteItem— one selectable command (role="option")GhostCommandPaletteGroup— optionalrole="group"wrapper for related commandsGhostCommandPaletteLabel— group label (idforaria-labelledbyon the group)GhostCommandPaletteEmpty— visible when the palette is open, not loading, and zero command items are registeredGhostCommandPaletteSeparator— visual group divider (role="none"), built onuseGhostSeparator; not a focus targetuseGhostCommandPalette— composable exposing reactive open/search/loading state,close(),open(), andfocusInput()useGhostCommandPaletteAsyncSearch— thin re-export or alias ofuseGhostComboboxAsyncSearchdocumenting stale-response protection for async command lists (samebegin/isLatestcontract tied to rootsearchevents)- Types:
GhostCommandPaletteProps,GhostCommandPaletteSlotProps,GhostCommandPaletteCommandPayload, part prop/exposed/context types for each part listed above (includingGhostCommandPaletteSeparator),UseGhostCommandPaletteOptions,UseGhostCommandPaletteReturn,GhostCommandPaletteContext,UseGhostCommandPaletteAsyncSearchReturn
Themed exports from @ghostvue/themes:
- The same part names with default modal shell, input, list, group, item, and empty styles via
--ghost-*tokens (mirrors dialog + combobox theming patterns)
Command identity and group semantics
Each GhostCommandPaletteItem must declare a stable string id that uniquely identifies the command within the palette instance for the current render (collisions are a development warning). The id is the command's public identity: it is the only value emitted on selection. Optional textValue supplies plain-text copy for announcements and the closed-state label when applicable; when omitted, the item's default slot text content is used.
GhostCommandPaletteGroup wraps related items. Groups are presentational and semantic only: the component does not filter or sort by group. Each group should include a GhostCommandPaletteLabel with a stable id so aria-labelledby links the group to its name. Groups do not nest in v1. Item order in the DOM is highlight traversal order (same contract as GhostComboboxOption).
Props and configuration
GhostCommandPalette (root)
| Prop | Type | Default | Contract |
|---|---|---|---|
open | boolean | undefined | undefined | Controlled dialog open state. Omit for uncontrolled. |
defaultOpen | boolean | false | Initial open in uncontrolled mode. |
search | string | undefined | undefined | Controlled query text. Omit for uncontrolled search. |
defaultSearch | string | '' | Initial query when search is omitted. |
loading | boolean | false | Shows loading presentation; announces via polite live region; sets aria-busy on the listbox. |
modal | boolean | true | Passed through to dialog: focus trap, scroll lock, inert siblings, overlay. |
disabled | boolean | false | Prevents opening and disables input/items/trigger. |
closeOnSelect | boolean | true | When true, requests dialog close after a successful command selection (see Selection versus close timing). |
closeOnEscape | boolean | true | Whether Escape closes the dialog (combobox list close is subsumed by dialog close). |
messages | GhostComboboxMessages | English defaults | Overrides loading, empty, and results-count polite strings (same type as GhostCombobox; English defaults built in). |
search updates on input input events (every keystroke). Root increments an internal searchRequestId on each change and emits search with payload { query: string, requestId: number } (same monotonic contract as GhostCombobox).
GhostCommandPaletteTrigger
Same contract as GhostDialogTrigger (as, disabled).
GhostCommandPaletteOverlay / GhostCommandPaletteContent
Same portal, modal, dismissal, and focus-target contracts as GhostDialogOverlay / GhostDialogContent, with these palette-specific defaults:
GhostCommandPaletteContentsetsinitialFocusto resolve the command input when not overridden.GhostCommandPaletteContentdefaultcloseOnOutsideClickistrueforrole="dialog".GhostCommandPaletteListrenders in normal document flow inside content. BecauseGhostComboboxContentalways anchors withuseFloating, the palette list is a separate part that reads the sameuseGhostComboboxcontext and renders listbox semantics without importing or wrappingGhostComboboxContent.
Optional returnFocus / initialFocus on content follow GhostDialogContent (GHO-209): resolvers run at activation and close, supporting shortcut openers that are not the visible trigger.
GhostCommandPaletteTitle
Same as GhostDialogTitle (as default 'h2'). Required accessible name: modal palettes must expose a name via GhostCommandPaletteTitle or consumer aria-label / aria-labelledby on content (reuse dialog GHOST002 dev warning when missing). There is no hidden default title; docs show a visually hidden Title for icon-only chrome.
GhostCommandPaletteInput
Same presentation props as GhostComboboxInput (as, disabled, placeholder via root or prop). Keyboard handling lives in GhostComboboxInput.vue (handleKeydown), not in useGhostCombobox (which exposes moveActive, select, and related APIs only).
GhostCommandPaletteInput copies that keydown handler so Arrow keys, Home, End, Escape, and IME composition guards stay aligned with the combobox input. It does not import GhostComboboxInput (palette avoids mounting combobox chrome parts). Enter must not call context.select(): it reads activeOptionValue and invokes palette activateCommand(id) instead.
Palette activateCommand emits command, optionally requests dialog close, and never calls select(), never assigns combobox modelValue, and never replaces the search query with the item's textValue (so consumers do not get spurious update:search / search emissions or stale selected state on the next open).
GhostCommandPaletteList
Hosts the listbox (role="listbox", aria-labelledby → input id, aria-busy when loading). Static layout inside the dialog only: no placement, offset, flip, shift, strategy, portal, or portalTo props and no positioned left/top styles. Accepts consumer class / style merge for scrollable max-height styling.
GhostCommandPaletteItem
| Prop | Type | Default | Contract |
|---|---|---|---|
id | string | (required) | Stable command identity; registry value for highlight; emitted on command. |
disabled | boolean | false | Excluded from keyboard highlight and activation; aria-disabled / data-state="disabled". |
textValue | string | undefined | Plain label for AT and announcements; falls back to flattened default slot text when omitted. |
Primary pointer activation on an enabled item calls the same activateCommand(id) path as Enter on a highlighted item (never select()).
GhostCommandPaletteGroup / GhostCommandPaletteLabel
Same group/label contract as GhostComboboxGroup / GhostComboboxLabel.
GhostCommandPaletteSeparator
Built on useGhostSeparator. Renders a visual divider between groups or items with role="none" (presentational only; no keyboard target). Accepts consumer class / style merge. data-part="separator".
GhostCommandPaletteEmpty
Renders when the dialog is open, loading is false, and registered item count is zero. No ARIA role (plain message); root live region announces the empty result when appropriate.
v-model contracts
| Role | Prop | Emit | Uncontrolled initial |
|---|---|---|---|
| Open | open | update:open | defaultOpen |
| Search | search | update:search | defaultSearch |
There is no selection modelValue. Command choice is an event, not persisted widget state. The palette does not call useGhostCombobox's select() on activation; combobox selection state must remain unset so reopening shows an empty query (subject to consumer-controlled search) with no option marked selected.
Open and search use useControllableState. Switching controlled ↔ uncontrolled after setup is unsupported (GHOST001).
Command activation (not select())
GhostComboboxInput wires Enter to context.select(active); select() in use-ghost-combobox.ts commits modelValue, copies the option label into the search field, and closes the list. That behavior is correct for form comboboxes but wrong for a command palette: activation would emit update:search / search (triggering consumer refetches) and leave a committed selection visible on the next open.
Palette activation uses a dedicated activateCommand(id) path on the palette root (invoked from GhostCommandPaletteInput on Enter and from GhostCommandPaletteItem on pointer activation):
- No-op when
disabled, item disabled, or missing id. - Emit
commandwith{ id }synchronously. - Do not call
select(), do not mutate combobox selection /modelValue. - Do not write the item's
textValueintosearch(query text stays as typed until close cleanup or explicit consumer control). - When
closeOnSelectistrue, continue with dialog close and search reset per Selection versus close timing.
Highlight APIs (moveActive, setActiveOptionByValue, registry keyed by item id) still use useGhostCombobox; only the commit primitive differs.
Events, slots, and exposed methods
update:open—[open: boolean]when the dialog should open or close.update:search—[search: string]on query changes.search—{ query: string, requestId: number }after each query change (alongsideupdate:search).command—GhostCommandPaletteCommandPayload:
interface GhostCommandPaletteCommandPayload {
/** Stable command identity from the selected item's `id` prop. */
id: string
}Emitted synchronously when the user activates an enabled item (Enter with highlight on that item, or primary pointer activation). Not emitted for disabled items or when the palette is disabled. The event is not cancelable (fire-and-forget). Consumers run side effects here.
- Default slot receives
{ open, search, loading, close, focusInput }. - Each part exposes
{ element: HTMLElement | null, focus(options?: FocusOptions): void, blur(): void }. - Root /
useGhostCommandPalette:open(),close(),focusInput().
Slots on items and groups allow icons, shortcuts (GhostKbd), and secondary description text; these are consumer markup, not parsed by the palette.
Selection versus close timing and controlled rejection
On successful command activation:
- Emit
commandwith the item'sid(step 1 always runs). - When
closeOnSelectistrue, request dialog close: emitupdate:openwithfalse(uncontrolled internal state updates when not controlled). - Reset transient search to
defaultSearch(''by default) as part of close cleanup (emitupdate:searchandsearchwith a newrequestIdwhen the query actually changes). - Dialog focus restoration runs via
GhostDialogContent/useFocusScope(returnFocusresolver or saved opener).
When the parent controls open and rejects close (keeps open === true after step 2):
- The
commandevent has already fired; consumers must treat execution as idempotent if needed. - Focus remains on the combobox input unless the consumer moves it.
- Search reset on close is skipped while the dialog stays open (the query stays as typed so the user can pick another command).
When the parent controls search and rejects a search reset during close, the parent's search wins (same pattern as combobox controlled rejection).
closeOnSelect: false supports multi-invocation sessions (for example, preview-then-confirm flows): search text stays after command and clears only when the palette actually closes. Escape and explicit close() still dismiss.
State model
| Surface | data-part | Notable state |
|---|---|---|
| Trigger | trigger | data-state="open" | "closed" |
| Overlay | overlay | data-state="open" while mounted |
| Content | content | data-state="open"; dialog role |
| Input | input | data-state="open" while dialog open |
| List | list | data-part="list"; hosts listbox |
| Item | item | data-state="disabled" when disabled; highlight via combobox |
| Empty | empty | visible per empty contract |
- Dialog states:
'closed'and'open', matchingGhostDialog: logical close releases focus, scroll lock, and backgroundinertat once, and content and overlay unmount after their CSS exit motion (presence spec). - While the dialog is open, the internal combobox list is held open (
open === trueon the composed combobox). Closing the dialog tears down the list. - Highlight:
aria-activedescendanton the input references the active item; keyboard moves among enabled registered items in DOM order.
Loading, empty, disabled, and overlapping states
| State | Precedence / behavior |
|---|---|
| Disabled | Blocks open, search, and selection; aria-disabled on input and trigger. |
| Loading | Hides GhostCommandPaletteEmpty; polite "Loading results" announcement; listbox aria-busy="true". |
| Empty | Open + !loading + zero registered items → show GhostCommandPaletteEmpty. |
| Loading ∧ results | When loading is true and items remain mounted, keep showing items (stale results) while announcing loading; consumer may clear items concurrently (see async). |
Disabled items remain visible but cannot be highlighted or activated.
Async behavior
The palette does not await fetches. Consumers:
- Listen to
search/update:search. - Set
loadingwhile fetching. - Call
begin(payload.requestId)fromuseGhostCommandPaletteAsyncSearch, then update command children only whenisLatest(payload.requestId)is true.
Stale responses must not replace newer results, clear loading, or mount items for an outdated query. Documentation and examples must include an out-of-order response test (fast-then-slow race) mirroring GhostCombobox async examples.
When options unregister during async replacement, highlight and announcements update without emitting command or changing prior emissions.
Consumer data
Commands are compound children, not object-array props. Consumers:
- Render
GhostCommandPaletteItemnodes (possibly inside groups) for each command surfaced for the current query. - Own filtering: mount/unmount or
v-ifitems based onsearchand app logic. - Own execution in the
commandhandler (navigation, mutations, toasts). - Own shortcut registration: global or local
keydownlisteners callopen(); the palette does not register listeners.
Optional consumer convention (not enforced): keep a static command catalog in application code keyed by the same id strings passed to items.
The component does not mutate consumer-owned catalogs or filter strings.
Accessibility contract
Semantics and relationships
GhostCommandPaletteTrigger:type="button"whenas="button",aria-haspopup="dialog",aria-expanded,aria-controls→ content id.GhostCommandPaletteContent:role="dialog",aria-modal="true"whenmodal=true, labelled byGhostCommandPaletteTitleor consumeraria-label/aria-labelledby.GhostCommandPaletteInput:role="combobox",aria-autocomplete="list",aria-expanded="true"while dialog open,aria-controls→ listbox id,aria-activedescendantwhen highlight present.- Listbox:
role="listbox",aria-labelledby→ input id,aria-busywhen loading. When open, not loading, and zero items, drop listbox role and show empty message as plain text (combobox pattern). - Items:
role="option", notaria-selectedpersistently (no committed selection); disabled items usearia-disabled="true". - Groups:
role="group"+aria-labelledby→ label id. - Polite live region on root announces loading transitions and result counts when not loading (count = registered enabled items, matching combobox).
Development: reuse GHOST002 when dialog content lacks an accessible name.
Keyboard interaction
Palette input keeps focus; the list does not take roving tabindex (APG combobox). Input key handling is implemented in GhostCommandPaletteInput (copied from GhostComboboxInput.vue); useGhostCombobox supplies highlight movement only.
| Key | Where (focus on input, dialog open) | Behavior |
|---|---|---|
ArrowDown / ArrowUp | Input | moveActive; updates aria-activedescendant among enabled items. |
Enter | Input | activateCommand(highlighted id) → command + optional close; not select(). |
Escape | Input / dialog | Dialog closeOnEscape closes palette; clears highlight; no command. |
| Printable keys | Input | Updates search; consumer updates items. |
Home / End | Input | First / last enabled item highlight. |
Tab / Shift+Tab | Inside dialog | Loops within modal dialog when modal=true. |
IME composition guard matches GhostComboboxInput (isComposing, keyCode 229): arrow keys, Home/End, Enter, and Escape do not move highlight or activate until composition completes.
Documented application shortcut (for example Mod+K) is implemented in examples via an explicit listener that calls open(); the palette does not intercept keys while closed.
Focus behavior
Entry: Opening moves focus to the command input via dialog initialFocus (after focusReady / portal placement per dialog spec).
While open: Focus stays on the input for typing and list navigation (aria-activedescendant). Pointer activation on items does not move persistent focus to the list (mousedown prevention on non-focusable list chrome matches combobox).
Exit: On close (selection with closeOnSelect, Escape, outside click, close()), useFocusScope restores focus per returnFocus or the element that was focused before open (including shortcut openers without a trigger).
Cross-overlay: Nested portaled overlays inside a modal palette follow ADR 0012 and the dialog e2e contract: a portaled GhostPopover opened from a palette item owns Tab while focus is outside the dialog root; inline (portal=false) popovers keep Tab bounded inside the modal dialog.
Combobox focus departure (GHO-166): When focus leaves the combobox input (and associated trigger/list widget) while the dialog stays open: modal=true (the default) does not close the dialog (nested portaled overlays per ADR 0012 may take focus while the modal shell stays open). modal=false closes the palette, following the combobox focus-departure contract in GHO-166. Closing the dialog always clears search (when close succeeds) and restores focus.
Assistive technology expectations
- Opening announces dialog name (title).
- Result count announces when the item set stabilizes and
loadingis false. - Loading announces on transition to
loading=true. - Empty state announces when the registry is empty and not loading.
- Activating a command does not require a separate "selected" announcement; consumers may announce action outcomes after
command.
Rendering and customization
Stable data-part hooks: trigger, overlay, content, title, input, list, item, group, label, separator, empty. data-state mirrors dialog/combobox where applicable.
Themed classes: .ghost-command-palette-content, .ghost-command-palette-input, .ghost-command-palette-list, .ghost-command-palette-item, etc., using --ghost-* tokens (scrim/elevation from dialog; list/input from combobox).
Consumer class / style merge on all parts. Highlighted item styling uses focus-ring token inset on the active item (same rationale as themed combobox).
List region should support overflow: auto with a documented max-height token for long command sets.
Environment behavior
SSR and hydration
useGhostId for dialog and combobox ids. Closed palette: SSR outputs trigger only (dialog/combobox subtrees unmounted). defaultOpen: true is supported with expectSsrHydration coverage for initially open palette (input + inline list).
Mobile and touch
Modal layout; virtual keyboard edits the input; list scrolls inside content. Outside tap dismisses when closeOnOutsideClick is enabled.
Performance
No global listeners when closed. Filtering is O(n) consumer render cost. Item registry bookkeeping matches combobox (insertion-ordered map, O(1) per item update). Large command sets should use consumer-driven virtualization with stable id values and mounted-slice highlight rules (documented pattern and example only; no virtualized prop on the palette root). No internal fuzzy search.
Composition
Internal implementation composes (does not fork):
GhostDialog/useGhostDialog— overlay, content, focus trap, scroll lock, inert, dismissal (GhostCommandPalette*dialog parts delegate here)useGhostComboboxat the palette root — search, highlight, item registry,aria-activedescendant, polite live region,searchRequestId(without mountingGhostCombobox/GhostComboboxContentand without callingselect()on activation)- Palette-owned parts (
GhostCommandPaletteInput,GhostCommandPaletteList,GhostCommandPaletteItem, group/label/empty) consume that context. Input keyboard behavior is copied fromGhostComboboxInput.vue. The list part renders listbox markup in-flow withoutuseFloatingorGhostComboboxContent. useControllableState,useGhostIduseGhostComboboxAsyncSearch(exposed as palette async helper)- Palette root
activateCommand(id)— emitscommand; neverselect();
Palette root synchronizes dialog open with list availability while the dialog is open. Item id values register as combobox option values for highlight only.
No useRovingFocus on the list. No new overlay primitives. No public changes to GhostCombobox or GhostComboboxContent (palette does not mount them; copying input keydown does not change combobox exports). No documented manual Dialog + Combobox recipe — consumers use GhostCommandPalette*.
Test plan
- Vue unit:
v-model:openandv-model:search; monotonicsearch.requestId;useGhostCommandPaletteAsyncSearchstale discard; highlight + Enter/Escape; Enter / pointer activation never callsselect(); search text unchanged oncommand; no combobox selection after close/reopen; disabled items skipcommand;commandpayloadid;closeOnSelecttrue/false; loading hides empty; empty visibility; controlledopenrejection aftercommandkeeps palette open without duplicatecommandon same activation; controlledsearchrejection on close; search reset when close succeeds; dialogdisabled/modal=falsepassthrough; item registry order after filter/reorder; cleanup on unmount; collision warning for duplicateid;GhostCommandPaletteSeparatorexposesrole="none"and is not tab-focusable; rootmessagesoverrides change loading/empty/results announcements; C4modal=truestays open when focus leaves the combobox input;modal=falsecloses per GHO-166; GHOST002 dev warning when dialog content lacks an accessible name - SSR:
expectSsrHydrationfor closed anddefaultOpenpalettes - E2E + axe: keyboard-only activation path,
aria-activedescendantsync, grouped labels, loading/empty announcements, focus trap and restore (trigger and programmatic opener), overlay/Escape dismiss, async example race, cross-overlay Tab with nested portaled popover inside modal palette, IME guard smoke (reuse combobox IME spec patterns where applicable) - Visual:
command-palette/themedviapnpm test:visual:dockerafter implementation - Types: consumer compile fixture importing all exported types
Documentation plan
After implementation (not in this spec-only PR):
docs/components/command-palette.mdAPI reference with<GhostExample />entries underexamples/command-palette/:basic— static grouped commandsasync—useGhostCommandPaletteAsyncSearch+ stale-response demoshortcut— Mod+K listener callingopen()without global registrythemed— token styling- keyboard hints — consumer markup after
GhostCommandPaletteListusingGhostKbd(no footer slot on the palette root)
- Playground section; manifests via
pnpm manifests:write; roadmap row update to reference approved spec; sidebar viaapps/docs/.vitepress/docs-nav.tsif needed; spec route/specs/command-palettefrom this file
Compatibility and release impact
Additive minor Changesets for @ghostvue/vue and @ghostvue/themes when implemented. No breaking changes to Dialog or Combobox.
Resolved decisions
- C1 — Dedicated parts: Ship only the
GhostCommandPalette*tree; no documented hand-assembly recipe. Reason: One supported integration path. Approved by Zac, Nov 22, 2026. - C2 — Accessible name: Title or
aria-label/aria-labelledbyrequired; reuse dialog GHOST002; no hidden default title; docs show visually hiddenTitlefor icon-only designs. Reason: Matches dialog naming discipline. Approved by Zac, Nov 22, 2026. - C3 — Search when staying open: Whenever the palette stays open after
command(parent keepsopen === true, orcloseOnSelect=false), search text is kept; it clears only when the palette actually closes. Reason: Multi-pick sessions without losing the query. Approved by Zac, Nov 22, 2026. - C4 — Focus leaving input:
modal=truedoes not close on combobox focus departure;modal=falsecloses per GHO-166; nested popovers may take focus in modal mode. Reason: Modal shell vs non-modal combobox semantics. Approved by Zac, Nov 22, 2026. - C5 — Separator: Add
GhostCommandPaletteSeparator(role="none", built onuseGhostSeparator). Reason: Visual grouping without fake semantics. Approved by Zac, Nov 22, 2026. - C6 — Footer: No footer slot; document consumer markup after
ListwithGhostKbdin one example. Reason: Keeps the root API small. Approved by Zac, Nov 22, 2026. - C7 —
commandevent: Not cancelable. Reason: Simpler activation contract. Approved by Zac, Nov 22, 2026. - C8 —
messages: Rootmessagesprop usesGhostComboboxMessageswith English defaults. Reason: Consistent i18n override pattern (GHO-43). Approved by Zac, Nov 22, 2026. - C9 — Virtualization: Documentation and example only; no
virtualizedprop. Reason: Consumer owns list slicing. Approved by Zac, Nov 22, 2026. - C10 —
commandpayload:{ id }only;textValueis for AT/labels, not the event. Reason: Handlers key off stable ids. Approved by Zac, Nov 22, 2026.