Files
git.stella-ops.org/docs/features/checked/vexlens/trust-weight-engine-with-patch-verification.md
2026-02-14 09:11:48 +02:00

29 lines
1.9 KiB
Markdown

# Trust Weight Engine with Patch Verification
## Module
VexLens
## Status
IMPLEMENTED
## Description
Trust weight engine with configurable weights and patch verification integration for elevated trust in backport-confirmed VEX statements.
## Implementation Details
- **Trust weight engine**: `src/VexLens/StellaOps.VexLens/Trust/TrustWeightEngine.cs`, `ITrustWeightEngine.cs` -- configurable trust weight computation
- **Core trust engine**: `src/VexLens/StellaOps.VexLens/StellaOps.VexLens.Core/Trust/TrustWeightEngine.cs`, `ITrustWeightEngine.cs`
- **Patch verification provider**: `src/VexLens/StellaOps.VexLens/StellaOps.VexLens.Core/Trust/PatchVerificationTrustProvider.cs` -- elevates trust for VEX statements confirmed by patch/backport verification
- **Source trust calculator**: `src/VexLens/StellaOps.VexLens/Trust/SourceTrust/SourceTrustScoreCalculator.cs`, `ISourceTrustScoreCalculator.cs` -- multi-factor source trust scoring
- **Provenance chain validator**: `src/VexLens/StellaOps.VexLens/Trust/SourceTrust/ProvenanceChainValidator.cs`, `IProvenanceChainValidator.cs` -- validates provenance chain for trust elevation
- **Signature verifier**: `src/VexLens/StellaOps.VexLens/Verification/SignatureVerifier.cs`, `ISignatureVerifier.cs` -- signature strength factor
- **Issuer directory**: `src/VexLens/StellaOps.VexLens/Verification/InMemoryIssuerDirectory.cs`, `IIssuerDirectory.cs` -- trusted issuer registry
- **Trust score model**: `src/VexLens/StellaOps.VexLens/Trust/SourceTrust/VexSourceTrustScore.cs`
- **Source**: Feature matrix scan
## E2E Test Plan
- [ ] Verify trust weight increases when patch verification confirms VEX statement
- [ ] Test trust weight computation with different source reputation levels
- [ ] Verify signature strength contributes to trust weight
- [ ] Test provenance chain validation elevates trust appropriately
- [ ] Verify configurable weight parameters adjust scoring