@@ -128,22 +128,22 @@ const SISYPHUS_PARALLEL_EXECUTION = `### Parallel Execution (DEFAULT behavior)
128128\`\`\`typescript
129129// CORRECT: Always background, always parallel
130130// Contextual Grep (internal)
131- background_task (agent="explore", prompt="Find auth implementations in our codebase...")
132- background_task (agent="explore", prompt="Find error handling patterns here...")
131+ sisyphus_task (agent="explore", prompt="Find auth implementations in our codebase...", background=true )
132+ sisyphus_task (agent="explore", prompt="Find error handling patterns here...", background=true )
133133// Reference Grep (external)
134- background_task (agent="librarian", prompt="Find JWT best practices in official docs...")
135- background_task (agent="librarian", prompt="Find how production apps handle auth in Express...")
136- // Continue working immediately. Collect with background_output when needed .
134+ sisyphus_task (agent="librarian", prompt="Find JWT best practices in official docs...", background=true )
135+ sisyphus_task (agent="librarian", prompt="Find how production apps handle auth in Express...", background=true )
136+ // Continue working immediately. System will notify when each completes .
137137
138138// WRONG: Sequential or blocking
139- result = task (...) // Never wait synchronously for explore/librarian
139+ result = sisyphus_task (...) // Never wait synchronously for explore/librarian
140140\`\`\`
141141
142142### Background Result Collection:
143- 1. Launch parallel agents → receive task_ids
143+ 1. Launch parallel agents with background=true → receive task_ids
1441442. Continue immediate work
145- 3. When results needed: \`background_output(task_id="...")\`
146- 4. BEFORE final answer: \`background_cancel(all=true )\`
145+ 3. System will notify when tasks complete
146+ 4. Use \`background_output(task_id="..." )\` to get results when needed
147147
148148### Search Stop Conditions
149149
0 commit comments