When the Slack WebSocket drops mid-response, OpenClaw repairs the session file (rewrites the last assistant message). On the next inbound message, the LLM call fails with: messages: at least one message is required (HTTP 400 from Anthropic). This puts Anthropic into a cooldown state that persists until the gateway is restarted โ subsequent messages silently fail.
Steps to reproduce:
- Send a message that produces a long response
- Drop the network or let Mac sleep during generation
- Reconnect and send another message
- Agent fails silently โ no reply
Logs: session file repaired: rewrote 1 assistant message(s) followed immediately by LLM request rejected: messages: at least one message is required
Fix needed: After session repair, validate the context before sending to the LLM. If context is empty, surface an error or reset gracefully instead of entering cooldown.
Version: 2026.4.27 | Slack socket mode | Anthropic/claude-sonnet-4-6