Repository navigation
payments: Omi Pro is the only plan sold; Omi Pro grants full desktop - #23774
Merged
Merged
Conversation
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
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
backend/config/plan_catalog.json, rev 12):unlimited_v2.desktop_profiledesktop_free→desktop_full, so it joinsDESKTOP_ENTITLED_PLAN_TYPES. Plus/Operator/Architect are markedlifecycle: deprecated.storefrontsare 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.scripts/entitlement_catalog_validation.py): legacy entitlements stay frozen exceptdesktop_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.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.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 theunknown_platform_allowedmetric reason.retired_plan_change_error, new):/upgradeallows only a move to Omi Pro or an interval change within the current plan.omi_pro_month_v1) instead of Operator..github/agent-docs/plan-catalog.mdandconfig/feature-flags.yamlupdated.NEW_BUYER_SINGLE_PLAN_ENABLED=falseis 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_v2title "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.bigbeeme33throughGET /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