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>
36 lines
1.2 KiB
Markdown
36 lines
1.2 KiB
Markdown
# 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.
|