Steps to reproduce:
- Log in to the app.
- Click the "Prompt to agent" option.
- The app navigates to the Pricing page.
- Choose the "Free" plan.
- Instead of proceeding, the app redirects back to the "Prompt to agent" page.
- Clicking "Prompt to agent" again sends you back to the Pricing page, creating a loop.
Actual behavior:
- Selecting the Free plan from the Pricing page after clicking "Prompt to agent" causes a redirect loop between the Pricing page and the Prompt to agent page.
Expected behavior:
- Choosing the Free plan should complete the selection and either grant access to the agent flow or show a confirmation screen (not return to the Prompt to agent page).
Impact:
- Users cannot enter the agent flow when selecting the Free plan; they are stuck in a redirect loop.
Notes / debugging hints:
- Likely an issue with the post-selection routing or the Free-plan selection not persisting the user's choice (session/subscription state not updated).
- Check the redirect logic after plan selection and any guard that decides whether to show the Pricing page vs the Prompt to agent flow.
Reproducibility: Always observed when following the steps.
Steps to reproduce:
Actual behavior:
Expected behavior:
Impact:
Notes / debugging hints:
Reproducibility: Always observed when following the steps.