## Summary - productize the customer review workspace as a workspace-wide customer-safe review hub - add customer-safe latest review, decision summary, accepted risks, evidence basis, and review-pack presentation updates - update localized copy, focused feature coverage, browser smoke coverage, and Spec 312 artifacts ## Testing - `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Reviews/CustomerReviewWorkspacePageTest.php tests/Feature/Reviews/CustomerReviewWorkspacePackAccessTest.php tests/Browser/Reviews/CustomerReviewWorkspaceSmokeTest.php` - `cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent` - `git diff --check` Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #367
4.2 KiB
4.2 KiB
Requirements Checklist: Customer Review Workspace v1 Completion
Purpose: Preparation-readiness checklist for Spec 312.
Created: 2026-05-15
Feature: specs/312-customer-review-workspace-v1-completion/spec.md
Candidate And Scope
- CHK001 The selected candidate is directly provided by the user and also appears as the first manual-promotion P1 post-Spec-311 candidate in
docs/product/spec-candidates.md. - CHK002 The scope is narrowed to Customer Review Workspace productization and existing review/detail/pack handoffs.
- CHK003 Related completed specs 249, 258, 308, and 311 are treated as historical context and dependencies only.
- CHK004 The spec explicitly forbids shell/sidebar/topbar, RBAC, policy, migration, provider, billing, AI, artifact-lifecycle, OperationRun, and Review Pack generation work.
- CHK005 Functional requirements are behavior-oriented and testable.
- CHK006 Acceptance criteria cover latest selection, filter behavior, decision states, accepted risks, evidence basis, pack status, authorization, leakage, links, and legacy fallback.
Truth Sources And Proportionality
- CHK007 The spec identifies review, decision, evidence, review-pack, and execution truth owners.
- CHK008 The proportionality review states no new persisted entity, table, artifact family, abstraction, enum/status family, or cross-domain UI framework is planned.
- CHK009 Legacy pre-Spec-308 behavior is display-only fallback, not migration/backfill/compatibility persistence.
- CHK010 The spec requires deriving from released review/governance-package truth and forbids recomputing a second decision source of truth from raw evidence payloads.
UI, Filament, And Disclosure
- CHK011 The affected surface is classified as an existing Filament page plus existing Blade view composition.
- CHK012 Customer-safe disclosure hierarchy is decision-first, diagnostics absent by default, evidence summarized.
- CHK013 The one-primary-action rule is explicit for latest review, review pack, and filtered empty state contexts.
- CHK014 Filament v5 / Livewire v4 compliance, provider registration location, global search posture, destructive action posture, and asset strategy are required in implementation close-out.
- CHK015 The spec forbids ad-hoc styling systems and new assets.
Security, RBAC, And Leakage
- CHK016 Existing workspace/environment membership, policies, and capabilities remain authoritative.
- CHK017 Non-member and missing-capability semantics are preserved rather than redefined.
- CHK018 Rendered HTML and href leakage assertions are explicitly required.
- CHK019 The spec distinguishes technical IDs in route parameters from visible raw-ID leakage.
- CHK020
/admin/tlegacy URL leakage is explicitly forbidden. - CHK021 Operator-only lifecycle and pack mutation actions are explicitly forbidden in the customer-safe workspace.
Testing And Validation
- CHK022 Planned Pest coverage uses existing Reviews, EnvironmentReview, and ReviewPack feature families.
- CHK023 Browser coverage is bounded to the existing CustomerReviewWorkspace smoke because rendered UI changes are expected.
- CHK024 Fixture/helper cost risks are identified and kept feature-local.
- CHK025 Validation commands are concrete and scoped.
- CHK026 Spec 311 regression lane is conditional only if shell/sidebar/topbar-adjacent files are touched.
Review Outcome
- CHK027 Review outcome class:
acceptable-special-case. - CHK028 Workflow outcome:
keep. - CHK029 Final note location: active feature PR close-out entry
Guardrail / Exception / Smoke Coverage. - CHK030 Spec Readiness Gate passes for preparation:
spec.md,plan.md,tasks.md, and this checklist exist, contain no template placeholders, and keep implementation scope bounded to Spec 312.
Preparation Analyze Notes
- Candidate Selection Gate: pass.
- Spec Readiness Gate: pass.
- Required implementation stop condition: if implementation appears to require shell/sidebar/topbar, RBAC/policy, migration, OperationRun, persisted status family, asset, or Review Pack generation changes, stop and update the spec/plan before continuing.