Repository navigation
Description
Bug type
Regression (worked before, now fails)
Beta release blocker
No
Summary
On the embedded (OpenClaw) agent runtime with Anthropic Claude models, agents frequently end a turn immediately after sending an interstitial "follow-up promise" message (e.g. "checking the codebase, one moment"; "committing now") without performing the promised work in that turn; the user must send another message to make the agent do it. A 45-day audit across 3 agents shows the follow-through-failure rate on promised turns roughly doubled after upgrading to 2026.6.1 (73.3% of promised turns failed on 6.1 vs 36.2% pre-6.1), and the jump appears on every model tested.
Steps to reproduce
- Run OpenClaw 2026.6.1, embedded runtime, an Anthropic model (anthropic/claude-sonnet-4-6 or anthropic/claude-opus-4-8), on a chat channel agent (Slack).
- Send a request that requires the agent to do tool work before it can answer (e.g. "if I do X in the internal tool, will Y happen?", or a multi-step edit/commit task).
- Observe the agent send an interstitial message via the message tool that promises further work ("I couldn't find this in the docs, so I'm checking the codebase — one moment 🔍" / "Committing now").
- Observe the turn end there: the model's final step is stopReason: toolUse whose last/only tool call is the user-facing message(send); the agent loop does not re-engage and no further (non-message) tool calls run.
- The agent stays idle until the user sends another message, which starts a new turn where the work is finally performed.
Expected behavior
After sending an interstitial "I'm checking…/committing now" message, the agent should continue the promised tool work in the same turn and only conclude once it delivers the real result. This held far more often on earlier builds — pre-2026.6.1 the same audit measured a 36.2% failure rate (75/207 promised turns) vs 73.3% on 6.1. The base system prompt's Execution Bias section already directs this ("Longer work: brief progress update, then keep going").
Actual behavior
The agent treats the interstitial send as the turn's conclusion. In a representative session the model's final step (stopReason: toolUse) ended with a message(send) ("checking the codebase — one moment 🔍"); the loop did not re-invoke the model and zero investigation tool calls followed. The agent's own reasoning on the next user-triggered turn confirmed it: "I sent a message saying I was checking the codebase, but I didn't actually do the code exploration yet." The same pattern recurs with "still on it" and "committing now" interstitials.
OpenClaw version
2026.6.1 (build 2e08f0f)
Operating system
Debian GNU/Linux 12 (bookworm), kernel 6.12 x86_64 (Docker, on Amazon Linux 2023 host)
Install method
npm global (npm install -g openclaw@2026.6.1) inside a Docker image
Model
anthropic/claude-sonnet-4-6 and anthropic/claude-opus-4-8 (regression observed on both; also on claude-opus-4-6)
Provider / routing chain
openclaw → anthropic (direct Anthropic API; embedded OpenClaw agent runtime, not Codex harness)
Additional provider/model setup details
Embedded (OpenClaw) agent runtime. Agents run on Slack with message_tool_only visible-reply delivery (final session text is private; visible replies go through the message tool). No proxy/router in the path. The audit spanned three agents — one on Opus (admin) and two on Sonnet (editor, support) — so the per-version effect is observed across independent model configs.
Screenshot below with evidence (the Logs, screenshots, and evidence field in this form doesn't allow attachments)

Logs, screenshots, and evidence
45-day follow-through audit (agents: admin/editor/support), failures ÷ promised turns:
Per version:
version promises ok fail %fail
2026.5.7 66 41 25 37.9%
2026.5.18 141 91 50 35.5%
2026.6.1 60 16 44 73.3%
Per version × model (the clean cut):
2026.5.7 | opus-4-6 prom=51 fail=21 41.2%
2026.5.7 | sonnet-4-6 prom=15 fail= 4 26.7%
2026.5.18 | opus-4-6 prom=40 fail=15 37.5%
2026.5.18 | sonnet-4-6 prom=101 fail=35 34.7%
2026.6.1 | opus-4-6 prom=24 fail=19 79.2%
2026.6.1 | opus-4-8 prom=21 fail=14 66.7%
2026.6.1 | sonnet-4-6 prom=15 fail=11 73.3%
Collapsed: pre-6.1 = 36.2% (75/207), 6.1 = 73.3% (44/60)
Representative session (claude-sonnet-4-6, 2026.6.1):
final model step stopReason=toolUse, last/only toolCall = message(send):
"I couldn't find this in the docs, so I'm checking the codebase — one moment. :mag:"
-> loop does not re-engage; 0 investigation tool calls run
-> next user msg "are you still checking?" -> model thinking:
"I sent a message saying I was checking the codebase, but I didn't
actually do the code exploration yet. Let me do that now."Impact and severity
Affected: users of embedded-runtime Anthropic agents on chat channels (three internal agents on Slack: admin/Opus, editor/Sonnet, support/Sonnet).
Severity: Blocks workflow — the user receives a promise with no delivery and must re-prompt; in unattended/automated flows the work would never complete.
Frequency: Intermittent but very common on 6.1 — 73.3% of promised turns (44/60) failed to follow through, vs 36.2% before the upgrade. The effect is present on all three models at the same version boundary.
Consequence: Missed/late answers, extra user round-trips, stalled automation, wasted tokens on the re-prompt cycle.
Additional information
Last known good (relatively): 2026.5.7 and 2026.5.18 both ~36–38% failure. First/most-affected: 2026.6.1 (Docker image bumped to 2026.6.1 on 2026-06-05; first agent sessions on it 2026-06-05/06). Because the failure rate doubles simultaneously across three different models (Sonnet, Opus-4-6, Opus-4-8) at exactly the 6.1 boundary, this points to a runtime/version regression rather than model behavior. Related upstream issue: #50341 (same family — model ends a turn with a non-toolUse stop after a partial step and won't resume without a new user message). Nothing in the 2026.6.2–2026.6.6 changelog appears to target interstitial-send turn termination on the embedded runtime; the Execution Bias prompt guidance is advisory only. Workaround today is the user re-prompting.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 11, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 11, 2026, 6:24 PM ET / 22:24 UTC.
Summary
Codex review failed: retryable codex transport failure (exit 1).
Reproducibility: unclear. The review failed before ClawSweeper could establish a reproduction path.
Ways to help us reproduce this
Next step
Review did not complete, so no work-lane recommendation was made.
Review details
Best possible solution:
Retry the Codex review after fixing the execution failure.
Do we have a high-confidence way to reproduce the issue?
Unclear. The review failed before ClawSweeper could establish a reproduction path.
Is this the best way to solve the issue?
Unclear. Retry the review first so ClawSweeper can evaluate the actual issue and fix direction.
AGENTS.md: unclear because the file could not be read completely.
Remaining risk / open question:
Codex review notes: model internal, reasoning high; reviewed against 301213a05f2f.
Label changes
Label changes:
issue-rating: 🦪 silver shellfish: Current issue advisory state selects this label.clawsweeper:needs-info: Current issue advisory state selects this label.P1: Current review triage priority is none.clawsweeper:source-repro: Current issue advisory state no longer selects this label.impact:message-loss: Current review selected no impact labels.issue-rating: 🦞 diamond lobster: Current issue advisory state no longer selects this label.Evidence reviewed
What I checked:
message_tool_onlydelivery mode,installMessageToolOnlyTerminalHookinsrc/agents/embedded-agent-runner/run/message-tool-terminal.tsreturnedterminate: trueafter every successful implicit-routemessage.send. This causedshouldTerminateToolBatchto stop the agent loop immediately, preventing the model from re-engaging after the tool result to perform the promised work.\n\nThe agent'sstopReasonwastoolUse(the model expected tool results and planned to continue), but the hook'sterminate: trueskipped the re-invoke step entirely. A 45-day audit across 3 agents showed the follow-through-failure rate doubled on 2026.6.1: 73.3% of promised turns failed to deliver vs 36.2% pre-6.1.\n\n## Real behavior proof\n\nBehavior addressed: Removeterminate: truefrom the message-tool-only afterToolCall hook return value while keeping theonDeliveredSourceReplydelivery tracking callback intact.\n\nReal environment tested: Debian GNU/Linux 12 (bookworm), kernel 6.12 x86_64. Standalone Node.js script that simulates the agent loop to demonstrate the before/after behavior difference.\n\nExact steps or command run after this patch:\nconsole\nnode /tmp/repro-92169.mjs\n\n\nEvidence:\n```\n=====.Likely related people:
How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.fix(agent-runner): don't terminate turn after message-tool send in me…
joshavant commentedon Jun 12, 2026
Thanks for the clear report, @elyalvarado.
This was fixed in #92343. The issue was that in
message_tool_onlymode OpenClaw treated a successful implicitmessage.sendprogress reply as the end of the agent turn. That meant the agent could visibly say it was about to work, but the runtime stopped before the model got the tool result and continued with the promised follow-up work.The fix keeps the visible progress/source reply behavior, but no longer terminates the agent loop after that reply. We also carry delivery evidence forward so duplicate follow-up presentation is suppressed while the model can continue to tools like
exec.We verified this with live Slack + Anthropic before/after proof: current main sent the progress message and did not execute the follow-up marker command, while the fixed branch sent the progress message and then executed the follow-up command in the same turn.
fix(agent-runner): don't terminate turn after message-tool send in me…