24 lines
785 B
JSON
24 lines
785 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": "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"
|
|
}
|
|
]
|
|
}
|