export-audit-bundlelisted
Install: claude install-skill kotnisofiane-bit/dubsar-agent-skills
# Export Audit Bundle
## Objective
Create a portable local evidence package whose copied bytes can be
independently checked.
## Inputs
- an explicit local audit-workspace path;
- an explicit output path outside that workspace;
- the five required case documents and their approved indexed artifacts;
- user confirmation that the listed files may be copied.
## Preconditions
- the workspace contains the five required JSON documents;
- structural validation passes;
- the evidence review says `ready_for_human_review`;
- the destination is outside the workspace and does not exist or is empty;
- all source artifacts are approved for inclusion.
If a precondition fails, stop and list it. Never downgrade or omit a failed
check to force an export.
## Workflow
1. From the complete pack, run
`../dubsar-audit-readiness/scripts/validate-audit-workspace.mjs --root <workspace>`.
2. Ask the user to confirm that the listed files may be copied.
3. Run
`../dubsar-audit-readiness/scripts/export-audit-bundle.mjs --root <workspace> --output <target>`.
4. Report the file count and root SHA-256 from the generated manifest.
5. Label the result `prepared for human review`.
## Output
Produce a copied local bundle plus `MANIFEST.sha256.json` containing the case
ID, sorted file digests, file count, `root_sha256`, label
`prepared_for_human_review`, and a non-certification disclaimer. Report the
output path, count, root digest, and any failure without masking it.
## Boundaries
- Do not call