MS23 Phase 0: Backend Core — Agent Message Storage & Streaming #693

Closed
opened 2026-03-07 00:25:37 +00:00 by jason.woltje · 0 comments
Owner

MS23 Phase 0 — Foundation

Build the backend infrastructure for per-agent conversation storage and streaming.

Tasks

  • MS23-P0-001: Prisma schema (AgentConversationMessage, AgentSessionTree, AgentProviderConfig, OperatorAuditLog)
  • MS23-P0-002: Agent message ingestion — wire spawner/lifecycle to write messages to DB
  • MS23-P0-003: Orchestrator API: GET /agents/:id/messages + SSE stream endpoint
  • MS23-P0-004: Orchestrator API: POST /agents/:id/inject + pause/resume
  • MS23-P0-005: Subagent tree: parentAgentId on spawn + GET /agents/tree
  • MS23-P0-006: Unit + integration tests for all P0 orchestrator endpoints

Acceptance Criteria

  • All orchestrator endpoints tested and green
  • Per-agent message stream verified via curl/SSE client
  • CI pipeline green
  • pnpm turbo lint typecheck test passing
## MS23 Phase 0 — Foundation Build the backend infrastructure for per-agent conversation storage and streaming. ## Tasks - MS23-P0-001: Prisma schema (AgentConversationMessage, AgentSessionTree, AgentProviderConfig, OperatorAuditLog) - MS23-P0-002: Agent message ingestion — wire spawner/lifecycle to write messages to DB - MS23-P0-003: Orchestrator API: GET /agents/:id/messages + SSE stream endpoint - MS23-P0-004: Orchestrator API: POST /agents/:id/inject + pause/resume - MS23-P0-005: Subagent tree: parentAgentId on spawn + GET /agents/tree - MS23-P0-006: Unit + integration tests for all P0 orchestrator endpoints ## Acceptance Criteria - [ ] All orchestrator endpoints tested and green - [ ] Per-agent message stream verified via curl/SSE client - [ ] CI pipeline green - [ ] pnpm turbo lint typecheck test passing
jason.woltje added this to the 0.0.23 milestone 2026-03-07 00:25:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#693