TenantAtlas/resources/views/filament
ahmido dc46c4fa58 feat: complete provider truth cleanup (#207)
## Summary
- implement Spec 179 to make tenant lifecycle, provider consent, and provider verification the primary truth axes on the targeted Filament surfaces
- demote legacy tenant app status and legacy provider status and health to diagnostic-only roles, add centralized badge mappings for provider consent and verification, and keep provider connections excluded from global search
- add the full Spec 179 artifact set under `specs/179-provider-truth-cleanup/` plus focused Pest coverage for tenant truth cleanup, provider truth cleanup, RBAC, discovery safety, and badge semantics
- fix the numeric out-of-scope tenant route regression so inaccessible `/admin/tenants/{id}` paths return `404 Not Found` instead of `500`

## Testing
- `vendor/bin/sail artisan test --compact tests/Feature/Filament/TenantLifecycleStatusDomainSeparationTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/Filament/TenantTruthCleanupSpec179Test.php`
- `vendor/bin/sail artisan test --compact tests/Feature/Filament/ProviderConnectionsDbOnlyTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/ProviderConnections/ProviderConnectionTruthCleanupSpec179Test.php`
- `vendor/bin/sail artisan test --compact tests/Feature/ProviderConnections/RequiredFiltersTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/Tenants/TenantProviderConnectionsCtaTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/Rbac/TenantResourceAuthorizationTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/ProviderConnections/ProviderConnectionListAuthorizationTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/ProviderConnections/ProviderConnectionAuthorizationTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/Rbac/AdminGlobalSearchContextSafetyTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/Filament/TenantGlobalSearchLifecycleScopeTest.php`
- `vendor/bin/sail artisan test --compact tests/Feature/Filament/TenantScopingTest.php`
- `vendor/bin/sail artisan test --compact tests/Unit/Badges/TenantBadgesTest.php`
- `vendor/bin/sail artisan test --compact tests/Unit/Badges/ProviderConnectionBadgesTest.php`

## Manual validation
- integrated-browser smoke on `/admin/tenants`, tenant detail, `/admin/provider-connections`, provider detail, and provider edit
- verified out-of-scope tenant and provider URLs return `404 Not Found` with the current session

## Notes
- branch: `179-provider-truth-cleanup`
- commit: `e54c6632`
- target: `dev`

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #207
2026-04-05 00:48:31 +00:00
..
actions feat: add verify access required permissions assist (#168) 2026-03-14 02:00:28 +00:00
admin Fix tenant dashboard 500 (missing BaselineCompareRun) (#125) 2026-02-20 21:07:34 +00:00
components feat: consolidate operation naming surfaces (#202) 2026-03-30 22:51:06 +00:00
forms/components feat: retrofit deferred operator surfaces (#203) 2026-04-02 09:22:44 +00:00
infolists/entries feat: complete provider truth cleanup (#207) 2026-04-05 00:48:31 +00:00
modals feat: retrofit deferred operator surfaces (#203) 2026-04-02 09:22:44 +00:00
pages feat: harden workspace governance attention foundation (#206) 2026-04-04 21:14:43 +00:00
partials feat: add baseline gap details surfaces (#192) 2026-03-24 19:05:23 +00:00
resources/policy-version-resource/pages feat/004-assignments-scope-tags (#4) 2025-12-23 21:49:58 +00:00
schemas/components feat: add onboarding lifecycle checkpoints and locking (#169) 2026-03-14 11:02:29 +00:00
system feat: align system operations surfaces (#201) 2026-03-30 19:08:56 +00:00
widgets feat: complete provider truth cleanup (#207) 2026-04-05 00:48:31 +00:00