Skip to content

Resolve Korean pressKey r/k expectations with an engaged input method #189

Open

Description

@SSFSKIM

Problem & intent

The matrix expects rk for pressKey r then k under Korean, but both Chromium scenes compose 가 with Korean 2-Set engaged; hold 3 confirms TextEdit too. Earlier TextEdit rk was not contrary evidence: the source changed while the focused field retained ABC layout until refocus. Resolve the expected-file/spec contract rather than force Latin text in the engine by assumption.

Seams: scripts/native-matrix/unicode-plan.mjs, scripts/native-matrix/expected/unicode.json.

Constraints

Success criteria

  • Reconcile pressKey physical/logical key semantics with the Korean oracle and record the decision in the spec.
  • Count Korean only after source 2SetKorean and layout 2SetHangul are observed after refocus.
  • Update justified expectations/tests across all three scenes; Latin stays rk.
  • Keep typeText's exact-text contract distinct from pressKey composition.

Open questions

Recommend 가 for the engaged Korean key sequence, subject to the documented pressKey contract. Escalate only a remaining product-intent decision, not basic contract research.

Decision log

Sources

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P2
    on Oct 22, 2026
  2. SSFSKIM commented on Oct 23, 2026

    @SSFSKIM
    OwnerAuthor

    Dogfood evidence for the existing pressKey/IME contract question: /Users/new/Developer/GitHub/MAWS/plugin/cua/dogfood-feedback/l3-input.md §4 reports English characters sent as per-character pressKey producing Korean jamo. Confirmed mechanism: Keyboard.swift’s key table uses fixed ANSI physical codes; active input methods can compose them. This supports the existing distinction between pressKey composition and typeText’s exact-text contract; it does not establish a typeText transliteration bug. Do not silently switch the owner’s input source to ABC. Explain/report source semantics, and keep the separate clipboard-timeout/retry ambiguity on #187. Recommended P2; no new ticket.

    Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)

  3. SSFSKIM commented on Oct 23, 2026

    @SSFSKIM
    OwnerAuthor

    Additional route clarification from /Users/new/Developer/GitHub/MAWS/plugin/cua/dogfood-feedback/l6-artifacts.md extra-slot item 11 and l5-code.md §5: typeText under Korean may paste even an English string. This is confirmed routing, distinct from pressKey’s physical-key composition. Input.swift uses keyed delivery only for a reliable appropriate layout; otherwise Paste.swift. Non-US or long string alone is not the rule. The observed native clipboard timeout/conflict is evidence on #187, not a reason to force ABC or reclassify all typeText as key events. A noClipboard request should be an explicit supported-or-refused exact-text policy if designed later, not an automatic degraded fallback. Do not preserve/restore the owner’s clipboard through agent-authored backup commands.

    Sminos-Session: cua_repl#1ea561bc (MAWS on macbook)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P2status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions