# Contextual Command Bar ("Ask Stella") ## Status VERIFIED ## Description Scoped command bar that auto-scopes to current context with suggested prompts and supports contextual/freeform Ask Stella queries. ## Verification Notes Previously marked as dropped in planning metadata; QA verification confirmed implementation. The following components exist: - `src/Web/StellaOps.Web/src/app/shared/components/ai/ask-stella-button.component.ts` -- floating button to open the panel - `src/Web/StellaOps.Web/src/app/shared/components/ai/ask-stella-panel.component.ts` -- contextual panel with suggested prompts - E2E tests at `src/Web/StellaOps.Web/src/app/shared/components/ai/__tests__/ask-stella.e2e.spec.ts` verify: - Button visibility and panel toggle - Context-scoped suggested prompt chips (auto-populated based on current page context) - Context awareness chips showing current page/component context - Prompt submission with loading state and response display ## Implementation Details - Button component: `ask-stella-button.component.ts` - Panel component: `ask-stella-panel.component.ts` with `.ask-stella-panel__prompt-chip`, `.ask-stella-panel__context-chip`, `.ask-stella-panel__response` selectors - AI assist panel: `ai-assist-panel.component.ts` - LLM unavailable fallback: `llm-unavailable.component.ts` - E2E test: `ask-stella.e2e.spec.ts` (5+ test cases covering button, context, prompts, responses) ## E2E Test Plan - Already has E2E tests covering core functionality - Additional coverage: verify context scoping changes when navigating between pages ## Source - Feature matrix scan ## Notes - Module: Web - Modules referenced: `src/Web` - Feature reclassified from historical NOT_FOUND metadata and verified in run-001. ## Verification - Date: 2026-02-10 - Run artifacts: docs/qa/feature-checks/runs/web/contextual-command-bar/run-001/ - Tier results: - tier0-source-check.json: pass - tier1-build-check.json: pass - tier2-e2e-check.json: pass ## Recheck (run-003) - Date (UTC): 2026-02-11 - Status: VERIFIED (strict Tier 2 UI replay) - Tier 1 evidence: Focused contextual-command-bar suites passed 5/5 across 2 files. - Tier 2 evidence: `docs/qa/feature-checks/runs/web/contextual-command-bar/run-003/tier2-ui-check.json` - Replay scope: - Navigate to `/qa/web-recheck` and verify Ask Stella contextual controls are visible. - Replay suggested prompt actions (`Explain Reachability`, `Show Minimal Evidence`). - Submit freeform ask query and verify close event is recorded. ## Recheck (run-004) - Date (UTC): 2026-02-11T10:08:09Z - Status: PASSED (strict Tier 2 UI replay) - Tier 2 evidence: docs/qa/feature-checks/runs/web/contextual-command-bar/run-004/tier2-ui-check.json - Notes: Verified via /qa/web-recheck contextual ask bar prompt and freeform interaction flow.