TenantAtlas/app/Services/Baselines
ahmido c17255f854 feat: implement baseline subject resolution semantics (#193)
## Summary
- add the structured subject-resolution foundation for baseline compare and baseline capture, including capability guards, subject descriptors, resolution outcomes, and operator action categories
- persist structured evidence-gap subject records and update compare/capture surfaces, landing projections, and cleanup tooling to use the new contract
- add Spec 163 artifacts and focused Pest coverage for classification, determinism, cleanup, and DB-only rendering

## Validation
- `vendor/bin/sail bin pint --dirty --format agent`
- `vendor/bin/sail artisan test --compact tests/Unit/Support/Baselines tests/Feature/Baselines tests/Feature/Filament/OperationRunEnterpriseDetailPageTest.php`

## Notes
- verified locally that a fresh post-restart baseline compare run now writes structured `baseline_compare.evidence_gaps.subjects` records instead of the legacy broad payload shape
- excluded the separate `docs/product/spec-candidates.md` worktree change from this branch commit and PR

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #193
2026-03-25 12:40:45 +00:00
..
Evidence feat: add Intune RBAC baseline compare support (#156) 2026-03-09 18:49:20 +00:00
SnapshotRendering feat: implement operator explanation layer (#191) 2026-03-24 11:24:33 +00:00
BaselineAutoCloseService.php feat: harden findings workflow and audit backstop (#181) 2026-03-18 12:57:23 +00:00
BaselineCaptureService.php feat: implement baseline subject resolution semantics (#193) 2026-03-25 12:40:45 +00:00
BaselineCompareService.php feat: implement baseline subject resolution semantics (#193) 2026-03-25 12:40:45 +00:00
BaselineContentCapturePhase.php feat: implement baseline subject resolution semantics (#193) 2026-03-25 12:40:45 +00:00
BaselineEvidenceCaptureResumeService.php Spec 118: Resumable baseline evidence capture + snapshot UX (#143) 2026-03-04 22:34:13 +00:00
BaselineSnapshotIdentity.php feat: add Intune RBAC baseline compare support (#156) 2026-03-09 18:49:20 +00:00
BaselineSnapshotItemNormalizer.php feat: implement governance artifact truth semantics (#188) 2026-03-23 00:13:57 +00:00
BaselineSnapshotTruthResolver.php feat: add baseline snapshot truth guards (#189) 2026-03-23 11:32:00 +00:00
CurrentStateEvidenceProvider.php Spec 117: Baseline Drift Engine + evidence fidelity/provenance (#142) 2026-03-03 07:23:01 +00:00
CurrentStateHashResolver.php Spec 117: Baseline Drift Engine + evidence fidelity/provenance (#142) 2026-03-03 07:23:01 +00:00
InventoryMetaContract.php Spec 116: Baseline drift engine v1 (meta fidelity + coverage guard) (#141) 2026-03-02 22:02:58 +00:00