The meteor_shower weather event traps 10-12 of 15 creatures in an endless FLEEING oscillation loop because (1) there’s no “arrived at den” exit from FLEEING, (2) critical hunger can’t override FLEEING, (3) FLEEING runs the full expensive brain update every tick causing 400-650ms ticks, (4) oscillation teleport sends fleeing creatures to random POIs instead of their den, and (5) weather has no maximum duration so meteor_shower persists 90+ minutes. Four targeted fixes in creature-fsm.ts, pet-brain.ts, and event-manager.ts would resolve the cascading failure.
Changes
- FLEEING State Traps Entire Population During Meteor Shower [HIGH — State Bug + Behavioral Quality]
- FLEEING Not on Brain Fast Path — Causes 400-600ms Ticks [HIGH — Performance]
- Oscillation Teleport Sends Fleeing Creatures to Random POIs [MEDIUM — State Bug]
- Weather Has No Maximum Duration — Meteor Shower Runs 90+ Minutes [MEDIUM — Behavioral Quality]
- Duplicate Belief Formation — “those who survive the storm are chosen” [LOW — Log Spam]