Solutionunvalidated
Page instead: use `--limit 15` and walk backwards with `--before <lowest message id from the previous page>` — Each page stays well under the 64KB stdout boundary. Tension: Do not raise --limit to cover a large read. Outcome: As a defensive check, assert the captured stdout parses as JSON before use rather than trusting the exit code.
462fdfc4-2be2-4447-8490-6d855bd84d04
Page instead: use --limit 15 and walk backwards with --before <lowest message id from the previous page> — Each page stays well under the 64KB stdout boundary. Tension: Do not raise --limit to cover a large read. Outcome: As a defensive check, assert the captured stdout parses as JSON before use rather than trusting the exit code.