Skip to main content

How a run works

A campaign turns goals into verdicts. This page follows one goal all the way through, so the words in the campaign-file pages have something concrete behind them.

The whole pipeline​

Guardrails are optional and off by default; without them the prompt goes straight to the target.

The attack type decides this step​

There are four types of attack. A static attack decides its prompts up front. An adaptive one searches: it reads each reply and writes the next prompt, usually with an attacker model of its own. A multi-turn attack builds one conversation, turn by turn. An indirect attack hides its instructions where the target only reads, such as a tool result or a retrieved document. The Attacks overview covers all four; the first two look like this:

Every exchange an adaptive attack had judged is recorded, not just the last one, so you can see how it got there.

Several attacks over the same goals​

By default every goal goes through every attack, and you get the full matrix.

With execution.escalate turned on, the attacks become a ladder: a goal that falls is dropped, and the next attack only faces what is left. That spends the expensive attacks on the hard goals.

The run stops early once every goal has fallen, because there is nothing left to attack.

What a run leaves behind​

WhereWhat
The selected storage backendEvery attempt, with its prompt, reply and verdict. The default is local SQLite; execution.storage.backend: remote records it in the configured API. Read the selected store with the CLI or terminal app.
./logs/runs/<run id>/campaign.yamlThe exact campaign that ran, every default written out, so the run can be repeated.
./logs/runs/<run id>/results.jsonThe same attempts as a file, for diffing or sharing.
./logs/runs/<run id>/traces.jsonlEvery model call per attempt, and for adaptive attacks the search itself: every decision and branch.
./logs/runs/<run id>/audit.jsonWhen the judge audit is on, how the panel measured up.
./logs/runs/<run id>/run.logThe run's log at INFO: what it loaded, what each attack decided, each goal's result and the closing summary. Written even when the run stops before attacking.

The output folder and formats are set under execution.output.

Next​