From 602fc0d8caf7d3b8bcd9941df78f9467f9544ffa Mon Sep 17 00:00:00 2001 From: pingqiu Date: Mon, 27 Apr 2026 16:28:57 -0700 Subject: [PATCH] =?UTF-8?q?G5-5C=20#4:=20engine=20boundary=20tests=20?= =?UTF-8?q?=E2=80=94=20dispatch=20/=20Case=201=20reconnect=20/=20lineage?= =?UTF-8?q?=20stale-event=20drop=20/=20stale-ack=20guard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Architect Batch #4 review 2026-04-27 ruled the four §2 invariants (#4 / #11 / #12 / #13) belong at the engine layer, not core/replication/ — "single owner per invariant, don't double-assert in adapter and engine". Batch 3 already covered the runtime concerns (lifecycle, cooldown, lock ordering, peer-instance teardown); Batch #4 covers the truth-layer translations engine performs from probe results into recovery commands. Tests (5 tests, 9 subcases, 9/9 PASS): §2 #4 dispatch (catch-up vs rebuild) — TableDriven: - caught_up: R≥H → DecisionNone, no recovery cmd - gap_within_wal: R