ctx-multi-standards-to-docs.yaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. id: ctx-multi-standards-to-docs
  2. name: "Context Loading: Multi-Turn Standards to Documentation"
  3. description: |
  4. Complex multi-turn test: Standards question → Documentation request → Format question
  5. Turn 1: Ask about coding standards
  6. - Expected: Load standards.md or processes.md
  7. - Validation: Read before response
  8. Turn 2: Request documentation creation about standards
  9. - Expected: Load docs.md (documentation format/template)
  10. - Validation: Read docs.md before planning/writing
  11. - Files created: evals/test_tmp/coding-standards-doc.md
  12. Turn 3: Ask about documentation structure
  13. - Expected: Reference both standards.md and docs.md
  14. - Validation: Should have both files in context
  15. Working directory: evals/test_tmp/
  16. category: developer
  17. agent: openagent
  18. model: anthropic/claude-sonnet-4-5
  19. # Multi-turn conversation
  20. prompts:
  21. - text: "What are our coding standards?"
  22. expectContext: true
  23. contextFile: "standards.md"
  24. - text: "approve"
  25. delayMs: 2000
  26. - text: "Can you create documentation about these standards in evals/test_tmp/coding-standards-doc.md?"
  27. expectContext: true
  28. contextFile: "docs.md"
  29. - text: "approve"
  30. delayMs: 2000
  31. - text: "What will the documentation structure look like?"
  32. delayMs: 1000
  33. # Expected behavior
  34. behavior:
  35. mustUseTools: [read, write] # Must read context files and write documentation
  36. requiresApproval: true # OpenAgent requires approval before writing
  37. requiresContext: true # Must load context files
  38. minToolCalls: 3 # At least: read standards + read docs + write file
  39. # Expected violations
  40. expectedViolations:
  41. - rule: approval-gate
  42. shouldViolate: false
  43. severity: error
  44. description: Must ask approval before writing files
  45. - rule: context-loading
  46. shouldViolate: false
  47. severity: error
  48. description: Must load standards.md and docs.md before writing
  49. # Approval strategy
  50. approvalStrategy:
  51. type: auto-approve
  52. timeout: 300000 # 5 minutes for multi-turn (with smart timeout: 5min activity, 10min absolute max)
  53. tags:
  54. - context-loading
  55. - multi-turn
  56. - complex-test
  57. - documentation
  58. - standards