triggering-dispatching-parallel-agents.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. scenario: triggering-dispatching-parallel-agents
  2. description: >
  3. Lifted from superpowers/tests/skill-triggering/prompts/dispatching-parallel-agents.txt.
  4. A naive user reports four independent test failures in different parts of
  5. the codebase and asks the agent to investigate all of them. The shape
  6. ("N independent things, investigate all") should trigger
  7. superpowers:dispatching-parallel-agents.
  8. user_posture: naive
  9. setup:
  10. helpers:
  11. - create_base_repo
  12. assertions:
  13. - "git rev-parse --is-inside-work-tree"
  14. - "git branch --show-current | grep -q main"
  15. turns:
  16. - intent: >
  17. Ask the agent to investigate four independent test failures. Use this
  18. exact phrasing:
  19. "I have 4 independent test failures happening in different modules:
  20. 1. tests/auth/login.test.ts - 'should redirect after login' is failing
  21. 2. tests/api/users.test.ts - 'should return user list' returns 500
  22. 3. tests/components/Button.test.tsx - snapshot mismatch
  23. 4. tests/utils/date.test.ts - timezone handling broken
  24. These are unrelated issues in different parts of the codebase. Can you
  25. investigate all of them?"
  26. Do NOT mention parallel agents, subagents, dispatch, or any superpowers
  27. concept.
  28. - intent: >
  29. Once the agent has loaded a skill or otherwise indicated how it plans
  30. to handle the four independent investigations, you are done — use the
  31. "done" action.
  32. limits:
  33. max_turns: 4
  34. turn_timeout: 180
  35. verify:
  36. assertions:
  37. - "skill-called superpowers:dispatching-parallel-agents"
  38. criteria:
  39. - >
  40. Agent loaded the superpowers:dispatching-parallel-agents skill in
  41. response to the four-independent-investigations request. Loading the
  42. skill after the agent has already started investigating one issue
  43. sequentially is a fail — the skill should shape the strategy.
  44. observe: true