Changelog entry
Agent placement model + mechanics (P5.2A)
2026-03-25
- Nations can now **plant agents** inside enemy nations via the new `POST /api/espionage/agents` endpoint, costing 20 Command points per attempt.
- Success chance is deterministic: base 50% + 10% per espionage tier − 8% per target counter-intel tier, clamped between 5% and 95%.
- Each nation has an **agent limit** based on era (Settlement: 1 → Legacy: 5) plus a bonus for espionage-tier tech nodes.
- **ACTIVE agents are invisible** to their target nation — only detected (EXPELLED / TURNED / RECALLED) agents appear in the target's view.
- `GET /api/espionage/agents` lists your planted agents; the visibility gate is enforced server-side.