- Add 5 workflow tests (task, context loading, stop-on-failure, conversational) - Add 1 shared test (agent-agnostic approval gate) - Reorganize: opencode/ → agents/ for clearer structure - Rename: sdk-tests/ → tests/ for simplicity - Update test runner paths to new structure - Add comprehensive documentation (test plan, guides, migration) - Update all documentation with new paths Total: 13 tests (was 6, added 7) Coverage: +31% workflow compliance All tests passing: 11/11 (100%)
34 lines
726 B
YAML
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
|