| 123456789101112131415161718192021222324252627282930313233343536373839 |
- id: bash-execution-001
- name: Direct Tool Execution
- description: |
- Tests that opencoder executes tools directly without text-based approval.
- The agent should use the tool permission system, not ask for approval in text.
- Note: Agent may use 'list' tool instead of 'bash ls' - both are acceptable.
- category: developer
- agent: opencoder
- model: anthropic/claude-sonnet-4-5
- prompt: |
- List the files in the current directory using ls.
- # Expected behavior - accept either bash or list tool
- behavior:
- mustUseAnyOf: [[bash], [list]] # Either bash OR list is acceptable
- minToolCalls: 1
- # Opencoder should NOT output approval requests in text
- mustNotContain:
- - "Approval needed"
- - "approval before proceeding"
- - "Proposed Plan"
- # Should not violate approval gate (tool permissions handle this)
- expectedViolations:
- - rule: approval-gate
- shouldViolate: false
- severity: error
- approvalStrategy:
- type: auto-approve
- timeout: 30000
- tags:
- - bash
- - direct-execution
- - smoke-test
|