09-ambiguous-query-handling.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. id: core-contextscout-ambiguous-query
  2. name: "ContextScout: Negative Test - Ambiguous Query Handling"
  3. description: |
  4. Tests that ContextScout handles vague/ambiguous queries appropriately.
  5. This is a NEGATIVE test that verifies the agent:
  6. - Recognizes when a query is too vague
  7. - Asks for clarification or provides guidance
  8. - Doesn't return random/irrelevant files
  9. - Suggests specific search terms
  10. Expected Behavior:
  11. - SHOULD recognize query is vague
  12. - SHOULD ask for clarification OR make reasonable assumptions
  13. - MUST NOT return completely irrelevant files
  14. - SHOULD suggest more specific queries
  15. This test SHOULD FAIL if:
  16. - Agent returns random unrelated files
  17. - Agent doesn't acknowledge ambiguity
  18. - Agent provides unhelpful results
  19. category: developer
  20. prompts:
  21. - text: |
  22. Find stuff.
  23. approvalStrategy:
  24. type: auto-approve
  25. behavior:
  26. minToolCalls: 1
  27. maxToolCalls: 10
  28. expectedViolations:
  29. - rule: approval-gate
  30. shouldViolate: false
  31. severity: error
  32. timeout: 60000
  33. tags:
  34. - contextscout
  35. - negative-test
  36. - ambiguous-input
  37. - user-guidance
  38. # Expected outcome: Agent should either:
  39. # 1. Ask for clarification ("What kind of stuff?")
  40. # 2. Provide general overview of available context
  41. # 3. Suggest specific search terms
  42. #
  43. # Agent should NOT just return random files