Three actionable fixes proposed. (1) HIGH: Gate commute navigation recomputation to every 3 ticks instead of every tick in pet-brain.ts, reducing per-creature commute cost by ~66% (addresses Vynxor’s persistent 50-150ms/tick and overall tick budget pressure hitting 400ms+). (2) MEDIUM: Add 15-second hysteresis to prevent critical exhaustion from triggering immediately after leaving COMMUTING_TO_FOOD, breaking Gorath’s 16-cycle resting↔food loop. (3) LOW: Debounce POI entry logging to reduce ~57 spam entries per creature per observation window.
Changes
- Brain Updates Still Expensive for Commuting Creatures — No True Early Return [HIGH — Performance]
- Gorath FSM Loop — resting → commuting_to_food (16x) [MEDIUM — State Bug]
- POI Entry Spam — Creatures Traversing Multiple POI Zones Per Second [LOW — Log Noise]
- LLM Queue Buildup — URGENT Queue Reaches 9 [MEDIUM — Performance]
- Negative Ollama Response Time [LOW — Cosmetic Bug]