Skip to content

[test-generator] Cover paste-last shortcut preference guardrails#1068

Draft
r3dbars wants to merge 1 commit into
mainfrom
codex/test-generator-2026-06-11-paste-last-shortcut
Draft

[test-generator] Cover paste-last shortcut preference guardrails#1068
r3dbars wants to merge 1 commit into
mainfrom
codex/test-generator-2026-06-11-paste-last-shortcut

Conversation

@r3dbars

@r3dbars r3dbars commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Missing coverage

Recent paste-last-dictation shortcut work added a new physical binding beside dictation and meeting shortcuts. Existing tests covered defaults, persistence, and matching, but did not directly cover shortcut-editor keyDown round-trip, live hotkey reload notification, invalid persisted modifier masking, or independence from legacy dictation/meeting shortcuts.

Tests added

  • Records the default paste-last Option-Shift-V shortcut from shortcut-editor keyDown input.
  • Verifies saving paste-last posts hotkeysDidChange so ContextCaptureEngine can re-register shortcuts.
  • Masks unexpected persisted modifier bits for paste-last bindings.
  • Keeps paste-last default independent when only legacy dictation/meeting bindings exist.

Checks run

  • bash scripts/dev/agent-preflight.sh
  • bash build.sh --no-open
  • bash run-tests.sh (4659 passed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant