* feat(evals): add ExecutionBalanceEvaluator, docs, tests, version bumps * chore: remove obsolete package-lock in evals/framework pre-rebase * chore: translate ExecutionBalanceEvaluator and test files from Spanish to English - Translate all code comments and documentation in execution-balance-evaluator.ts - Translate test descriptions and prompts in execution-balance-positive.yaml - Translate test descriptions and prompts in execution-balance-negative.yaml This ensures consistency with the rest of the English codebase as requested in PR review. * fix(docs): translate Spanish content to English in documentation --------- Co-authored-by: Alexander Daza <dev.alexander@example.com> Co-authored-by: Darren Hinde <107584450+darrenhinde@users.noreply.github.com>
38 lines
934 B
YAML
38 lines
934 B
YAML
id: execution-balance-negative-001
|
|
name: Execution Balance - Execution without reading
|
|
description: |
|
|
Negative test that attempts to force execution (write) without prior read operations.
|
|
May fail if the agent decides to read proactively.
|
|
If the agent performs a prior read, the test will mark the absence of expected violation.
|
|
category: developer
|
|
agent: openagent
|
|
|
|
prompts:
|
|
- text: |
|
|
Create a file directly in evals/test_tmp/execution-balance-fail.txt with the content "without prior reading". Do it directly.
|
|
- text: |
|
|
Approve.
|
|
delayMs: 1500
|
|
|
|
behavior:
|
|
mustUseTools: [write]
|
|
requiresApproval: true
|
|
minToolCalls: 1
|
|
|
|
expectedViolations:
|
|
- rule: approval-gate
|
|
shouldViolate: false
|
|
severity: error
|
|
- rule: execution-balance
|
|
shouldViolate: true
|
|
severity: warning
|
|
|
|
approvalStrategy:
|
|
type: auto-approve
|
|
|
|
timeout: 120000
|
|
|
|
tags:
|
|
- execution-balance
|
|
- negative
|
|
- insufficient-read
|