AGENTS.md ยท diff
git:20260419.f6ac642 to git:20260419.54fabcc
4 added, 4 removed. Audit A to A.
# AGENTS.md
- `jailbreak-bench` is a deterministic jailbreak regression benchmark for LLM endpoints.
+ `hermes-jailbench` is a deterministic jailbreak regression benchmark for LLM endpoints.
## Use it for
- rerunning known jailbreak patterns after a model or prompt change
- producing a structured refusal, partial, and complied report
- smoke-testing the CLI with `--demo` or `--dry-run` before using real credentials
## Do not use it for
- claiming a model is safe against novel attacks
- multi-turn adversarial testing
- semantic judgment of ambiguous responses without human review
## Minimal commands
```bash
pip install -e ".[dev]"
- jailbreak-bench --demo
- jailbreak-bench --dry-run
+ hermes-jailbench --demo
+ hermes-jailbench --dry-run
pytest -q
- ruff check jailbreak_bench tests
+ ruff check hermes_jailbench tests
```
## Output shape
- terminal summary for demo and standard runs
- markdown or JSON report for saved output
- per-attack verdicts: `REFUSED`, `PARTIAL`, `COMPLIED`, or `ERROR`
## Success means
- attacks run without mutating the library state
- demo and dry-run work without an API key
- scorer output stays deterministic for the same response text
- tests stay offline and green
## Common failure cases
- users expect this tool to generate novel jailbreaks instead of replaying known ones
- API credentials or model IDs are invalid
- a response is ambiguous enough that the deterministic scorer needs manual review
## Maintainer notes
- keep the scorer deterministic and offline
- keep `run_bench()` and CLI behavior aligned with README examples
- do not add live-network behavior to tests