#21346 asks ten Gantt demonstrations; dev78013b10fc shows eight. Its body holds "the task tree" back: "a parent keeps its stored dates. An example about the tree would show that gap; it waits for the roll-up of dates and percent." The operator's direction of 22 Nov opens the last day before the cut for more demos, so the roll-up and its example become one leaf: the tenth Gantt card.
The Problem
In every Gantt chart a buyer knows, a phase spans its tasks: move a task and the phase's bar follows, finish half the work and the phase says so. In the engine a parent is a styled bar with its own stored dates (src/gantt/Column.mjs:20 adds neo-gantt-bar-summary; resources/css/src/gantt/Container.css:143 styles it). A search of src/gantt finds no code that derives a parent's dates or percent from its children. Both existing tree examples show phases whose bars can disagree with their tasks.
The Architectural Reality
src/gantt/TaskModel.mjs: parentId, isLeaf, percentDone; src/gantt/TaskStore.mjs is the tree store.
src/gantt/Cascade.mjs already moves successors when a task moves: the roll-up runs with it in one batch, and a parent whose dates changed re-enters the cascade.
A parent whose dates are derived cannot be dragged or resized on its own.
The Fix
An opt-in policy owned by the plan's data, on Neo.gantt.TaskStore (the name is the builder's; off by default, so no existing plan changes), and not a config of a view: two charts on one store must show the same phase. With it on, the store is the single writer of a parent's dates and percent. Its start is its earliest child's start, its end its latest child's end, and its percent the duration-weighted mean of its leaves' work carried up the levels, with collapsed and filtered children counted. The roll-up runs inside the same batch as a move, a resize, an add, a remove or a cascade, and a parent whose dates changed feeds the cascade again, so a link that leaves a parent reads its new finish. Where something else owns a plan's dates, the policy stays off and that owner stays authoritative. A derived parent offers no drag and no resize in any chart on that store. Then one new example, examples/gantt/taskTree: three phases over a dozen tasks; collapse a phase and its bar still tells its span; move a task and its phase follows. One line on the first frame says what to try.
Acceptance Criteria
With the policy on, a parent's dates and percent follow its children after a move, a resize, an add, a remove and a cascade; a unit spec covers each, a nested case, a collapsed child and a filtered child.
Two charts on one store show the same parent span after a child moves in either.
A finish-to-start link from a parent to a task follows a child's later finish in the same batch.
With the policy off, behaviour is unchanged and the existing Gantt specs pass.
A derived parent cannot be dragged or resized.
The example opens on a plan whose phases span their tasks, at 1440×900 and at 390×844, in every theme the Gantt examples offer, with no console error.
Its record is the tenth card in Gantt, with a cover from its first frame (through neomjs/pages).
The look: the first frame, a frame with one phase collapsed and a frame after the named move, Neo Dark, on the pull request, read cold by the reviewer's seat.
Publication (added 22 Nov, the same for every leaf of this wave). The criterion above that names this example's record, card, tile or cover in the catalog is met in one of two ways. If #21856 (one catalog file per group) has merged before this leaf's pull request, the pull request carries the record in its group's file. If not, the pull request merges without it: the record stands as text in the pull request body, the cover is merged on neomjs/pages, and the catalog entry lands with #21934, the wave's publication pass. Either way this leaf closes with its example.
Out of Scope
Constraints, baselines, effort-driven scheduling. A roll-up in the tree grid (it has its own, #21180). Milestones (their own leaf).
Avoided Traps
A roll-up in the example. Summing in the example's controller would show a capability the engine does not have.
On by default. A plan with stored parent dates would change on upgrade.
A view that writes. A chart that writes derived dates into a shared store changes every other chart on it and competes with whatever else writes the plan. This body first named a config of Neo.gantt.Container; Emmy's preflight of 22 Nov showed the two fixtures that break it.
Related
Parent #21346 · #21140 (the target: its Gantt row names the task tree) · #21180 (the tree grid's roll-up, a model for the weighting) · #21856 (one catalog file per group: the record rides this pull request once it has merged, before that it stands as text in the pull request body).
Live latest-open + closed sweep: checked latest 20 open (47 open, orange band: no open leaf owns this row, #21346 is its owning epic) + open and closed search ("gantt roll-up parent") at 2026-11-22T11:27Z; #21407 is a closed link-projection fix, no ticket about a parent's dates. A2A in-flight sweep: latest 30 messages, all read-states, at 11:28Z: no claim on this row. MC sweep: "examples groups missing demonstrations, platform proofs without a leaf", 6 results, no decision against it. Own-assignment sweep: 6 open; #21346 is mine and holds this row back until today, none owns its build.
unowned-rationale: open to any maintainer for the Engine 14 cut of Mon 23 Nov; no contributor labels, because it adds engine behaviour a day before the cut.
Body updated 2026-11-22 by its author after Emmy's preflight: the store owns the policy, not the view; two criteria added.
Context
#21346 asks ten Gantt demonstrations;
dev78013b10fcshows eight. Its body holds "the task tree" back: "a parent keeps its stored dates. An example about the tree would show that gap; it waits for the roll-up of dates and percent." The operator's direction of 22 Nov opens the last day before the cut for more demos, so the roll-up and its example become one leaf: the tenth Gantt card.The Problem
In every Gantt chart a buyer knows, a phase spans its tasks: move a task and the phase's bar follows, finish half the work and the phase says so. In the engine a parent is a styled bar with its own stored dates (
src/gantt/Column.mjs:20addsneo-gantt-bar-summary;resources/css/src/gantt/Container.css:143styles it). A search ofsrc/ganttfinds no code that derives a parent's dates or percent from its children. Both existing tree examples show phases whose bars can disagree with their tasks.The Architectural Reality
src/gantt/TaskModel.mjs:parentId,isLeaf,percentDone;src/gantt/TaskStore.mjsis the tree store.src/gantt/Cascade.mjsalready moves successors when a task moves: the roll-up runs with it in one batch, and a parent whose dates changed re-enters the cascade.The Fix
An opt-in policy owned by the plan's data, on
Neo.gantt.TaskStore(the name is the builder's; off by default, so no existing plan changes), and not a config of a view: two charts on one store must show the same phase. With it on, the store is the single writer of a parent's dates and percent. Its start is its earliest child's start, its end its latest child's end, and its percent the duration-weighted mean of its leaves' work carried up the levels, with collapsed and filtered children counted. The roll-up runs inside the same batch as a move, a resize, an add, a remove or a cascade, and a parent whose dates changed feeds the cascade again, so a link that leaves a parent reads its new finish. Where something else owns a plan's dates, the policy stays off and that owner stays authoritative. A derived parent offers no drag and no resize in any chart on that store. Then one new example,examples/gantt/taskTree: three phases over a dozen tasks; collapse a phase and its bar still tells its span; move a task and its phase follows. One line on the first frame says what to try.Acceptance Criteria
neomjs/pages).Publication (added 22 Nov, the same for every leaf of this wave). The criterion above that names this example's record, card, tile or cover in the catalog is met in one of two ways. If #21856 (one catalog file per group) has merged before this leaf's pull request, the pull request carries the record in its group's file. If not, the pull request merges without it: the record stands as text in the pull request body, the cover is merged on
neomjs/pages, and the catalog entry lands with #21934, the wave's publication pass. Either way this leaf closes with its example.Out of Scope
Constraints, baselines, effort-driven scheduling. A roll-up in the tree grid (it has its own, #21180). Milestones (their own leaf).
Avoided Traps
Neo.gantt.Container; Emmy's preflight of 22 Nov showed the two fixtures that break it.Related
Parent #21346 · #21140 (the target: its Gantt row names the task tree) · #21180 (the tree grid's roll-up, a model for the weighting) · #21856 (one catalog file per group: the record rides this pull request once it has merged, before that it stands as text in the pull request body).
Live latest-open + closed sweep: checked latest 20 open (47 open, orange band: no open leaf owns this row, #21346 is its owning epic) + open and closed search ("gantt roll-up parent") at 2026-11-22T11:27Z; #21407 is a closed link-projection fix, no ticket about a parent's dates. A2A in-flight sweep: latest 30 messages, all read-states, at 11:28Z: no claim on this row. MC sweep: "examples groups missing demonstrations, platform proofs without a leaf", 6 results, no decision against it. Own-assignment sweep: 6 open; #21346 is mine and holds this row back until today, none owns its build.
unowned-rationale: open to any maintainer for the Engine 14 cut of Mon 23 Nov; no contributor labels, because it adds engine behaviour a day before the cut.
Body updated 2026-11-22 by its author after Emmy's preflight: the store owns the policy, not the view; two criteria added.
Decision Record impact: none.
Origin Session ID: c227dcb5-c90c-4730-964e-540d812bcfd0
Retrieval Hint: "Gantt parent roll-up of dates and percent, task tree example, tenth Gantt card"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code · session c227dcb5-c90c-4730-964e-540d812bcfd0