Skip to content

feat(export): add verifiable provenance-preserving analysis bundles - #58

Open
LloydCoder wants to merge 9 commits into
mainfrom
feat/verifiable-export-bundle
Open

LloydCoder wants to merge 9 commits into
mainfrom
feat/verifiable-export-bundle

Conversation

@LloydCoder

Copy link
Copy Markdown
Owner

Summary

  • Add a tenant-role-gated fas export <analysis-id> [--snapshot-id ...] --format json command.
  • Export the analysis, immutable snapshot, complete paginated artifacts/observations/evidence/graph/findings, snapshot-scoped tool runs, and audit events.
  • Bind export to a snapshot belonging to the requested analysis; reject cross-analysis snapshot selection.
  • Add canonical SHA-256 over sorted compact JSON (excluding only the digest field), a JSON Schema contract, reference documentation, service tests, and CLI end-to-end coverage.

Security and integrity

  • No benchmark oracle or expected verdict data is read.
  • FAS output remains an untrusted submission to independent FAS-Bench evaluation.
  • All source evidence and provenance are retained; no findings or verdicts are fabricated.
  • Export includes records across pagination boundaries and filters tool runs to the selected snapshot.

Validation

Require the complete Python 3.11–3.14, CodeQL, schema-parity, quality/coverage, and dependency-security workflows to pass on this exact head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant