## What changed
Apply source, model provider, working directory, and attached-thread filters as soon as the first session metadata record is read. Stop reading excluded rollouts before scanning for preview and user-message events.
## Testing
Add a regression test confirming that copied metadata with a different source cannot override the canonical session metadata when filtering thread listings.
GitOrigin-RevId: 2a9ab6cf419c94884b672b6f03ec23b43b244c83