April 19, 2026

AI Core Refactor: World State, Memory, and User Summary

The system refactors WorldState into an in-process singleton, removing WorldStateService and related APIs, and introduces a new TimeFormatterService for elapsed

The system refactors WorldState into an in-process singleton, removing WorldStateService and related APIs, and introduces a new TimeFormatterService for elapsed-time formatting.

Memory skill descriptions are tightened to focus on FIRST-PARTY user facts, clearly distinguishing user-specific keys from Chalie’s own scratchpad.

The document skill is simplified to a plain CRUD framing, enabling it to handle biographies and notes alongside official documents.

A major overhaul replaces the deprecated trait-extraction job with UserSummaryProcessor, which runs on a 30-min cadence worker or lazily when needed.

UserSummaryProcessor writes short and long summaries to data_graph after processing user_specific rows, avoiding transcript writes.

The Brain UI is updated to replace the old Memory metrics panel with a paginated record browser for Episodes, User, and System records.

Vault functionality is hardened by removing silent auto-initialization and allowing individual provider API key decryption failures to surface as warnings.

The installer is consolidated to be a single path, bundling Chromium, Deno, and a specific sqlite-vec wheel patch.

  • WorldState rebuilt as in-process singleton, dropping WorldStateService.

  • UserSummaryProcessor replaces trait-extraction job with 30-min cadence worker.

  • Memory skill scope clarified to ONLY FIRST-PARTY facts about the user.

  • Brain memory panel replaced with paginated record browser for episodes, user, system.

  • Vault no longer silently reinitializes on absent DEK; provider failures surface warnings.

  • Installer now contains a single path for Chromium, Deno, and sqlite-vec.