task-manager-delegation.yaml 849 B

12345678910111213141516171819202122232425262728293031323334
  1. id: task-manager-delegation-with-context
  2. name: Task Manager Delegation With Context (Positive Test)
  3. description: OpenAgent delegates complex task planning to TaskManager with context
  4. category: developer
  5. agent: openagent
  6. prompt: |
  7. Plan a multi-module feature for audit logging. Use TaskManager to break it down.
  8. Context bundle is available at:
  9. .tmp/sessions/2026-01-11-audit-logging/context.md
  10. approvalStrategy:
  11. type: auto-approve
  12. behavior:
  13. mustUseTools:
  14. - task
  15. shouldDelegate: true
  16. expectedResponse:
  17. contains:
  18. - ".tmp/sessions/2026-01-11-audit-logging/context.md"
  19. - "TaskManager"
  20. minToolCalls: 1
  21. expectedViolations:
  22. - rule: delegation
  23. shouldViolate: false
  24. severity: error
  25. description: Complex task planning should be delegated to TaskManager
  26. tags:
  27. - delegation
  28. - task-manager
  29. - openagent