TenantAtlas/apps/platform/app/Filament/Resources
ahmido 421261a517
Some checks failed
Main Confidence / confidence (push) Failing after 48s
feat: implement finding outcome taxonomy (#267)
## Summary
- implement the finding outcome taxonomy end-to-end with canonical resolve, close, reopen, and verification semantics
- align finding UI, filters, audit metadata, review summaries, and export/read-model consumers to the shared outcome semantics
- add focused Pest coverage and complete the spec artifacts for feature 231

## Details
- manual resolve is limited to the canonical `remediated` outcome
- close and reopen flows now use bounded canonical reasons
- trusted system clear and reopen distinguish verified-clear from verification-failed and recurrence paths
- duplicate lifecycle backfill now closes findings canonically as `duplicate`
- accepted-risk recording now uses the canonical `accepted_risk` reason
- finding detail and list surfaces now expose terminal outcome and verification summaries
- review, snapshot, and review-pack consumers now propagate the same outcome buckets

## Filament / Platform Contract
- Livewire v4.0+ compatibility remains intact
- provider registration is unchanged and remains in `bootstrap/providers.php`
- no new globally searchable resource was introduced; `FindingResource` still has a View page and `TenantReviewResource` remains globally searchable false
- lifecycle mutations still run through confirmed Filament actions with capability enforcement
- no new asset family was added; the existing `filament:assets` deploy step is unchanged

## Verification
- `cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent`
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Findings/FindingWorkflowServiceTest.php tests/Feature/Findings/FindingRecurrenceTest.php tests/Feature/Findings/FindingsListFiltersTest.php tests/Feature/Filament/FindingResolvedReferencePresentationTest.php tests/Feature/Findings/FindingOutcomeSummaryReportingTest.php tests/Feature/Findings/FindingRiskGovernanceProjectionTest.php`
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/Findings tests/Feature/Filament/FindingResolvedReferencePresentationTest.php tests/Feature/Models/FindingResolvedTest.php tests/Unit/Findings/FindingWorkflowServiceTest.php`
- `cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/TenantReview/TenantReviewExplanationSurfaceTest.php tests/Feature/TenantReview/TenantReviewRegisterTest.php tests/Feature/ReviewPack/TenantReviewDerivedReviewPackTest.php`
- browser smoke: `/admin/findings/my-work` -> finding detail resolve flow -> queue regression check passed

## Notes
- this commit also includes the existing `.github/agents/copilot-instructions.md` workspace change that was already present in the worktree when all changes were committed

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #267
2026-04-23 07:29:05 +00:00
..
AlertDeliveryResource/Pages feat: implement spec 193 monitoring action hierarchy (#227) 2026-04-12 10:48:00 +00:00
AlertDestinationResource/Pages Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
AlertRuleResource/Pages Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
BackupScheduleResource Spec 185: workspace recovery posture visibility (#216) 2026-04-09 12:57:19 +00:00
BackupSetResource feat(219): Finding ownership semantics + LEAN-001 constitution + backup_set unification (#256) 2026-04-20 17:54:33 +00:00
BaselineProfileResource Spec 203: extract baseline compare strategy (#233) 2026-04-13 21:17:04 +00:00
BaselineSnapshotResource/Pages Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
EntraGroupResource/Pages feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
EvidenceSnapshotResource/Pages feat: harden governance action semantics (#229) 2026-04-12 21:21:44 +00:00
FindingExceptionResource/Pages feat: harden governance action semantics (#229) 2026-04-12 21:21:44 +00:00
FindingResource/Pages feat: add workspace baseline compare matrix (#221) 2026-04-11 10:20:25 +00:00
InventoryItemResource/Pages feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
PolicyResource Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
PolicyVersionResource/Pages Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
ProviderConnectionResource/Pages feat: harden governance action semantics (#229) 2026-04-12 21:21:44 +00:00
RestoreRunResource/Pages feat: finalize dashboard recovery honesty (#215) 2026-04-08 23:21:36 +00:00
ReviewPackResource/Pages Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
TenantResource feat: harden governance action semantics (#229) 2026-04-12 21:21:44 +00:00
TenantReviewResource/Pages feat: harden governance action semantics (#229) 2026-04-12 21:21:44 +00:00
Workspaces Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
AlertDeliveryResource.php feat: implement findings notifications escalation (#261) 2026-04-22 00:54:38 +00:00
AlertDestinationResource.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
AlertRuleResource.php feat: implement findings notifications escalation (#261) 2026-04-22 00:54:38 +00:00
BackupScheduleResource.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
BackupSetResource.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
BaselineProfileResource.php Spec 203: extract baseline compare strategy (#233) 2026-04-13 21:17:04 +00:00
BaselineSnapshotResource.php feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
EntraGroupResource.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
EvidenceSnapshotResource.php feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
FindingExceptionResource.php feat: implement spec 192 record page header discipline (#226) 2026-04-11 21:20:41 +00:00
FindingResource.php feat: implement finding outcome taxonomy (#267) 2026-04-23 07:29:05 +00:00
InventoryItemResource.php feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
OperationRunResource.php feat: add governance run summaries (#257) 2026-04-20 20:46:09 +00:00
PolicyResource.php Spec 197: standardize shared detail family contracts (#237) 2026-04-15 09:51:42 +00:00
PolicyVersionResource.php Spec 197: standardize shared detail family contracts (#237) 2026-04-15 09:51:42 +00:00
ProviderConnectionResource.php feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
RestoreRunResource.php feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
ReviewPackResource.php feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
TenantResource.php feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
TenantReviewResource.php feat: implement finding outcome taxonomy (#267) 2026-04-23 07:29:05 +00:00