2.8 KiB
2.8 KiB
Auto-VEX Drafting Attestation
Module
Attestor
Status
VERIFIED
Description
VEX draft generation attestation types for AI-generated VEX statements with justifications, enabling lattice-aware merge preview.
Implementation Details
- AIVexDraftPredicate:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Predicates/AI/AIVexDraftPredicate.cs-- extendsAIArtifactBasePredicatewith VEX-specific draft fields. - AIVexStatementDraft:
AIVexStatementDraft.cs-- individual VEX statement draft with status, justification, and product/vulnerability references. - AIVexJustification:
AIVexJustification.cs-- AI-generated justification for VEX status decisions. - Classifier Integration:
AIAuthorityClassifier.VexDraft.csandAIAuthorityClassifier.VexDraftScore.cs-- classifies VEX drafts into Suggestion/EvidenceBacked/AuthorityThreshold. - Statement:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Statements/AIVexDraftStatement.cs-- wraps VEX draft as in-toto statement. - VEX Predicate:
__Libraries/StellaOps.Attestor.ProofChain/Predicates/VexPredicate.cs-- base VEX predicate.VexAttestationPredicate.cs-- VEX attestation predicate. - VEX Override System:
src/Attestor/__Libraries/StellaOps.Attestor.StandardPredicates/VexOverride/--VexOverridePredicateBuilder.cs(with.Build,.Serialize,.WithMethods),VexOverridePredicateParser.cs(with multiple partials) for building and parsing VEX overrides. - VEX Proof Integration:
__Libraries/StellaOps.Attestor.ProofChain/Generators/VexProofIntegrator.cs(with.Helpers,.Metadata) andVexVerdictProofPayload.cs-- integrates VEX drafts into the proof chain.
E2E Test Plan
- Create an
AIVexDraftPredicatewith multipleAIVexStatementDraftentries (not_affected, affected, under_investigation) and verify JSON serialization preserves all fields - Create a VEX draft with
AIVexJustificationcontaining evidence citations and classify viaAIAuthorityClassifier.VexDraft, verifying EvidenceBacked authority when citations are sufficient - Wrap the VEX draft in
AIVexDraftStatementand verify it produces a valid in-toto statement with correct predicate type - Build a
VexOverridePredicatefrom an AI-generated draft viaVexOverridePredicateBuilderand verify the override captures the draft's justification - Parse a serialized VEX override via
VexOverridePredicateParserand verify all fields round-trip correctly - Integrate a VEX draft into the proof chain via
VexProofIntegratorand verify the proof payload contains the draft evidence
Verification
| Check | Result |
|---|---|
| Tier 0 - Source Verification | PASS |
| Tier 1 - Build + Code Review | PASS |
| Tier 2 - Behavioral Verification | PASS |
| Verified Date | 2026-02-13 |
| Run ID | run-001 |