You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Delegate envelope: the required prompt is omitted on the first hand-off call, costing a wasted step #6314
priority: p2Soon. Real but survivable — a rough edge, a gap, a thing that will bite later.source: teamIssue opened by a repository membertriage: needs-opinionValid issue awaiting a maintainer product or priority decision
On a live account run (core built from #6304 at 2abd462ec), the orchestrator called setup_skills and setup_mcp_serveronce each with no prompt argument, and both came back as schema validation errors. It then retried with the argument. Two wasted steps on an otherwise successful hand-off.
Why it is worth a considered fix
prompt is the required field of the shared envelope ArchetypeDelegationTool::parameters_schema emits, so this is not specific to those two tools — it is shared by all 19 delegates. Whatever is done here lands on every hand-off in the product.
orchestrator/agent.toml already records that the envelope's shared argument documentation was deliberately charged once in prompt.md rather than repeated per delegate, to save ~6.8k tokens per turn. Any fix that re-describes the field on every delegate schema gives that back, so the trade-off needs to be made deliberately.
Options, none obviously right
Default prompt from the user's turn text when omitted — removes the error, but silently invents an argument the model did not supply.
Name the field in each delegate's description — costs tokens per turn, the thing the current design avoids.
Leave the schema and improve the recovery so the retry is not a wasted round trip.
Acceptance
Filed for a decision, not a patch. This is a routing-quality change: it deserves an eval comparing hand-off success rates rather than a drive-by, which is why it is last in priority despite being the easiest to "fix".
The shared delegation envelope requires prompt, but the orchestrator occasionally calls a delegate without it on the first hand-off, producing a schema-validation error and a wasted round trip before retrying (observed on setup_skills and setup_mcp_server, affecting all 19 delegates). It is recoverable via retry, so it is broken-but-workaroundable rather than a core outage; the reporter explicitly frames it as a routing-quality decision needing an eval (default the field, per-delegate description at token cost, or better recovery) rather than an immediate patch. No candidate in the list describes the same omitted-required-argument problem — the closest ones (#6312, #6311, #6315) concern different tool/schema defects in the same delegate/tooling area, so no duplicate is asserted.
Triage: needs opinion — “Delegate envelope: the required prompt is omitted on the first hand-off call, costing a wasted step” needs a maintainer decision on product scope/priority or fresh reproduction evidence before its status can be settled. Please advise whether to pursue, narrow, or close it.
Thanks for the detailed write-up. This one is resolved on current main by #8319. The 19 per-archetype delegate tools were replaced by a single spawn_subagent tool, and its own schema now documents prompt as required, next to agent_id (also in the orchestrator's prompt and agent config). So the arg is no longer described only in prompt.md.
We haven't re-measured how often a model skips prompt on the first call; that needs a live eval. If it still shows up on the new tool, please open a fresh issue with a trace and we'll pick it up there. Closing as fixed by #8319.
priority: p2Soon. Real but survivable — a rough edge, a gap, a thing that will bite later.source: teamIssue opened by a repository membertriage: needs-opinionValid issue awaiting a maintainer product or priority decision
Activity
tinysweeper commentedon Sep 15, 2026
The shared delegation envelope requires
prompt, but the orchestrator occasionally calls a delegate without it on the first hand-off, producing a schema-validation error and a wasted round trip before retrying (observed on setup_skills and setup_mcp_server, affecting all 19 delegates). It is recoverable via retry, so it is broken-but-workaroundable rather than a core outage; the reporter explicitly frames it as a routing-quality decision needing an eval (default the field, per-delegate description at token cost, or better recovery) rather than an immediate patch. No candidate in the list describes the same omitted-required-argument problem — the closest ones (#6312, #6311, #6315) concern different tool/schema defects in the same delegate/tooling area, so no duplicate is asserted.Labelled
priority: p2.senamakel commentedon Oct 9, 2026
Triage: needs opinion — “Delegate envelope: the required
promptis omitted on the first hand-off call, costing a wasted step” needs a maintainer decision on product scope/priority or fresh reproduction evidence before its status can be settled. Please advise whether to pursue, narrow, or close it.M3gA-Mind commentedon Nov 16, 2026
Thanks for the detailed write-up. This one is resolved on current main by #8319. The 19 per-archetype delegate tools were replaced by a single
spawn_subagenttool, and its own schema now documentspromptas required, next toagent_id(also in the orchestrator's prompt and agent config). So the arg is no longer described only inprompt.md.We haven't re-measured how often a model skips
prompton the first call; that needs a live eval. If it still shows up on the new tool, please open a fresh issue with a trace and we'll pick it up there. Closing as fixed by #8319.