Skip to content

[Patch] Runtime bundle fixes for premature success bug (compact, pi-embedded, reply) #44472

Closed as not planned

Description

@Mdx2025

Summary

This issue documents specific runtime patches applied to address the "premature success" bug in subagent workflows (see related issue).

Patched Files

The following files in dist/ directory were modified:

1. compact-1mmJ_KWL.js

Change: Modified internal completion event wording

  • Before: Event indicated "ready for user delivery"
  • 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:

  1. ✅ Tool result shows actual external modification (GitHub API call, deployment trigger)
  2. ❌ Subagent returned only text/analysis without external scope
  3. ❌ Subagent completed but didn't have permission/scope for external changes

Related

  • Pattern: subagent completed successfully != objective externally verified
  • Applies to: GitHub operations, deployments, any external resource modification

Activity

  1. clawsweeper commented on Apr 26, 2026

    @clawsweeper
    Contributor

    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:

    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.

  2. locked as resolved and limited conversation to collaborators on Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions