Repository navigation
Open
Labels
bugSomething isn't workingpriority:P1issue-tracker board prioritystatus:ready-for-implementerissue-tracker board state
Description
Problem & intent
On an input-source switch, cua/entered can be one short of the field's committed prefix. Holds 2a/2b recorded chrome 198/199, electron 188/189 and chrome 180/181 (reported/observed); hold 3 confirms 3 of 6 chrome/electron samples, TextEdit exact. A model resuming at that offset types a character twice.
Seams: native/engine/Sources/Engine/Keyboard.swift, cua/entered.
Constraints
- Preserve the Independence 4: cua's own native accessibility engine (replace sky) measured against a native baseline #117 contract in
docs/doperpowers/specs/2026-10-18-own-native-engine-design.md; no silent relaxation of safety, validity, or acceptance gates. - Live macOS proof needs an authorized mini hold under the load rule. Use harness-owned fixtures; never inspect or record owner app contents, secrets, or the signing identity.
- Follow-up spawned by Independence 4: cua's own native accessibility engine (replace sky) measured against a native baseline #117, not a decomposition child (parent N/A). Blocked-by N/A: no prerequisite ticket is required to begin this work.
Success criteria
- Pin the counting unit and post/check boundary; cover switches immediately before and after one input unit.
- Report the correct resume offset with no missed/double-counted unit; do not treat “sent” as proof of delivery.
- Live fixture read-back in Chrome for Testing and Electron agrees with the offset; TextEdit remains exact.
- Preserve inputSourceChanged and bounded termination, with no duplicating retry.
Open questions
Which ordering makes the count lag, and what unit does the public resume contract count? Compare the actual committed prefix.
Decision log
- 2026-10-22: Deferred M2b residue after PR #117 M2b: the native matrix, oracles and the native-mac suite; route 3 for key equivalents and element actions #180 landed as squash b1174fa on main. Independent model-facing finding 1; paste and preparation have different mechanisms.
- Backlog only, not dispatch or permission to start a live hold.
Sources
docs/doperpowers/specs/2026-10-18-own-native-engine-m2b-report.md— Finding 1docs/doperpowers/specs/2026-10-18-own-native-engine-design.md— Surprises midSwitchdocs/doperpowers/research/2026-10-18-own-native-engine/m2b/hold2b/korean/cua/run-3/result.json— earlier sampledocs/doperpowers/research/2026-10-18-own-native-engine/m2b/hold3/matrix/cua/run-1/result.json— switch evidencedocs/doperpowers/research/2026-10-18-own-native-engine/m2b/hold3/matrix/cua/run-2/result.json— repeat
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingpriority:P1issue-tracker board prioritystatus:ready-for-implementerissue-tracker board state
Activity
macOS engine: a keyed unit counts as entered once its key down is pos…
Own native engine M5: the dispositions of gates #186, #190 and #420, …
Own native engine spec: Text carries #186's entered count, #420's Chr…
native matrix: the mid-switch row holds the count in the engine's sen…
Own native engine M5: the gate dispositions after T8a's fix wave (refs …
Merge origin/main 96d71cf (#601, #607/#602's positive no-input record…
Merge main 1326898 into feat/117-m5: #617 (cua 0.31.1) and #616/#619 …