context-loading-test.yaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. name: "Context Loading Test"
  2. description: "Verify repo-manager loads appropriate context for different task types"
  3. test_cases:
  4. - id: "context-001"
  5. name: "Agent Creation - Context Loading"
  6. prompt: "I want to create a new agent. What context should I load?"
  7. expected_behavior:
  8. - "Loads quick-start.md"
  9. - "Loads core-concepts/agents.md"
  10. - "Mentions guides/adding-agent.md"
  11. - "Lists required context files"
  12. evaluators:
  13. - type: "context_loading"
  14. config:
  15. required_files:
  16. - ".opencode/context/openagents-repo/quick-start.md"
  17. - ".opencode/context/openagents-repo/core-concepts/agents.md"
  18. - type: "response_quality"
  19. config:
  20. should_contain:
  21. - "context"
  22. - "standards"
  23. - "guides/adding-agent"
  24. - id: "context-002"
  25. name: "Eval Testing - Context Loading"
  26. prompt: "How do I test an agent in this repository?"
  27. expected_behavior:
  28. - "Loads quick-start.md"
  29. - "Loads core-concepts/evals.md"
  30. - "Mentions guides/testing-agent.md"
  31. - "Provides testing workflow"
  32. evaluators:
  33. - type: "context_loading"
  34. config:
  35. required_files:
  36. - ".opencode/context/openagents-repo/quick-start.md"
  37. - ".opencode/context/openagents-repo/core-concepts/evals.md"
  38. - type: "response_quality"
  39. config:
  40. should_contain:
  41. - "eval"
  42. - "test"
  43. - "npm run"
  44. - id: "context-003"
  45. name: "Registry Management - Context Loading"
  46. prompt: "How do I update the registry?"
  47. expected_behavior:
  48. - "Loads quick-start.md"
  49. - "Loads core-concepts/registry.md"
  50. - "Mentions guides/updating-registry.md"
  51. - "Provides registry workflow"
  52. evaluators:
  53. - type: "context_loading"
  54. config:
  55. required_files:
  56. - ".opencode/context/openagents-repo/quick-start.md"
  57. - ".opencode/context/openagents-repo/core-concepts/registry.md"
  58. - type: "response_quality"
  59. config:
  60. should_contain:
  61. - "registry"
  62. - "validate"
  63. - "auto-detect"