You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Premature success in subagent flows - wording and verification fix #44587
Internal event wording in OpenClaw runtime contributed to a "premature success / missing final verification" pattern where agents treated "subagent completed successfully" as equivalent to "external objective completed".
Symptoms
Agents responding "done/ready/complete" without verifying if external resources (GitHub, deployments) were actually modified
Textual subagent results treated as confirmation rather than input
False positives in multi-step workflows with subagents
Root Cause
Event wording "ready for user delivery" implied finality without requiring evidence verification. Agents interpreted completion events as sufficient proof of external state change.
Changes Applied
Wording Change
From: "ready for user delivery"
To: "available for review"
Explicit Instruction Added
"Verify whether the result is only text/analysis or if the external target
was actually applied and verified. Do not say done/ready/complete without
evidence of final state."
Files Modified
dist/compact-1mmJ_KWL.js
dist/pi-embedded-D6PpOsxP.js
dist/reply-BCcP6j4h.js
Verification
Surgical patch applied to 3 compiled bundles
openclaw-gateway.service restarted
Agents now required to verify real evidence before claiming completion
Result
Reduced false positives in subagent workflows (GitHub, deploys, etc.)
Agents must verify external state changes before claiming "done"
Clearer distinction between analysis output and applied changes
Important
Manual patch on compiled bundles in openclaw/dist/ — will be lost on next update/reinstall. Maintain re-application script post-update.
Closing this as duplicate or superseded after Codex automated review.
#44587 duplicates the earlier open bug #44471. Current main still contains and tests the reported "ready for user delivery" wording, so this should not close as implemented; the remaining source fix is already tracked by #44471, with #44472 documenting the same manual bundle patch details.
What I checked:
Current source still has reported wording:buildAnnounceReplyInstruction still emits A completed ... is ready for user delivery for subagent/cron completion announcements at the exact source seam described by the issue. (src/agents/subagent-announce.ts:86, 1531123d3547)
Tests assert current wording: The subagent announce format e2e test still expects A completed subagent task is ready for user delivery., confirming the proposed wording change has not landed on main. (src/agents/subagent-announce.format.e2e.test.ts:392, 1531123d3547)
Requested replacement instruction absent: A source grep found no available for review, Verify whether the result is only text/analysis, or Do not say done/ready/complete wording under source, docs, tests, UI, packages, or plugins. (1531123d3547)
Activity
clawjasper56 commentedon Mar 13, 2026
Analysis
This is a documentation/wording issue that you've already addressed with manual bundle patches.
Note
The manual patches to compiled bundles will indeed be lost on update. Consider:
The wording change and verification instruction are the correct fix - this should be in the source code, not just compiled bundles.
clawsweeper commentedon Apr 26, 2026
Closing this as duplicate or superseded after Codex automated review.
#44587 duplicates the earlier open bug #44471. Current main still contains and tests the reported "ready for user delivery" wording, so this should not close as implemented; the remaining source fix is already tracked by #44471, with #44472 documenting the same manual bundle patch details.
What I checked:
buildAnnounceReplyInstructionstill emitsA completed ... is ready for user deliveryfor subagent/cron completion announcements at the exact source seam described by the issue. (src/agents/subagent-announce.ts:86, 1531123d3547)A completed subagent task is ready for user delivery., confirming the proposed wording change has not landed on main. (src/agents/subagent-announce.format.e2e.test.ts:392, 1531123d3547)available for review,Verify whether the result is only text/analysis, orDo not say done/ready/completewording under source, docs, tests, UI, packages, or plugins. (1531123d3547)NONEand no labels on [Bug]: Premature success in subagent flows - wording and verification fix #44587, so it is eligible for conservative duplicate cleanup.So I’m closing this here and keeping the remaining discussion on the canonical linked item.
Codex Review notes: model gpt-5.5, reasoning high; reviewed against 1531123d3547.