TenantAtlas/docs/product
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
..
prompts chore: commit all changes (automated) 2026-04-30 16:25:12 +02:00
standards Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
discoveries.md feat: add provider-missing policy visibility and restore continuity (#316) 2026-05-01 20:18:27 +00:00
implementation-ledger.md feat: retire tenant panel runtime dead code (#359) 2026-05-14 23:57:36 +00:00
operator-semantic-taxonomy.md feat: add provider-missing policy visibility and restore continuity (#316) 2026-05-01 20:18:27 +00:00
principles.md Auto: 266-tenant-dashboard-productization-v1 → platform-dev (#322) 2026-05-03 14:03:46 +00:00
roadmap.md feat(specs/301): admin inventory navigation cutover (#356) 2026-05-14 14:50:08 +00:00
spec-candidates.md feat: retire tenant panel runtime dead code (#359) 2026-05-14 23:57:36 +00:00