Repository navigation
Closed
Labels
complexity-lowComplexity: low (board points 1-3)priority-p2Importanttheme-ui-uxTheme: UI/UXtype-featureNew functionality
Description
Summary
The agent detail page exposes both a "Chat" tab and a "Session" tab. The difference is not visible from the UI — a user with no context cannot tell which one to use, or why both exist. Decide what the right framing is, then update the UI to communicate it.
Context
Reported during a UI/UX review session. The platform actually has two semantically different chat surfaces:
- Chat (
chat_sessions/chat_messages— the older surface) — each turn is essentially stateless from the model's perspective beyond chat history. Documented under "Persistent Chat Features" indocs/memory/architecture.md. - Session (
agent_sessions/agent_session_messages—SESSION_TAB_2026-04, default-on since 2026-05-04) — each turn callsclaude --print --resume <uuid>, preserving Claude Code's tool-result memory, mid-skill state, and reasoning state across turns. Strictly parallel to Chat — separate router, store, and component on purpose.
This is a product/UX discussion, not a bug — figure out the right framing before writing code.
Open Questions
- Are both surfaces here to stay long-term, or is Session intended to eventually replace Chat?
- If both stay, what's the user-facing language? ("Session = remembers tool state across turns" vs "Chat = scratchpad" — find the right framing)
- Should the default surface change? Today Chat is first, Session is second.
- Do we need both tabs at all, or can the UI auto-route to one based on capability?
Acceptance Criteria
- Decision recorded (issue comment or short doc) on whether Session and Chat both stay, or whether one is deprecated
- User-facing copy drafted — tooltip / subtitle on each tab that a non-engineer can understand
- If both stay: UI updated with the new copy + tab order decision
- If one is deprecated: migration plan for sessions / messages on the deprecated surface
Technical Notes
- Architecture references: "Session Tab Features" and "Persistent Chat Features" sections of
docs/memory/architecture.md - Backend:
src/backend/routers/sessions.py(Session) vssrc/backend/routers/chat.py(Chat) - Frontend:
SessionPanel.vuevs the Chat tab component - Tagged as a spike — output is a decision + small UI PR, not a full rebuild
Metadata
Metadata
Assignees
Labels
complexity-lowComplexity: low (board points 1-3)priority-p2Importanttheme-ui-uxTheme: UI/UXtype-featureNew functionality
Activity
vybe commentedon Jul 3, 2026
Readiness triage 2026-07-03: superseded — #1112 shipped the unified Chat tab (single Chat tab with a Session-mode toggle, default ON), which resolved the Session-vs-Chat framing this spike was asking for.