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

36 lines
1.7 KiB
Markdown

# CLI Tools
## Module
Cli
## Status
VERIFIED
## Description
CLI tooling exists for verdict attestation verification and provenance attestation tooling.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/ToolsCommandGroup.cs` -- `ToolsCommandGroup` for `stella tools` commands
- **Verdict Verifier**: `src/Cli/StellaOps.Cli/Services/VerdictAttestationVerifier.cs` -- verdict attestation verification
- **DSSE Verifier**: `src/Cli/StellaOps.Cli/Services/DsseSignatureVerifier.cs` / `IDsseSignatureVerifier.cs` -- DSSE signature verification
- **Tests**: `src/Cli/__Tests/StellaOps.Cli.Tests/Commands/ToolsCommandGroupTests.cs`
- **Commands**:
- `stella tools verify-verdict <attestation>` -- verify verdict attestation
- `stella tools verify-provenance <attestation>` -- verify provenance attestation
## E2E Test Plan
- [ ] Run `stella tools verify-verdict ./verdict.json` and verify attestation validation
- [ ] Run `stella tools verify-provenance ./provenance.json` and verify provenance validation
- [ ] Verify verification fails for invalid attestations with clear error messages
- [ ] Verify `--format json` output for automation
- [ ] Verify offline verification works without network
## 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-tools/run-001/tier2-integration-check.json`