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,36 @@
{
"feature": "runtime-reachability-collection",
"module": "signals",
"tier": 0,
"runId": "run-001",
"timestamp": "2026-02-12T22:30:00Z",
"result": "pass",
"checks": [
{
"name": "DotNetEventPipeAgent exists",
"path": "src/Signals/StellaOps.Signals.RuntimeAgent/DotNetEventPipeAgent.cs",
"found": true
},
{
"name": "RuntimeFactsIngestService exists",
"path": "src/Signals/StellaOps.Signals.RuntimeAgent/RuntimeFactsIngestService.cs",
"found": true
},
{
"name": "RuntimeMethodEvent exists",
"path": "src/Signals/StellaOps.Signals.RuntimeAgent/RuntimeMethodEvent.cs",
"found": true
},
{
"name": "ReachabilityFactEventBuilder exists",
"path": "src/Signals/StellaOps.Signals/Services/ReachabilityFactEventBuilder.cs",
"found": true
},
{
"name": "ReachabilityFactCacheDecorator exists",
"path": "src/Signals/StellaOps.Signals/Services/ReachabilityFactCacheDecorator.cs",
"found": true
}
],
"summary": "All key source files for runtime reachability collection feature are present."
}

View File

@@ -0,0 +1,20 @@
{
"tier": 1,
"type": "code_review",
"capturedAtUtc": "2026-02-12T21:20:00Z",
"feature": "runtime-reachability-collection",
"claimsVerified": true,
"missingClaims": [],
"presentClaims": [
"DotNetEventPipeAgent exists at src/Signals/StellaOps.Signals.RuntimeAgent/DotNetEventPipeAgent.cs",
"RuntimeFactsIngestService exists at src/Signals/StellaOps.Signals.RuntimeAgent/RuntimeFactsIngestService.cs",
"RuntimeMethodEvent exists at src/Signals/StellaOps.Signals.RuntimeAgent/RuntimeMethodEvent.cs",
"ReachabilityFactEventBuilder exists at src/Signals/StellaOps.Signals/Services/ReachabilityFactEventBuilder.cs",
"ReachabilityFactCacheDecorator exists at src/Signals/StellaOps.Signals/Services/ReachabilityFactCacheDecorator.cs",
"IRuntimeAgent interface exists at src/Signals/StellaOps.Signals.RuntimeAgent/IRuntimeAgent.cs",
"IReachabilityFactRepository interface exists at src/Signals/StellaOps.Signals/Persistence/IReachabilityFactRepository.cs",
"Tests exist: RuntimeFactsIngestServiceTests, RuntimeFactsIngestionServiceTests, RuntimeFactsBatchIngestionTests"
],
"verdict": "done",
"notes": "Runtime collection via .NET EventPipe agent with method-level tracing and facts ingestion verified. All claimed classes present with caching layer and repository pattern."
}

View File

@@ -0,0 +1,39 @@
{
"feature": "runtime-reachability-collection",
"module": "signals",
"tier": 2,
"runId": "run-001",
"timestamp": "2026-02-12T22:31:00Z",
"result": "pass",
"testProjects": [
{
"project": "StellaOps.Signals.Tests",
"testClasses": [
"RuntimeFactsIngestionServiceTests",
"RuntimeFactsBatchIngestionTests"
],
"passed": 16,
"failed": 0,
"skipped": 0
}
],
"totalPassed": 16,
"totalFailed": 0,
"coverageSummary": {
"RuntimeFactsIngestionServiceTests": "10 tests: hit aggregation with reachability recompute (merges duplicate symbols, triggers scoring), tenant isolation (separate subject keys prevent data leak), deterministic subject keys, Build-ID correlation preserved per fact, Code-ID correlation for stripped binaries, validation (rejects null subject, null callgraphId, empty events, null symbolId), evidence URI preservation, AOC provenance with context_facts",
"RuntimeFactsBatchIngestionTests": "6 tests: NDJSON parsing with CAS artifact storage (blake3 hash), gzip compressed content handling, subject grouping (multi-subject batches), CAS URI linkage to fact documents, invalid line skipping (graceful degradation), artifact store optional (works without CAS)"
},
"assertions": [
"RuntimeFactsIngestionService aggregates hits by symbolId and triggers reachability recompute via IReachabilityScoringService",
"Tenant isolation: separate subject keys prevent cross-tenant data access",
"Build-ID and Code-ID correlation preserved per runtime fact for SBOM linking",
"Validation rejects requests with null subject, null callgraphId, empty events, or null symbolId",
"Evidence URIs from runtime events are preserved in persisted facts",
"AOC provenance: ContextFacts with ProvenanceFeed tracking each observation record",
"Batch ingestion: NDJSON parsing, gzip decompression, multi-subject grouping",
"CAS artifact storage with blake3 hashing and URI linkage to fact documents",
"ReachabilityFactCacheDecorator wraps IReachabilityFactRepository with cache-aside pattern",
"ReachabilityFactEventBuilder builds typed envelopes with topic resolution, tenant resolution, trace metadata, fact versioning, and digest computation"
],
"summary": "All 16 tests pass. Runtime reachability collection verified: method-level event ingestion with hit aggregation, reachability recompute triggering, tenant isolation, Build-ID/Code-ID correlation, NDJSON batch ingestion with gzip and CAS storage, and cache decorator pattern."
}