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
4884ad1db8Julius Marminge committed on 9/1/2026, 4:33:03 AMparent709dcdf
2 files changedLine totals unavailable