03-delegation-simple-task.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. id: openrouter-rule-matching
  2. name: "OpenRouter Variant: Rule Matching Logic"
  3. description: |
  4. Tests OpenRouter variant's ability to match tasks against delegation rules.
  5. This is a conversational test (no execution) to validate:
  6. 1. Agent can analyze task complexity
  7. 2. Agent checks against all 5 delegation rules
  8. 3. Agent explains which rule matches (or doesn't match)
  9. OpenRouter-specific validation:
  10. - Agent should reference AUTOMATIC DELEGATION RULES section
  11. - Agent should check each rule systematically
  12. - Agent should explain the decision process
  13. category: developer
  14. agent: openagent
  15. model: anthropic/claude-sonnet-4-5
  16. prompt: |
  17. I need to create a single utility function in src/utils/format.ts that formats dates.
  18. Can you explain:
  19. 1. Would you delegate this task or execute it directly?
  20. 2. Which delegation rules did you check?
  21. 3. Why did you make this decision?
  22. behavior:
  23. requiresApproval: false # Conversational - no execution
  24. minToolCalls: 0 # No tools needed for explanation
  25. expectedViolations:
  26. - rule: approval-gate
  27. shouldViolate: false
  28. severity: error
  29. description: Should NOT ask for approval (conversational path)
  30. approvalStrategy:
  31. type: auto-approve
  32. timeout: 30000
  33. tags:
  34. - delegation
  35. - openrouter
  36. - conversational
  37. - rule-matching
  38. - decision-logic