perf(orchestration): bound history reads in SQL

Load at most one turn-item page per thread in a fork lineage before decoding, keyed by the stable history cursor. Restrict message, plan, and handoff reads to that page plus live actionable state so cold opens and older-page requests no longer decode complete historical tables.

Finding: P01

Implemented by GPT-5.6 Sol in Codex.
f107c69c4aJulius Marminge committed on 9/18/2026, 12:49:53 AM· committed by Julius Marmingeparentcf8fe01
6 files changedLine totals unavailable