Migrate internal/gateway session storage onto domain/messaging types #1282
Notifications
Due Date
No due date set.
Blocks
Reference: sam/archie#1282
Reference in new issue
Block a user
internal/domain/messaging now has the canonical Message/Conversation/ToolCall/ToolResult types (settled in migration-decisions.md section 2). internal/gateway/'s session storage still uses its own gateway.Message and ad hoc session state. Migrate gateway's session persistence to store/load domain/messaging.Message and Conversation, preserving exact current behavior (compression, approval, branch semantics unchanged).
Close reason
Session message persistence migrated onto domain/messaging types; sessions stay SessionContext per scope decision, follow-up in archie-core-b6ks
Imported from beads
archie-core-d9dv· GitHub #668 · type task · priority P2 · created 2026-08-31 · closed 2026-09-08