From 1a2858d414a8581a12a42ae16c49a36df7b3df2b Mon Sep 17 00:00:00 2001 From: can1357 Date: Sat, 18 Jul 2026 20:04:27 +0200 Subject: [PATCH] fix(coding-agent): remove unconditional delivery promise from spawn receipts Fold the settled-snapshot caveat into the spawn lead-in per #5869 item 6 and the blocking review on #5871. --- packages/coding-agent/src/task/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/coding-agent/src/task/index.ts b/packages/coding-agent/src/task/index.ts index 0e28ad345..e927caeef 100644 --- a/packages/coding-agent/src/task/index.ts +++ b/packages/coding-agent/src/task/index.ts @@ -918,7 +918,7 @@ export class TaskTool implements AgentTool 0 - ? `Spawned ${started.length} background agent${started.length === 1 ? "" : "s"}.${scheduleFailureSummary} Each result will be delivered when that agent yields.\n${started.map(({ agentId, jobId }) => `- \`${agentId}\` (job \`${jobId}\`)`).join("\n")}\n${coordinationHint}` + ? `Spawned ${started.length} background agent${started.length === 1 ? "" : "s"}.${scheduleFailureSummary} Each result auto-delivers on yield unless a settled \`hub jobs\`/\`wait\` snapshot consumes it first.\n${started.map(({ agentId, jobId }) => `- \`${agentId}\` (job \`${jobId}\`)`).join("\n")}\n${coordinationHint}` : scheduleFailureSummary.trim(); const text = [merged.contentParts.join("\n\n"), spawnedSummary] .filter(section => section.trim().length > 0)