TenantAtlas/apps/platform/tests/Feature/Guards
ahmido 3c38192405 Spec 206: implement test suite governance foundation (#239)
## Summary

This PR implements Spec 206 end to end and establishes the first checked-in test suite governance foundation for the platform app.

Key changes:
- add manifest-backed test lanes for fast-feedback, confidence, browser, heavy-governance, profiling, and junit
- add budget and report helpers plus app-local artifact generation under `apps/platform/storage/logs/test-lanes`
- add repo-root Sail-friendly lane/report wrappers
- switch the default contributor test path to the fast-feedback lane
- introduce explicit fixture profiles and cheaper defaults for shared tenant/provider test setup
- add minimal/heavy factory states for tenant and provider connection setup
- migrate the first high-usage and provider-sensitive tests to explicit fixture profiles
- document budgets, taxonomy rules, DB reset guidance, and the full Spec 206 plan/contracts/tasks set

## Validation

Executed during implementation:
- focused Spec 206 guard/support/factory validation pack: 31 passed
- provider-sensitive regression pack: 29 passed
- first high-usage caller migration pack: 120 passed
- lane routing and wrapper validation succeeded
- pint completed successfully

Measured lane baselines captured in docs:
- fast-feedback: 176.74s
- confidence: 394.38s
- heavy-governance: 83.66s
- browser: 128.87s
- junit: 380.14s
- profiling: 2701.51s
- full-suite baseline anchor: 2624.60s

## Notes

- Livewire v4 / Filament v5 runtime behavior is unchanged by this PR.
- No new runtime routes, product UI flows, or database migrations are introduced.
- Panel provider registration remains unchanged in `bootstrap/providers.php`.

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #239
2026-04-16 13:58:50 +00:00
..
ActionSurfaceContractTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
ActionSurfaceValidatorTest.php feat: close spec 195 action surface residuals (#230) 2026-04-13 07:47:58 +00:00
AdminTenantResolverGuardTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
AdminWorkspaceRoutesGuardTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
BrowserLaneIsolationTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
ConfidenceLaneContractTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
DerivedStateConsumerAdoptionGuardTest.php Spec 185: workspace recovery posture visibility (#216) 2026-04-09 12:57:19 +00:00
FastFeedbackLaneContractTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
FastFeedbackLaneExclusionTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
FilamentTableRiskExceptionsGuardTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
FilamentTableStandardsGuardTest.php Spec 196: restore native Filament table contracts (#236) 2026-04-14 23:30:53 +00:00
FixtureCostProfilesGuardTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
HeavyGovernanceLaneContractTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
LivewireTrustedStateGuardTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoAdHocFilamentAuthPatternsTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoAdHocRetryInBulkWorkersTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoAdHocStatusBadgesTest.php feat: add workspace baseline compare matrix (#221) 2026-04-11 10:20:25 +00:00
NoAdHocTenantLifecycleChecksSpec143Test.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoBroadSecretRedactionPatternsTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoDiagnosticWarningBadgesTest.php feat: add workspace baseline compare matrix (#221) 2026-04-11 10:20:25 +00:00
NoForbiddenTagBadgeColorsTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoLegacyBulkOperationsTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoLegacyProviderConnectionStateFallbackTest.php Spec 188: canonical provider connection state cleanup (#219) 2026-04-10 11:22:56 +00:00
NoLegacyRunBackfillTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoLegacyRunsTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoLegacyTenantGraphOptionsTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoLegacyTenantProviderFallbackTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoPlatformCredentialFallbackTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
NoTenantCredentialRuntimeReadsSpec081Test.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
OperationLifecycleOpsUxGuardTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
ProfileLaneContractTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
SharedDetailFamilyContractGuardTest.php Spec 197: standardize shared detail family contracts (#237) 2026-04-15 09:51:42 +00:00
Spec116OneEngineGuardTest.php Refactor: remove compare job legacy drift path (#235) 2026-04-14 21:54:37 +00:00
Spec118NoLegacyBaselineDriftGuardTest.php Refactor: remove compare job legacy drift path (#235) 2026-04-14 21:54:37 +00:00
Spec120NoBroadAuditRedactionFallbacksTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Spec120NoGraphContractSecretMetadataTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Spec192RecordPageHeaderDisciplineGuardTest.php feat: implement spec 192 record page header discipline (#226) 2026-04-11 21:20:41 +00:00
Spec193MonitoringSurfaceHierarchyGuardTest.php feat: implement spec 193 monitoring action hierarchy (#227) 2026-04-12 10:48:00 +00:00
Spec194GovernanceActionSemanticsGuardTest.php feat: harden governance action semantics (#229) 2026-04-12 21:21:44 +00:00
Spec195ResidualActionSurfaceClosureGuardTest.php feat: close spec 195 action surface residuals (#230) 2026-04-13 07:47:58 +00:00
TenantOwnedQueryGuardTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
TestLaneArtifactsContractTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
TestLaneCommandContractTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
TestLaneManifestTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00
TestTaxonomyPlacementGuardTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00