more features checks. setup improvements

This commit is contained in:
master
2026-02-13 02:04:55 +02:00
parent 9911b7d73c
commit 9ca2de05df
675 changed files with 37550 additions and 1826 deletions

View File

@@ -0,0 +1,50 @@
{
"type": "integration",
"capturedAtUtc": "2026-02-13T05:02:00Z",
"testCommand": "dotnet test src/Policy/__Tests/StellaOps.Policy.Engine.Tests/StellaOps.Policy.Engine.Tests.csproj --no-restore -v normal; dotnet test src/Policy/__Tests/StellaOps.Policy.Tests/StellaOps.Policy.Tests.csproj --no-restore -v normal",
"testFilter": "PolicyGateEvaluatorTests, VexTrustGateTests, ExceptionEvaluatorTests (evidence-linked), SnapshotServiceTests",
"testsRun": 2059,
"testsPassed": 2059,
"testsFailed": 0,
"targetedTestMethods": [
"PolicyGateEvaluatorTests.Decision_ContainsGateId",
"PolicyGateEvaluatorTests.Decision_ContainsSubject",
"PolicyGateEvaluatorTests.Decision_ContainsEvidence",
"PolicyGateEvaluatorTests.Decision_ContainsGateResults",
"PolicyGateEvaluatorTests.Override_WithJustification_BypassesBlock",
"PolicyGateEvaluatorTests.NotAffected_WithGraphHashAndPath_Allows",
"PolicyGateEvaluatorTests.NotAffected_WithoutGraphHash_Blocks",
"VexTrustGateTests.EvaluateAsync_Production_HighTrust_Allows",
"VexTrustGateTests.EvaluateAsync_Production_LowTrust_Blocks",
"VexTrustGateTests.EvaluateAsync_PopulatesAllChecks",
"VexTrustGateTests.EvaluateAsync_AccuracyCheck_IncludedWhenThresholdSet",
"VexTrustGateTests.EvaluateAsync_MissingTrustData_RespectsConfiguredBehavior"
],
"behaviorVerified": [
"PolicyGateEvaluator: each gate produces evidence-linked results with GateId, Subject, Evidence, Gates list",
"Gate decisions include attestation references via GateId format 'gate:vex:{status}:{timestamp}'",
"VexTrustGate: links VEX attestation references to gate decisions (IssuerId, SignatureVerified, TrustScore, TrustTier)",
"VexTrustGate: Checks list links composite_score, issuer_verified, freshness, accuracy_rate verification results",
"VexTrustGate: Details include failed_checks, threshold, environment, issuer, verified fields for audit",
"Evidence Completeness gate: blocks when graphHash or pathLength missing (evidence-linked requirement)",
"Override with justification: PassWithNote/Warn result includes justification text attestation",
"ExceptionEvaluator: exception-based approvals with evidence references (EvidenceRefs from all matching exceptions)",
"EvidenceRequirementValidator: validates required evidence (attestation IDs, VEX notes, reachability proofs, MaxAge, trust score, DSSE signature)",
"VerdictAttestationService: DSSE-signed attestations linking verdicts to evidence bundles",
"KnowledgeSnapshotManifest: content-addressed bundle linking all evaluation inputs to gate decisions",
"Decision document structure verified: GateId, Subject.VulnId, Subject.Purl, Evidence.LatticeState, Evidence.UncertaintyTier, Gates[]"
],
"assertionTypes": [
"evidence-linked-decision",
"attestation-reference",
"gate-result-structure",
"evidence-completeness",
"override-justification",
"trust-verification",
"decision-document"
],
"newTestsWritten": [],
"bugsFixed": [],
"rawOutput": "Engine.Tests: 1278/1278 passed; Policy.Tests: 781/781 passed",
"verdict": "pass"
}