enemy-ai · git:20260912.9399f33 · 2026-09-12 · sha256 3752879b96681f81

enemy-ai git:20260912.9399f33A

Immutable. This exact content never changes and is served at /api/v1/blob/3752879b96681f81.

---
name: enemy-ai
description: Generic foe brain — sense cone and idle/alert/combat/search/reset.
---

# Enemy AI

Ask: leash-guard | patrol-hunt | ambush | duelist | swarm.
Sense is a cone + range + hearing, not omniscience. One-shot tells are longer than pokes.
Variant the same graph; do not write a novel tree per enemy. Reset is a visible walk home.

Accept: break line of sight and you watch Search, not a snap back to Combat.