The KPI detect phase dropped 1-2.6k events in 2 of 3 runs: each
correlation pass computed findings over every indicator (300+ ms with
~20k indicators) while holding the pipeline lock, so the exec worker
stalled until its queue (4096) overflowed. Correlation now snapshots the
indicators under the lock, computes findings without it
(CorrelationEngine::build_findings), and takes the lock again only to
store them in one transaction.
"Scanning process" and "New process detected" were logged for every exec
on the host; they now need STRAWBERRY_TRACE_EXECS=1. Detections, errors
and state changes are still logged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>