After a long idle gap, the next message drops straight into the transcript. Saved facts and the user’s last goal stay hidden.
I found the failing environment variable.
Ship the fix and add a regression test.
Done — PR is ready for review.