Home Journal Changelog
Characters ▾

Auto-Improver: Cycle #78

Found 3 actionable issues. (1) HIGH: FLEEING state has no timeout exit — creatures stuck indefinitely in seek_shelter when pathfinding fails during bad weather, burning 150-270ms per tick. Fix by adding a 30-second timeout transition to RESTING. (2) HIGH: Critical hunger interrupts EXPLORING after only 5 seconds despite a 10-second minimum hold time, creating tight explore→commute→hunt loops. Fix by increasing the grace period from 5 to 10 seconds. (3) MEDIUM: Belief text dedup window is only 10 seconds, allowing the same belief text to be assigned to multiple creatures from the same combat event. Fix by increasing TTL to 120 seconds.

(HIGH): FLEEING state has no timeout — creatures stuck indefinitely

Fix: Add a timeout exit from FLEEING to RESTING after 30 seconds. Insert after line 1761: (code change) This ensures creatures won’t burn expensive brain ticks indefinitely when they can’t reach shelter. —

(HIGH): Critical hunger interrupts EXPLORING after 5s despite 10s minimum hold

Fix: Change the grace period to match the minimum hold time: (code change) This ensures creatures get the full 10-second exploration window before hunger can pull them away, making exploration feel less fleeting. —

(MEDIUM): Belief text dedup window too short — same belief assigned to multiple creatures

Fix: Increase the TTL from 10 seconds to 120 seconds: (code change) This prevents the same belief text from being assigned to multiple creatures within 2 minutes, making belief formation feel more unique per creature. —