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,131 @@
# Audit - StellaOps.AuditPack
## Project
- Path: ../src/__Libraries/StellaOps.AuditPack/StellaOps.AuditPack.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 26
- Files with issues: 25
- 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: 17
- Namespace violations: 25
- 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/__Libraries/StellaOps.AuditPack/Models/AuditBundleManifest.cs (210 lines)
- ../src/__Libraries/StellaOps.AuditPack/Models/AuditPack.cs (144 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/AirGapTrustStoreIntegration.cs (358 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/ArchiveUtilities.cs (160 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditBundleReader.cs (668 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditBundleSigner.cs (381 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditBundleWriter.cs (529 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackBuilder.cs (249 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackExportService.cs (431 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackImporter.cs (262 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackReplayer.cs (135 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/IsolatedReplayContext.cs (371 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/ReplayAttestationService.cs (474 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/ReplayExecutor.cs (521 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/ReplayTelemetry.cs (400 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/ScanSnapshotFetcher.cs (312 lines)
- ../src/__Libraries/StellaOps.AuditPack/Services/VerdictReplayPredicate.cs (503 lines)
- Namespace issues:
- ../src/__Libraries/StellaOps.AuditPack/Models/AuditBundleManifest.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Models/AuditPack.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/obj/Debug/net10.0/StellaOps.AuditPack.AssemblyInfo.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/obj/Debug/net10.0/StellaOps.AuditPack.GlobalUsings.g.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/obj/Release/net10.0/StellaOps.AuditPack.AssemblyInfo.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/obj/Release/net10.0/StellaOps.AuditPack.GlobalUsings.g.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/AirGapTrustStoreIntegration.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/ArchiveUtilities.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditBundleReader.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditBundleSigner.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditBundleWriter.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackBuilder.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackExportService.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackIds.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackImporter.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackReplayer.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/CanonicalJson.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/IsolatedReplayContext.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/ReplayAttestationService.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/ReplayExecutor.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/ReplayTelemetry.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/ScanSnapshotFetcher.cs: missing namespace
- ../src/__Libraries/StellaOps.AuditPack/Services/VerdictReplayPredicate.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: 26
- Files with issues: 25
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/__Libraries/StellaOps.AuditPack/Models/AuditBundleManifest.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Models/AuditPack.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/__Libraries/StellaOps.AuditPack/obj/Debug/net10.0/StellaOps.AuditPack.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/__Libraries/StellaOps.AuditPack/obj/Debug/net10.0/StellaOps.AuditPack.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/__Libraries/StellaOps.AuditPack/obj/Release/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/__Libraries/StellaOps.AuditPack/obj/Release/net10.0/StellaOps.AuditPack.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/__Libraries/StellaOps.AuditPack/obj/Release/net10.0/StellaOps.AuditPack.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/__Libraries/StellaOps.AuditPack/Services/AirGapTrustStoreIntegration.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/ArchiveUtilities.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/AuditBundleReader.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/AuditBundleSigner.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/AuditBundleWriter.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackBuilder.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackExportService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackIds.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackImporter.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/AuditPackReplayer.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/CanonicalJson.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/__Libraries/StellaOps.AuditPack/Services/IsolatedReplayContext.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/ReplayAttestationService.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/ReplayExecutor.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/ReplayTelemetry.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/ScanSnapshotFetcher.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/__Libraries/StellaOps.AuditPack/Services/VerdictReplayPredicate.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
## Testing Fullness Findings
- Status: PASS
- Expected layers (heuristic): Unit
- Detected test projects: ../src/__Libraries/__Tests/StellaOps.AuditPack.Tests/StellaOps.AuditPack.Tests.csproj [Unit]; ../src/__Tests/unit/StellaOps.AuditPack.Tests/StellaOps.AuditPack.Tests.csproj [Unit]; ../src/Replay/__Tests/StellaOps.Replay.Core.Tests/StellaOps.Replay.Core.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.