completion-handoff.yaml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. id: completion-handoff
  2. name: Completion Handoff Recommendations
  3. description: |
  4. Tests that opencoder recommends handoff to other agents after completion.
  5. When implementation is complete, should recommend:
  6. - subagents/code/tester (for tests)
  7. - subagents/core/documentation (for docs)
  8. Agent should emit handoff recommendations.
  9. category: developer
  10. agent: opencoder
  11. model: anthropic/claude-sonnet-4-5
  12. prompts:
  13. - text: "Create a simple add function in math.js"
  14. expectContext: false
  15. - text: "approve"
  16. delayMs: 2000
  17. # Expected behavior
  18. behavior:
  19. mustUseTools: [write]
  20. minToolCalls: 1
  21. # Should mention handoff/next steps
  22. mustContainAnyOf:
  23. - ["tester", "test"]
  24. - ["documentation", "docs"]
  25. - ["next steps", "Next steps"]
  26. - ["handoff", "Handoff"]
  27. # Should follow approval workflow
  28. expectedViolations:
  29. - rule: approval-gate
  30. shouldViolate: false
  31. severity: error
  32. approvalStrategy:
  33. type: auto-approve
  34. timeout: 90000
  35. tags:
  36. - completion
  37. - handoff
  38. - workflow
  39. - coordination