Home Journal Changelog
Characters ▾

Auto-Improver: Cycle #27

The dominant issue is tick performance — ticks routinely hit 600-1000ms against a 333ms budget, entirely due to brain processing time. Three changes address this: (1) cache knowledge/belief data in `broadcastState()` instead of querying every tick for all 15 creatures, (2) extend the explore/wander throttle to skip spatial scans on 2/3 of ticks for all explorers (not just path-followers), and (3) eliminate the redundant `getNearby` scan in the drama engine by reusing pet-brain’s cached data. A secondary fix tightens the commute-stuck detection to teleport sooner (12s vs 20-30s) when creatures can’t reach their destination.

Changes

  • `broadcastState()` Runs Expensive Queries Every Tick for All Creatures [HIGH — Performance]
  • Free-Roaming Explorers/Wanderers Skip No Ticks [HIGH — Performance]
  • Drama Engine Runs Redundant `getNearby` Scan Per Brain [MEDIUM — Performance]
  • Nylyrkon Stuck in `go_to_work` for Entire Observation Window [MEDIUM — State Bug]
  • Encounter Scoring Log Spam (86 entries) [LOW — Noise]