Migrate internal/gateway session storage onto domain/messaging types #1282

Closed
opened 2026-10-27 13:39:45 +00:00 by sam · 0 comments
Owner

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

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_
sam added the mediumtask labels 2026-10-27 13:39:45 +00:00
sam self-assigned this 2026-10-27 13:39:45 +00:00
sam closed this issue 2026-10-27 13:39:45 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1282