Skip to content

payments: Omi Pro is the only plan sold; Omi Pro grants full desktop - #23774

Merged
kodjima33 merged 7 commits into
mainfrom
kodjima33/omi-pro-only
Oct 27, 2026
Merged

kodjima33 merged 7 commits into
mainfrom
kodjima33/omi-pro-only

Conversation

@kodjima33

Copy link
Copy Markdown
Collaborator

Summary

Omi Pro (unlimited_v2) is now the only plan sold, on every platform. Plus, Pro/Operator, Architect and Neo are retired: nobody can see or buy them except a current subscriber, who still sees, manages and cancels their own plan and can move to Omi Pro. Omi Pro now grants full desktop, so desktop sells it too.

Owner ruling (Nik, 2026-10-26). It extends the 2026-10-24 new-buyer single-plan rule to desktop and to missing/unknown platform headers.

Changes

  • Catalog (backend/config/plan_catalog.json, rev 12): unlimited_v2.desktop_profile desktop_free → desktop_full, so it joins DESKTOP_ENTITLED_PLAN_TYPES. Plus/Operator/Architect are marked lifecycle: deprecated. storefronts are unchanged: they also drive the released-client wire remap (MOBILE_PLAN_TYPES), so emptying them would send old builds plan values they can't decode.
  • Compatibility guard (scripts/entitlement_catalog_validation.py): legacy entitlements stay frozen except desktop_profile, which may widen (free < full < architect) but never narrow. This is the only way to let a retired catalog fold into the remaining plan without stripping anyone.
  • Catalog filter (filter_plans_for_user): returns Omi Pro plus the caller's own current plan on every platform. An Operator subscriber on a pre-rollout client still sees their remapped Unlimited price as active.
  • Checkout (new_buyer_single_plan_violation): rejects any non-Omi-Pro price unless the caller has a recurring personal subscription on that same plan. Desktop and unknown-platform exemptions are removed, along with the unknown_platform_allowed metric reason.
  • Plan change (retired_plan_change_error, new): /upgrade allows only a move to Omi Pro or an interval change within the current plan.
  • v2 storefront: a basic caller gets the single-tier Omi Pro sheet on every platform.
  • Referrals grant 30 days of Omi Pro (program omi_pro_month_v1) instead of Operator.
  • Chat at cap: the upgrade button points to Omi Pro instead of Plus → Pro → Architect.
  • Docs and flag registry: .github/agent-docs/plan-catalog.md and config/feature-flags.yaml updated. NEW_BUYER_SINGLE_PLAN_ENABLED=false is still the kill switch and restores the per-platform catalog.

The client display renames (Omi Pro naming, Omi Pro checkout on Mac, desktop badges) ship in separate app, macOS and web/Windows PRs. The backend keeps sending the unlimited_v2 title "Unlimited", because the released macOS title parser maps "Omi Pro" to Architect.

Stripe prices for retired plans are not archived in this PR (owner decision: code first, Stripe later).

Verification

  • python3 backend/scripts/generate_plan_catalog.py --check --base-ref origin/main: valid, generated file current.
  • Plan, subscription, storefront, payment, referral, checkout, ladder and entitlement suites all pass, one pytest process per file (54 files). The golden snapshots were regenerated with their documented switches. The only diffs are Omi Pro's desktop tier, the catalog revision, and the chat-at-cap upgrade target.
  • Dev baseline before deploy, for test account bigbeeme33 through GET /v1/payments/available-plans: macOS shows Operator + Architect; iOS and web show Omi Pro only. Post-deploy dev check is in the follow-up comment.

Product invariants affected

none

🤖 Generated with Claude Code

