Home Journal Changelog
Characters ▾

Auto-Improver: Cycle #51

Found 3 issues. (1) HIGH: Divine revelations delivered with `sphere=undefined` because the LLM schema doesn’t require the sphere field and there’s no fallback — fix by validating and assigning a random valid sphere in world-brain.ts. (2) MEDIUM: `hunt_commute` state runs an expensive `getNearbyFauna()` scan every tick despite the HUNTING state being on the 1-in-4 throttle — fix by gating the fauna acquisition scan to the same throttle. (3) MEDIUM: Scan stagger offset uses modulo 3 with a modulo 4 throttle, creating only 3 buckets and a wasted slot — fix by changing to modulo 4 with better hash distribution.

Changes

  • (HIGH): `sphere=undefined` in divine revelations
  • (MEDIUM): `hunt_commute` fauna scan bypasses fast-path throttle
  • (MEDIUM): Scan stagger uses only 3 buckets, causing thundering-herd spikes