Message handlers and pipeline workers do not have a common panic boundary. An
unexpected panic can terminate a protocol goroutine without returning a stable
connection or handler error.
Acceptance criteria:
- Recover panics at the message-handler and pipeline-worker boundaries.
- Convert failures into the existing error and shutdown flow.
- Preserve cleanup and connection accounting.
- Cover handler and pipeline panic cases.
Message handlers and pipeline workers do not have a common panic boundary. An
unexpected panic can terminate a protocol goroutine without returning a stable
connection or handler error.
Acceptance criteria: