TB-11a — Unified Brain (Friday + Kulu Shared Knowledge + Conversation Log)

Summary

Make Friday and Kulu functionally identical brains by loading Kulu’s workspace files (SOUL.md, USER.md, MEMORY.md) into Friday’s system prompt, then add a shared conversation log (SQLite) so each brain can see what the other discussed. One knowledge base, two interfaces.

What it produced

  • friday-ai — loaded with Kulu’s operational knowledge (field ops, SOW verification, pier driving logs, division knowledge)
  • chat-service — conversation_log.py shared SQLite database at /data/portal-auth/conversation_log.db
  • API endpoints: POST /conversation-log and GET /conversation-log/recent for cross-brain read/write
  • Kulu — SOUL.md updated with cross-brain awareness section

Connections

  • depends on: friday-ai — portal chat enhanced with Kulu’s knowledge
  • depends on: Kulu — workspace files read as read-only volume mount
  • depends on: Docker-Stack — volume mount for Kulu workspace into API container
  • produced: shared conversation log with topic extraction (R-numbers, addresses, project IDs)
  • feeds into: TB-15-portal-live-chat — conversation_log is foundation for WhatsApp bridge