Memory Layer (v0.3)

Memory Layer (v0.3) Purpose Scoped memory for Conversation + User per docs 02-system-architecture-prompt.md §8. Current Scope Domain: MemoryScope, MemoryInterface Infrastructure: WpMemoryStore → wp_teddy_memory Application: ChatMemoryComposer, RememberChatTurn Wired into legacy ChatService and agent…

v5 README.md Download markdown Updated July 18, 2026

Memory Layer (v0.3)#

Purpose#

Scoped memory for Conversation + User per docs 02-system-architecture-prompt.md §8.

Current Scope#

  • Domain: MemoryScope, MemoryInterface
  • Infrastructure: WpMemoryStorewp_teddy_memory
  • Application: ChatMemoryComposer, RememberChatTurn
  • Wired into legacy ChatService and agent SendChatMessage (admin scope)

Scopes#

Scope Owner key Usage
Conversation conversation_id Last topic per thread
User user_id Last topic across sessions

Settings#

No separate flag — memory is active whenever chat runs and DB schema 1.3.0+ is installed.

Verification#

  • tests/Unit/ChatMemoryComposerTest.php