You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: add server-side session management for multi-turn conversations #37
Add server-side conversation state management so the A2A server can maintain message history across multiple requests without relying on the client to reconstruct context.
Motivation
DocsClaw's server is currently stateless — each A2A request is processed independently. The chat TUI works around this by prepending full conversation history as text into every request, but this approach has limits:
Web portal use cases (from user stories) have no persistent client to accumulate history
Context window waste: re-sending the entire conversation as a text blob on every turn is inefficient and hits token limits quickly
No session isolation: without session IDs, there's no way to maintain separate conversations for different users or tasks
A2A multi-turn: the A2A protocol supports taskId for continuing conversations, but DocsClaw doesn't use it
Activity
pavelanni commentedon Apr 24, 2026
Consolidated into #5 as Phase 1 (server-side session management is a prerequisite for persistent memory).