complex-task-delegation.yaml 690 B

1234567891011121314151617181920212223
  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. agent: openagent
  6. prompt: |
  7. Create a full-stack feature with:
  8. - Frontend component in src/components/UserProfile.tsx
  9. - Backend API in src/api/users.ts
  10. - Tests in tests/UserProfile.test.tsx
  11. - Configuration in config/api.json
  12. approvalStrategy:
  13. type: auto-approve
  14. behavior:
  15. mustUseTools:
  16. - task
  17. shouldDelegate: true
  18. minToolCalls: 1
  19. expectedViolations:
  20. - rule: delegation
  21. shouldViolate: false
  22. severity: error
  23. description: Complex multi-file tasks should be delegated to specialized agents