control-channel: close lane (lead review); brief: input-capture

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5.1 committed 2026-09-16 01:57:56 -07:00
1 parent c03b8cdbcf
commit 1c24c9f67c
5 files changed
+197 -5

No files matched your search

+16
View File
@@ -781,3 +781,19 @@ reset. Flagged, not fixed — outside "verify, don't redesign."
Verdict: REWORK
## Review
- 2026-09-16 (lead): inspected per `docs/loop.md` §5 after two rework
rounds. Gates green run by me; diff limited to the four `MWBNet`
files, `Session.tick` (authorised cross-lane change), TODO §3,
protocol §10.3 and the two READMEs. Read `PeerConnection.swift` in
full and `ControlChannel.swift`'s structure: 48-byte preamble first,
sized reads with the real count passed to `noteReceiveError`, bounded
outbox and 500 ms deadline, stall rule armed by `markControlled`, all
state on one queue, `[weak self]` throughout, nothing logged, nothing
interpreted. QA round 2's heartbeat finding is fixed at the right
place (`Session` compares the raw counter against its own last beat,
`Common.cs:542-559`). Verdict: **merge**. Carry into app-shell: the
three open requests in this README — call `reopenAll()` on a
countdown while nothing is connected (`frmScreen.cs:427-450`), call
`markControlled(peerID:)` on every switch including back to local,
and (done at close) the session-matrix Assumptions wording.