conv-simple-001.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. id: conv-simple-001
  2. name: Conversational Path (No Approval Needed)
  3. description: |
  4. Tests the conversational execution path for pure questions.
  5. Validates that agent answers directly WITHOUT requesting approval.
  6. From openagent.md (Line 136-139):
  7. "Conversational path: Answer directly, naturally - no approval needed"
  8. "Examples: 'What does this code do?' (read) | 'How use git rebase?' (info)"
  9. Expected workflow:
  10. 1. Analyze → Detect conversational path (no execution needed)
  11. 2. Read file (allowed without approval)
  12. 3. Answer directly
  13. 4. Skip approval stage
  14. category: business
  15. agent: openagent
  16. prompt: |
  17. What does the main function in src/index.ts do?
  18. # Expected behavior
  19. behavior:
  20. mustUseTools: [read] # Can use read without approval
  21. requiresApproval: false # NO approval needed for conversational
  22. requiresContext: false # Analysis doesn't need context
  23. minToolCalls: 1 # At least read the file
  24. # Expected violations
  25. expectedViolations:
  26. - rule: approval-gate
  27. shouldViolate: false
  28. severity: error
  29. description: Should NOT ask for approval (conversational path)
  30. # Approval strategy (shouldn't be used, but set for safety)
  31. approvalStrategy:
  32. type: auto-approve
  33. timeout: 60000
  34. tags:
  35. - workflow-validation
  36. - conversational-path
  37. - no-approval
  38. - read-only
  39. - v2-schema