# 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 ` -- generate replay command with all input hashes - `stella replay bundle --output ` -- 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