TenantAtlas/tests/Feature/Guards
ahmido 37c6d0622c feat: implement spec 169 action surface contract v1.1 (#200)
## Summary
- implement the Action Surface Contract v1.1 runtime changes for Spec 169
- add the new explicit ActionSurfaceType contract, validator/discovery updates, and enrolled surface declarations
- update Filament action-surface documentation, focused guard tests, and spec artifacts for the completed feature

## Included
- clickable-row vs explicit-inspect enforcement across monitoring, reporting, CRUD, and system reference surfaces
- helper-first, workflow-next, destructive-last overflow ordering checks
- system panel list discovery in the primary action-surface validator
- Spec 169 artifacts: spec, plan, tasks, research, data model, quickstart, and logical contract

## Verification
- focused Pest verification pack completed for:
  - tests/Feature/Guards/ActionSurfaceValidatorTest.php
  - tests/Feature/Guards/ActionSurfaceContractTest.php
  - tests/Feature/Rbac/TenantActionSurfaceConsistencyTest.php
- integrated browser smoke test completed for admin-side reference surfaces:
  - /admin/operations
  - /admin/audit-log
  - /admin/finding-exceptions/queue
  - /admin/reviews
  - /admin/tenants

## Notes
- system panel browser smoke coverage could not be exercised in the same session because /system routes require platform authentication in the integrated browser
- Livewire target remains v4-compliant and no provider registration or asset strategy changes are introduced by this PR

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #200
2026-03-30 09:21:39 +00:00
..
ActionSurfaceContractTest.php feat: implement spec 169 action surface contract v1.1 (#200) 2026-03-30 09:21:39 +00:00
ActionSurfaceValidatorTest.php feat: implement spec 169 action surface contract v1.1 (#200) 2026-03-30 09:21:39 +00:00
AdminTenantResolverGuardTest.php feat: harden livewire trusted state boundaries (#182) 2026-03-18 23:01:14 +00:00
AdminWorkspaceRoutesGuardTest.php Spec 129: add workspace admin home overview (#157) 2026-03-09 21:53:25 +00:00
DerivedStateConsumerAdoptionGuardTest.php feat: add tenant governance aggregate contract and action surface follow-ups (#199) 2026-03-29 21:14:17 +00:00
FilamentTableRiskExceptionsGuardTest.php Spec 125: standardize Filament table UX (#152) 2026-03-08 22:54:56 +00:00
FilamentTableStandardsGuardTest.php feat: tenant-owned query canon and wrong-tenant guards (#180) 2026-03-18 08:33:13 +00:00
LivewireTrustedStateGuardTest.php feat: harden livewire trusted state boundaries (#182) 2026-03-18 23:01:14 +00:00
NoAdHocFilamentAuthPatternsTest.php feat: harden livewire trusted state boundaries (#182) 2026-03-18 23:01:14 +00:00
NoAdHocRetryInBulkWorkersTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
NoAdHocStatusBadgesTest.php feat: normalize operator outcome taxonomy (#186) 2026-03-22 12:13:34 +00:00
NoAdHocTenantLifecycleChecksSpec143Test.php feat: implement tenant lifecycle operability semantics (#172) 2026-03-15 09:08:36 +00:00
NoBroadSecretRedactionPatternsTest.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
NoDiagnosticWarningBadgesTest.php feat: normalize operator outcome taxonomy (#186) 2026-03-22 12:13:34 +00:00
NoForbiddenTagBadgeColorsTest.php feat: tag badge catalog (060) (#72) 2026-01-23 23:05:55 +00:00
NoLegacyBulkOperationsTest.php 056-remove-legacy-bulkops (#65) 2026-01-19 23:27:52 +00:00
NoLegacyRunBackfillTest.php Spec 092: Legacy Purge (runs/routes/UI/test shims) (#110) 2026-02-14 18:43:56 +00:00
NoLegacyRunsTest.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
NoLegacyTenantGraphOptionsTest.php feat(spec-088): remove tenant graphOptions legacy path (#105) 2026-02-12 10:14:44 +00:00
NoLegacyTenantProviderFallbackTest.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
NoPlatformCredentialFallbackTest.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
NoTenantCredentialRuntimeReadsSpec081Test.php feat: standardize platform provider identity (#166) 2026-03-13 16:29:08 +00:00
OperationLifecycleOpsUxGuardTest.php feat: harden operation lifecycle monitoring (#190) 2026-03-23 21:53:19 +00:00
Spec116OneEngineGuardTest.php Spec 117: Baseline Drift Engine + evidence fidelity/provenance (#142) 2026-03-03 07:23:01 +00:00
Spec118NoLegacyBaselineDriftGuardTest.php Spec 119: Drift cutover to Baseline Compare (golden master) (#144) 2026-03-06 14:30:49 +00:00
Spec120NoBroadAuditRedactionFallbacksTest.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
Spec120NoGraphContractSecretMetadataTest.php Spec 120: harden secret redaction integrity (#146) 2026-03-07 16:43:01 +00:00
TenantOwnedQueryGuardTest.php feat: implement finding risk acceptance lifecycle (#184) 2026-03-20 01:07:55 +00:00