03-search-standards.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. id: core-context-retriever-search-standards
  2. name: "Context Retriever: Search Test - Find Code Standards"
  3. description: |
  4. Tests the context-retriever's ability to search for and locate specific
  5. context files (code standards).
  6. Validates:
  7. - Classifies search intent correctly (standards search)
  8. - Searches for standards-related files
  9. - Locates .opencode/context/core/standards/code.md
  10. - Extracts key findings from the file
  11. - Provides exact file paths
  12. Critical Behavior:
  13. - MUST discover context structure first
  14. - MUST search for standards files
  15. - MUST read the code.md file
  16. - MUST extract key findings
  17. category: developer
  18. prompts:
  19. - text: |
  20. Find the code standards for this project. I need to know:
  21. 1. Where are the code standards documented?
  22. 2. What are the key coding principles?
  23. 3. What are the main conventions to follow?
  24. approvalStrategy:
  25. type: auto-approve
  26. behavior:
  27. mustUseTools:
  28. - list
  29. - read
  30. minToolCalls: 3
  31. maxToolCalls: 15
  32. expectedViolations:
  33. - rule: approval-gate
  34. shouldViolate: false
  35. severity: error
  36. timeout: 120000
  37. tags:
  38. - context-retriever
  39. - search
  40. - standards
  41. - core-subagent
  42. - read-only