02-discovery-test.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. id: core-context-retriever-discovery
  2. name: "Context Retriever: Discovery Test - Map Context Structure"
  3. description: |
  4. Tests the context-retriever's ability to discover and map the context structure
  5. of a repository.
  6. Validates:
  7. - Discovers .opencode/context/ directory
  8. - Lists available categories (core, development, etc.)
  9. - Maps the context file structure
  10. - Identifies context organization patterns
  11. Critical Behavior:
  12. - MUST use list/glob tools to discover structure
  13. - MUST identify primary context location
  14. - MUST count total context files
  15. - MUST map categories/subdirectories
  16. category: developer
  17. prompts:
  18. - text: |
  19. Discover and map the context structure in this repository. Tell me:
  20. 1. Where is the primary context located?
  21. 2. What categories/directories exist?
  22. 3. How many context files are there?
  23. 4. What is the organization pattern?
  24. approvalStrategy:
  25. type: auto-approve
  26. behavior:
  27. mustUseTools:
  28. - list
  29. minToolCalls: 2
  30. maxToolCalls: 10
  31. expectedViolations:
  32. - rule: approval-gate
  33. shouldViolate: false
  34. severity: error
  35. timeout: 90000
  36. tags:
  37. - context-retriever
  38. - discovery
  39. - core-subagent
  40. - read-only