contextscout-delegation.yaml 910 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. id: openagent-contextscout-delegation
  2. name: "OpenAgent: ContextScout Delegation Test"
  3. description: |
  4. Tests OpenAgent's ability to delegate to ContextScout.
  5. This tests the delegation workflow, not ContextScout's logic.
  6. category: developer
  7. prompts:
  8. - text: |
  9. I need to find context files for eval framework testing patterns. Can you help?
  10. - text: |
  11. Approved. Please proceed with ContextScout.
  12. approvalStrategy:
  13. type: auto-approve
  14. behavior:
  15. mustUseTools:
  16. - task # OpenAgent MUST use task tool to delegate
  17. minToolCalls: 1
  18. maxToolCalls: 10
  19. # Verify OpenAgent delegates to ContextScout
  20. assertions:
  21. - type: tool_called
  22. tool: "task"
  23. with_args:
  24. subagent_type: "ContextScout"
  25. - type: output_contains
  26. value: ".opencode/context/openagents-repo/core-concepts/evals.md"
  27. timeout: 300000
  28. tags:
  29. - openagent
  30. - delegation
  31. - contextscout
  32. - integration-test