01-code-task-claude.yaml 984 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. id: ctx-code-001-claude
  2. name: Code Task with Context Loading (Claude)
  3. description: |
  4. Same as ctx-code-001 but using Claude Sonnet to test if model is the issue
  5. category: developer
  6. agent: openagent
  7. model: anthropic/claude-sonnet-4-5
  8. prompt: |
  9. Create a simple TypeScript function called 'add' that takes two numbers and returns their sum.
  10. Save it to evals/test_tmp/math.ts
  11. # Expected behavior
  12. behavior:
  13. mustUseTools: [read, write]
  14. requiresApproval: true
  15. requiresContext: true
  16. minToolCalls: 2
  17. # Expected violations
  18. expectedViolations:
  19. - rule: approval-gate
  20. shouldViolate: false
  21. severity: error
  22. - rule: context-loading
  23. shouldViolate: false
  24. severity: error
  25. - rule: execution-balance
  26. shouldViolate: false
  27. severity: warning
  28. description: Should read context before writing code
  29. # Approval strategy
  30. approvalStrategy:
  31. type: auto-approve
  32. timeout: 60000
  33. tags:
  34. - workflow-validation
  35. - context-loading
  36. - code-task
  37. - model-test