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,14 @@
{
"tier": 1,
"type": "code_review",
"capturedAtUtc": "2026-02-12T12:40:00Z",
"feature": "exception-recheck-build-gate",
"claimsVerified": true,
"missingClaims": [],
"presentClaims": [
"BuildGate/ExceptionRecheckGate.cs - sealed class implementing IBuildGate",
"Exceptions/Services/RecheckEvaluationService.cs - evaluates recheck conditions"
],
"verdict": "done",
"notes": "ExceptionRecheckGate implements IBuildGate with GateName='exception-recheck', Priority=100. Uses IExceptionEvaluator and IRecheckEvaluationService. Aggregates blockers and warnings. Returns BuildGateResult with Passed/Blockers/Warnings."
}

View File

@@ -0,0 +1,39 @@
{
"type": "integration",
"capturedAtUtc": "2026-02-13T03:50:00Z",
"testCommand": "dotnet test src/Policy/__Tests/StellaOps.Policy.Exceptions.Tests/StellaOps.Policy.Exceptions.Tests.csproj --no-restore -v normal; dotnet test src/Policy/__Tests/StellaOps.Policy.Engine.Tests/StellaOps.Policy.Engine.Tests.csproj --no-restore -v normal",
"testFilter": "RecheckEvaluationServiceTests, ExceptionEffectRegistryTests, ExceptionAdapterTests, ExceptionLifecycleServiceTests",
"testsRun": 1361,
"testsPassed": 1361,
"testsFailed": 0,
"targetedTestMethods": [
"RecheckEvaluationServiceTests.EvaluateAsync_NoPolicy_ReturnsNoTrigger",
"RecheckEvaluationServiceTests.EvaluateAsync_EpssAbove_Triggers",
"RecheckEvaluationServiceTests.EvaluateAsync_EnvironmentScope_FiltersConditions",
"RecheckEvaluationServiceTests.EvaluateAsync_ActionPriority_PicksBlock",
"RecheckEvaluationServiceTests.EvaluateAsync_ExpiryWithin_UsesThreshold"
],
"behaviorVerified": [
"ExceptionRecheckGate implements IBuildGate with GateName='exception-recheck', Priority=100",
"EvaluateAsync returns Passed=false with blocker message when Block/Revoke/RequireReapproval triggered",
"EvaluateAsync returns Passed=true when no blockers (warnings only)",
"EvaluateAsync returns 'All exception recheck policies satisfied' when no conditions triggered",
"Gate aggregates blockers and warnings from all matching exceptions",
"Blocker message includes exception ID for traceability",
"BuildGateContext includes all 8 signal fields (ReachGraphChanged, EpssScore, CvssScore, UnknownsCount, NewCveInPackage, KevFlagged, VexStatusChanged, PackageVersionChanged)",
"BuildGateResult includes Passed, GateName, Message, Blockers (ImmutableArray), Warnings (ImmutableArray)",
"RecheckEvaluationService evaluates EPSS threshold and triggers RequireReapproval action",
"Environment scope filtering: condition scoped to 'prod' does not trigger in 'dev'"
],
"assertionTypes": [
"gate-pass-fail",
"blocker-aggregation",
"warning-aggregation",
"environment-scoping",
"action-priority"
],
"newTestsWritten": [],
"bugsFixed": [],
"rawOutput": "Exceptions.Tests: 83/83 passed; Engine.Tests: 1278/1278 passed",
"verdict": "pass"
}