---
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.
