Spec 078: Operations tenantless canonical detail #95

Merged
ahmido merged 5 commits from 078-operations-tenantless-canonical into dev 2026-02-07 09:07:29 +00:00
Owner

Implements Spec 078 operations tenantless canonical migration.

Highlights:

  • Canonical run detail at /admin/operations/{run} renders with standard Filament chrome + sidebar and reuses OperationRunResource::infolist() (schema-based, Filament v5).
  • Legacy tenant-scoped resource pages removed; legacy URLs return 404 as required.
  • Added full spec test pack under tests/Feature/078/ and updated existing tests.
  • Added safe refresh/header actions wiring and KPI header guard when tenant context is null.

Validation:

  • vendor/bin/sail artisan test --compact tests/Feature/078/ (pass)
  • vendor/bin/sail bin pint --dirty (pass)

Notes:

  • Livewire v4+ compliant (Filament v5).
  • Panel providers remain registered in bootstrap/providers.php (Laravel 11+ standard).
Implements Spec 078 operations tenantless canonical migration. Highlights: - Canonical run detail at `/admin/operations/{run}` renders with standard Filament chrome + sidebar and reuses `OperationRunResource::infolist()` (schema-based, Filament v5). - Legacy tenant-scoped resource pages removed; legacy URLs return 404 as required. - Added full spec test pack under `tests/Feature/078/` and updated existing tests. - Added safe refresh/header actions wiring and KPI header guard when tenant context is null. Validation: - `vendor/bin/sail artisan test --compact tests/Feature/078/` (pass) - `vendor/bin/sail bin pint --dirty` (pass) Notes: - Livewire v4+ compliant (Filament v5). - Panel providers remain registered in `bootstrap/providers.php` (Laravel 11+ standard).
ahmido added 5 commits 2026-02-07 09:07:07 +00:00
- Single canonical run detail at /admin/operations/{run}
- Decommission auto-generated tenant-scoped pages (list + view)
- Secure 302 redirects for legacy URLs (deny-as-not-found)
- Infolist reuse strategy (InteractsWithInfolists + fallback)
- KPI header hidden in tenantless mode (Phase 1)
- Dead code cleanup (OperationsDetail.php)
- 10 test specifications covering redirects, 404 semantics, rendering
- Quality checklist: all items pass
Legacy detail URLs naturally 404 after route decommission.
No redirect handlers needed — simplifies scope significantly.
FR-078-012 (list convenience redirect) retained.
Cascaded changes across goals, principles, user stories, tests,
success criteria, security, and acceptance criteria.
- plan.md: 5 implementation phases (A-E), constitution check, risk assessment, test strategy
- research.md: 5 findings (R-001 through R-005) on Filament v5 schema reuse
- data-model.md: entity documentation, routing changes, file deletion/modification map
- contracts/routes.md: canonical vs decommissioned route contracts
- quickstart.md: verification steps for implementors
- Updated copilot agent context with plan technologies
- Phase 1: Setup (2 tasks)
- Phase 2: Foundational — headless resource, dead code, test fixes (14 tasks)
- Phase 3: US1 (P1) — infolist reuse on canonical detail (11 tasks, MVP)
- Phase 4: US2 (P2) — legacy URL 404 validation (4 tasks)
- Phase 5: US3 (P2) — related links header actions (6 tasks)
- Phase 6: US4 (P3) — KPI header + list redirect (5 tasks)
- Phase 7: Polish — sweep, pint, full validation (5 tasks)
- 24 tasks marked parallel, clear dependency graph
ahmido merged commit d56ba85755 into dev 2026-02-07 09:07:29 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ahmido/TenantAtlas#95
No description provided.