Parent PRD
#1
What to build
Client-facing chat interface accessible via the project's unique link. No login required — the slug is the access method.
Frontend: Chat UI at the project's unique URL. Message input, scrollable message history, loading states during AI response. On page load, fetch and display full conversation history from the database.
Backend: Endpoint to send a client message and receive an AI response. Calls Claude API with system prompts that initiate the discovery interview (first phase only — phase transitions handled in a separate issue). Persists both user and assistant messages to the Message table.
Resume: When the client returns to the same link, the full conversation loads and the AI continues from where it left off by receiving the message history in the Claude API call.
Acceptance criteria
Blocked by
User stories addressed
- User story 1
- User story 2
- User story 3
- User story 18
Parent PRD
#1
What to build
Client-facing chat interface accessible via the project's unique link. No login required — the slug is the access method.
Frontend: Chat UI at the project's unique URL. Message input, scrollable message history, loading states during AI response. On page load, fetch and display full conversation history from the database.
Backend: Endpoint to send a client message and receive an AI response. Calls Claude API with system prompts that initiate the discovery interview (first phase only — phase transitions handled in a separate issue). Persists both user and assistant messages to the Message table.
Resume: When the client returns to the same link, the full conversation loads and the AI continues from where it left off by receiving the message history in the Claude API call.
Acceptance criteria
Blocked by
User stories addressed