eval_audit_pack
Aggregates pdfhell run artifacts into a hash-chained ZIP with SHA-256 manifest for procurement audit trails.
Instructions
Build a hash-chained audit ZIP from a pdfhell run.
Combines the run JSON, the case PDFs + answer keys, JUnit XML, and a SHA-256 manifest into one downloadable ZIP. Suitable for attaching to a procurement diligence appendix.
Args:
run_json_path: Path to a pdfhell run JSON (from pdfhell run --out).
cases_dir: Directory containing the case PDFs + answer keys that
were evaluated. Same dir the run used.
output_zip_path: Where to write the audit ZIP.
Returns:
{"path": "/abs/path/to.zip", "size_bytes": N, "manifest": {...}}.
The manifest dict mirrors the one inside the ZIP — useful for
an agent that wants to verify the contents without opening
the ZIP itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_json_path | Yes | ||
| cases_dir | Yes | ||
| output_zip_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||