TenantAtlas/apps/platform/tests/Unit/Support
ahmido 7ee4909212
Some checks failed
Main Confidence / confidence (push) Failing after 1m45s
feat: commercial lifecycle overlay for workspace entitlements (#292)
## Summary
- add the bounded workspace commercial lifecycle overlay from spec 251 on top of the existing entitlement substrate
- expose audited commercial state inspection and mutation on the system workspace detail surface
- gate onboarding activation and review-pack start actions through the shared lifecycle decision while preserving suspended read-only access to existing review, evidence, and generated-pack history
- add focused Pest coverage plus the spec/plan/tasks/data-model/contract artifacts for the feature

## Validation
- targeted Pest unit and feature lanes for lifecycle resolution, system-plane mutation, onboarding gating, review-pack enforcement, download preservation, customer review workspace access, and evidence snapshot access
- `cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent`
- integrated browser smoke on the system workspace detail and the preserved read-only review/evidence/review-pack surfaces

## Notes
- branch: `251-commercial-entitlements-billing-state`
- base: `dev`
- commit: `606e9760`

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #292
2026-04-28 13:39:33 +00:00
..
Ai Merge 248-private-ai-policy-foundation into dev (#288) 2026-04-27 21:18:37 +00:00
BackupHealth Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
BackupQuality Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Badges Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Baselines Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
CustomerHealth feat(customer-health): add decision card to tenant/workspace detail (spec 245) (#283) 2026-04-27 08:30:01 +00:00
Diff Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Governance Spec 204: harden platform core vocabulary (#234) 2026-04-14 06:09:42 +00:00
GovernanceArtifactTruth Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
GovernanceInbox feat: add decision-based governance inbox (#291) 2026-04-28 10:13:09 +00:00
Inventory Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
OperateHub feat: finalize global shell context contract (#246) 2026-04-18 14:00:49 +00:00
OperationalControls Merge 248-private-ai-policy-foundation into dev (#288) 2026-04-27 21:18:37 +00:00
OperatorExplanation feat: add governance run summaries (#257) 2026-04-20 20:46:09 +00:00
OpsUx feat: add governance run summaries (#257) 2026-04-20 20:46:09 +00:00
PortfolioTriage feat: add portfolio triage review state tracking (#220) 2026-04-10 21:35:17 +00:00
ProductKnowledge feat(onboarding): decision-first verify-step & contextual-help callout fix (#282) 2026-04-27 00:09:46 +00:00
ProductTelemetry feat: implement product usage adoption telemetry (#281) 2026-04-26 20:52:38 +00:00
Rbac Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
ReasonTranslation Spec 204: harden platform core vocabulary (#234) 2026-04-14 06:09:42 +00:00
References Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
RestoreSafety feat: finalize dashboard recovery honesty (#215) 2026-04-08 23:21:36 +00:00
SupportDiagnostics feat(support-diagnostics): guardrail refactor and UI polish (agent) (#278) 2026-04-25 23:32:30 +00:00
SupportRequests Add in-app support request with context (#285) 2026-04-27 12:51:39 +00:00
Tenants Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Ui feat: compress governance operator outcomes (#253) 2026-04-19 12:30:36 +00:00
WorkspaceIsolation Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Workspaces feat: commercial lifecycle overlay for workspace entitlements (#292) 2026-04-28 13:39:33 +00:00
CanonicalNavigationContextTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
CreateUserWithTenantProfilesTest.php Spec 207: implement shared test fixture slimming (#240) 2026-04-16 17:29:25 +00:00
OperationRunTypeCanonicalContractTest.php feat: canonical operation type source of truth (#276) 2026-04-25 18:11:23 +00:00
OperationTypeResolutionTest.php feat: canonical operation type source of truth (#276) 2026-04-25 18:11:23 +00:00
RelatedActionLabelCatalogTest.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
RelatedNavigationResolverTest.php feat(219): Finding ownership semantics + LEAN-001 constitution + backup_set unification (#256) 2026-04-20 17:54:33 +00:00
TestLaneBudgetTest.php Spec 208: finalize heavy suite segmentation (#241) 2026-04-17 09:53:55 +00:00
TestLaneReportTest.php Spec 206: implement test suite governance foundation (#239) 2026-04-16 13:58:50 +00:00