Reconnects to a local MCP server now know whether the previous process exited or was killed.
What's wrong with this entry?
When an MCP server started over stdio is torn down, Claude Code now records whether its process had already exited or was still running, and the reconnect path reads that back on the next automatic connect. This gives reconnection a view of whether the previous server died or was killed mid-flight.
- Keyed by a hash over the command, working directory, sorted environment and arguments, so each distinct server configuration gets its own record.
- Recorded only if the transport had finished starting; the outcome is stored as "hard_closed" for an already-exited child or "survived" for a live one.
- The entry is deleted once consumed. The map is capped and evicts oldest-first.
hard_closed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.