Priority: LOW (Complex scenarios)
Timeout: 120-300s
Must Pass: NICE TO HAVE (validates real-world usage)
Complex multi-turn scenarios that test multiple features working together:
Simple multi-turn conversations with minimal complexity.
Characteristics:
Timeout: 120s
Example:
prompts:
- text: "What are our coding standards?"
- text: "Create a function following those standards"
Medium complexity with multiple contexts and workflows.
Characteristics:
Timeout: 180s
Example:
prompts:
- text: "What are our coding standards?"
- text: "What are our documentation standards?"
- text: "Create a function with documentation"
- text: "approve"
Complex scenarios with full workflow validation.
Characteristics:
Timeout: 300s (5 minutes)
Example:
prompts:
- text: "Create authentication system (5 files)"
- text: "approve delegation"
- text: "Run tests"
- text: "approve test run"
# Test fails
- text: "Fix the errors"
- text: "approve fix"
- text: "Run tests again"
- text: "approve"
All file operations use safe paths:
# ✅ CORRECT
evals/test_tmp/
.tmp/sessions/{session-id}/
.tmp/context/{session-id}/
# ❌ WRONG
/tmp/
~/
# Run all integration tests (SLOW - 15-30 min)
npm run eval:sdk -- --agent=openagent --pattern="06-integration/**/*.yaml"
# Run by complexity
npm run eval:sdk -- --agent=openagent --pattern="06-integration/simple/*.yaml"
npm run eval:sdk -- --agent=openagent --pattern="06-integration/medium/*.yaml"
npm run eval:sdk -- --agent=openagent --pattern="06-integration/complex/*.yaml"
These tests validate real-world usage patterns:
Failures here indicate issues with complex workflows, not basic functionality.
For complex tests that fail:
Run with --debug flag:
npm run eval:sdk -- --agent=openagent --pattern="06-integration/complex/01-*.yaml" --debug
Check session files (preserved in debug mode):
ls ~/.local/share/opencode/storage/session/
Review event timeline:
Simplify the test: