alternative-tools-validation.yaml 545 B

123456789101112131415161718192021
  1. id: alternative-tools-validation
  2. name: Alternative Tools Validation (Positive Test)
  3. description: Agent should use at least one of the alternative tool sets
  4. category: developer
  5. prompt: |
  6. Find all TypeScript files in the src directory
  7. approvalStrategy:
  8. type: auto-approve
  9. behavior:
  10. # Agent can use either (glob) OR (bash + grep) OR (list + grep)
  11. mustUseAnyOf:
  12. - [glob]
  13. - [bash, grep]
  14. - [list, grep]
  15. mustNotUseTools:
  16. - write
  17. - edit
  18. expectedViolations:
  19. - rule: tool-usage
  20. shouldViolate: false
  21. severity: error