- IME checks use synthetic KeyboardEvent.isComposing and keyCode 229 signals. Repeat them with a real system IME before claiming native IME coverage.
- The Windows profile overrides Chromium user-agent data. It validates browser platform detection and rendered shortcut labels, not native Windows keyboard events or desktop packaging.
- The macOS profile validates the web runtime. Electron, VS Code, hosted mobile, and Capacitor mobile require separate runtime checks.
platform_profiles:
macos_native:
description:Use the host browser user agent without overrides.
expected_primary_modifier:Command
expected_labels:
- Command symbol U+2318
- Option symbol U+2325
setup:
- Open the target URL in a fresh ego-lite tab.
- Confirm navigator.userAgent contains Macintosh or Mac OS X.
- Open Settings, then Shortcuts.
windows_ua_mock:
description:Override Chromium identity before reloading the application.
cdp_command:
method:Network.setUserAgentOverride
params:
userAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
platform:Win32
userAgentMetadata:
brands:
- brand:Chromium
version:"138"
- brand:Not=A?Brand
version:"24"
fullVersionList:
- brand:Chromium
version:138.0.0.0
- brand:Not=A?Brand
version:24.0.0.0
fullVersion:138.0.0.0
platform:Windows
platformVersion:10.0.0
architecture:x86
model:""
mobile:false
bitness:"64"
wow64:false
setup:
- Open the target URL in a separate ego-lite tab.
- Apply the CDP command above.
- Reload before evaluating navigator or rendered shortcut labels.
- Confirm navigator.userAgent contains Windows NT and navigator.platform is Win32.
- Open Settings, then Shortcuts.
checks:
- id:macos-shortcut-labels
priority:critical
profile:macos_native
steps:
- Inspect Session Controls, Panels and Tools, Navigation, and Application.
- Capture the visible Shortcuts settings pane.
assertions:
- Open draft project picker renders as Command + S, P using the macOS Command symbol.
- Open draft worktree picker renders as Command + S, G using the macOS Command symbol.
- Open recent sessions renders as Command + S, L using the macOS Command symbol.
- New Mini Chat window renders both macOS Command and Option symbols.
- NoWindows key glyph is used for Mod or Alt.
evidence:
type:screenshot
filename:openchamber-pr-2532-macos-shortcuts.png
last_result:
status:passed
- id:windows-ua-shortcut-labels
priority:critical
profile:windows_ua_mock
steps:
- Inspect the same shortcut rows used by macos-shortcut-labels.
- Capture the visible Shortcuts settings pane.
assertions:
- Open draft project picker renders as Ctrl + S, P.
- Open draft worktree picker renders as Ctrl + S, G.
- Open recent sessions renders as Ctrl + S, L.
- New Mini Chat window renders as Ctrl + Alt + N.
- NomacOS modifier symbols or Windows key glyph are rendered.