Description
When the Gateway restarts (via SIGUSR1 / config.patch), the webchat channel loses its session context entirely. A new conversation is started instead of resuming the previous one.
Expected Behavior
After a hot restart (SIGUSR1), the webchat session should either:
- Resume the existing conversation context, or
- At minimum, re-inject the session history so the agent can continue without losing context
Actual Behavior
After restart, webchat opens a brand new session with no memory of previous conversation. The user has to re-explain context from scratch.
Notes
- Other channels (QQBot, Telegram, etc.) can recover via platform-side message history
- webchat has no such mechanism, making it uniquely affected
- SIGUSR1 hot restart should ideally preserve in-process session state
Environment
- OpenClaw version: 2026.3.24
- Channel: webchat
- OS: Linux (Ubuntu)
Description
When the Gateway restarts (via SIGUSR1 / config.patch), the webchat channel loses its session context entirely. A new conversation is started instead of resuming the previous one.
Expected Behavior
After a hot restart (SIGUSR1), the webchat session should either:
Actual Behavior
After restart, webchat opens a brand new session with no memory of previous conversation. The user has to re-explain context from scratch.
Notes
Environment