Problem
Channel conversation LLM turns consistently log a warning:
warn: ActorBackedUserMemoryStore[0]
Failed to load user memory for prompt injection
System.InvalidOperationException: User memory store requires an authenticated user scope.
No scope could be resolved.
User memory context is never injected into the system prompt for channel (Lark) conversations.
Root Cause
ActorBackedUserMemoryStore requires an authenticated user scope (e.g. from HTTP request context), but channel conversation LLM turns run inside an Orleans actor with no HTTP auth context. The scope resolver returns null, causing the store to throw.
Evidence
Every LLM turn in aevatar-console-backend pod logs this warning. The user memory feature is effectively dead for all channel conversations.
PR Target
feature/lark-bot
Problem
Channel conversation LLM turns consistently log a warning:
User memory context is never injected into the system prompt for channel (Lark) conversations.
Root Cause
ActorBackedUserMemoryStorerequires an authenticated user scope (e.g. from HTTP request context), but channel conversation LLM turns run inside an Orleans actor with no HTTP auth context. The scope resolver returns null, causing the store to throw.Evidence
Every LLM turn in
aevatar-console-backendpod logs this warning. The user memory feature is effectively dead for all channel conversations.PR Target
feature/lark-bot