Give planning calculations one state owner #275
Notifications
Due Date
No due date set.
Depends on
#274 Remove the unused remaining-balance mirror
nessar/vac-optimizer
Reference: nessar/vac-optimizer#275
Reference in new issue
Block a user
What to build
A calculation service owns the submitted planning request, pending calculation, and accepted calculation state. The calendar and leave-balance summary consume the same accepted outcome and immutable snapshot. Users can edit inputs, calculate, cancel, read explanations, and compare placement dates with the existing behavior, while components no longer coordinate shared writable calculation state.
Acceptance criteria
Integration
Complete the change on the shared
feature/planning-architecturebranch after ticket #274. Tickets #276 and #277 are independent and are not blockers for this ticket's implementation. After all four tickets are integrated, run the required correctness and coverage suites, static and formatting checks, production build, real-worker checks, and browser QA for calculation, cancellation, declaration entry, explanation, comparison, and summary agreement, including keyboard interaction and a narrow viewport. Verify deterministic fixture and benchmark-caller assertions without weakening them. Rebase the working branch onto the latestorigin/developand rerun required PR checks before integration. Record the combined result; the shared branch is ready only after this gate passes. Existing trace-removal verification remains in #77, and full benchmark performance acceptance and optimization remain in #78; this architecture work does not change CI or benchmark policy.Blocked by