While a session shuts down the bridge refuses new work except a few read-only requests.
What's wrong with this entry?
While a session is tearing down, the bridge now rejects most incoming requests immediately with the error "This session is shutting down." instead of racing the shutdown. A small read-only set still goes through: initialize, file_suggestions, read_file, get_context_usage, get_usage and mcp_status.
- Rejected requests get a control response of subtype
errorand a "[bridge] refusing" log line naming the request type. - Unconditional; it fires whenever the shutdown latch is set.
This session is shutting down.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.