TenantAtlas/apps/platform/app/Models
ahmido 210508db9d feat: implement workspace and tenant closure lifecycle (#337)
## Summary
- add explicit workspace closure and tenant removal lifecycle truth with a bounded `WorkspaceLifecycleService`
- surface closure and removal posture across admin/system pages, chooser recovery, and canonical historical viewers
- block new review-pack and operation starts for closed workspaces or removed tenants while preserving memberships, audit, and history
- add focused Pest coverage plus the Spec 292 artifacts for the implemented slice

## Testing
- `export PATH="/bin:/usr/bin:/usr/local/bin:$PATH" && cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/System/Directory/ViewWorkspaceClosureTest.php tests/Feature/System/Ops/ClosedWorkspaceHistoricalAccessTest.php tests/Feature/Filament/Resources/Workspaces/WorkspaceClosureStatusTest.php tests/Feature/Filament/Resources/TenantResource/TenantWorkspaceRemovalTest.php tests/Feature/Filament/Pages/WorkspaceContextClosureRecoveryTest.php`
- `export PATH="/bin:/usr/bin:/usr/local/bin:$PATH" && cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent`
- manual integrated-browser smoke for admin tenant remove/restore plus chooser recovery and system workspace close/reopen

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #337
2026-05-07 13:12:17 +00:00
..
AlertDelivery.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
AlertDestination.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
AlertRule.php feat: implement findings notifications escalation (#261) 2026-04-22 00:54:38 +00:00
AlertRuleDestination.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
AuditLog.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BackupItem.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BackupSchedule.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BackupSet.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BaselineProfile.php cleanup: retire dead transitional residue (#270) 2026-04-23 16:54:48 +00:00
BaselineSnapshot.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
BaselineSnapshotItem.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
BaselineTenantAssignment.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
EntraGroup.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
EntraRoleDefinition.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
EvidenceSnapshot.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
EvidenceSnapshotItem.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
Finding.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
FindingException.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
FindingExceptionDecision.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
FindingExceptionEvidenceReference.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
InventoryItem.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
InventoryLink.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ManagedEnvironment.php feat: implement workspace and tenant closure lifecycle (#337) 2026-05-07 13:12:17 +00:00
ManagedEnvironmentMembership.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
OperationalControlActivation.php Remove Findings lifecycle backfill operational surface (controls slice) (#280) 2026-04-26 15:43:47 +00:00
OperationRun.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
PlatformUser.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Policy.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
PolicyVersion.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProductUsageEvent.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderConnection.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderCredential.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
RestoreRun.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ReviewPack.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
SettingsCatalogCategory.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
SettingsCatalogDefinition.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
StoredReport.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
SupportAccessGrant.php PR: 276-support-access-governance → platform-dev (#332) 2026-05-05 21:54:26 +00:00
SupportRequest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantOnboardingSession.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantPermission.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantReview.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantReviewSection.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantRoleMapping.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantSetting.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantTriageReview.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
User.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
UserTenantPreference.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
VerificationCheckAcknowledgement.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
Workspace.php feat: implement workspace and tenant closure lifecycle (#337) 2026-05-07 13:12:17 +00:00
WorkspaceMembership.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
WorkspaceSetting.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
WorkspaceSubscription.php 274: Billing subscription truth - add workspace subscription model & tests (#326) 2026-05-04 21:15:57 +00:00