- Introduced `ReachabilityState`, `RuntimeHit`, `ExploitabilitySignal`, `ReachabilitySignal`, `SignalEnvelope`, `SignalType`, `TrustSignal`, and `UnknownSymbolSignal` records to define various signal types and their properties. - Implemented JSON serialization attributes for proper data interchange. - Created project files for the new signal contracts library and corresponding test projects. - Added deterministic test fixtures for micro-interaction testing. - Included cryptographic keys for secure operations with cosign.
25 lines
1.3 KiB
Markdown
25 lines
1.3 KiB
Markdown
# 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 <fixture>` 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.
|