Search Chip Context Contract

Purpose

Rule (mandatory for page teams)

Source of truth

Runtime behavior

Page ownership workflow

  1. Add/adjust a context in SEARCH_CONTEXT_DEFINITIONS.
  2. Ensure page component exposes the same searchContextId (implements SearchContextComponent).
  3. Define or update presentation copy for the context rail.
  4. Add or update reasonFallback text for each base chip.
  5. Add/adjust unit tests in ambient-context.service.spec.ts.
  6. Add/adjust Playwright tests for route chips + action-driven chips.
  7. If the page adds custom controls inside the search panel, add focus-containment coverage so those controls do not dismiss the panel.

Non-goals