四层架构:固定感知骨架 + 可插拔的 未发现层/交战层/死亡层; 两种定义源:PerceptionRecipeSO 配方资产(约 95% 敌人零代码)+ AiScript 定制脚本; 消除 Config 开关面板(EngagementStyle/PatrolBetweenChases → RushExit 语义枚举); 能力引用资产化(AbilityRef);AiSignal 8→1 清理死枚举。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>