Records the rework round item by item, moves session-matrix request 1 and
input-capture request 1 to "answered", brings the Assumptions section
into line with the three fixes (0600 re-applied after the replace,
`releaseAll()` in the tail of `perform(_ actions:)`, `ByeBye` on the
signal path) and replaces the stale "Engine.swift 598" with prose —
quoting a line count in a work log guarantees it is wrong by the next
commit, and the judgement it supported is unchanged.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Reviewed against CLAUDE.md, contracts C1-C5, protocol §10.6 and the Windows
source. Gates green; one confirmed finding (Settings.save(to:) does not
reliably enforce 0600 via replaceItemAt on a pre-existing file, verified
empirically) and two plausible ones (releaseAll() parity across switch-to-
local paths; ByeBye not sent on SIGTERM/SIGINT/SIGHUP), filed with file:line
on both sides for the dev.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
The 5 s health check already had to notice Input Monitoring being
revoked (contracts C2). Noticing it being granted and retrying
EventTap.start() means a first run does not have to be restarted after
the user ticks the box in System Settings.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
§10.6 records six things the Windows source says that §1-§9 did not:
that a switch moves the pointer only when the target is the local
machine (Helper.cs:75-127), that a Mouse packet addressed to us takes
control back by assignment rather than by switching (Receiver.cs:122-125),
that relative mode puts the edge detection on the controlled machine
(Receiver.cs:147-172), that the reconnect countdown is 30 s and gated on
"no socket established" (frmScreen.cs:425-449), the exact JSON shapes of
the settings file, and why Heartbeat has to be a 64-byte packet.
The README's Handshakes section now documents the API as shipped, six
deliberate deviations, the answers to all eleven open requests from
lanes 3-5, and four new requests: PacketSequencer is used from two
queues and is not thread-safe (session-matrix), PermissionState has no
public initialiser and Cursor publishes no pointer position
(input-capture), and there is no way to send a Heartbeat on demand
(control-channel).
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>