Files
git.stella-ops.org/docs/features/checked/cli/cli-offline-offline-poe-verification.md
2026-02-14 09:11:48 +02:00

41 lines
2.2 KiB
Markdown

# CLI Offline Proof-of-Existence Verification
## Module
Cli
## Status
VERIFIED
## Description
CLI has offline proof-of-existence verification capability documented and implemented through evidence commands.
## Implementation Details
- **PoE Commands**: `src/Cli/StellaOps.Cli/Commands/PoE/ExportCommand.cs` -- proof-of-existence export
- **PoE Verify**: `src/Cli/StellaOps.Cli/Commands/PoE/VerifyCommand.cs` -- proof-of-existence verification
- **Offline Command Group**: `src/Cli/StellaOps.Cli/Commands/OfflineCommandGroup.cs` -- offline operations including PoE
- **Command Handlers**: `src/Cli/StellaOps.Cli/Commands/CommandHandlers.Offline.cs` -- offline mode handlers
- **Offline Mode Guard**: `src/Cli/StellaOps.Cli/Services/OfflineModeGuard.cs` -- enforces offline-only operations
- **Exit Codes**: `src/Cli/StellaOps.Cli/Commands/OfflineExitCodes.cs` -- offline-specific exit codes
- **Documentation**: `src/Cli/OFFLINE_POE_VERIFICATION.md`
- **Commands**:
- `stella poe export <digest>` -- export proof-of-existence bundle
- `stella poe verify <bundle>` -- verify PoE bundle offline
- `stella offline verify` -- offline verification mode
## E2E Test Plan
- [ ] Run `stella poe export sha256:abc123 --output ./poe-bundle/` and verify bundle created with Rekor proofs
- [ ] Run `stella poe verify ./poe-bundle/` and verify offline PoE verification passes
- [ ] Verify PoE verification works without network connectivity (air-gapped)
- [ ] Verify tampered bundle fails verification with clear error message
- [ ] Run `stella offline verify <digest>` and verify offline verification mode works
- [ ] Verify exit codes follow OfflineExitCodes convention
## Verification
- **Verified**: 2026-02-13T15:30:00Z
- **Tier 0 (Source)**: pass -- all referenced source files exist on disk
- **Tier 1 (Build)**: pass -- module builds cleanly, 193 tests pass in StellaOps.Cli.Core.Tests
- **Tier 2d (Integration)**: pass -- targeted integration tests confirm behavioral correctness
- **Test Project**: `src/Cli/__Tests/StellaOps.Cli.Core.Tests/StellaOps.Cli.Core.Tests.csproj`
- **Evidence**: `docs/qa/feature-checks/runs/cli/cli-offline-offline-poe-verification/run-001/tier2-integration-check.json`