TenantAtlas/apps/platform/tests/Feature/Operations
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
..
AssignmentFetchOperationRunFailureTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
AssignmentFetchOperationRunTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
AssignmentJobDedupeTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
AssignmentRestoreOperationRunFailureTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
AssignmentRestoreOperationRunTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
AssignmentRunSummaryCountsTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BaselineOperationRunGuardTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
BaselineQueueRuntimeGuardTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
BulkOperationExecutionReauthorizationTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
ExecuteRestoreRunExecutionReauthorizationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
LegacyRunRedirectTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
LegacyRunRoutesNotFoundTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
OperationLifecycleReconciliationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
OperationLifecycleTimingGuardTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
OperationRunBlockedExecutionPresentationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
OperationRunFailedJobBridgeTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProductTelemetryOperationStartCaptureTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ProviderBackedRunReasonAlignmentTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
QueuedExecutionAuditTrailTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
QueuedExecutionContractMatrixTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
QueuedExecutionMiddlewareOrderingTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
QueuedExecutionRetryReauthorizationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
ReconcileAdapterRunsJobTrackingTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
RestoreLinkedOperationDetailTest.php feat: productize restore wizard preview safety gates and process flow (#399) 2026-05-26 00:08:25 +00:00
RunInventorySyncExecutionReauthorizationTest.php fix: restore full-suite green signals across platform workflows (#351) 2026-05-12 18:50:40 +00:00
SystemRunBlockedExecutionNotificationTest.php feat: cut over tenant core to managed environments (#335) 2026-05-07 06:38:14 +00:00
TenantlessOperationRunViewerTest.php feat: enforce workspace and environment scope contract (Spec 338) (#409) 2026-05-31 01:36:08 +00:00