Changelog entry
Passive intel snapshots + counter-intel sweeps (P5.2B)
2026-03-25
- ACTIVE planted agents now generate passive intel snapshots on a fixed 6-tick cadence (configurable via `SPY_AGENT_INTEL_SNAPSHOT_INTERVAL_TICKS`).
- Added manual counter-intel sweep endpoint: `POST /api/espionage/counter-intel-sweep` (nation-owned, rate-limited), which spends Command and deterministically checks for hostile agents on your territory.
- Sweep detection threshold is config-driven (`SPY_COUNTER_INTEL_SWEEP_BASE_DETECTION_THRESHOLD` + per-tier counter-intel bonus), and detected agents are expelled.
- Passive counter-intel detection now runs each tick using a small per-tier chance (`SPY_PASSIVE_DETECTION_BPS_PER_COUNTER_INTEL_TIER`) and can expel ACTIVE hostile agents over time.
- Expulsions emit public world-feed events and nation-private sweep audit events so detections are visible and traceable.