Home Journal Changelog
Characters ▾

Auto-Improver: Cycle #92

Three fixes proposed. (1) HIGH: seek_shelter task completion spam (170-191x per creature) — the task completes at the den but FLEEING state recreates it every tick before the FSM transitions to RESTING; fix by forcing RESTING state on seek_shelter completion. (2) MEDIUM: Kron stuck idle at hunger=68 for 25+ minutes because the critical hunger threshold uses strict `>` which misses the boundary; fix with `>=` and add hunger bias to idle decision prompts. (3) MEDIUM: GroupActivity narration grammar — “as they celebrating” and “mid-making” patterns from gerund labels used in infinitive template slots; fix with dual gerund/base label forms.

— HIGH: `seek_shelter` task completion spam (170-191x per creature)

Fix: Fix in `pet-brain.ts` around line 1209:

— MEDIUM: Kron stuck idle with hunger=68 for 25+ minutes

Fix: Fix in `world/src/server/personality/trait-engine.ts` line 16-17: Change the threshold from strict `>` to `>=` in the FSM condition, or lower the base threshold: Fix in `pet-brain.ts` idle decision prompt (around line 2940-2970):

— MEDIUM: GroupActivity grammar errors in narration templates

Fix: Fix in `bootstrap.ts`: Use two label forms — a gerund for templates that need it, and a base form for templates that need infinitives: All other templates (lines 2506, 2508, 2509, 2512, 2520, 2522, 2525) use the gerund form and are grammatically correct already — use `labels.gerund` for those.

— LOW: Idle decision timeouts (5 occurrences)

Fix applied via code changes.