Retire Plus, Pro/Operator, Architect and Neo from every storefront. Callers
see Omi Pro plus their own current plan; checkout and plan changes accept
only Omi Pro or the caller's own plan. Omi Pro's catalog row moves to
desktop_full (widen-only compatibility exception). Referrals grant Omi Pro
and the chat-at-cap upgrade points to Omi Pro. NEW_BUYER_SINGLE_PLAN_ENABLED
stays the kill switch.
@kodjima33
kodjima33 merged commit ca33017 into main Oct 27, 2026
57 checks passed
@kodjima33
kodjima33 deleted the kodjima33/omi-pro-only branch October 27, 2026 04:31
kodjima33 added a commit that referenced this pull request Oct 27, 2026
…ng (#23772)

## What changed and why

Product decision (2026-10-26): Omi Pro (`unlimited_v2`, $29.99/mo) is
the only plan sold, including on desktop. Plus, Operator, Architect and
Neo are retired: only their current subscribers see them, and those
subscribers can still switch to Omi Pro. This PR changes only the macOS
client. The backend catalog and `DESKTOP_ENTITLED_PLAN_TYPES` change
landed separately in #23774.

- **Checkout blocker:** `PlanStorefront` ladder is now `basic < plus <
operator < architect < unlimited_v2`. Before this, the client refused
every Omi Pro checkout, including the backend's own
`single_plan_omi_pro` golden. A retired or legacy plan can now check out
only to Omi Pro. Omi Pro subscribers never hit Pro-gate upsells.
- **Naming blocker:** `SubscriptionPlanNames` maps "Omi Pro" to
`unlimited_v2` (it used to map to `architect`).
`/v1/payments/available-plans` now decodes `plan_id`, which the backend
already sends, and uses it before falling back to title parsing. Display
names: `unlimited_v2` shows "Omi Pro", `operator` shows "Operator".
- **Plans grid:** only Omi Pro is offered. Retired ids are never
offered, and a retired plan shows only in the subscriber's own
current-plan card. Fallback subtitle, eyebrow, description and features
are now Omi Pro copy: unlimited listening, 1,000 chat questions/mo, Mac
+ mobile + web.
- **Upsells:** "View Plans" after a trial ends and the retiring-plan
banner now preselect Omi Pro. The banner says "Switch to Omi Pro for
$29.99/mo".
- **Copy:** the Settings search item reads "Buy Omi Pro". Referral copy
reads "one free month of Omi Pro". The product KB now says Omi Pro is
the only plan offered.
- **Desktop entitlement:** `ScreenEmbeddingPolicy` gives Omi Pro cloud
screen vectors. The cached proactive budget multiplier treats Omi Pro
like Operator. That value is a local mirror; the server stays the
authority.

## Product invariants affected

- INV-CHAT-1

## How it was verified

- `xcrun swift build -c debug --package-path Desktop` passes locally
(with the uncommitted AFM shim noted below).
- A named bundle `omi-pro-only` was built and launched with `./run.sh
--yolo`, and the bridge responded. **UNVERIFIED in the running app:**
the seeded Omi Dev session (test account) was in `auth_recovery`, so the
app was signed out. Minting a fresh session also failed because the
backend service account key in Secret Manager has been deleted. In
addition, until #23774 is deployed, backends hide `unlimited_v2` from
desktop, so a signed-in desktop would still not get Omi Pro in its
catalog. The Omi Pro card was never seen on screen.
- Swift tests: the local machine has Xcode 26.2, not the pinned 26.6.
Two unrelated existing files fail to compile there:
`SystemLanguageModel.contextSize` in the AFM sources/tests, and a
type-check timeout in `LocalSummaryEvalCorpus.swift`. The changed tests
therefore run in CI on the pinned toolchain. To get the local debug
build through, the one AFM line was shimmed locally and that change is
not committed.

## Tests

- `PlanStorefrontTests.testOmiProIsPurchasable`: the backend
`single_plan_omi_pro` golden now sells Omi Pro on monthly and yearly.
Before this change it was refused.
- `PlanStorefrontTests.testRetiredPlanMaySwitchOnlyToOmiPro`: legacy Neo
can check out Omi Pro, and a retired tier still never sells.
- `PlanStorefrontTests.testProGatesApplyBelowProOnly`: Omi Pro is not
gated.
- `SubscriptionPlanNamesTests`: Omi Pro maps to `unlimited_v2`; display
names are "Omi Pro" and "Operator".
- `SettingsContentViewBillingFallbackTests`: only Omi Pro is offered,
the current Omi Pro plan is hidden from the grid, fallback copy agrees
on 1,000, and `plan_id` decodes.
- `ScreenEmbeddingPolicyTests`: Omi Pro gets cloud screen vectors.
- `SubscriptionPlanCatalogMergerTests`: Operator now displays as
"Operator", not "Pro".
- `ChatBudgetPauseTests`: pins the "Upgrade to Omi Pro" label from the
backend fixture #23774 changed.

## UI evidence

UI-Evidence: none -- no signed-in session available locally and backends
return Omi Pro to desktop only after #23774 deploys; behavior pinned by
tests

## Failure class (fixes)

Failure-Class: none
kodjima33 added a commit that referenced this pull request Oct 29, 2026
…previewed amount

PR #23774 made Omi Pro the only plan sold, so the offer is Omi Pro monthly ($29.99) to Omi Pro
yearly ($269.91), USD only. Retired plans are not offered a new yearly term.

- The switch requires the preview's proration_date and expected_amount_due, re-runs
  Invoice.create_preview at that date and refuses (409) unless Stripe would charge exactly that.
- Subscription.modify carries an idempotency key bound to that preview, so a retried or doubled
  request replays Stripe's first result.
- A customer-level coupon on the preview invoice refuses the offer, like a subscription discount.
- App: a retry after any failure re-previews first and shows a moved amount before charging; a
  lost response is settled by reading Stripe again instead of claiming the reader is still monthly;
  the Home saving rounds down ($89), never up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant