Files
git.stella-ops.org/docs/features/unchecked/cli/offline-verdict-verification-cli-plugin.md

1.6 KiB

Offline Verdict Verification CLI Plugin

Module

Cli

Status

IMPLEMENTED

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