39 lines
2.1 KiB
Markdown
39 lines
2.1 KiB
Markdown
# Offline Verdict Verification CLI Plugin
|
|
|
|
## Module
|
|
Cli
|
|
|
|
## Status
|
|
VERIFIED
|
|
|
|
## Description
|
|
Offline and online verdict verification via CLI plugin: verify verdict signatures, replay bundles for deterministic verification, and validate input hashes using knowledge snapshots without server connectivity.
|
|
|
|
## Implementation Details
|
|
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/VerdictCommandGroup.cs` -- `VerdictCommandGroup` for verdict commands
|
|
- **Command Handlers**: `src/Cli/StellaOps.Cli/Commands/CommandHandlers.VerdictVerify.cs` -- verdict verification handlers
|
|
- **Verdict Verifier**: `src/Cli/StellaOps.Cli/Services/VerdictAttestationVerifier.cs` -- verdict attestation verification
|
|
- **Offline Kit**: `src/Cli/StellaOps.Cli/Services/OfflineKitStateStore.cs` -- offline kit state management
|
|
- **Offline Mode Guard**: `src/Cli/StellaOps.Cli/Services/OfflineModeGuard.cs` -- offline mode enforcement
|
|
- **Commands**:
|
|
- `stella verdict verify <digest>` -- verify verdict signature and integrity
|
|
- `stella verdict replay <digest>` -- replay verdict for deterministic verification
|
|
- `stella verdict verify-offline <bundle>` -- offline verification using knowledge snapshot
|
|
|
|
## E2E Test Plan
|
|
- [ ] Run `stella verdict verify sha256:abc123` and verify signature validation
|
|
- [ ] Run `stella verdict replay sha256:abc123` and verify deterministic replay
|
|
- [ ] Run `stella verdict verify-offline ./bundle/` and verify offline verification
|
|
- [ ] Verify offline mode works without network connectivity
|
|
- [ ] Verify input hash validation against knowledge snapshot
|
|
- [ ] Verify exit code 0 for valid, non-zero for invalid
|
|
|
|
## 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, 339 tests pass in StellaOps.Cli.Plugins.Tests
|
|
- **Tier 2d (Integration)**: pass -- targeted integration tests confirm behavioral correctness
|
|
- **Test Project**: `src/Cli/__Tests/StellaOps.Cli.Plugins.Tests/StellaOps.Cli.Plugins.Tests.csproj`
|
|
- **Evidence**: `docs/qa/feature-checks/runs/cli/offline-verdict-verification-cli-plugin/run-001/tier2-integration-check.json`
|