semi implemented and features implemented save checkpoint

This commit is contained in:
master
2026-02-08 18:00:49 +02:00
parent 04360dff63
commit 1bf6bbf395
20895 changed files with 716795 additions and 64 deletions

View File

@@ -0,0 +1,25 @@
# Replay Command Generator Service
## Module
Cli
## Status
IMPLEMENTED
## Description
Backend service that generates copy-ready replay commands for deterministic verdict reproduction. Builds command strings with all necessary hashes (artifact, manifest, feeds, policy) and provides downloadable evidence bundles as ZIP for one-click replay from the UI.
## Implementation Details
- **Replay Infrastructure**: `src/Cli/StellaOps.Cli/Replay/` -- replay command generation
- **Determinism Harness**: `src/Cli/StellaOps.Cli/Services/DeterminismHarness.cs` -- determinism enforcement
- **Commands**:
- `stella replay generate <digest>` -- generate replay command with all input hashes
- `stella replay bundle <digest> --output <path>` -- download evidence bundle as ZIP
- **Output**: Copy-ready command string with all hashes pinned for deterministic reproduction
## E2E Test Plan
- [ ] Run `stella replay generate sha256:abc123` and verify command string output
- [ ] Verify generated command includes artifact hash, manifest hash, feeds hash, policy hash
- [ ] Run the generated command and verify deterministic reproduction
- [ ] Run `stella replay bundle sha256:abc123 --output ./replay.zip` and verify ZIP created
- [ ] Verify ZIP bundle enables offline replay