Skip to content

Upgrading Starter→Growth doesn't expand existing prompts' tracked engines (stay at 2 of 8) #79

Closed

Description

@gkhngyk

Summary

When an organization upgrades from Starter (2 engines) to Growth (8 engines), existing prompts keep tracking only their original 2 engines. The plan now allows 8, but nothing expands the prompts — so a paying Growth customer keeps getting 2-engine coverage until they manually edit every prompt (or the brand's platform settings).

Why it happens

  • The tracking worker runs each prompt against its own prompt.platforms array — it does not consult the plan, brand_platforms, or allowedScrapers: tracking-worker.js (scrapersToRun = prompt.platforms ...)
  • allowedScrapers is never enforced at runtime on the server (no references in server/src), so engine gating only happens at write time in the UI.
  • The Stripe webhook updates only organizations.plan on upgrade — it never touches prompt.platforms or brand_platforms: stripe/webhook/route.ts
  • Plan engine sets: config/plans.ts

There is no plan-change hook that re-derives or expands the tracked engines.

Impact

A customer who pays for Growth still only tracks 2 of the 8 engines until they discover they must manually enable the rest.

Expected

On upgrade (and ideally on trial start), the newly-available engines should be applied to existing prompts — automatically, or via a clear in-app CTA ("8 engines now available — enable them for your prompts").

Possible directions

  • On customer.subscription.updated / plan change, expand each prompt's platforms to the plan's allowed set (up to maxPlatforms), or
  • Surface a banner/CTA on the Prompts/Brand pages when the plan allows more engines than are currently enabled, with a one-click "enable all".

Acceptance criteria

  • After upgrading to Growth, existing prompts can track the full set of Growth engines without manually editing each prompt
  • Downgrades stay consistent (no tracking beyond the new plan's limit)

Related: onboarding creates prompts with only Starter's engines even on a Growth trial (separate issue).

Activity

  1. added
    bug
    help wanted
    on May 22, 2026
  2. added a commit that references this issue on May 26, 2026
    b5797fe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions