TenantAtlas/apps/platform/app/Support
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
..
Alerts Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Audit Spec 202: implement governance subject taxonomy and baseline scope V2 (#232) 2026-04-13 15:33:33 +00:00
Auth feat: add portfolio triage review state tracking (#220) 2026-04-10 21:35:17 +00:00
BackupHealth Spec 185: workspace recovery posture visibility (#216) 2026-04-09 12:57:19 +00:00
BackupQuality Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Badges feat: compress governance operator outcomes (#253) 2026-04-19 12:30:36 +00:00
Baselines feat: add findings intake queue and stabilize follow-up regressions (#260) 2026-04-21 22:54:08 +00:00
Concerns Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Diff Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Enums Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Evidence Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Filament feat: implement finding outcome taxonomy (#267) 2026-04-23 07:29:05 +00:00
Findings feat: implement finding outcome taxonomy (#267) 2026-04-23 07:29:05 +00:00
Governance Refactor: remove compare job legacy drift path (#235) 2026-04-14 21:54:37 +00:00
Inventory Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Links Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Livewire/TrustedState feat: implement spec 198 monitoring page state contract (#238) 2026-04-15 21:59:42 +00:00
Middleware feat: add findings hygiene report and control catalog layering (#264) 2026-04-22 12:26:18 +00:00
Navigation feat: implement spec 198 monitoring page state contract (#238) 2026-04-15 21:59:42 +00:00
Onboarding Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
OperateHub feat: unify provider-backed action dispatch gating (#255) 2026-04-20 06:52:38 +00:00
Operations Spec 204: harden platform core vocabulary (#234) 2026-04-14 06:09:42 +00:00
OpsUx feat: converge findings notification presentation (#265) 2026-04-22 20:26:18 +00:00
PortfolioTriage feat: harden governance action semantics (#229) 2026-04-12 21:21:44 +00:00
Providers Spec 204: harden platform core vocabulary (#234) 2026-04-14 06:09:42 +00:00
Rbac feat: add workspace baseline compare matrix (#221) 2026-04-11 10:20:25 +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 Spec 185: workspace recovery posture visibility (#216) 2026-04-09 12:57:19 +00:00
Settings Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
System Spec 188: canonical provider connection state cleanup (#219) 2026-04-10 11:22:56 +00:00
SystemConsole Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Tenants feat: finalize global shell context contract (#246) 2026-04-18 14:00:49 +00:00
Ui feat: implement finding outcome taxonomy (#267) 2026-04-23 07:29:05 +00:00
Verification Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
WorkspaceIsolation Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
Workspaces feat: add findings hygiene report and control catalog layering (#264) 2026-04-22 12:26:18 +00:00
CanonicalOperationType.php Spec 204: harden platform core vocabulary (#234) 2026-04-14 06:09:42 +00:00
OperationCatalog.php feat: add findings intake queue and stabilize follow-up regressions (#260) 2026-04-21 22:54:08 +00:00
OperationRunLinks.php feat(219): Finding ownership semantics + LEAN-001 constitution + backup_set unification (#256) 2026-04-20 17:54:33 +00:00
OperationRunOutcome.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
OperationRunStatus.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
OperationRunType.php feat(219): Finding ownership semantics + LEAN-001 constitution + backup_set unification (#256) 2026-04-20 17:54:33 +00:00
OperationTypeAlias.php Spec 204: harden platform core vocabulary (#234) 2026-04-14 06:09:42 +00:00
OperationTypeResolution.php Spec 204: harden platform core vocabulary (#234) 2026-04-14 06:09:42 +00:00
RbacReason.php Spec 204: harden platform core vocabulary (#234) 2026-04-14 06:09:42 +00:00
RedactionIntegrity.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
RestoreRunIdempotency.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
RestoreRunStatus.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
ReviewPackStatus.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
TenantReviewCompletenessState.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
TenantReviewStatus.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00
TenantRole.php Spec 182: relocate Laravel platform to apps/platform (#213) 2026-04-08 08:40:47 +00:00