qa(attestor): verify ai explanation attestation types feature
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
Attestor
|
||||
|
||||
## Status
|
||||
IMPLEMENTED
|
||||
VERIFIED
|
||||
|
||||
## Description
|
||||
AI explanation attestation predicates with model identifiers, decoding parameters, and citation support for evidence-grounded AI explanations. Supports deterministic replay.
|
||||
@@ -18,7 +18,7 @@ AI explanation attestation predicates with model identifiers, decoding parameter
|
||||
- **AIExplanationType enum**: `AIExplanationType.cs` -- Exploitability, CodePath, PolicyDecision, RiskFactors, RemediationOptions, PlainLanguageSummary, EvidenceChain.
|
||||
- **Replay Support**: `src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Replay/` -- `AIArtifactReplayManifest.cs`, `IAIArtifactReplayer.cs`, `ReplayInputArtifact.cs`, `ReplayPromptTemplate.cs`, `ReplayResult.cs`, `ReplayVerificationResult.cs` implement deterministic replay of AI artifacts.
|
||||
- **Media Types**: `__Libraries/StellaOps.Attestor.ProofChain/MediaTypes/AIArtifactMediaTypes.cs` -- defines content-type constants for AI artifacts.
|
||||
- **Statement**: `__Libraries/StellaOps.Attestor.ProofChain/Statements/AIExplanationStatement.cs` -- wraps the predicate as an in-toto statement.
|
||||
- **Statement**: `src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Statements/AI/AIExplanationStatement.cs` -- wraps the predicate as an in-toto statement.
|
||||
|
||||
## E2E Test Plan
|
||||
- [ ] Create an `AIExplanationPredicate` with all required fields (explanation type, content, citations, confidence, citation rate, subject) and serialize to JSON, verifying all fields are correctly mapped via `JsonPropertyName` attributes
|
||||
@@ -27,3 +27,9 @@ AI explanation attestation predicates with model identifiers, decoding parameter
|
||||
- [ ] Verify `AIExplanationCitation` correctly links claims to evidence by creating citations with mixed `Verified` states and computing citation rate
|
||||
- [ ] Create explanations of each `AIExplanationType` (Exploitability, CodePath, PolicyDecision, RiskFactors, RemediationOptions, PlainLanguageSummary, EvidenceChain) and verify type serialization
|
||||
- [ ] Wrap predicate in `AIExplanationStatement` and verify it produces a valid in-toto statement with correct predicate type
|
||||
|
||||
## Verification
|
||||
- Verified on 2026-02-11 via `run-001`.
|
||||
- Tier 0: `docs/qa/feature-checks/runs/attestor/ai-explanation-attestation-types/run-001/tier0-source-check.json`
|
||||
- Tier 1: `docs/qa/feature-checks/runs/attestor/ai-explanation-attestation-types/run-001/tier1-build-check.json`
|
||||
- Tier 2: `docs/qa/feature-checks/runs/attestor/ai-explanation-attestation-types/run-001/tier2-integration-check.json`
|
||||
Reference in New Issue
Block a user