TenantAtlas/apps/platform
ahmido 5248654691 feat: retire tenant panel runtime dead code (#359)
## Summary
- retire remaining legacy tenant-panel runtime assumptions in the Filament admin runtime and route resolution paths
- centralize canonical admin environment context handling for shared surfaces instead of relying on deprecated `tenant` panel behavior
- harden guard coverage so legacy `/admin/t` and `/admin/tenants` route families cannot regress
- update scoped navigation, drillthrough, reference-link, and global-search tests to use the admin panel environment runtime
- add the Spec 304 package under `specs/304-tenant-panel-dead-code-retirement/` and document the rollout in the product ledger

## Test Coverage Updated
- `AdminSharedSurfacePanelParityTest`
- `NoActiveTenantResourceRoutesTest`
- `NoLegacyTenantPanelRuntimeTest`
- `AdminTenantResolverGuardTest`
- `PolicyVersionResolvedReferenceLinksTest`
- `EntraGroupGlobalSearchScopeTest`
- `OperationsDashboardDrillthroughTest`

## Runtime Notes
- remains compliant with Filament v5 on Livewire v4
- no provider registration changes; provider registration location remains `apps/platform/bootstrap/providers.php`
- no new globally searchable resource was introduced; existing scoped search assertions were updated only
- no destructive actions were added or changed
- no asset registration changes; deploy posture for `cd apps/platform && php artisan filament:assets` is unchanged

## Validation
- updated tests and docs/spec artifacts were committed in this branch
- tests were not re-run in this turn

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #359
2026-05-14 23:57:36 +00:00
..
.pnpm-store/v10 Spec 235: harden baseline truth and onboarding flows (#271) 2026-04-24 05:44:54 +00:00
app feat: retire tenant panel runtime dead code (#359) 2026-05-14 23:57:36 +00:00
bootstrap feat: complete workspace-first environment routing cutover (#340) 2026-05-07 21:56:14 +00:00
config refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
database refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
drizzle Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
lang refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
public Automated: 268-operationrun-activity-feedback — commit & PR (#324) 2026-05-04 12:17:15 +00:00
resources refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
routes refactor: consolidate internal tenant model naming (#355) 2026-05-14 11:13:28 +00:00
storage Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
tests feat: retire tenant panel runtime dead code (#359) 2026-05-14 23:57:36 +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