fix(orchestration): select visible history before limiting SQL

Keep hidden local and inherited rows from consuming history pages. Preserve stop-request dependencies, source-run cutoffs, and imported history while loading related metadata from the selected cohort and using indexed watermark lookups.

Finding: P01 bounded history visibility

Model: GPT-5.6 Sol via Codex
bb95b1f5e4Julius Marminge committed on 9/5/2026, 4:54:28 AMparentf1478a9
2 files changedLine totals unavailable