more features checks. setup improvements
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"check": "tier1-build-check",
|
||||
"feature": "determinism-guards",
|
||||
"module": "policy",
|
||||
"runId": "run-001",
|
||||
"timestamp": "2026-02-12T23:55:00Z",
|
||||
"result": "pass",
|
||||
"details": {
|
||||
"project": "StellaOps.Policy.Engine.Tests.csproj",
|
||||
"framework": "net10.0",
|
||||
"buildResult": "success",
|
||||
"warnings": 0,
|
||||
"errors": 0
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"check": "tier1-code-review",
|
||||
"feature": "determinism-guards",
|
||||
"module": "policy",
|
||||
"runId": "run-001",
|
||||
"timestamp": "2026-02-12T23:55:00Z",
|
||||
"result": "pass",
|
||||
"sourceFiles": [
|
||||
"src/Policy/StellaOps.Policy.Engine/DeterminismGuard/DeterminismGuardService.cs",
|
||||
"src/Policy/StellaOps.Policy.Engine/DeterminismGuard/ProhibitedPatternAnalyzer.cs",
|
||||
"src/Policy/StellaOps.Policy.Engine/DeterminismGuard/GuardedPolicyEvaluator.cs",
|
||||
"src/Policy/StellaOps.Policy.Engine/DeterminismGuard/DeterminismViolation.cs"
|
||||
],
|
||||
"sourceFilesVerified": 4,
|
||||
"sourceFilesExpected": 4,
|
||||
"notes": "Deep review: All 4 source files verified. DeterminismGuardService (353 lines) with AnalyzeSource, CreateScope, ValidateContext, DeterministicTimeProvider. ProhibitedPatternAnalyzer (412 lines) with 17 regex patterns across 10 violation categories. GuardedPolicyEvaluator (376 lines) with builder pattern (Development/Production presets). DeterminismViolation (197 lines) with Category, Severity, Remediation model."
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"check": "tier2-test-results",
|
||||
"feature": "determinism-guards",
|
||||
"module": "policy",
|
||||
"runId": "run-001",
|
||||
"timestamp": "2026-02-12T23:57:00Z",
|
||||
"result": "pass",
|
||||
"testProject": "StellaOps.Policy.Engine.Tests.csproj",
|
||||
"framework": "net10.0|x64",
|
||||
"total": 1237,
|
||||
"passed": 1236,
|
||||
"failed": 1,
|
||||
"skipped": 0,
|
||||
"duration": "5s 890ms",
|
||||
"preExistingFailure": "DeltaIfPresentIntegrationTests.CalculateScoreBounds_ReturnsValidRange (unrelated to determinism-guards)",
|
||||
"breakdown": {
|
||||
"originalTests": 1208,
|
||||
"newDeepVerificationTests": 29,
|
||||
"newTestsAllPassed": true
|
||||
},
|
||||
"newTestFile": "src/Policy/__Tests/StellaOps.Policy.Engine.Tests/DeterminismGuard/DeterminismGuardDeepTests.cs",
|
||||
"newTestsCoverage": [
|
||||
"DetectsDateTimeOffsetNow - DateTimeOffset.Now pattern",
|
||||
"DetectsDateTimeOffsetUtcNow - DateTimeOffset.UtcNow pattern",
|
||||
"DetectsCryptoRandom - RandomNumberGenerator pattern",
|
||||
"DetectsSocketClasses - Socket/TcpClient/UdpClient patterns",
|
||||
"DetectsWebClient - WebClient pattern",
|
||||
"DetectsEnvironmentMachineName - Environment.MachineName pattern",
|
||||
"DetectsFloatingPointComparison - double == double hazard",
|
||||
"DetectsDictionaryIteration - foreach on Dictionary",
|
||||
"DetectsHashSetIteration - foreach on HashSet",
|
||||
"DetectsMultipleCategories - multiple violations in one source",
|
||||
"ValidateContext_NullContext_ReturnsViolation",
|
||||
"ValidateContext_ValidContext_ReturnsNoViolations",
|
||||
"ValidateContext_EnforcementDisabled_ReturnsNoViolations",
|
||||
"FailOnSeverity_Warning (4 tests) - threshold behavior at Warning/Error/Critical levels",
|
||||
"Builder_CreateDevelopment - Warning threshold, enforcement disabled",
|
||||
"Builder_CreateProduction - Error threshold, enforcement enabled",
|
||||
"Builder_CustomConfiguration - custom settings applied",
|
||||
"Scope_CountsBySeverity - violation counts by severity level",
|
||||
"Scope_ScopeId_IsSet - scope has assigned ID",
|
||||
"Scope_NullScopeId_DefaultsToGuid - null ID generates GUID",
|
||||
"DeterministicTimeProvider_100Calls - same frozen timestamp",
|
||||
"GuardedEvaluationResult_ViolationCountBySeverity - counts per severity",
|
||||
"GuardedEvaluationResult_UnexpectedException - Succeeded=false on exception",
|
||||
"DeterminismAnalysisResult_Pass_Factory - no violations, IsClean=true",
|
||||
"Violation_RemediationMessage - remediation text present",
|
||||
"FileRead_CriticalSeverity - File.Read* detected as Critical"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user