archive audit attempts

This commit is contained in:
master
2026-02-19 22:00:31 +02:00
parent c2f13fe588
commit b5829dce5c
19638 changed files with 6366 additions and 7 deletions

View File

@@ -0,0 +1,134 @@
# Audit - StellaOps.Graph.Api
## Project
- Path: ../src/Graph/StellaOps.Graph.Api/StellaOps.Graph.Api.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 30
- Files with issues: 30
- File-level report: docs/implplan/audits/csproj-standards/file-audit.csv
## Coding Standards Findings
- Status: FAIL
- Nullable: enable
- TreatWarningsAsErrors: explicit true
- Deterministic: inherited true
- 100-line rule violations: 11
- Namespace violations: 29
- Using directive violations: 0
- Naming violations (interfaces/fields/const/async): 0
- Service locator usage (BuildServiceProvider/GetService): 0
- Assembly.LoadFrom usage: 0
### Details
- 100-line files:
- ../src/Graph/StellaOps.Graph.Api/Program.cs (401 lines)
- ../src/Graph/StellaOps.Graph.Api/Contracts/ReachabilityContracts.cs (349 lines)
- ../src/Graph/StellaOps.Graph.Api/Contracts/SearchContracts.cs (372 lines)
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphDiffService.cs (175 lines)
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphExportService.cs (152 lines)
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphPathService.cs (257 lines)
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphQueryService.cs (229 lines)
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphRepository.cs (352 lines)
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphSearchService.cs (137 lines)
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryOverlayService.cs (116 lines)
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryReachabilityDeltaService.cs (335 lines)
- Namespace issues:
- ../src/Graph/StellaOps.Graph.Api/Contracts/LineageContracts.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Contracts/ReachabilityContracts.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Contracts/SearchContracts.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/obj/Debug/net10.0/StellaOps.Graph.Api.AssemblyInfo.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/obj/Debug/net10.0/StellaOps.Graph.Api.GlobalUsings.g.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/obj/Release/net10.0/StellaOps.Graph.Api.AssemblyInfo.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/obj/Release/net10.0/StellaOps.Graph.Api.GlobalUsings.g.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/GraphMetrics.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/IAuditLogger.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/IGraphDiffService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/IGraphExportService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/IGraphLineageService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/IGraphPathService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/IGraphQueryService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/IGraphSearchService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphDiffService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphExportService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphLineageService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphPathService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphQueryService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphRepository.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphSearchService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryOverlayService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/InMemoryReachabilityDeltaService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/IOverlayService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/IReachabilityDeltaService.cs: missing namespace
- ../src/Graph/StellaOps.Graph.Api/Services/RateLimiterService.cs: missing namespace
- Using directive issues:
- none
- Naming issues:
- none
- Async issues:
- none
- Service locator matches:
- none
- Assembly.LoadFrom matches:
- none
### Fix Guidance
- Normalize namespaces to file-scoped StellaOps.<Area>.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 30
- Files with issues: 30
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Graph/StellaOps.Graph.Api/Program.cs | FileLength>100 | Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Contracts/LineageContracts.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Contracts/ReachabilityContracts.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Contracts/SearchContracts.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/obj/Debug/net10.0/StellaOps.Graph.Api.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/obj/Debug/net10.0/StellaOps.Graph.Api.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/obj/Release/net10.0/StellaOps.Graph.Api.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/obj/Release/net10.0/StellaOps.Graph.Api.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/GraphMetrics.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/IAuditLogger.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/IGraphDiffService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/IGraphExportService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/IGraphLineageService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/IGraphPathService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/IGraphQueryService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/IGraphSearchService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphDiffService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphExportService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphLineageService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphPathService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphQueryService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphRepository.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Services/InMemoryGraphSearchService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Services/InMemoryOverlayService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Services/InMemoryReachabilityDeltaService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Graph/StellaOps.Graph.Api/Services/IOverlayService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/IReachabilityDeltaService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Graph/StellaOps.Graph.Api/Services/RateLimiterService.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: PASS
- Expected layers (heuristic): Unit
- Detected test projects: ../src/Graph/__Tests/StellaOps.Graph.Api.Tests/StellaOps.Graph.Api.Tests.csproj [Unit]
- Missing layers: none
### Manual checks required
- Observability contract tests for WebService/Worker.
- Intent tags for regulatory modules (Policy, Authority, Signer, Attestor, EvidenceLocker).
- Offline execution (tests must run without network access).
- Coverage matrix alignment (docs/technical/testing/TEST_COVERAGE_MATRIX.md).
### Fix Guidance
- None.