Skip to content

fix(subagents): release interactive turns while children run - #33

Merged
tt-a1i merged 1 commit into
mainfrom
codex/release-interactive-subagent-wait
Aug 20, 2026
Merged

fix(subagents): release interactive turns while children run#33
tt-a1i merged 1 commit into
mainfrom
codex/release-interactive-subagent-wait

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • make interactive subagent delegation release the parent turn when no independent work remains
  • reserve subagent_wait for an explicit user-requested synchronous response or same-invocation non-interactive automation
  • remove dependent-next-step and idle-synthesis wording that encouraged unnecessary blocking
  • align the Subagents skill, README FAQ, and design documentation with the runtime's existing automatic result delivery

Implementation

The event-driven manager and automatic result dispatcher are unchanged. This PR updates every model-facing decision point: the spawn tool description, system-prompt guideline, spawn result, wait tool description, and restart result. Two regression tests lock the new policy so a dependent next step alone cannot become a reason to block an interactive session.

Validation

  • node --test --experimental-strip-types extensions/subagents/prompt.test.ts (7/7)
  • bun run check
  • bun run test (Node 719/719, Vitest 29/29)

Closes #32

@tt-a1i
tt-a1i merged commit 64ab2ac into main Aug 20, 2026
4 checks passed
@tt-a1i
tt-a1i deleted the codex/release-interactive-subagent-wait branch August 20, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

交互式主会话不应因 subagent_wait 持续阻塞

1 participant