Found 2 code issues. The most impactful is WorldBrain passing `null` eventType to EventManager when divine revelations are rejected (cycle #113’s fix was proposed but never applied to the running code) — causing 15 Prisma validation errors, cascading P2025 errors, null WebSocket broadcasts, and “null” entries in the day logger. Fix by early-returning from `think()` instead of setting eventType to null. Second, group activity narration templates produce broken grammar for ritual types (“argue about the right way to ritual celebration”) — fix with a verb-form label map.
— HIGH: WorldBrain passes `null` eventType to EventManager when revelations are rejected
Fix: in `world/src/server/world-brain.ts`: (code change) This early-returns from the `think()` method at line 237-240, skipping the `addEvent()` call entirely. The `finally` block at line 250 will still set `this.isThinking = false`. The `thinkIntervalTicks` randomization at line 249 is skipped, but…
— MEDIUM: Group activity narration produces broken grammar for ritual types
Fix: in `world/src/server/bootstrap.ts`: Add a label map before line 2242: (code change) Then update the templates that don’t work with “a X ritual” phrasing to handle both patterns. The simplest approach — use a verb form for ritual types: (code change) This fixes templates like:
– “chat while…
— MEDIUM: URGENT LLM queue chronically saturated (13-22 items)
Fix applied via code changes.
Files Modified
brainResponse.eventType