[Telepathy] Add messaging system with LiveView chat UI #2

Open
opened 2026-03-25 21:42:07 +00:00 by michael · 0 comments
Owner

Summary

Add Telepathy — async messaging between Michael and Cortex with a real-time LiveView chat interface.

Implementation

  • Ecto schema for messages (from, to, content, channel, read status)
  • Context module with send/list/unread/mark_read operations
  • PubSub broadcast on new messages
  • LiveView chat UI at /telepathy (iMessage-style, mobile responsive)
  • JSON API for programmatic senders
  • Design message schema with channel field for future Telegram support

Acceptance Criteria

  • /telepathy shows chat UI (auth-gated)
  • Messages persist in SQLite via Ecto
  • Real-time updates via PubSub
  • POST /api/telepathy/messages works
  • Mobile responsive

Priority: High — parallel with Ikigai

## Summary Add Telepathy — async messaging between Michael and Cortex with a real-time LiveView chat interface. ## Implementation - Ecto schema for messages (from, to, content, channel, read status) - Context module with send/list/unread/mark_read operations - PubSub broadcast on new messages - LiveView chat UI at `/telepathy` (iMessage-style, mobile responsive) - JSON API for programmatic senders - Design message schema with `channel` field for future Telegram support ## Acceptance Criteria - [ ] `/telepathy` shows chat UI (auth-gated) - [ ] Messages persist in SQLite via Ecto - [ ] Real-time updates via PubSub - [ ] `POST /api/telepathy/messages` works - [ ] Mobile responsive **Priority:** High — parallel with Ikigai
michael added the
nervous-system
label 2026-03-25 21:42:07 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: michael/cortex_status#2
No description provided.