# v415 — Super Admin Plan Visibility and Classification Readiness Review

## Purpose

v415 reviews the v414 Super Admin workspace classification workflow and extends `/admin/workspaces/types` so Super Admin can use stored workspace type and account class to review plan visibility, classification coverage, and readiness warnings before registration or billing enforcement is changed.

This is a review/readiness build only. It does not change registration, Stripe checkout, hard billing gates, broker distribution limits, owned portal records, invited portal access, or internal load-board access.

## Decision

Proceed with v415 because v414 created the required guarded classification workflow. The next safe step is not enforcement; it is better Super Admin visibility around how stored classifications line up with subscription plan visibility and workspace readiness.

## What changed

- Updated `/admin/workspaces/types` to use stored `workspaceType` and `accountClass` first, with record-signal inference only as a fallback for unclassified workspaces.
- Added classification coverage summaries by workspace category.
- Added stored/inferred/review counts for each workspace type category.
- Added top readiness warnings across workspaces.
- Added selected-workspace readiness warnings for missing classification, account-class mismatch, plan visibility mismatch, over-limit usage, missing subscription, billing-state review, and missing trial end date.
- Added selected-workspace plan visibility fit review.
- Expanded plan visibility preview to compare saved plan family and visible workspace types against stored workspace classifications.
- Added Platform Marketplace as a visible planning category while keeping internal load-board/marketplace access unenforced.
- Kept the guarded v414 classification save workflow and recent classification audit visibility.

## Guardrails

- Registration UI was not changed.
- Public plan selection was not enabled.
- Stripe checkout or Stripe sync behavior was not changed.
- Billing gates were not enforced by workspace type.
- Plan visibility is review-only and does not restrict access.
- Broker distribution limits were not implemented.
- Owned interface and invited portal records were not added.
- Internal load-board access was not opened or gated.
- Prisma schema was not changed.

## What Super Admin can now review

- How many workspaces are fully classified.
- How many still rely on inference.
- Which categories have readiness warnings.
- Whether a selected workspace's assigned/staged plan appears visible for its stored workspace type.
- Whether paid workspaces have subscription records.
- Whether owned interfaces, invited portals, internal workspaces, and platform layers are being treated differently from paid customer workspaces.
- Whether future registration and plan-selection work is safe to begin or needs more data cleanup first.

## Next recommended step

Review `/admin/workspaces/types` in the browser, classify any real existing workspaces that are still inferred, then decide whether to proceed with v416 registration/workspace-type plan-selection staging or first add a Super Admin bulk classification/cleanup helper.
