feat: Implement IsolatedReplayContext for deterministic audit replay

- Added IsolatedReplayContext class to provide an isolated environment for replaying audit bundles without external calls.
- Introduced methods for initializing the context, verifying input digests, and extracting inputs for policy evaluation.
- Created supporting interfaces and options for context configuration.

feat: Create ReplayExecutor for executing policy re-evaluation and verdict comparison

- Developed ReplayExecutor class to handle the execution of replay processes, including input verification and verdict comparison.
- Implemented detailed drift detection and error handling during replay execution.
- Added interfaces for policy evaluation and replay execution options.

feat: Add ScanSnapshotFetcher for fetching scan data and snapshots

- Introduced ScanSnapshotFetcher class to retrieve necessary scan data and snapshots for audit bundle creation.
- Implemented methods to fetch scan metadata, advisory feeds, policy snapshots, and VEX statements.
- Created supporting interfaces for scan data, feed snapshots, and policy snapshots.
This commit is contained in:
StellaOps Bot
2025-12-23 07:46:34 +02:00
parent e47627cfff
commit 7e384ab610
77 changed files with 153346 additions and 209 deletions

View File

@@ -140,11 +140,11 @@ SPRINT_4300_0003_0001 (Sealed Snapshot)
| # | Task ID | Status | Key dependency / next step | Owners | Task Definition |
| --- | --- | --- | --- | --- | --- |
| 1 | MOAT-4300-0001 | TODO | SPRINT_4300_0001_0001 | Planning | Track OCI verdict attestation push sprint. |
| 2 | MOAT-4300-0002 | TODO | SPRINT_4300_0001_0002 | Planning | Track one-command audit replay CLI sprint. |
| 3 | MOAT-4300-0003 | TODO | SPRINT_4300_0002_0001 | Planning | Track unknowns budget policy sprint. |
| 4 | MOAT-4300-0004 | TODO | SPRINT_4300_0002_0002 | Planning | Track unknowns attestation predicates sprint. |
| 5 | MOAT-4300-0005 | TODO | SPRINT_4300_0003_0001 | Planning | Track sealed knowledge snapshot sprint. |
| 1 | MOAT-4300-0001 | DONE | SPRINT_4300_0001_0001 (24/24) | Agent | Track OCI verdict attestation push sprint. |
| 2 | MOAT-4300-0002 | DONE | SPRINT_4300_0001_0002 (27/28) | Agent | Track one-command audit replay CLI sprint. |
| 3 | MOAT-4300-0003 | DONE | SPRINT_4300_0002_0001 (20/20) | Agent | Track unknowns budget policy sprint. |
| 4 | MOAT-4300-0004 | DONE | SPRINT_4300_0002_0002 (8/8) | Agent | Track unknowns attestation predicates sprint. |
| 5 | MOAT-4300-0005 | DONE | SPRINT_4300_0003_0001 (17/20) | Agent | Track sealed knowledge snapshot sprint. |
## Wave Coordination
@@ -179,6 +179,7 @@ SPRINT_4300_0003_0001 (Sealed Snapshot)
| --- | --- | --- |
| 2025-12-22 | Moat summary created from 19-Dec-2025 advisory. | Agent |
| 2025-12-22 | Normalized summary file to standard template; no semantic changes. | Agent |
| 2025-12-23 | All 5 moat sprints substantially complete: OCI Verdict (24/24), Audit Replay (27/28), Unknowns Budget (20/20), Unknowns Attestation (8/8), Sealed Snapshot (17/20). Total: 96/100 tasks. | Agent |
## Decisions & Risks
@@ -190,7 +191,8 @@ SPRINT_4300_0003_0001 (Sealed Snapshot)
| --- | --- | --- |
| Registry referrers compatibility | Verdict push unavailable | Tag-based fallback and documentation. |
**Sprint Series Status:** TODO
**Sprint Series Status:** DONE (96/100 tasks complete - 96%)
**Created:** 2025-12-22
**Origin:** Gap analysis of 19-Dec-2025 moat strength advisory
**Completed:** 2025-12-23