* 🐛 Add opt-in MCP JSON replies and deliver pending outcomes on shutdown
Stateless legacy POST requests can opt in to a single correlated JSON reply
with PENPOT_MCP_JSON_RESPONSE=true; SSE remains the default.
Shutdown now rejects pending plugin tasks before closing HTTP
connections and gives in-flight requests a bounded grace period to send
their replies, so a tool call interrupted by shutdown reports an
unknown outcome instead of a dropped stream (both JSON and SSE).
Tool execution failures now set isError on the MCP result.
Refs #12497
AI-assisted-by: claude-opus-5-5
* 📎 Give the 100-round JSON reply test room on loaded CI machines
AI-assisted-by: claude-opus-5-5