The "magpie1:" mark, Codex's summary prefix and the reading of a magpie
compaction as Codex's own local-compaction summary message move from the
gateway into internal/codexsummary, so the rollout rewrite that comes next
(internal/sessions, which the gateway imports) reads it the same way. The
gateway's behaviour is unchanged.
Run: go build ./internal/...; go vet ./internal/gateway ./internal/codexsummary;
go test ./internal/codexsummary; go test ./internal/gateway
-run 'Compact|CodexInput|Rewrite|Native|CallItem|Protection' (ok, 57s).