Skip to content

Agent tool: automatic async escalation when run_in_background is unset is undocumented #166

@screenleon

Description

@screenleon

When calling the Agent tool without run_in_background: true, the harness can silently launch the agent as an async background task and return 'Async agent launched successfully' instead of blocking. Expected: defaults to false = blocks. Observed: codex-executor without the flag still ran async (~3m45s), confirmed via background notification. Docs say 'Claude decides' but give no criteria. Impact: callers cannot predict execution mode reliably. Suggested: document which subagent types always run async, or guarantee the default blocks. Priority: low — docs clarity only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions