Generate artifacts
Thegenerate stage produces the attack pool before any evaluation runs. These files record what was generated so you can inspect the probe set, re-sample it, or reproduce the generation later.
Eval artifacts
Theeval stage runs the generated probes against your target and produces the normalized result plus raw backend output and logs.
Report artifacts
Thereport stage reads evaluation_result.json and produces human-readable output. Both HTML and Markdown formats are generated from the same normalized result.
Default artifact directory structure
Promptbeat writes artifacts into a project-scoped directory. The structure below shows the layout for a named project run:broad-20260530-163553 under examples/codex_agent/artifacts/.
Version control guidance
Not all artifact files belong in version control. Follow this guidance to keep your repository clean and reproducible without committing large or sensitive files. Commit these files:- Configuration files:
promptbeat.yaml,target.yaml,scenarios.yaml,seeds.yaml - Provider snapshots:
providers.<adapter>.yaml - Config precheck results:
config-precheck.json - Generated attack pool:
generated_redteam.yamland sampled variants (these document what was tested) - Reports:
report.htmlandcomprehensive-*.md(these are your evidence artifacts) - Normalized result:
evaluation_result.json(structured, stable schema)
- Raw backend output:
promptfoo_eval_result.json(unstable schema, large, backend-specific) - Large log files:
promptfoo.eval.stdout.log,promptfoo.eval.stderr.log - Any file containing credentials, tokens, or environment variable snapshots
- Intermediate workspace files created during agent evaluation
.gitignore entry for Promptbeat artifact directories: