1.6 KiB
1.6 KiB
Nightly Unknowns Decay Batch Worker
Module
Signals
Status
IMPLEMENTED
Description
Scheduled background worker that runs nightly to apply exponential confidence decay to unknown/unresolved findings, automatically reducing their priority scores over time based on configurable decay curves and age thresholds.
Implementation Details
- Modules:
src/Signals/StellaOps.Signals/Services/,src/Signals/StellaOps.Signals/Options/ - Key Classes:
NightlyDecayWorker(src/Signals/StellaOps.Signals/Services/NightlyDecayWorker.cs) - background service that runs nightly decay processingUnknownsDecayService(src/Signals/StellaOps.Signals/Services/UnknownsDecayService.cs) - applies exponential confidence decay to unknown/unresolved findingsUnknownsDecayOptions(src/Signals/StellaOps.Signals/Options/UnknownsDecayOptions.cs) - configurable decay curves and age thresholdsUnknownsDecayMetrics(src/Signals/StellaOps.Signals/Services/UnknownsDecayMetrics.cs) - telemetry metrics for decay operations
- Interfaces:
IUnknownsDecayService - Source: SPRINT_3601_0001_0001_unknowns_decay_algorithm.md
E2E Test Plan
- Configure
UnknownsDecayOptionswith a decay curve and verifyNightlyDecayWorkertriggers on schedule - Create unknown findings of varying ages and verify
UnknownsDecayServicereduces scores proportionally to age - Verify exponential decay: confirm older findings decay faster than newer ones
- Verify age threshold: findings below the threshold are not decayed
- Verify metrics are emitted during decay processing via
UnknownsDecayMetrics