Skip to content

fix(agents): child tasks lose findings and actionable failure causes - #129074

Merged
steipete merged 1 commit into
mainfrom
codex/subagent-completion-findings-20260824
Aug 25, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/subagent-completion-findings-20260824

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where parent agents could receive (no output) after a failed or timed-out child had already captured useful findings. Batched child-completion summaries also omitted the actionable cause of failures initially reported as pending-error timeouts.

Why This Change Was Made

Select non-empty captured output in the canonical child-completion result owner, and preserve authoritative timeout failure causes in the existing parent-facing outcome formatter. Explicit terminal-reply decisions and successful-run silent-reply handling retain their existing precedence.

User Impact

Parent agents now receive the findings and actionable failure details needed to continue their work, while ordinary timeouts and intentionally silent child completions retain their existing behavior.

Evidence

  • Before the fix, six owner-boundary cases failed for blank and whitespace primary results across failed, timed-out, and unknown child outcomes; four parent-facing completion cases also failed.
  • Focused child-completion, parent-findings, admission, and registry sibling suites pass all 94 tests.
  • Focused formatting, lint, and existing sibling-contract checks pass. Production code decreases by two lines; no persistence, protocol, configuration, provider, or public-contract behavior is changed.

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: S maintainer Maintainer-authored PR labels Aug 25, 2026
@steipete
steipete marked this pull request as ready for review August 25, 2026 06:59
@steipete
steipete merged commit 79c2d77 into main Aug 25, 2026
298 checks passed
@steipete
steipete deleted the codex/subagent-completion-findings-20260824 branch August 25, 2026 07:14
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant