semi implemented and features implemented save checkpoint

This commit is contained in:
master
2026-02-08 18:00:49 +02:00
parent 04360dff63
commit 1bf6bbf395
20895 changed files with 716795 additions and 64 deletions

View File

@@ -0,0 +1,46 @@
# Audit - StellaOps.Platform.Analytics
## Project
- Path: `src/Platform/StellaOps.Platform.Analytics/StellaOps.Platform.Analytics.csproj`
- Module: `Platform`
- Kind: `Service`
- SDK: `Microsoft.NET.Sdk`
- TargetFramework: `net10.0`
- Audit date (UTC): 2026-01-30
## Coding Standards Findings
- Status: FAIL
- Nullable: enable
- TreatWarningsAsErrors: explicit true
- Deterministic: inherited true
- 100-line rule violations: 7
- Service locator usage (BuildServiceProvider/GetService): 0
- Analyzer enforcement: missing repo-wide (see summary).
### Details
- 100-line files:
- `src/Platform/StellaOps.Platform.Analytics/Services/AttestationIngestionService.cs` (1231 lines)
- `src/Platform/StellaOps.Platform.Analytics/Services/AnalyticsIngestionService.cs` (877 lines)
- `src/Platform/StellaOps.Platform.Analytics/Services/VulnerabilityCorrelationService.cs` (603 lines)
- `src/Platform/StellaOps.Platform.Analytics/Utilities/PurlParser.cs` (199 lines)
- `src/Platform/StellaOps.Platform.Analytics/Utilities/VersionRuleEvaluator.cs` (162 lines)
- `src/Platform/StellaOps.Platform.Analytics/Models/ScannerOrchestratorEvents.cs` (141 lines)
- `src/Platform/StellaOps.Platform.Analytics/Services/CasContentReader.cs` (126 lines)
- Service locator matches:
- none
### Fix Guidance
- Split files over 100 lines into smaller types or partials.
## Testing Fullness Findings
- Status: PASS
- Expected layers: Unit
- Detected test projects: src/Platform/__Tests/StellaOps.Platform.Analytics.Tests/StellaOps.Platform.Analytics.Tests.csproj [Unit]
- Missing layers: none
### Manual checks required
- Observability contract tests for WebService/Worker.
- Offline execution (tests must run without network access).
### Fix Guidance
- None.

View File

@@ -0,0 +1,69 @@
# Audit - StellaOps.Platform.WebService
## Project
- Path: `src/Platform/StellaOps.Platform.WebService/StellaOps.Platform.WebService.csproj`
- Module: `Platform`
- Kind: `WebService`
- SDK: `Microsoft.NET.Sdk.Web`
- TargetFramework: `net10.0`
- Audit date (UTC): 2026-01-30
## Coding Standards Findings
- Status: FAIL
- Nullable: enable
- TreatWarningsAsErrors: explicit true
- Deterministic: inherited true
- 100-line rule violations: 28
- Service locator usage (BuildServiceProvider/GetService): 0
- Analyzer enforcement: missing repo-wide (see summary).
### Details
- 100-line files:
- `src/Platform/StellaOps.Platform.WebService/Contracts/ScoreModels.cs` (670 lines)
- `src/Platform/StellaOps.Platform.WebService/Endpoints/EvidenceThreadEndpoints.cs` (651 lines)
- `src/Platform/StellaOps.Platform.WebService/Endpoints/PlatformEndpoints.cs` (495 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/ScoreEvaluationService.cs` (487 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformSetupService.cs` (475 lines)
- `src/Platform/StellaOps.Platform.WebService/Contracts/SetupWizardModels.cs` (441 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PolicyInteropService.cs` (423 lines)
- `src/Platform/StellaOps.Platform.WebService/Endpoints/ScoreEndpoints.cs` (355 lines)
- `src/Platform/StellaOps.Platform.WebService/Endpoints/AnalyticsEndpoints.cs` (328 lines)
- `src/Platform/StellaOps.Platform.WebService/Contracts/PolicyInteropModels.cs` (309 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/FunctionMapService.cs` (298 lines)
- `src/Platform/StellaOps.Platform.WebService/Endpoints/SetupEndpoints.cs` (288 lines)
- `src/Platform/StellaOps.Platform.WebService/Endpoints/FunctionMapEndpoints.cs` (255 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformPreferencesService.cs` (254 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformAnalyticsService.cs` (246 lines)
- `src/Platform/StellaOps.Platform.WebService/Endpoints/PolicyInteropEndpoints.cs` (244 lines)
- `src/Platform/StellaOps.Platform.WebService/Contracts/FunctionMapModels.cs` (239 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformAnalyticsMaintenanceService.cs` (225 lines)
- `src/Platform/StellaOps.Platform.WebService/Program.cs` (222 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformQuotaService.cs` (208 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformOnboardingService.cs` (202 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformHealthService.cs` (191 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PostgresScoreHistoryStore.cs` (189 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformAnalyticsQueryExecutor.cs` (178 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformSearchService.cs` (178 lines)
- `src/Platform/StellaOps.Platform.WebService/Options/PlatformServiceOptions.cs` (159 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformRequestContextResolver.cs` (112 lines)
- `src/Platform/StellaOps.Platform.WebService/Services/PlatformMetadataService.cs` (104 lines)
- Service locator matches:
- none
### Fix Guidance
- Split files over 100 lines into smaller types or partials.
## Testing Fullness Findings
- Status: FAIL
- Expected layers: Unit, Integration, Security, Offline
- Detected test projects: src/Platform/__Tests/StellaOps.Platform.WebService.Tests/StellaOps.Platform.WebService.Tests.csproj [Unit]
- Missing layers: Integration, Security, Offline
### Manual checks required
- Observability contract tests for WebService/Worker.
- Offline execution (tests must run without network access).
### Fix Guidance
- Add integration tests for cross-component flows.
- Add security tests for authn/authz or input validation.
- Add offline/airgap coverage with fixtures only.

View File

@@ -0,0 +1,40 @@
# Audit - StellaOps.Platform.Database
## Project
- Path: `src/Platform/__Libraries/StellaOps.Platform.Database/StellaOps.Platform.Database.csproj`
- Module: `Platform`
- Kind: `Library`
- SDK: `Microsoft.NET.Sdk`
- TargetFramework: `net10.0`
- Audit date (UTC): 2026-01-30
## Coding Standards Findings
- Status: FAIL
- Nullable: enable
- TreatWarningsAsErrors: explicit true
- Deterministic: inherited true
- 100-line rule violations: 1
- Service locator usage (BuildServiceProvider/GetService): 0
- Analyzer enforcement: missing repo-wide (see summary).
### Details
- 100-line files:
- `src/Platform/__Libraries/StellaOps.Platform.Database/ReleaseMigrationRunner.cs` (118 lines)
- Service locator matches:
- none
### Fix Guidance
- Split files over 100 lines into smaller types or partials.
## Testing Fullness Findings
- Status: FAIL
- Expected layers: Unit
- Detected test projects: none
- Missing layers: Unit
### Manual checks required
- Observability contract tests for WebService/Worker.
- Offline execution (tests must run without network access).
### Fix Guidance
- Add a unit test project named `<Project>.Tests` (or document exception).