fix(prompts): add missing run_in_background and load_skills params to examples
All delegate_task examples now include required parameters to prevent model confusion about parameter omission. Fixes #1403
This commit is contained in:
@@ -48,8 +48,8 @@ delegate_task(subagent_type="explore", load_skills=[], prompt="Find [X] patterns
|
||||
delegate_task(subagent_type="librarian", load_skills=[], prompt="Find docs/examples for [Y]", run_in_background=true)
|
||||
|
||||
// Hard problem? DON'T struggle alone:
|
||||
delegate_task(subagent_type="oracle", load_skills=[], prompt="...") // conventional: architecture, debugging
|
||||
delegate_task(category="artistry", load_skills=[], prompt="...") // non-conventional: needs different approach
|
||||
delegate_task(subagent_type="oracle", load_skills=[], run_in_background=false, prompt="...") // conventional: architecture, debugging
|
||||
delegate_task(category="artistry", load_skills=[], run_in_background=false, prompt="...") // non-conventional: needs different approach
|
||||
\`\`\`
|
||||
|
||||
**ONLY AFTER YOU HAVE:**
|
||||
@@ -251,7 +251,7 @@ delegate_task(subagent_type="plan", prompt="<collected context + request>") //
|
||||
|
||||
5. **EXECUTE VIA DELEGATION** (category + skills from plan agent's output):
|
||||
\`\`\`
|
||||
delegate_task(category="...", load_skills=[...], prompt="<task from plan>")
|
||||
delegate_task(category="...", load_skills=[...], run_in_background=false, prompt="<task from plan>")
|
||||
\`\`\`
|
||||
|
||||
6. **VERIFY** against original requirements
|
||||
|
||||
@@ -117,7 +117,7 @@ Each TODO item MUST include:
|
||||
|
||||
| Wave | Tasks | Dispatch Command |
|
||||
|------|-------|------------------|
|
||||
| 1 | 1, 4 | \`delegate_task(category="...", load_skills=[...], run_in_background=true)\` × 2 |
|
||||
| 1 | 1, 4 | \`delegate_task(category="...", load_skills=[...], run_in_background=false)\` × 2 |
|
||||
| 2 | 2, 3, 5 | \`delegate_task(...)\` × 3 after Wave 1 completes |
|
||||
| 3 | 6 | \`delegate_task(...)\` final integration |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user