Merge pull request #2138 from deepseek-harness/feat/parallel-subagent-calls

feat(subagent): sibling delegations are concurrency-safe
This commit is contained in:
hypatiamay
2026-08-11 13:24:43 +08:00
committed by GitHub
25 changed files with 325 additions and 25 deletions
+6
View File
@@ -372,6 +372,12 @@ const SCENARIOS: Scenario[] = [
// parent's tool result must retain that assistant output and stop reason.
{ name: 'subagent-max-tokens-partial', hasModelTurn: true, recorded: false },
{ name: 'subagent-multi', hasModelTurn: true, recorded: true },
// Authored keyless replay: one assistant message carries two subagent calls
// and the parent log pins call/call/result/result instead of the serial
// interleaving. The twin delegations must stay identical: replay binds child
// scripts and harvest order nondeterministically across concurrent children
// (XXX(concurrent-subagents) in dsh-llm-replay).
{ name: 'subagent-parallel', hasModelTurn: true, recorded: false },
{ name: 'subagent-fork', hasModelTurn: true, recorded: true },
{ name: 'subagent-mixed', hasModelTurn: true, recorded: true },
// Authored continuable-subagent transcript: a background delegation returns