7 Commits
Author SHA1 Message Date
lucioandClaude Fable 5.1 ca9be2eb16 input-inject: close lane (lead review); split app-shell into app-engine + app-ui; brief: app-engine
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 03:09:07 -07:00
lucioandClaude Opus 5 c7d294a7a3 input-inject: work log — rework entry answering both QA findings
Dated 2026-09-16 rework entry in docs/features/input-inject/README.md:
finding 1 accepted and fixed (chord tracking and the lock-hotkey test
now see the raw wire VK; `normalise(vk:)` is the posting path only),
finding 2 accepted as a documentation gap and recorded (Windows'
secure-desktop gate has no macOS analogue, so always-eat-and-lock is a
decision). Notes why 10.5 note 8 was appended rather than inserted.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 03:07:01 -07:00
lucioandClaude Opus 5 9a1ad519de input-inject: record why the lock hotkey's desktop gate is N/A (QA finding 2)
Windows wraps the `HotKeyLockMachine` branch in
`if (!Common.RunOnLogonDesktop && !Common.RunOnScrSaverDesktop)`
(`InputSimulation.cs:408-409`); `KeyState.processDown` has no such
guard, and nothing said whether that was considered or missed.

Both flags are set only where the MWB service launches a second copy of
the process onto the `Winlogon` or `Screen-saver` secure desktop
(`Program.cs:150-167`, `Common.cs:176-186`). macOS has no secure-desktop
session split, no copy of us behind `loginwindow` or the screen saver,
and a user-space `CGEventTap` neither receives nor posts once the screen
is locked; the Windows service is out of scope besides (README D6). So
the condition is unconditionally true for a Mac receiver and the
always-eat-and-lock behaviour is the faithful port.

Recorded as docs/protocol.md 10.5 note 8 (appended, so the note numbers
existing citations use stay stable), as a feature README Assumptions
bullet, and as a comment at the site in `KeyState.processDown`. No
behaviour change.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 03:06:27 -07:00
lucioandClaude Sonnet 5 22b077b5df qa: input-inject QA log — REWORK (normalise-before-hotkey-match finding)
Gates green; verified KeyState.swift and Injector.swift against
InputSimulation.cs, Receiver.cs, InitAndCleanup.cs, InputHook.cs and
Event.cs. One confirmed finding: KeyState normalises side-less
modifier VKs before chord/hotkey matching, so a lock-chord replay
matches hotkeys Windows' side-specific-only switch would not match
from the same bytes — contradicts this lane's own protocol.md §10.4
note 3 citation. One plausible finding: the configurable lock hotkey
is missing Windows' RunOnLogonDesktop/RunOnScrSaverDesktop guard,
undocumented either way.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-09-16 03:03:04 -07:00
lucioandClaude Opus 5 ccb058ed3a input-inject: wheel remainder, release buttons at the real pointer
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 02:52:40 -07:00
lucioandClaude Opus 5 f6fc2c5bd3 input-inject: protocol.md 10.5, feature README (assumptions, handshakes, work log), TODO ticks
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
2026-09-16 02:51:47 -07:00
lucioandClaude Fable 5.1 3c51e95969 input-capture: close lane (lead review); brief: input-inject
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-16 02:38:11 -07:00