T-E — Plan orchestration: snapshot builder, result writer, solver_run/plan_version lifecycle, publish/supersede #20
Labels
No labels
ready-for-agent
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#23 PH3.1 — Nightly run job and replay-run by id
patrick/Polaris
#24 PH3.2 — Triage: accept, reject, accept-all, pin and rejection locks, E_UNTRIAGED, I_GAP_UNFILLED, I_REJECTED_ELSEWHERE
patrick/Polaris
#25 PH3.3 — Refill: override mode, /recalculate serialised per draft chain, new_in_version marking
patrick/Polaris
#26 PH3.4 — Publish and discard: synchronous final validation, 409 with findings, warning acknowledgement
patrick/Polaris
#33 PH5.1 — Locks: every plan_lock type with checks, GET /locks, clear, expiry, E_LOCK_VIOLATED
patrick/Polaris
#34 PH5.2 — Engine event mode: freeze window and triggers from failure, cancel/urgent job, shift cancel, manual window
patrick/Polaris
#37 PH5.5 — Diff between plan versions and I_DISPLACED
patrick/Polaris
#43 PH6.2 — Notifications: delivery, read state, in-app bell
patrick/Polaris
Reference
patrick/Polaris#20
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Row T-E in
docs/12-implementation-plan.md(branch, owned paths and doc section are defined there).What to build
A planner triggers a run through the API; the worker builds a
PlanningSnapshotfrom the database, calls the engine and validator, writes aplan_versionwith assignments, findings and unassigned jobs, and exposes it via the plans, runs, tasks and opportunities endpoints. Publishing supersedes per date and moves jobsopen → planned → open. Until T-C/T-D merge, a stub engine/validator undertests/returns fixture results.Acceptance criteria
solver_runandplan_versionstate machines, every transition through a domain service with an audit rowGET /tasks/{id}reports task progress; opportunities endpoint returns computed opportunitiessrc/; docs/04 plan-version rules updatedBlocked by