OptionalauditOne durable record per scan decision — see AuditRecord.
OptionaldetectorA detector was not loaded into the pipeline.
OptionalerrorUnexpected caught errors (a detector threw during scan).
OptionalwarnExpected-but-degraded conditions (ML unavailable, a config no-op, etc.).
Diagnostics callbacks, passed as
config.on. Routes internal diagnostics to your own logging/alerting instead ofconsole.warn. Fully opt-in: with noonconfig, behavior is identical to not having this feature — every event still reachesconsole.warnexactly as before.