Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
Bug Description
Agent replies are successfully delivered to the channel (Feishu) but not persisted to the session transcript (.jsonl file). After a gateway restart, those replies are lost — the agent "forgets" them.
Reproduction
- Send a message to the agent via Feishu
- Agent executes tool calls → generates reply → reply delivered to Feishu ✅
- Restart gateway (
openclaw gateway restart)
- Load session history — the assistant's reply text is missing, only tool-call entries remain ❌
Evidence
Session transcript (aaa5f50b-....jsonl) shows:
- seq 190:
exec tool call (gateway status) → assistant reply text missing
- seq 193:
exec tool call (python3 config check) → assistant reply text missing
- seq 206:
exec tool call (gateway restart) → assistant reply text missing
But the same replies are visible in the Feishu channel — confirming they were generated and delivered, just not written to disk.
Environment
- OpenClaw: 2026.5.2 (8b2a6e5)
- Channel: Feishu (feishu plugin)
- Queue mode:
steer (default) → later changed to collect
- Model: qwen3.6-plus via DashScope
Expected Behavior
All assistant replies should be appended to the .jsonl transcript file immediately after generation, regardless of queue mode.
Impact
- Session "amnesia" after any gateway restart
- Context loss compounds over time
- Active Memory and memory search have no data to recall from
Steps to reproduce
like
Expected behavior
like
Actual behavior
like
OpenClaw version
2026.5.2
Operating system
macos
Install method
npm
Model
qwen3.6-plus
Provider / routing chain
...
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
Bug Description
Agent replies are successfully delivered to the channel (Feishu) but not persisted to the session transcript (
.jsonlfile). After a gateway restart, those replies are lost — the agent "forgets" them.Reproduction
openclaw gateway restart)Evidence
Session transcript (
aaa5f50b-....jsonl) shows:exectool call (gateway status) → assistant reply text missingexectool call (python3 config check) → assistant reply text missingexectool call (gateway restart) → assistant reply text missingBut the same replies are visible in the Feishu channel — confirming they were generated and delivered, just not written to disk.
Environment
steer(default) → later changed tocollectExpected Behavior
All assistant replies should be appended to the
.jsonltranscript file immediately after generation, regardless of queue mode.Impact
Steps to reproduce
like
Expected behavior
like
Actual behavior
like
OpenClaw version
2026.5.2
Operating system
macos
Install method
npm
Model
qwen3.6-plus
Provider / routing chain
...
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response