## Summary - remove legacy tenant-scoped routing and middleware paths in favor of the current environment/workspace context flow - update Filament pages and resources to use the cleaned-up admin surface and environment filter context - add the related spec 317 artifacts and targeted tests for environment filter state and legacy context cleanup ## Testing - not run as part of this commit/push/PR workflow Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #372
3.5 KiB
3.5 KiB
Specification Quality Checklist: Legacy Tenant / Environment Context Cleanup
Purpose: Validate preparation completeness and quality before implementation Created: 2026-05-16 Feature: spec.md
Candidate Selection
- CHK001 The selected candidate was directly supplied by the user as Spec 317.
- CHK002 The selected candidate is not an existing completed spec package.
- CHK003 Related Specs 313, 314, 315, and 316 are treated as completed historical context and not rewritten.
- CHK004 The candidate aligns with explicit follow-up notes in Specs 314, 315, and 316.
- CHK005 The scope is narrowed to legacy Tenant platform-context cleanup and provider-boundary Tenant preservation.
- CHK006 Durable browser no-drift infrastructure is deferred to Spec 318.
Content Quality
- CHK007
spec.mdexists. - CHK008
plan.mdexists. - CHK009
tasks.mdexists. - CHK010 Spec Candidate Check is completed.
- CHK011 Functional requirements are testable and unambiguous.
- CHK012 Acceptance criteria include inventory, allowlist, query cleanup, helper/class cleanup, route guard, UI copy cleanup, docs cleanup, regression tests, and browser smoke.
- CHK013 Provider-boundary Tenant terminology is explicitly preserved.
- CHK014 Hard cutover/no-compatibility posture is explicit.
Repository Alignment
- CHK015 Laravel, Filament, Livewire, Pest, and PostgreSQL context is recorded.
- CHK016 Provider registration location remains
apps/platform/bootstrap/providers.php. - CHK017 Filament v5 / Livewire v4 compliance is recorded.
- CHK018 Global search behavior is not intentionally changed and has a verification task if resources are touched.
- CHK019 Destructive actions are not added or changed and have a verification task if touched.
- CHK020 Asset strategy is unchanged and no new
filament:assetsrequirement is planned. - CHK021 Likely affected repo surfaces are named in the plan.
- CHK022 No migration, seeder, package, env var, queue, scheduler, or storage change is planned by default.
Artifact Requirements
- CHK023
legacy-inventory.mdis required as an implementation artifact and assigned to tasks. - CHK024
tenant-usage-allowlist.mdis required as an implementation artifact and assigned to tasks. - CHK025 Classification values for inventory entries are specified.
- CHK026 Browser screenshot artifact path is specified.
- CHK027 Historical completed specs are protected from preparation rewrite.
Test and Validation Readiness
- CHK028 Static legacy guard is required.
- CHK029 Workspace hub legacy query alias guard is required.
- CHK030 Filament tenant / remembered Tenant fallback guard is required.
- CHK031 Route guard for
/admin/tand TenantPanelProvider is required. - CHK032 UI copy guard/browser verification is required.
- CHK033 Spec 314, 315, and 316 regressions are required.
- CHK034
git diff --checkand formatting/static checks are required.
Open Questions
- CHK035 No blocking preparation questions remain.
- CHK036 Ambiguous implementation occurrences are handled through
needs_product_decisioninventory classification instead of guessing.
Review Outcome
- CHK037 Candidate Selection Gate passes.
- CHK038 Spec Readiness Gate passes for preparation.
- CHK039 No application implementation was performed during preparation.