Context
The three-window planning demo needs the same leaf task to be a resource booking, a Gantt bar and a board card. The Gantt's expansion state is local to how a person reads its tree. It should not remove another person's booking from a scheduling view.
The Problem
A real App Worker drive used a Gantt TaskStore with lighting assigned to Alpha and walls assigned to Beta. The Scheduler and Gantt resolved lighting to the same object. Asking the store for the date range and resource Alpha returned both lighting and walls. The generic event-store query returned only lighting. Collapsing the Build phase dropped the visible population from 15 to 11; both visible-range queries then omitted lighting, although store.get('lighting') still returned the identical record.
The probe ran on the phase-rollup candidate. The relevant range method and Scheduler dispatch were compared with the committed Engine source.
The Architectural Reality
timeline.Column calls an event store's range method with a resource ID. TaskStore#getRangeRecords documents two arguments and intentionally enumerates expanded visible rows. Events.getRangeRecords is resource-aware but also enumerates the supplied population. Both contracts serve existing callers.
The Fix
Provide a supported path for the Scheduler to query the intended bookings by time and resource independently of Gantt tree expansion. Preserve canonical record identity and the two-argument Gantt visible-range contract. A provider-owned projection is a candidate if it can meet those semantics and lifetime/cost controls. Record the chosen owner before implementation.
Contract Ledger
| Target surface |
Source of authority |
Proposed behavior |
Fallback / edge case |
Docs |
Evidence |
TaskStore#getBookingStore() |
The TaskStore owns task identity and structural membership. Scheduler and Board borrow its leaf records. |
Lazily returns one Neo.timeline.store.Events for the live TaskStore. Its entries are the same task instances and its filters are independent of tree visibility. |
Reads include folded tasks. The owner reconciles structural writes, including silent ones, and destroys the view on teardown. Consumers write scheduling changes through the Gantt operation. |
Gantt guide, method JSDoc |
TaskStore unit suite, three-window gestures |
TaskStore#getRangeRecords(start, end, resourceId) |
Existing Gantt visible-row reads and the Scheduler resource-specific range contract |
A supplied non-null resource ID selects the matching leaf bookings in the booking view. |
Omit the resource or pass null to retain the two-argument Gantt visible-row semantics. Dates follow the underlying event range rules. |
Range method |
Same suites, including two resource rows, collapse, reassign and independent filters. |
At candidate 763c09aa85, a local Node fixture with 20 collapsed phases, 2,000 leaves and 10 resources created the booking view in 2.92 ms. Expand and collapse of one phase took 0.62 ms. After 10 warmups, 100 date-and-resource reads returned 200 matches with median 0.185 ms and p95 0.345 ms. These are measurements from this machine. Source PR.
Acceptance Criteria
Out of Scope
The separate question of who schedules successor dependencies after a Scheduler drag, and the demo's visual design.
Related
Consumer #21915. Live latest-open + closed sweep: latest 24 Engine issues and all-state getRangeRecords/TaskStore and resource/collapsed searches; existing custom-column, home-preview and general component leaves do not implement this consumer contract. MC sweep on resource selection and collapse returned historical planning context. Own assignments cover the sales board, phase rollups and overlap pilot.
Ownership: Emmy. Source and guide are included in Engine #22013.
Origin Session ID: 1a306f90-ab2d-4ad8-bea7-3eaecc4c5a4d
Context
The three-window planning demo needs the same leaf task to be a resource booking, a Gantt bar and a board card. The Gantt's expansion state is local to how a person reads its tree. It should not remove another person's booking from a scheduling view.
The Problem
A real App Worker drive used a Gantt TaskStore with lighting assigned to Alpha and walls assigned to Beta. The Scheduler and Gantt resolved lighting to the same object. Asking the store for the date range and resource Alpha returned both lighting and walls. The generic event-store query returned only lighting. Collapsing the Build phase dropped the visible population from 15 to 11; both visible-range queries then omitted lighting, although
store.get('lighting')still returned the identical record.The probe ran on the phase-rollup candidate. The relevant range method and Scheduler dispatch were compared with the committed Engine source.
The Architectural Reality
timeline.Columncalls an event store's range method with a resource ID.TaskStore#getRangeRecordsdocuments two arguments and intentionally enumerates expanded visible rows.Events.getRangeRecordsis resource-aware but also enumerates the supplied population. Both contracts serve existing callers.The Fix
Provide a supported path for the Scheduler to query the intended bookings by time and resource independently of Gantt tree expansion. Preserve canonical record identity and the two-argument Gantt visible-range contract. A provider-owned projection is a candidate if it can meet those semantics and lifetime/cost controls. Record the chosen owner before implementation.
Contract Ledger
TaskStore#getBookingStore()Neo.timeline.store.Eventsfor the live TaskStore. Its entries are the same task instances and its filters are independent of tree visibility.TaskStore#getRangeRecords(start, end, resourceId)nullto retain the two-argument Gantt visible-row semantics. Dates follow the underlying event range rules.At candidate
763c09aa85, a local Node fixture with 20 collapsed phases, 2,000 leaves and 10 resources created the booking view in 2.92 ms. Expand and collapse of one phase took 0.62 ms. After 10 warmups, 100 date-and-resource reads returned 200 matches with median 0.185 ms and p95 0.345 ms. These are measurements from this machine. Source PR.Acceptance Criteria
Out of Scope
The separate question of who schedules successor dependencies after a Scheduler drag, and the demo's visual design.
Related
Consumer #21915. Live latest-open + closed sweep: latest 24 Engine issues and all-state getRangeRecords/TaskStore and resource/collapsed searches; existing custom-column, home-preview and general component leaves do not implement this consumer contract. MC sweep on resource selection and collapse returned historical planning context. Own assignments cover the sales board, phase rollups and overlap pilot.
Ownership: Emmy. Source and guide are included in Engine #22013. Origin Session ID: 1a306f90-ab2d-4ad8-bea7-3eaecc4c5a4d