## Summary\n- Implements the ReviewPublicationResolutionWorkflow for Spec 386.\n- Adds resolution case/step persistence, policies, services, audit action IDs, and Filament integration.\n- Updates specs, UI/UX documentation, screenshots, and Pest coverage.\n\n## Tests\n- Not run during this handoff; branch was already clean and pushed.\n\n## Target\n- Base: platform-dev\n- Head/topic: 386-review-publication-resolution-workflow-v1 Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #457
75 lines
5.2 KiB
Markdown
75 lines
5.2 KiB
Markdown
# Requirements Checklist: Spec 386 - Review Publication Resolution Workflow v1
|
|
|
|
**Purpose**: Preparation quality and constitution gate for Spec 386 before implementation.
|
|
**Created**: 2026-06-18
|
|
**Feature**: `specs/386-review-publication-resolution-workflow-v1/spec.md`
|
|
|
|
## Candidate And Scope
|
|
|
|
- [x] CHK001 The selected candidate is directly user-provided and not invented from an empty auto-prep queue.
|
|
- [x] CHK002 The candidate is not already covered by an existing `specs/386-*` package.
|
|
- [x] CHK003 Completed dependency specs 350, 351, 367, and 385 are treated as read-only historical/context artifacts.
|
|
- [x] CHK004 The smallest viable slice is Review Publication resolution only.
|
|
- [x] CHK005 Generic workflow engine, generic action-resolution registry, auto-publish, customer self-resolution, and non-review adapters are explicitly out of scope.
|
|
|
|
## Spec Approval Rubric
|
|
|
|
- [x] CHK006 The Spec Candidate Check answers the operator workflow, trust/safety, smallest version, complexity, and why-now questions.
|
|
- [x] CHK007 The spec is classified as Core Enterprise.
|
|
- [x] CHK008 Red flags are named and defended.
|
|
- [x] CHK009 The score is at least 7/12 and the decision is approve.
|
|
- [x] CHK010 The proportionality review covers current problem, insufficiency, narrowest implementation, ownership cost, rejected alternative, and release truth.
|
|
|
|
## Repository Truth
|
|
|
|
- [x] CHK011 Existing affected sources are named from repo truth, including Environment Review, Evidence Snapshot, Stored Report, Review Pack, OperationRun, ResolutionGuidance, and ReviewPackOutputResolutionGuidance surfaces.
|
|
- [x] CHK012 Source-of-truth boundaries are preserved: OperationRun execution truth, evidence/report/review/pack artifact truth, and case/step workflow state only.
|
|
- [x] CHK013 Review-publication-specific persistence is preferred; generic `action_resolution_*` persistence requires a spec/plan/tasks update first.
|
|
- [x] CHK014 Pre-production compatibility posture rejects legacy shims, aliases, dual-write, and old payload readers.
|
|
|
|
## UI And Surface Coverage
|
|
|
|
- [x] CHK015 UI Surface Impact is completed and identifies existing page changes plus a new subject-driven workflow route/surface.
|
|
- [x] CHK016 UI/Productization Coverage names affected surfaces and coverage artifact expectations.
|
|
- [x] CHK017 Customer-safe non-leakage requirements are explicit.
|
|
- [x] CHK018 Dangerous/high-impact action review is required for queued/artifact/cancel/supersede step actions.
|
|
- [x] CHK019 Tasks include UI coverage/page-report/route-inventory/design-matrix updates for the new workflow surface.
|
|
- [x] CHK020 The spec includes a UI Action Matrix and a Filament v5 implementation close-out contract.
|
|
|
|
## Shared Patterns And OperationRun
|
|
|
|
- [x] CHK021 Cross-cutting shared pattern reuse names existing helpers before any local composition.
|
|
- [x] CHK022 Any new service family is bounded to Review Publication and barred from becoming generic workflow infrastructure.
|
|
- [x] CHK023 OperationRun remains execution truth; step links do not duplicate run status/outcome as canonical truth.
|
|
- [x] CHK024 Existing OperationRun start/link/presenter behavior remains delegated to shared/source-owned paths.
|
|
- [x] CHK025 Provider boundary rules keep provider identifiers internal/proof-only and primary workflow language provider-neutral.
|
|
|
|
## RBAC, Security, And Disclosure
|
|
|
|
- [x] CHK026 Workspace/environment entitlement and deny-as-not-found boundaries are required for case, step, subject, proof, operation, and artifact resolution.
|
|
- [x] CHK027 Viewing a case does not imply permission to execute every step.
|
|
- [x] CHK028 Customer-safe output forbids internal case details, step lists, failed OperationRun debug, permission blocker internals, raw report state, raw provider payloads, and raw evidence JSON.
|
|
- [x] CHK029 Audit events are specified for case and step lifecycle events.
|
|
- [x] CHK030 No Graph/provider calls are allowed during resolution page render or readiness display.
|
|
|
|
## Test And Validation Readiness
|
|
|
|
- [x] CHK031 Test purpose and lanes are explicit: Unit, Feature, Filament/Livewire, PostgreSQL, Browser.
|
|
- [x] CHK032 Tasks include tests before migrations/services/UI implementation.
|
|
- [x] CHK033 Tasks cover duplicate active cases, stale/current proof, failed/running runs, zero-results behavior, and case completion.
|
|
- [x] CHK034 Tasks include RBAC/isolation/audit/customer-leakage tests.
|
|
- [x] CHK035 Tasks include browser-smoke and screenshot artifact decisions.
|
|
- [x] CHK036 Validation commands are present in the spec, plan, and tasks.
|
|
|
|
## Readiness Outcome
|
|
|
|
- [x] CHK037 Candidate Selection Gate result: PASS.
|
|
- [x] CHK038 Spec Readiness Gate result: PASS for implementation preparation.
|
|
- [x] CHK039 Review outcome class: acceptable-special-case.
|
|
- [x] CHK040 Workflow outcome: keep.
|
|
- [x] CHK041 Final note location: implementation close-out entry `Review Publication Resolution Workflow`.
|
|
|
|
## Notes
|
|
|
|
Preparation is ready for implementation review. The later implementation loop must stop and update `spec.md`, `plan.md`, and `tasks.md` before adding a generic workflow engine, generic `action_resolution_*` schema, top-level navigation, global-search resource, customer-facing resolution workflow, auto-publish behavior, new Graph/provider call path, or non-review adapter.
|