28b6bd6570
The gateway /compress path can force a user-leading layout that leaves the compaction summary after a retained system head, so scanning only the leading block misses it. Preserve marker-carrying messages wherever they sit, filling the remaining budget with the most recent other messages, and cover the non-leading position with a test.