# Validate Bundle Prep — PREP-VALIDATE-BUNDLE-187-005 (Draft) Status: Draft (2025-11-20) Owners: QA Guild · CLI Guild · Docs Guild Scope: Define validation steps for replay bundles once schemas freeze. ## Validation checklist (proposed) - Verify archive hash vs manifest `bundle.manifest.json` (`sha256`). - Verify DSSE signature (if present) against trusted keys. - Recompute Merkle root of bundle file tree; compare to manifest. - Schema validation: replay records conform to `replay.record.v1`; policy export bundle conforms to `policy.export.console.v1` when included. - Determinism: run `stella replay` twice on same bundle and assert identical outputs (hash comparison). ## Fixtures/tests - Golden bundles live under `tests/EvidenceLocker/Bundles/Golden/` (sealed, portable, replay) with `expected.json` and DSSE envelopes. - `StellaOps.EvidenceLocker.Tests` includes fixture tests that validate Merkle subject, redaction, and replay digest; keep them green when regenerating bundles. - CLI validation test: `stella verify --bundle ` returns exit code 0 and prints `verified: true`. ## Open dependencies - Final schemas from Evidence Locker and Policy export contracts. - Trust root list for DSSE verification (Authority decision). ## Handoff Use this prep doc for PREP-VALIDATE-BUNDLE-187-005; expand with concrete fixtures once schemas are frozen.