From 5f9a18cf834b4e94fb433af78f4da30a69fc5653 Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Wed, 16 Sep 2026 01:09:13 -0700 Subject: [PATCH] session-matrix: close lane (lead review, topo handshakes 3/4/6) Co-Authored-By: Claude Fable 5.1 --- docs/features/session-matrix/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/features/session-matrix/README.md b/docs/features/session-matrix/README.md index 2cc9e9c..96e6562 100644 --- a/docs/features/session-matrix/README.md +++ b/docs/features/session-matrix/README.md @@ -785,3 +785,20 @@ cross-checked line-for-line against the reference checkout rather than against the Work log's own citations. Verdict: PASS + +## Review + +- 2026-09-16 (lead): inspected per `docs/loop.md` §5 after one rework + round. Gates green run by me; diff limited to the lane's seven files, + TODO §2, protocol §10.2 and this README. Read `Session.swift` in + full: trust gate delivers nothing before `acceptAck`, the untrusted + budget and the six-empty-reads counter follow `MainTCPRoutine`, + `forward` never stamps, `originate` is private (contracts C1), + heartbeat cadence and `Awake` rule cited. QA round 2 verified the + three findings and C1 against the source. Verdict: **merge**. + Carry into the next brief: (1) `noteReceiveError(bytesReceived:)` — + the channel must pass the byte count, not collapse errors; (2) + `SwitchAction.parkCursor(destinationIsRemote:byHideMouseMessage:)` + consumer rule for input-capture/inject; (3) `CGRect`/`CGPoint` under + Foundation alone lack `.zero`/`minX`/`Equatable`, so helpers live on + `Coordinates` — topo handshakes 4 and 6 updated accordingly.