TenantAtlas/apps/platform
ahmido e0c2cdb1f4 feat: enforce workspace and environment scope contract (Spec 338) (#409)
## Summary
- enforce the canonical workspace/environment scope contract for workspace hubs and environment-owned surfaces
- replace first-party Operations deep links that leaked Filament `tableFilters[...]` internals with stable product-level query behavior
- add the sidebar scope indicator and split environment-page navigation into explicit `Workspace-wide` and `Workspace admin` groups
- remove redundant tenantless `All environments` scope badges from workspace-wide pages while preserving explicit environment filter affordances
- include the Spec 338 artifacts, guard tests, and browser smoke coverage for the new contract

## Validation
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Navigation/Spec338EnvironmentSidebarSeparationTest.php tests/Feature/Navigation/Spec338OperationRunLinksQueryContractTest.php tests/Feature/Navigation/Spec338SidebarScopeIndicatorTest.php tests/Feature/Filament/PanelNavigationSegregationTest.php`
- `cd apps/platform && ./vendor/bin/sail php vendor/bin/pest tests/Browser/Spec338ScopeContractSmokeTest.php --compact`

## Notes
- Livewire v4 compliance unchanged
- Filament provider registration remains in `bootstrap/providers.php`
- no destructive action behavior changed
- no migrations, env var changes, or new Filament asset registration

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #409
2026-05-31 01:36:08 +00:00
..
.pnpm-store/v10 Spec 235: harden baseline truth and onboarding flows (#271) 2026-04-24 05:44:54 +00:00
app feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
bootstrap feat: clean up legacy tenant environment context (#372) 2026-05-16 18:25:36 +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 feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
public Automated: 268-operationrun-activity-feedback — commit & PR (#324) 2026-05-04 12:17:15 +00:00
resources feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00
routes Spec 329: productize evidence and audit log disclosure (#390) 2026-05-19 21:34:23 +00:00
storage Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
tests feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +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