Seeing a recurring Discord failure mode and would love a sanity check.
Symptom (Discord only): bot starts typing, then typing stops, but no message is delivered (no visible error).
What the gateway log shows: this is not a Discord API send error — it’s an internal run failure before send:
The same log repeatedly shows workspace bootstrap injections being truncated for Discord runs (AGENTS.md, HEARTBEAT.md, MEMORY.md all > 12k chars), which likely contributes to hitting the overflow threshold once tool loops start producing large toolResults.
A session reset didn’t fully fix it: rotating Discord session .jsonl files helps, but overflow can still occur mid tool-loop even with “fresh-ish” session history.
Proposed low-risk fix (Discord-only): add a guild-level systemPrompt override to enforce “short replies first”, avoid dumping big logs/code/tool output into Discord, summarize + reference file paths, etc. (Goal: prevent tool-loop context blowups.)
Before I do that:
- Does this match a known Discord “typing then vanish” failure mode in OpenClaw?
- Is the systemPrompt mitigation the right lever, or is there a better schema-valid way to reduce injected context specifically for Discord (without impacting Telegram)?
- Anything else I should be searching for in logs to confirm the exact abort point?