TorbatYar/docs/commercial-runtime-legacy-removal-report.md
Mortezakoohjani 0d424c500a feat(platform): complete commercial runtime consolidation
Unify commercial runtime ownership across backend and frontend so platform, experience, and hospitality modules use the shared commercial source of truth.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 11:11:53 +03:30

1.2 KiB

Commercial Runtime — Legacy Removal Report (Final)

Date: 2026-07-28
Phases: adoption + cleanup
Remaining Legacy: 0


Removed (cumulative)

Item Replacement
FE business-bundles.ts, apps-catalog.ts, AppStoreGrid, AppTile Commercial products/bundles APIs
FE billing/workspace Core bridges Commercial subscriptions/entitlements
Admin plans/features UI Redirect → Commercial Admin
Core /api/v1/plans, /features, legacy subscriptions/entitlements APIs Deleted
Core Plan/Feature/Subscription models, services, repos, schemas Deleted
Alembic drop 0008_drop_legacy_commercial
Seed PLATFORM_FEATURES + FREE plan attach Commercial seed only
FE api.plans / features / subscriptions Deleted
Hospitality FEATURE_TO_BUNDLE Direct commercial entitlement keys
Communication commercial fields on future-module registry UI stubs + Commercial FeatureLock
Hardcoded trial defaults (14) Registry trial fields only

Remaining legacy items

None.


Not legacy (L2 — retained by design)

Service-owned capability packs (Payment, Experience, Hospitality, Delivery) per ADR-023.