Repository navigation
fix(subagents): preserve follow-through after private completion - #149073
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 15, 2026, 9:20 AM ET / 13:20 UTC (Revision 2). ClawSweeper reviewWhat this changesUpdates private subagent completion guidance to preserve responsibility for unfinished work and send owed user updates through available, permitted messaging tools. Merge readiness✅ Ready for maintainer review The correction remains useful because current main retains the misleading private-completion guidance. No actionable correctness or security findings remain; the new model-run evidence addresses the previous review’s follow-through concern. Priority: P2 Review scores
Verification
How this fits togetherSubagent completion announcements return a worker’s result to the parent agent. Private completions start an internal parent turn, where the parent decides whether to continue work, send an authorized update, or remain silent. flowchart TD
A[Child finishes work] --> B[Private completion announcement]
B --> C[Parent reviews requested outcome]
C --> D[Continue unfinished work]
C --> E[Send owed update through permitted tool]
C --> F[Remain silent when nothing is owed]
D --> C
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep private transport semantics intact while applying the existing outcome-completion guidance to the parent’s internal review turn. Do we have a high-confidence way to reproduce the issue? Source inspection confirms the conflicting instruction on current main, but there is no deterministic reproduction of model abandonment. The supplied after-change model run supports the mitigation. Is this the best way to solve the issue? Yes. Reusing the existing outcome instruction repairs the misleading guidance at its producer while preserving intentional silence and existing delivery permissions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 83c1767446cb. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Merge upstream through ed264cc to include the already-landed runtime preparation auth fixture fix (openclaw#149049), preserving the contributor branch ancestry. Co-authored-by: VACInc <[email protected]>
|
After-change verification for
The mitigation preserves private delivery and existing permissions, while explicitly retaining responsibility for the original outcome and any owed permitted update. @clawsweeper re-review |
|
Merged via squash.
|
…nclaw#149073) Co-authored-by: VACInc <[email protected]>
What Problem This Solves
A parent can silently abandon an unfinished user request after receiving a private subagent completion, despite having promised to report back.
User Impact
The parent is reminded to finish the original request and explicitly send any owed update through a permitted messaging tool. Automatic channel delivery remains disabled; intentional silence remains available when nothing is owed. No configuration or permission changes.
Why This Change Was Made
Reuse the existing completion-outcome instruction in the private handoff and explain that its final reply does not reach the user. This fixes misleading prompt guidance, not lost-event delivery. The incident investigation found a received child result followed by immediate silence while work and an update remained owed.
Evidence
Reviewed head:
098408140763d211b0e91343477261611eb476b6. The one-line correction is unchanged from the original contributor commit; the branch also merges upstream through #149049 to fix six pre-existing CI fixture failures without replacing contributor ancestry.node scripts/check-changed.mjs -- src/agents/subagents/announce/subagent-announce.tspassed on the reviewed head (formatting, core/test typechecks, lint, dead-export scans, and owner guards).Proof was initially skipped when this PR was created; the subsequent completion request authorized the review and checks recorded above. No production Gateway was changed.
Original patch by @VACInc.