DriftWatch
Reputation scoring via behavioral deviation from baseline (2-sigma alert)
Mechanism
Reputation via micro-deviation detection. 1. Baseline: establish behavioral frequency over `window_size` samples. 2. Sample: continuous high-resolution observation. 3. Detect: alert when Distance(Current, Baseline) exceeds `threshold`. 4. Witness: aggregated peer reports. Tracks behavioral consistency against a baseline Aggregate of historical actions.
Invariants
- Baseline is immutable while a sample is judged against it.
- Baseline recomputation interval and source window are declared.
- Alert when Distance(Current, Baseline) > `threshold`, in the units Distance returns.
Parameters
- threshold: type=Float, range=[0.0, inf), description=Trigger in the units Distance returns — not normalised, not sigma multiples.
- window_size: type=Integer, range=[10, 10000], description=Samples forming the baseline
- recompute_interval: type=Integer, range=[0, 100000], description=Samples between baseline rebuilds; 0 pins it permanently.
Preconditions
- Baseline state is established
Failure modes
- Baseline walked: the subject changes more slowly than the baseline recomputes, so no alert fires.
- Witness collusion: coordinated false drift reports.
- False reports: a single malicious witness.
- Cold start: no baseline yet, so the watcher is silent through the establishment window.
- Baseline gaming: Agent varies early to establish a wide baseline.
- Alert flood: continuous sampling against a sensitive threshold alerts at its false-positive rate.
Where this came from
—
Builds on
Used by
- RegimeSense references
Identity
- Ref:
DriftWatch#2913 - Hash: sema:DriftWatch#mh:SHA-256:29131d6f9346a5c367020dd9251cbf8a1401c46b0118c2e58c20f152fbb72f95
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository