docs(06-web-chat): create phase plan
This commit is contained in:
@@ -111,6 +111,23 @@ Plans:
|
||||
- [ ] 05-03-PLAN.md — Human verification: test all three creation paths, RBAC enforcement, system prompt auto-generation
|
||||
- [ ] 05-04-PLAN.md — Gap closure: add /agents/new to proxy RBAC restrictions, hide New Employee button for operators, fix wizard deploy error handling
|
||||
|
||||
### Phase 6: Web Chat
|
||||
**Goal**: Users can chat with AI Employees directly in the portal through a real-time web chat interface — no external messaging platform required
|
||||
**Depends on**: Phase 5
|
||||
**Requirements**: CHAT-01, CHAT-02, CHAT-03, CHAT-04, CHAT-05
|
||||
**Success Criteria** (what must be TRUE):
|
||||
1. A user can open a chat window with any AI Employee and have a real-time conversation within the portal
|
||||
2. The chat interface supports the full agent pipeline — memory, tools, escalation, and media (same capabilities as Slack/WhatsApp)
|
||||
3. Conversation history persists and is visible when the user returns to the chat
|
||||
4. The chat respects RBAC — users can only chat with agents belonging to tenants they have access to
|
||||
5. The chat interface feels responsive — typing indicators, message streaming or fast response display
|
||||
**Plans**: 3 plans
|
||||
|
||||
Plans:
|
||||
- [ ] 06-01-PLAN.md — Backend: DB migration (web_conversations + web_conversation_messages), ORM models, ChannelType.WEB, Redis pub-sub key, WebSocket endpoint, web channel adapter, chat REST API with RBAC, orchestrator _send_response wiring, unit tests
|
||||
- [ ] 06-02-PLAN.md — Frontend: /chat page with conversation sidebar, message window with markdown rendering, typing indicators, WebSocket hook, agent picker dialog, nav link, react-markdown install
|
||||
- [ ] 06-03-PLAN.md — Human verification: end-to-end chat flow, conversation persistence, RBAC enforcement, markdown rendering, all roles can chat
|
||||
|
||||
## Progress
|
||||
|
||||
**Execution Order:**
|
||||
@@ -123,7 +140,7 @@ Phases execute in numeric order: 1 -> 2 -> 3 -> 4 -> 5 -> 6
|
||||
| 3. Operator Experience | 5/5 | Complete | 2026-03-24 |
|
||||
| 4. RBAC | 3/3 | Complete | 2026-03-24 |
|
||||
| 5. Employee Design | 4/4 | Complete | 2026-03-25 |
|
||||
| 6. Web Chat | 0/0 | Not started | - |
|
||||
| 6. Web Chat | 0/3 | Not started | - |
|
||||
|
||||
---
|
||||
|
||||
@@ -131,21 +148,6 @@ Phases execute in numeric order: 1 -> 2 -> 3 -> 4 -> 5 -> 6
|
||||
|
||||
**LLM-03 conflict resolved:** BYO API keys confirmed in v1 scope per user decision during Phase 3 context gathering. Implemented via Fernet encryption in Phase 3.
|
||||
|
||||
### Phase 6: Web Chat
|
||||
**Goal**: Users can chat with AI Employees directly in the portal through a real-time web chat interface — no external messaging platform required
|
||||
**Depends on**: Phase 5
|
||||
**Requirements**: CHAT-01, CHAT-02, CHAT-03, CHAT-04, CHAT-05
|
||||
**Success Criteria** (what must be TRUE):
|
||||
1. A user can open a chat window with any AI Employee and have a real-time conversation within the portal
|
||||
2. The chat interface supports the full agent pipeline — memory, tools, escalation, and media (same capabilities as Slack/WhatsApp)
|
||||
3. Conversation history persists and is visible when the user returns to the chat
|
||||
4. The chat respects RBAC — users can only chat with agents belonging to tenants they have access to
|
||||
5. The chat interface feels responsive — typing indicators, message streaming or fast response display
|
||||
**Plans**: 0 plans
|
||||
|
||||
Plans:
|
||||
- [ ] TBD (run /gsd:plan-phase 6 to break down)
|
||||
|
||||
---
|
||||
*Roadmap created: 2026-03-23*
|
||||
*Coverage: 25/25 v1 requirements + 6 RBAC requirements + 5 Employee Design requirements mapped*
|
||||
*Coverage: 25/25 v1 requirements + 6 RBAC requirements + 5 Employee Design requirements + 5 Web Chat requirements mapped*
|
||||
|
||||
Reference in New Issue
Block a user