Unify context hydration modes

t-574·WorkTask·
·
·
Created1 week ago·Updated1 week ago

Description

Edit

Unify context hydration in Omni/Agent with explicit passive/active temporal+semantic modes. Create a core context builder (conversation scope for DM/group), remove Telegram-specific getAdaptiveContext/getGroupConversationContext usage, and ensure DM/group scoping. Map passive-temporal to recent conversation_messages (~30), passive-semantic to pre-run semantic retrieval from chat_history + long-term memories, and active tools for temporal/semantic lookups. Rename/refactor modules/functions to match the 4 hydration modes. Disable/remove compaction logic if feasible. Update Telegram bot to use the core builder (no custom context assembly).

Timeline (2)

🔄[human]Open → InProgress1 week ago
🔄[human]InProgress → Done1 week ago