Tests in this directory are agent-agnostic and can be used to test any agent that follows the same core rules.
Shared tests validate universal behaviors that all agents should follow:
npm run eval:sdk -- --pattern="shared/**/*.yaml" --agent=openagent
npm run eval:sdk -- --pattern="shared/**/*.yaml" --agent=opencoder
# In the YAML file
agent: openagent # Change to opencoder, or any other agent
common/ - Universal RulesTests that apply to all agents:
approval-gate-basic.yaml - Basic approval enforcementtool-usage-basic.yaml - Basic tool selection (future)error-handling-basic.yaml - Basic error handling (future)shared/tests/common/shared-test and agent-agnosticid: shared-example-001
name: Example Shared Test
category: edge-case
agent: openagent # Default, can be overridden
prompt: "Generic prompt that works for any agent"
behavior:
requiresApproval: true # Universal rule
expectedViolations:
- rule: approval-gate
shouldViolate: false
tags:
- shared-test
- agent-agnostic