02-delegation-complex-task.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. id: openrouter-delegation-awareness
  2. name: "OpenRouter Variant: Delegation Awareness"
  3. description: |
  4. Tests OpenRouter variant's awareness of delegation rules and subagents.
  5. This is a conversational test (no execution) to validate:
  6. 1. Agent knows about the 6 available subagents
  7. 2. Agent understands the 5 automatic delegation rules
  8. 3. Agent can explain when to delegate vs execute directly
  9. OpenRouter-specific validation:
  10. - Agent should reference the Quick Reference table
  11. - Agent should mention specific delegation rules
  12. - Agent should explain the delegation-first approach
  13. category: developer
  14. agent: openagent
  15. model: anthropic/claude-sonnet-4-5
  16. prompt: |
  17. I'm planning to build a full-stack authentication system with frontend components,
  18. backend APIs, database models, tests, and configuration files (5+ files total).
  19. Can you explain:
  20. 1. Which subagent would you use for this task?
  21. 2. Which delegation rule would trigger?
  22. 3. Why would you delegate instead of executing directly?
  23. behavior:
  24. requiresApproval: false # Conversational - no execution
  25. minToolCalls: 0 # No tools needed for explanation
  26. expectedViolations:
  27. - rule: approval-gate
  28. shouldViolate: false
  29. severity: error
  30. description: Should NOT ask for approval (conversational path)
  31. approvalStrategy:
  32. type: auto-approve
  33. timeout: 30000
  34. tags:
  35. - delegation
  36. - openrouter
  37. - conversational
  38. - subagent-awareness
  39. - rule-explanation