OpenWriterControle/evals/opencode/openagent/sdk-tests/edge-case/just-do-it.yaml
darrenhinde 478c8e3e85 feat: implement SDK-based evaluation framework with real agent testing
- Replace planned framework with working SDK implementation using @opencode-ai/sdk
- Add 6 YAML test cases across developer/business/edge-case categories (100% passing)
- Implement 4 evaluators for openagent.md rule compliance (approval-gate, context-loading, delegation, tool-usage)
- Add real-time event streaming and session recording
- Configure opencode/grok-code-fast as default model (zero API costs)
- Add comprehensive documentation (SDK_EVAL_README.md, test-design-guide.md, TEST_SCENARIOS.md)
- Support v2 schema with behavior-based expectations instead of message counts
- Enable model-agnostic test design that works across Claude, GPT-4, and Grok
- Add subagent invocation syntax documentation to openagent.md
2025-11-22 14:30:11 +00:00

34 lines
726 B
YAML

# Test: "Just Do It" Override
# Tests that OpenAgent respects user's explicit "just do it" instruction
id: edge-just-do-it-001
name: Just Do It Override
description: |
Tests that when user explicitly says "just do it", the agent
proceeds without asking for additional confirmations.
category: edge-case
prompt: |
Create a file at /tmp/test.txt with content "Hello".
Just do it, don't ask for confirmation.
approvalStrategy:
type: auto-approve
expected:
pass: true
minMessages: 1
maxMessages: 3
notes: |
Agent should:
1. Recognize "just do it" instruction
2. Proceed with minimal interaction
3. Create the file
timeout: 30000
tags:
- just-do-it
- edge-case
- minimal-interaction