07-content-creation-uses-contextscout.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. id: openagent-content-creation-contextscout
  2. name: "OpenAgent: Uses ContextScout for Content Creation"
  3. description: |
  4. Tests that OpenAgent delegates to ContextScout when asked about content creation,
  5. which is outside the typical code/docs/tests domains.
  6. This validates:
  7. - OpenAgent recognizes content-creation as unfamiliar domain
  8. - OpenAgent delegates to ContextScout for discovery
  9. - OpenAgent uses discovered content-creation context files
  10. - OpenAgent applies copywriting frameworks from context
  11. Expected Behavior:
  12. 1. OpenAgent receives content creation request
  13. 2. OpenAgent delegates to ContextScout (unfamiliar domain)
  14. 3. ContextScout returns: content-ideas.md, copywriting-frameworks.md
  15. 4. OpenAgent loads those files
  16. 5. OpenAgent applies frameworks from loaded context
  17. This test SHOULD FAIL if:
  18. - OpenAgent doesn't use ContextScout
  19. - OpenAgent tries to answer without loading context
  20. - OpenAgent doesn't apply discovered frameworks
  21. category: content
  22. agent: core/openagent
  23. prompts:
  24. - text: |
  25. Help me brainstorm 10 content ideas for a SaaS product that helps developers manage their APIs.
  26. Use proven ideation frameworks and make the ideas engaging.
  27. approvalStrategy:
  28. type: auto-approve
  29. behavior:
  30. mustUseTools:
  31. - task # Must delegate to ContextScout
  32. - read # Must read discovered context files
  33. minToolCalls: 2
  34. maxToolCalls: 20
  35. expectedViolations:
  36. - rule: approval-gate
  37. shouldViolate: false
  38. severity: error
  39. timeout: 90000
  40. tags:
  41. - openagent
  42. - contextscout-integration
  43. - content-creation
  44. - unfamiliar-domain
  45. - critical
  46. # Expected outcome:
  47. # - OpenAgent uses task tool to delegate to ContextScout
  48. # - Task prompt includes: "Search for context files related to: content ideation"
  49. # - OpenAgent receives ContextScout's findings
  50. # - OpenAgent uses read tool to load content-creation context
  51. # - OpenAgent applies SCAMPER or other frameworks from loaded context
  52. # - Response includes 10 ideas using discovered frameworks