smoke-test.yaml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. name: "Smoke Test - Basic Functionality"
  2. description: "Verify repo-manager can handle basic requests and load context"
  3. test_cases:
  4. - id: "smoke-001"
  5. name: "Context Loading - Quick Start"
  6. prompt: "What are the common commands for this repository?"
  7. expected_behavior:
  8. - "Loads .opencode/context/openagents-repo/quick-start.md"
  9. - "Provides command reference"
  10. - "No execution required (informational)"
  11. evaluators:
  12. - type: "context_loading"
  13. config:
  14. required_files:
  15. - ".opencode/context/openagents-repo/quick-start.md"
  16. - type: "response_quality"
  17. config:
  18. min_length: 100
  19. should_contain:
  20. - "command"
  21. - "script"
  22. - id: "smoke-002"
  23. name: "Approval Gate - Simple Task"
  24. prompt: "Create a simple test file at test.txt with 'hello world'"
  25. expected_behavior:
  26. - "Presents plan before execution"
  27. - "Requests approval"
  28. - "Does not execute without approval"
  29. evaluators:
  30. - type: "approval_gate"
  31. config:
  32. should_request_approval: true
  33. approval_keywords:
  34. - "approval"
  35. - "proceed"
  36. - "confirm"
  37. - id: "smoke-003"
  38. name: "Context Awareness - Agent Task"
  39. prompt: "I want to understand how agents work in this repository"
  40. expected_behavior:
  41. - "Loads openagents-repo/core-concepts/agents.md"
  42. - "Provides clear explanation"
  43. - "References repo structure"
  44. evaluators:
  45. - type: "context_loading"
  46. config:
  47. required_files:
  48. - ".opencode/context/openagents-repo/core-concepts/agents.md"
  49. - type: "response_quality"
  50. config:
  51. should_contain:
  52. - "agent"
  53. - "category"
  54. - "frontmatter"