--- name: npc description: "Design NPC AI, combat behavior and pathfinding with scalable state machines" disable-model-invocation: true --- # Fuse Studio / npc Task: $ARGUMENTS Use `knowledge/gameplay-advanced/advanced-npc-agents` and `knowledge/gameplay/npc-ai`. Build bounded perception/path recomputation and server-owned damage, correct blocked/target-leave handling; add tests for no-path and 40-NPC load. Common protocol: inspect existing project context first; respect project's coding/style conventions; use targeted local knowledge search only if needed; make minimal coherent edits; verify using available tools; report changed paths and unverified behavior. Follow main Fuse Studio server-authority, cleanup and performance standards.