fix(sessions): invalidate snapshots when the command source changes (#222)

* test(sessions): reproduce cross-source snapshot retention

* fix(sessions): clear snapshots from retired command sources

Invalidate completed session data and update metadata synchronously when the
configured executable changes. Retain same-source snapshots on failed scans.

The preceding test-only commit reproduces four native Qt failures, covering
hidden/visible source changes and failed/timed-out scans after a switch.
04d6fe8636Simone committed on 9/11/2026, 2:56:29 PM· committed by GitHubparentc2abf54
3 files changedLine totals unavailable