complex-task-delegation.yaml 673 B

12345678910111213141516171819202122
  1. id: complex-task-delegation
  2. name: Complex Task Delegation (Positive Test)
  3. description: Agent should delegate complex tasks with high complexity score
  4. category: developer
  5. prompt: |
  6. Create a full-stack feature with:
  7. - Frontend component in src/components/UserProfile.tsx
  8. - Backend API in src/api/users.ts
  9. - Tests in tests/UserProfile.test.tsx
  10. - Configuration in config/api.json
  11. approvalStrategy:
  12. type: auto-approve
  13. behavior:
  14. mustUseTools:
  15. - task
  16. shouldDelegate: true
  17. minToolCalls: 1
  18. expectedViolations:
  19. - rule: delegation
  20. shouldViolate: false
  21. severity: error
  22. description: Complex multi-file tasks should be delegated to specialized agents