read-only.yaml 560 B

123456789101112131415161718192021222324252627282930313233
  1. # Template: Read-Only Test
  2. # Use this for tests that only read files (no writes, no bash)
  3. # Safe, fast, no approval needed
  4. id: my-read-test
  5. name: "My Read Test"
  6. description: |
  7. Describe what this test validates.
  8. category: developer
  9. prompts:
  10. - text: |
  11. Read the file path/to/file.md and summarize it.
  12. approvalStrategy:
  13. type: auto-approve
  14. behavior:
  15. mustUseTools:
  16. - read
  17. minToolCalls: 1
  18. maxToolCalls: 5
  19. expectedViolations:
  20. - rule: approval-gate
  21. shouldViolate: false
  22. severity: error
  23. timeout: 60000
  24. tags:
  25. - read-only
  26. - safe