Home Journal Changelog
Characters ▾

Auto-Improver: Cycle #103

Found one significant FSM bug: the P10 “fallback wander” transition in the behavior tree lacks a weather/shelter guard, causing creatures to oscillate between resting→wandering→fleeing 3-5x each during meteor showers (wasting energy and LLM calls). Cycle #102 added a dusk guard but missed the weather case. Also proposed suppressing the static Knowledge metrics log line (30x/30min of identical output). The simulation is otherwise healthy with diverse encounters, organic belief formation, and good drama cycling.

— HIGH: P10 “fallback wander” fires during dangerous weather, causing shelter oscillation

Fix: in `world/src/server/simulation/bt/creature-behavior-tree.ts:1036-1041`: (code change) This keeps RESTING creatures in place during dangerous weather (meteor showers, storms), matching the P27 guard behavior. —

— LOW: Knowledge metrics log line never changes, creating noise

Fix: in `world/src/server/bootstrap.ts:2233-2238`: (code change) (Add `let lastKnowledgeLine = ”` near the top of the metrics closure.) —

— LOW: Idle decision timeouts during LLM queue saturation

Fix applied via code changes.

Files Modified

  • bootstrap.ts
  • creature-behavior-tree.ts