PH5.5 — Diff between plan versions and I_DISPLACED #37

Open
opened 2026-09-11 09:02:17 +00:00 by bart · 0 comments
Collaborator

Parent

Row PH5.5 in docs/12-implementation-plan.md (branch, owned paths and doc section are defined there).

What to build

A planner compares two versions and sees added, removed, moved and retimed assignments; the validator reports jobs displaced by an override or refill (I_DISPLACED).

Acceptance criteria

  • /diff/{other} returns a typed diff for versions in the same chain and for published vs draft
  • Bad-plan fixture triggers I_DISPLACED
  • Diff is computed in a pure domain function with unit tests

Blocked by

  • #20 — Plan orchestration: snapshot builder, result writer, solver_run/plan_version lifecycle, publish/supersede
  • #19 — Validator: one rule per E_/W_/I_ code over snapshot and result
## Parent Row **PH5.5** in `docs/12-implementation-plan.md` (branch, owned paths and doc section are defined there). ## What to build A planner compares two versions and sees added, removed, moved and retimed assignments; the validator reports jobs displaced by an override or refill (`I_DISPLACED`). ## Acceptance criteria - [ ] `/diff/{other}` returns a typed diff for versions in the same chain and for published vs draft - [ ] Bad-plan fixture triggers `I_DISPLACED` - [ ] Diff is computed in a pure domain function with unit tests ## Blocked by - #20 — Plan orchestration: snapshot builder, result writer, solver_run/plan_version lifecycle, publish/supersede - #19 — Validator: one rule per E_/W_/I_ code over snapshot and result
Sign in to join this conversation.
No labels
ready-for-agent
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
patrick/Polaris#37
No description provided.