You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Onboarding creates prompts with only Starter's 2 engines even when a Growth trial is selected #78
During cloud onboarding, prompts are created before the plan/trial step, so they always get the default plan's engine set (Starter → ChatGPT + Perplexity, 2 engines) — even when the user goes on to start a Growth trial at the final step. Growth allows all 8 engines, but the onboarding-created prompts never reflect that.
Prompts are saved at step 4, but the plan is only chosen at step 6. At step 4 the org is still on its default plan ('free', which falls back to Starter limits), so the available scrapers are gated to Starter's allowedScrapers (chatgpt-web, perplexity-web) and written into each prompt's platforms array.
Step map, scraper gating, prompt save (platforms: activeScrapers.map(...)): onboarding/page.tsx
Plan engine sets (starter.allowedScrapers vs growth, which has none = all 8): config/plans.ts
Expected
A user who starts a Growth trial during onboarding should end up with prompts that track the engines their plan allows — not just the 2 Starter engines.
Possible directions
Move the plan step before prompt creation, or
After the plan/trial is confirmed, re-derive each onboarding-created prompt's platforms from the selected plan, or
Default new prompts to the plan's full engine set once a Growth trial/subscription is active.
Acceptance criteria
After completing onboarding with a Growth trial, the created prompts track the engines Growth allows (up to 8), not just 2
Starter onboarding behavior is unchanged (2 engines)
Related: the plan-upgrade engine-expansion gap (separate issue).
Activity
fix(onboarding): align prompts to selected plan's engine set on Strip…
fix(billing): align prompts to new plan's engine set on every plan-ch…