Commit Graph

  • b2ac0e7a00 feat: add Reset Stats button to admin LLM tracking panel main root 2026-03-13 01:59:24 +00:00
  • 513d35e0e5 docs: update CLAUDE.md and README.md to reflect current project state root 2026-03-12 01:01:44 +00:00
  • 5b29549115 feat: implement daytime nap wake logic for circadian rhythm root 2026-03-11 03:05:48 +00:00
  • 0a454c80b0 test: add failing tests for daytime nap wake logic root 2026-03-11 03:05:01 +00:00
  • d39fb14914 feat: add NAP_BUFFER constant for daytime nap system root 2026-03-11 03:04:05 +00:00
  • 02aabc294d docs: add daytime nap implementation plan root 2026-03-11 03:03:09 +00:00
  • 37d5ce96d6 docs: fix guard condition and add reviewer feedback to nap spec root 2026-03-11 02:57:54 +00:00
  • f0b8fea4f1 docs: daytime nap system design spec root 2026-03-11 02:55:12 +00:00
  • 49016073ad feat: render berry bushes with 3-phase growth cycle on map root 2026-03-11 02:36:53 +00:00
  • 9be78e3f8c fix: add 'thirst' to MemoryEvent.need type union root 2026-03-10 20:51:10 +00:00
  • 955dd61117 refactor: remove all food POI references, clean up dead code root 2026-03-10 20:47:47 +00:00
  • d1de641d34 fix: ensure social and industry systems handle drink/forage goals root 2026-03-10 20:47:35 +00:00
  • 1cb0570a49 feat: show thirst and productivity bars on NPC status tab root 2026-03-10 20:46:43 +00:00
  • 9b20033453 feat: forage goal immediately consumes gathered food/water root 2026-03-10 20:45:56 +00:00
  • 07b9b2193d feat: initialize thirst on NPC spawn, handle old saves missing thirst root 2026-03-10 20:45:50 +00:00
  • 5c81893001 feat: rework hunger to consume berries, add drink/forage goals root 2026-03-10 20:44:07 +00:00
  • b7865c9265 feat: berry bush depletion on gather and regrowth over time root 2026-03-10 20:41:01 +00:00
  • b5c8bdeea9 feat: add thirst stat penalties (perception -2, constitution -1) root 2026-03-10 20:38:57 +00:00
  • 27353e9ef3 feat: add thirst decay to needsDecaySystem with crisis events root 2026-03-10 20:37:46 +00:00
  • b75f3a05e2 feat: persist berry bush state (depletion + regrowth) across save/load root 2026-03-10 20:35:53 +00:00
  • 1b0da25887 feat: add berry bush generation, remove food POIs from map root 2026-03-10 20:32:09 +00:00
  • 72746710cb feat: add berries seed item, berry bush config, thirst runtime constants root 2026-03-10 20:28:01 +00:00
  • 5da03ebb69 feat: add thirst to Needs, drink/forage to GoalType, thirst constants root 2026-03-10 20:26:54 +00:00
  • 30b187b838 docs: add needs overhaul implementation plan (15 tasks) root 2026-03-10 20:24:14 +00:00
  • c6f36592e7 docs: add needs overhaul design (food, thirst, productivity visibility) root 2026-03-10 20:19:30 +00:00
  • 3721d2de5b fix: persist admin runtime constants to DB across restarts root 2026-03-10 19:37:17 +00:00
  • 53be21e512 fix: increase maxTokens limits to reduce truncation failures root 2026-03-10 19:32:02 +00:00
  • 8fe442e38c fix: move day label update before early return, add line-height root 2026-03-10 19:20:18 +00:00
  • 61f6c0629f feat: pass dayNumber from state updates to TimeIndicator root 2026-03-10 19:17:51 +00:00
  • 6dcf281702 feat: double TimeIndicator size and add day counter root 2026-03-10 19:17:47 +00:00
  • 70ce82302a refactor: use centralized getDayNumber() in inventionSystem root 2026-03-10 19:14:04 +00:00
  • c71640fd3b feat: broadcast dayNumber in state updates root 2026-03-10 19:13:38 +00:00
  • 815769ad69 feat: add getCycleTicks() and getDayNumber() to GameLoop root 2026-03-10 19:13:27 +00:00
  • c810c99a89 feat: add dayNumber to StateUpdate type root 2026-03-10 19:13:16 +00:00
  • 5d407d41fa docs: add day counter + 2x indicator implementation plan root 2026-03-10 19:10:48 +00:00
  • 4526ba908c docs: add day counter + 2x indicator design root 2026-03-10 19:09:05 +00:00
  • b32e0f8489 fix: use full OpenRouter model IDs in pricing lookup root 2026-03-10 18:54:36 +00:00
  • e465167651 refactor: add jsonResponse flag to auto-inject compact JSON instruction root 2026-03-10 18:51:36 +00:00
  • dc6dd946a2 fix: salvage backstory from truncated JSON, request compact output root 2026-03-10 18:49:06 +00:00
  • 2b5bf86b0f fix: bump maxTokens again (800/500) and add conciseness instructions root 2026-03-10 18:42:56 +00:00
  • 0d0080a6ff fix: increase maxTokens for backstory (600) and desire (400) templates root 2026-03-10 18:38:33 +00:00
  • 087426e894 feat: add llm_debug_log table for persistent LLM failure diagnostics root 2026-03-10 18:35:44 +00:00
  • 18f649d766 debug: add diagnostic logging to invention system root 2026-03-10 17:32:37 +00:00
  • 8e6a970ae4 fix: backstory generation reliability and admin LLM stats loading root 2026-03-10 17:21:00 +00:00
  • b6f93dd694 feat: add world preamble to LLM prompts, update gitignore root 2026-03-10 17:03:38 +00:00
  • f9e99ff09a feat: wire LLM stats into GameScene admin panel root 2026-03-10 13:28:48 +00:00
  • 28ce0822e6 feat: add two-column admin panel with LLM analytics display root 2026-03-10 13:28:01 +00:00
  • 7b8ba95189 feat: widen LeftPanel to 680px when admin tab is active root 2026-03-10 13:27:21 +00:00
  • d2fd013312 feat: add client socket methods for LLM stats root 2026-03-10 13:26:03 +00:00
  • e5d3517416 feat: add socket handlers for LLM stats and tracking toggle root 2026-03-10 13:25:55 +00:00
  • 274789a76a feat: wire llmStatsService into GameLoop root 2026-03-10 13:25:02 +00:00
  • 9f31144430 feat: schema migration v1→v2 adding llm_call_log table root 2026-03-10 13:23:47 +00:00
  • b9edbee77d feat: instrument llmService to record calls via llmStatsService root 2026-03-10 13:22:11 +00:00
  • 478ca06818 feat: add llmStatsService with SQLite persistence and aggregation root 2026-03-10 13:20:26 +00:00
  • a6c92e7f99 feat: include retry count in openRouterClient CompletionSuccess root 2026-03-10 13:16:33 +00:00
  • f3186f6020 feat: add model pricing config and cost calculation root 2026-03-10 13:15:57 +00:00
  • fb78d8cc9c feat: add LLM analytics types and socket events to shared root 2026-03-10 13:14:55 +00:00
  • d11f19e703 docs: add LLM analytics implementation plan root 2026-03-10 13:12:38 +00:00
  • 703b940e9d docs: add LLM analytics tracking design root 2026-03-10 13:08:10 +00:00
  • 6712942436 fix: address code review — auth gating, subscription cleanup, debounce, npcBrainSystem root 2026-03-10 02:42:51 +00:00
  • e5715ec467 feat: wire all gameplay systems to RuntimeConstants root 2026-03-10 02:35:39 +00:00
  • 701411c9a4 feat: integrate Admin and Log panels into LeftPanel and GameScene root 2026-03-10 02:28:32 +00:00
  • 926bdc6687 feat: add AdminPanel UI component with password gate and constant editor root 2026-03-10 02:25:51 +00:00
  • a897dbfee4 feat: add LogPanel UI component root 2026-03-10 02:25:21 +00:00
  • 39cb094110 feat: add admin and log socket methods to SocketClient root 2026-03-10 02:25:03 +00:00
  • e2670b0c34 feat: add admin auth and log streaming socket handlers root 2026-03-10 02:23:46 +00:00
  • ff53096d94 feat: wire LogService into LLM layer for error/warning logging root 2026-03-10 02:22:20 +00:00
  • 191770acbe feat: wire LogService into network layer root 2026-03-10 02:21:08 +00:00
  • 0d8573e11f feat: wire LogService + RuntimeConstants into GameLoop root 2026-03-10 02:19:55 +00:00
  • 0d93574e76 feat: add RuntimeConstants service with get/update/reset root 2026-03-10 02:17:50 +00:00
  • f8cb83481e feat: add LogService with ring buffer and subscriber push root 2026-03-10 02:17:48 +00:00
  • 778eeb3832 feat: add TunableConstants, LogEntry types and socket events root 2026-03-10 02:16:27 +00:00
  • 186536d95c docs: Admin & Log panel implementation plan root 2026-03-10 02:13:37 +00:00
  • 43c3709293 docs: Admin & Log panel design root 2026-03-10 02:09:55 +00:00
  • 0127eeaae6 fix: remove quotes around backstory display root 2026-03-10 01:51:25 +00:00
  • 377b24d225 fix: clean up raw JSON backstories on load from save root 2026-03-10 01:43:47 +00:00
  • ae723342c9 fix: strip NPC name prefix from thought display root 2026-03-10 01:37:02 +00:00
  • b347ada878 feat: add D (Desires) tab to NPC info panel root 2026-03-10 01:34:46 +00:00
  • 176ca88983 docs: NPC panel cleanup implementation plan root 2026-03-10 01:32:53 +00:00
  • b28046c5f2 docs: NPC panel cleanup design — desires tab, thought name stripping root 2026-03-10 01:32:14 +00:00
  • 034f799431 feat: multi-tile trees with treesnstone tileset and trunk bridging root 2026-03-10 01:22:47 +00:00
  • c2b22aab4e feat: NPC desire system — motivation layer for emergent behavior root 2026-03-10 00:16:00 +00:00
  • a8f27a869d fix: emit desire_fulfilled events, populate LLM context, fix category scoring root 2026-03-10 00:14:35 +00:00
  • 7a16872bb9 feat: display NPC desires in info panel root 2026-03-10 00:07:14 +00:00
  • f3591e68d7 feat: industrySystem scores recipes by desire match root 2026-03-10 00:07:09 +00:00
  • c548d0ac05 test: add desire lifecycle integration test root 2026-03-10 00:04:30 +00:00
  • 7ef9636307 feat: wire desire systems into GameLoop and spawner root 2026-03-10 00:02:40 +00:00
  • 733cdfb20f feat: send desires to client via state serializer root 2026-03-10 00:00:20 +00:00
  • a63ff776de feat: persist desires component in entity serializer root 2026-03-09 23:59:47 +00:00
  • cf5558ce0f feat: pass NPC desires into invention prompts root 2026-03-09 23:59:29 +00:00
  • 808ffc06c6 feat: add desire generator system for periodic and event-driven desire creation root 2026-03-09 23:55:29 +00:00
  • 5835206171 feat: add combined backstory + desires LLM generator root 2026-03-09 23:50:51 +00:00
  • 979a318651 refactor: reframe LLM templates from medieval to frontier settlement root 2026-03-09 23:47:21 +00:00
  • f94a6363aa feat: add desire fulfillment system with criteria checks root 2026-03-09 23:44:46 +00:00
  • d3706c90b8 feat: add desireConfig with tuning values root 2026-03-09 23:42:04 +00:00
  • 57e8b3a98a feat: add Desire types to shared root 2026-03-09 23:41:07 +00:00
  • dfd2b9e6e4 docs: add NPC desire system implementation plan root 2026-03-09 23:37:15 +00:00
  • ac9c881610 docs: add NPC desire system design root 2026-03-09 23:31:50 +00:00
  • ee7f22c2c3 feat: ensure default stockpiles on load, use full stat names in backstory prompts root 2026-03-09 22:05:14 +00:00
  • 1da03c46f3 refactor: extract findNearestStockpile helper in npcBrainSystem root 2026-03-09 21:55:26 +00:00