TenantAtlas/apps/platform
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
..
.pnpm-store/v10 Spec 235: harden baseline truth and onboarding flows (#271) 2026-04-24 05:44:54 +00:00
app feat: implement workspace and tenant closure lifecycle (#337) 2026-05-07 13:12:17 +00:00
bootstrap refactor: remove findings lifecycle backfill runtime surfaces (#294) 2026-04-28 22:00:51 +00:00
config PR: 276-support-access-governance → platform-dev (#332) 2026-05-05 21:54:26 +00:00
database feat: implement workspace and tenant closure lifecycle (#337) 2026-05-07 13:12:17 +00:00
drizzle Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
lang feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
public Automated: 268-operationrun-activity-feedback — commit & PR (#324) 2026-05-04 12:17:15 +00:00
resources feat: implement workspace and tenant closure lifecycle (#337) 2026-05-07 13:12:17 +00:00
routes feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
storage Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
tests feat: implement workspace and tenant closure lifecycle (#337) 2026-05-07 13:12:17 +00:00
.env.example feat(specs/256): external support desk handoff (#301) 2026-04-29 20:16:40 +00:00
artisan Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
composer.json feat: implement runtime trend recalibration reporting (#244) 2026-04-18 07:36:05 +00:00
composer.lock Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
drizzle.config.ts Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
package.json feat: implement workspace foundation website app (#214) 2026-04-08 12:20:31 +00:00
patch_aside.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
patch_readiness.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
patch_test.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
patch_view.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
patch.diff Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
phpunit.pgsql.xml Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
phpunit.xml Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
pnpm-lock.yaml feat: compress governance operator outcomes (#253) 2026-04-19 12:30:36 +00:00
revert.php Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
vite.config.js Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00