mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
A continuable child could finish without giving its parent a usable result: the report tool was described as optional and its default delivery stayed quiet. Install the child-scoped report obligation (tool description plus the tool:report prompt section), default reportDelivery to wakeup, bind shipped subagent_fork delegations to one-shot so fork keeps its prefix reuse, and extend the ACP snapshot harness to pin child system prompts alongside child tool schemas.
31 lines
895 B
JSON
31 lines
895 B
JSON
{
|
|
"steps": [
|
|
{
|
|
"op": "initialize"
|
|
},
|
|
{
|
|
"op": "newSession"
|
|
},
|
|
{
|
|
"op": "promptAndWaitForAgentMessage",
|
|
"text": "Follow these steps exactly, then stop. 1. Call the subagent tool once with run_in_background set to true, description 'Report a finding', and prompt 'Call the report tool once with output exactly CHILD_REPORT_OK, then stop.'. 2. Reply with the single word STARTED. Do not use the bash tool.",
|
|
"waitForText": "STARTED"
|
|
},
|
|
{
|
|
"op": "waitForSubagentTurnEnd"
|
|
},
|
|
{
|
|
"op": "waitForTurnStart",
|
|
"minimumTurn": 2
|
|
},
|
|
{
|
|
"op": "waitForTurnEnd"
|
|
},
|
|
{
|
|
"op": "promptAndWaitForAgentMessage",
|
|
"text": "Repeat back, verbatim, the exact output the background subagent reported to you. Reply with only that text. Do not use any tools.",
|
|
"waitForText": "CHILD_REPORT_OK"
|
|
}
|
|
]
|
|
}
|