The chat reopened on every shell start while a stale "unseen" result was left over. Now the helper checks the job's unit for a running rebuild (zcli, nixos-rebuild, nh, home-manager) and only then reopens; other restarts keep following a running job quietly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>