---
id: TST-PFM-CSH-025
title: Quick Search key matching
kind: unit
product_area: platform
module: console-shell
revision: 1
status: draft
source_sha:
  rhythm-v2-docs: 25e253cb434aac6603ee294e3ca197ab6c4bfd0b
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
repository: react-console
files:
  - lib/quick-search/__tests__/shortcut.test.ts
implements:
  - ATS-PFM-CSH-003-01
  - ATS-PFM-CSH-003-03
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 1
isolation: >-
  Independent in-memory fixtures, static rendering or read-only source
  inspection; mocked listeners and global state are restored by the test.
evidence:
  - >-
    react-console:lib/quick-search/__tests__/shortcut.test.ts at
    baf6dae382d6f41dce976c7f848667ccc37e076f
  - >-
    react-console:lib/quick-search/__tests__/shortcut.test.ts#accepts Cmd+K and
    Ctrl+K, whatever the machine is
  - >-
    react-console:lib/quick-search/__tests__/shortcut.test.ts#accepts an
    upper-case K, which is what some layouts report
  - >-
    react-console:lib/quick-search/__tests__/shortcut.test.ts#leaves a bare K
    alone, so typing a name never opens a dialog
  - >-
    react-console:lib/quick-search/__tests__/shortcut.test.ts#leaves Shift+K
    alone, with or without a modifier
  - 'react-console:lib/quick-search/__tests__/shortcut.test.ts#leaves Alt+K alone'
  - >-
    react-console:lib/quick-search/__tests__/shortcut.test.ts#is not fooled by
    another letter held with the same modifier
binding_boundary:
  - scenario: ATS-PFM-CSH-003-01
    provenance: test
    source: >-
      react-console:lib/quick-search/__tests__/shortcut.test.ts#accepts Cmd+K
      and Ctrl+K, whatever the machine is;
      react-console:lib/quick-search/__tests__/shortcut.test.ts#accepts an
      upper-case K, which is what some layouts report
    note: >-
      This file supplies the complete stated scenario outcome at its declared
      test boundary.
  - scenario: ATS-PFM-CSH-003-03
    provenance: test
    source: >-
      react-console:lib/quick-search/__tests__/shortcut.test.ts#leaves a bare K
      alone, so typing a name never opens a dialog;
      react-console:lib/quick-search/__tests__/shortcut.test.ts#leaves Shift+K
      alone, with or without a modifier;
      react-console:lib/quick-search/__tests__/shortcut.test.ts#leaves Alt+K
      alone; react-console:lib/quick-search/__tests__/shortcut.test.ts#is not
      fooled by another letter held with the same modifier
    note: >-
      This file supplies the complete stated scenario outcome at its declared
      test boundary.
---

# Quick Search key matching

## Verification Boundary

Pure event fixtures check accepted command chords, rejected nearby chords and platform-specific labels. The console’s event interception, text-entry exclusions and opened dialog are not tested here.

This register records static review at the supplied source commits. The suite exists, but this pass does not run it or mark its conformance verified.

## What This Suite Proves

- Both command modifiers recognize search.
- Nearby chords remain ordinary keyboard input.

Bindings that span files are collective: each file contributes only its recorded assertions. The exact anchors are in frontmatter.

## What It Does Not Prove

The register claims only the linked scenario outcomes at this boundary. It establishes no passing deployment result, complete permission matrix or unlisted cross-capability journey. Proposed scenarios and the remaining lifecycle, invariant and race obligations stay in the coverage findings.

## Real Dependencies and Test Doubles

The imported functions, registry declarations and any static component rendering are real. Independent in-memory inputs represent grants, contexts or records; there is no deployed service or browser session.

## Must Not Be Doubled

Do not replace the function, component, registry or source declaration under test. Keep the expected outcome independent of its implementation; injected inputs do not justify stubbing the computation being verified.
