Agent Tests
Use node {baseDir}/agent-tests.js. Runs use a placeholder string; they do not call any agent or model. Benchmarks measure the local test framework only.
--test --add <name> <prompt> <expected> [assertions...]: store a definition. Prompts, expected strings, and assertions are retained on disk, so use synthetic or non-sensitive inputs.--test --list,--test --run [name],--test --remove <name>: inspect, simulate, or remove one definition.--benchmark <name> [iterations],--regression,--status: benchmark simulation, review historical outcomes, or show state. Runs and benchmarks retain timestamps and pass/fail metadata, without storing output snippets.--purge-history --confirm: with approval, clear recorded results and benchmarks and reset per-test stats while preserving definitions.
Defaults to memory/agent-tests. Set --dir <path> before the command or use TEST_DIR to select dedicated storage inside the workspace. On Windows use a private ACL. Existing result snippets are stripped on the next run; purge history to remove them immediately.
Version 1.0.3 confines storage, creates private state files, removes sensitive fields from history, and clarifies simulation behavior.
