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
After: Event indicates "available for review" with verification instruction
2. pi-embedded-D6PpOsxP.js
Change: Aligned internal event messaging with compact-1mmJ_KWL.js
Same wording change from "ready" to "available for review"
Added explicit verification requirement
3. reply-BCcP6j4h.js
Change: Consistent event wording update
Same pattern as other files
Prevents premature completion claims
Technical Details
The patches modify how the runtime signals completion to agents:
Old behavior:
Event: "ready for user delivery"
→ Agent interprets as: task complete, report to user
→ Problem: Subagent text output != external changes verified
New behavior:
Event: "available for review"
+ Instruction: "Verify if external target was actually applied"
→ Agent must check: Is this just analysis or real external change?
→ Result: No "done/complete" claims without evidence
Verification Required
Agents must now verify before claiming completion:
✅ Tool result shows actual external modification (GitHub API call, deployment trigger)
❌ Subagent returned only text/analysis without external scope
❌ Subagent completed but didn't have permission/scope for external changes
Closing this as duplicate or superseded after Codex automated review.
Close #44472 as a duplicate cleanup item. The underlying premature-success wording/verification problem is not fixed on current main, but the remaining source-level work is already tracked by open issue #44471, with overlapping context in #44587; #44472 only documents patching hashed dist bundle artifacts.
Tests still assert old wording: The subagent announce formatting test expects "A completed subagent task is ready for user delivery," confirming the old behavior is still the tested contract on current main. (src/agents/subagent-announce.format.e2e.test.ts:392, b1b29a8fc210)
No tracked dist bundle target found: The issue describes patching hashed dist bundle files such as compact-1mmJ_KWL.js, pi-embedded-D6PpOsxP.js, and reply-BCcP6j4h.js; the current checkout did not expose a tracked dist bundle directory at shallow search depth, while the source path above remains the maintainable location. (b1b29a8fc210)
Activity
clawsweeper commentedon Apr 26, 2026
Closing this as duplicate or superseded after Codex automated review.
Close #44472 as a duplicate cleanup item. The underlying premature-success wording/verification problem is not fixed on current main, but the remaining source-level work is already tracked by open issue #44471, with overlapping context in #44587; #44472 only documents patching hashed dist bundle artifacts.
What I checked:
src/agents/subagent-announce.ts:86, b1b29a8fc210)src/agents/subagent-announce.format.e2e.test.ts:392, b1b29a8fc210)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 b1b29a8fc210.