You'll notice
Tool calls sent to remote hosts are tracked so a session restart can adopt them and explain whether the command actually ran.
A new tracking class records tool calls dispatched to remote hosts in in_flight_served_calls. On restart, it tries to adopt these in-flight calls and generates detailed status messages depending on whether the command definitely ran, was still pending approval, or its fate is unknown, including messaging that the session restarted while a command was under way.