# fix\(orchestration\): select visible history before limiting SQL · stienswout/t3code

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/4884ad1db808d823d3bf158c12266db5af711c5a)

Repository: [stienswout/t3code](https://git.cafe/stienswout/t3code)

Visibility: public

Requested revision: 4884ad1db808d823d3bf158c12266db5af711c5a

Requested commit: 4884ad1db808d823d3bf158c12266db5af711c5a

Commit: 4884ad1db808d823d3bf158c12266db5af711c5a

Tree: 7bc8b54cb7970da865404189bd72b6bd7d596dd6

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
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

```

## Parents

- [709dcdf6fa82ec7cd0f0c1b970df2330aecc71b3](https://git.cafe/stienswout/t3code/commit/709dcdf6fa82ec7cd0f0c1b970df2330aecc71b3?format=markdown)

[Source at this commit](https://git.cafe/stienswout/t3code/tree/4884ad1db808d823d3bf158c12266db5af711c5a?format=markdown)
