v436 — Workspace Entitlement Visibility and Add-on Readiness

Decision

Proceed with workspace entitlement visibility and add-on readiness before billing activation approvals, payment collection, customer portal sessions, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access.

What changed

  • Added Super Admin-only API route `/api/admin/workspace-entitlements/review`.
  • Added `WorkspaceEntitlementVisibilityService`.
  • Extended `/admin/subscriptions` with a new **Workspace entitlement visibility** panel.
  • Added review-only visibility for each workspace's:
  • - saved or fallback review plan;

    - workspace type and account class;

    - subscription status and trial date;

    - users/seats usage;

    - truck usage;

    - workspace-owned business phone number usage;

    - limit overages;

    - locked feature count;

    - add-on readiness;

    - missing add-on price warnings;

    - estimated monthly add-on revenue from current overages.

  • Added workspace-type summary cards.
  • Added filters for entitlement status, workspace type, add-on state, and search text.
  • Added CSV exports for workspace entitlement review and add-on readiness rows.
  • Kept the work review-only and based on existing saved plan/subscription fields.
  • Visible result

    In Super Admin

    At `/admin/subscriptions`, Super Admin can now see workspace-level entitlement visibility and add-on readiness after the plan entitlement model review.

    Super Admin can identify which workspaces fit their current plan, which are over included limits, which need add-on prices, and which are blocked or missing assigned subscriptions.

    In Workspace Admin

    No visible change.

    Public Signup

    No visible change.

    Guardrails

  • Prisma schema changed: No
  • Payment collection activated: No
  • Customer portal sessions activated: No
  • Webhook subscription mutation activated: No
  • Trial-to-paid conversion activated: No
  • Hard billing gates changed: No
  • Broker distribution limits changed: No
  • Owned portal rules changed: No
  • Internal load-board access changed: No