[P0] Add curator streak chat preview handoff flow #7

Closed
dv wants to merge 0 commits from fix/curator-preview-handoff into staging
Owner

PR Summary

Summary

Implemented the curator streak chat handoff flow so dashboard streak suggestions guide users through a focused conversation and then route them directly to the correct service preview instead of a blank setup screen.

Users can now click a daily or weekly streak suggestion, answer at most one clarifying question, and receive a preview CTA that opens the intended service with sensible defaults already applied.

Changes

  • Externalized the curator chat prompt into a markdown file so it can be edited without requiring a code redeploy.
  • Updated interview handoff to return the /agents/interview/preview route instead of the setup route.
  • Updated roleplay handoff to return the preview route instead of setup.
  • Added handoff_ready status once sufficient context exists.
  • Limited the curator flow to at most one clarifying question before showing the preview CTA.
  • Added default preview parameters:
    • type=behavioral
    • difficulty=medium
    • duration=5
  • Pre-filled the target role from onboarding data when available.
  • Added fallback handling for missing onboarding role by asking: What role are you targeting?
  • Prevented internal route leaks in chat-facing text.
  • Added friendly service-down handling so users do not see broken links.
  • Improved mobile UX with a full-screen modal and thumb-friendly preview CTA.

User Flow

  1. User clicks a daily or weekly streak suggestion.
  2. Curator chat starts a focused conversation.
  3. User answers zero or one clarifying question.
  4. Curator returns a service preview CTA.
  5. User clicks the CTA and lands directly on the pre-filled preview page.
  6. User can start the intended service without going through setup.

Defaults

  • type=behavioral
  • difficulty=medium
  • duration=5

Validation

  • Verified that interview handoff routes to preview, not setup.
  • Verified that roleplay handoff routes to preview, not setup.
  • Verified that handoff_ready is returned when enough context exists.
  • Verified that onboarding-derived role is used when available.
  • Verified that no internal routes leak in chat text.
  • Verified mobile CTA behavior.
  • Verified build stability with:
    • npm run typecheck
    • npm run build

closes #6

# PR Summary ## Summary Implemented the curator streak chat handoff flow so dashboard streak suggestions guide users through a focused conversation and then route them directly to the correct service preview instead of a blank setup screen. Users can now click a daily or weekly streak suggestion, answer at most one clarifying question, and receive a preview CTA that opens the intended service with sensible defaults already applied. ## Changes - Externalized the curator chat prompt into a markdown file so it can be edited without requiring a code redeploy. - Updated interview handoff to return the `/agents/interview/preview` route instead of the setup route. - Updated roleplay handoff to return the preview route instead of setup. - Added `handoff_ready` status once sufficient context exists. - Limited the curator flow to at most one clarifying question before showing the preview CTA. - Added default preview parameters: - `type=behavioral` - `difficulty=medium` - `duration=5` - Pre-filled the target role from onboarding data when available. - Added fallback handling for missing onboarding role by asking: `What role are you targeting?` - Prevented internal route leaks in chat-facing text. - Added friendly service-down handling so users do not see broken links. - Improved mobile UX with a full-screen modal and thumb-friendly preview CTA. ## User Flow 1. User clicks a daily or weekly streak suggestion. 2. Curator chat starts a focused conversation. 3. User answers zero or one clarifying question. 4. Curator returns a service preview CTA. 5. User clicks the CTA and lands directly on the pre-filled preview page. 6. User can start the intended service without going through setup. ## Defaults - `type=behavioral` - `difficulty=medium` - `duration=5` ## Validation - Verified that interview handoff routes to preview, not setup. - Verified that roleplay handoff routes to preview, not setup. - Verified that `handoff_ready` is returned when enough context exists. - Verified that onboarding-derived role is used when available. - Verified that no internal routes leak in chat text. - Verified mobile CTA behavior. - Verified build stability with: - `npm run typecheck` - `npm run build` closes #6
dv added 13 commits 2026-06-17 10:45:09 +00:00
puter closed this pull request 2026-06-22 13:48:41 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: growqr-app/growqr-backend#7
No description provided.