2.9 KiB
2.9 KiB
Adaptive Noise Gating for Vulnerability Graphs
Module
Attestor
Status
VERIFIED
Description
Four-part noise reduction system is implemented: semantic edge deduplication with merged provenance sets, proof-strength hierarchy for confidence scoring, hysteresis damping for small flip-flop deltas, and explicit delta category classification.
Implementation Details
- ProofChain Graph:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Graph/--InMemoryProofGraphServicededuplicates by semantic edge key and merges provenance values deterministically;ProofGraphEdgenow carries provenance sets. - Proof Strength Hierarchy:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Generators/BackportProofGenerator.Confidence.csmaps evidence intoAuthoritative > BinaryProof > StaticAnalysis > Heuristicstrengths and applies bounded corroboration bonuses. - Stability Damping Gate:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/ChangeTrace/IChangeTraceAttestationService.cs+ChangeTraceAttestationService.Mapping.cs+ChangeTraceAttestationService.Helpers.csadd configurable hysteresis threshold suppression for low-amplitude modified/rebuilt deltas. - Delta Classification:
src/Attestor/__Libraries/StellaOps.Attestor.ProofChain/Predicates/DeltaVerdictPredicate.Categorization.csadds explicitNew/Resolved/ConfidenceUp/ConfidenceDown/PolicyImpactnormalization and inference. - Tests:
src/Attestor/__Tests/StellaOps.Attestor.ProofChain.Tests/Graph/InMemoryProofGraphServiceBehaviorTests.cs,src/Attestor/__Tests/StellaOps.Attestor.ProofChain.Tests/BackportProofGeneratorTests.cs,src/Attestor/__Tests/StellaOps.Attestor.ProofChain.Tests/ChangeTrace/ChangeTraceAttestationServiceTests.cs,src/Attestor/__Tests/StellaOps.Attestor.ProofChain.Tests/Statements/DeltaVerdictPredicateCategorizationTests.cs.
E2E Test Plan
- Create a proof graph with redundant edges (same source/target, different provenance) and verify
InMemoryProofGraphServicededuplicates to one edge with merged provenance. - Submit evidence at different proof-strength tiers and verify confidence ordering.
- Generate consecutive snapshots with minor score fluctuations below hysteresis threshold and verify flip-flop suppression.
- Generate delta verdict changes and verify category mapping (
New/Resolved/ConfidenceUp/ConfidenceDown/PolicyImpact). - Query a subgraph and verify only reachable nodes from root are included.
Verification
- Verified on 2026-02-11 using
run-002. - Evidence:
docs/qa/feature-checks/runs/attestor/adaptive-noise-gating-for-vulnerability-graphs/run-002/tier0-source-check.jsondocs/qa/feature-checks/runs/attestor/adaptive-noise-gating-for-vulnerability-graphs/run-002/tier1-build-check.jsondocs/qa/feature-checks/runs/attestor/adaptive-noise-gating-for-vulnerability-graphs/run-002/tier2-e2e-check.json