Context
A leaf of #21346, the planning examples under #21140. The visitor's question: when the data changes behind the plan, does the plan follow without a reload, and without losing my scroll position or my drag?
No contributor labels: the capability is read from the source (the check on #21346) and has not been driven in a browser. A maintainer builds it, and the drive is the first step.
The Problem
Both scheduler examples stand still until the visitor acts. An operations plan changes under the planner's eyes, and that is the case the engine's worker architecture is built for.
The Architectural Reality
- The bars are projected from the event store (
eventStore_, src/scheduler/Container.mjs:186; src/timeline/store/Events.mjs). A record that is added, changed or removed re-draws its row. No config is involved: the capability is the store binding, read as carried in the source check linked above.
- Template:
examples/scheduler/basic (not edited). Specs for the family: test/playwright/e2e/scheduler/.
- Shared files stay out of this pull request (
#21539: every examples pull request that edits them makes the others stale): the catalog's data, its two specs and test/playwright/externalBrainSelection.mjs belong to #21613, which takes the record below as written.
- Design authority: n/a — a new example; it calls no existing behaviour wrong.
The Fix
- Drive it first on a scratch copy of the base example: records added, changed and removed once a second while the timeline is scrolled and while a booking is dragged. A defect becomes an engine ticket, linked here as a blocker.
- A new folder
examples/scheduler/liveUpdates: an airport's gates. Fourteen gates and about 60 flights over six hours. A seeded generator inside the example, with no server, adds an arrival, delays a flight or frees a gate about once a second. The toolbar holds a Pause button, a counter of changes, and the words "Simulated feed". A changed flight is marked for a moment. The data lives in stores of models.
- The record, for #21613: id
scheduler-live-updates, name "A plan that updates itself", feature "Flights arrive, slip and leave on a simulated feed while you scroll and drag", lookFor "Watch a delayed flight slide along its gate. Scroll, or drag a flight, while the feed runs. Then pause it." Cover: the gates with one flight marked as just changed.
Acceptance Criteria
Out of Scope
Engine changes. A server, a socket, and conflicts between a visitor's edit and the feed.
Avoided Traps
- A feed that fetches. The generator is in the example, seeded, so the spec is exact.
- A feed nobody can follow. About one change a second, each one marked.
- A feed that looks real. The words "Simulated feed" stay on screen.
Related
Parent #21346 · #21140 (the Scheduler row of its content table) · #21613 (publication).
unowned-rationale: open to a maintainer now. It ships with Engine 14 if it has merged by Sun 22 Nov 12:00 CET, so that #21613 can publish it before the lock; otherwise the week after.
Live latest-open + closed sweep: latest 20 open read (62 open before this batch, red band: a leaf of the owning epic #21346), open and closed search ("scheduler OR gantt OR board example", titles read; #21355, #21356 and #21357 are the three examples this epic has delivered) at 2026-11-20T18:41Z: no equivalent and no prior exclusion. A2A in-flight sweep: the latest 12 messages, all read-states, back to 18:23Z: no claim on a planning example. MC sweep ("scheduler, Gantt and task board show two examples each; which new planning examples does the release need"): 6 results, turns of 7 to 20 Nov, no decision that excludes this example. Own-assignment sweep: 8 open; #21346 is the parent.
Decision Record impact: none.
Origin Session ID: d33dee4c-5fa8-4403-8864-4f146d8a50c9
Retrieval Hint: "scheduler example live updates, a simulated feed changes the event store, scroll and drag survive an update"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code
Context
A leaf of #21346, the planning examples under #21140. The visitor's question: when the data changes behind the plan, does the plan follow without a reload, and without losing my scroll position or my drag?
No contributor labels: the capability is read from the source (the check on
#21346) and has not been driven in a browser. A maintainer builds it, and the drive is the first step.The Problem
Both scheduler examples stand still until the visitor acts. An operations plan changes under the planner's eyes, and that is the case the engine's worker architecture is built for.
The Architectural Reality
eventStore_,src/scheduler/Container.mjs:186;src/timeline/store/Events.mjs). A record that is added, changed or removed re-draws its row. No config is involved: the capability is the store binding, read as carried in the source check linked above.examples/scheduler/basic(not edited). Specs for the family:test/playwright/e2e/scheduler/.#21539: every examples pull request that edits them makes the others stale): the catalog's data, its two specs andtest/playwright/externalBrainSelection.mjsbelong to #21613, which takes the record below as written.The Fix
examples/scheduler/liveUpdates: an airport's gates. Fourteen gates and about 60 flights over six hours. A seeded generator inside the example, with no server, adds an arrival, delays a flight or frees a gate about once a second. The toolbar holds a Pause button, a counter of changes, and the words "Simulated feed". A changed flight is marked for a moment. The data lives in stores of models.scheduler-live-updates, name "A plan that updates itself",feature"Flights arrive, slip and leave on a simulated feed while you scroll and drag",lookFor"Watch a delayed flight slide along its gate. Scroll, or drag a flight, while the feed runs. Then pause it." Cover: the gates with one flight marked as just changed.Acceptance Criteria
test/playwright/e2e/scheduler/asserts a named flight's time after a set number of changes.neo-config.jsonlists.scheduler/basic's, read cold by one reader of the builder's seat. The mark of a changed flight is shown at rest and fading. No control in the example's toolbar keeps its default style.Out of Scope
Engine changes. A server, a socket, and conflicts between a visitor's edit and the feed.
Avoided Traps
Related
Parent #21346 · #21140 (the Scheduler row of its content table) · #21613 (publication).
unowned-rationale: open to a maintainer now. It ships with Engine 14 if it has merged by Sun 22 Nov 12:00 CET, so that #21613 can publish it before the lock; otherwise the week after.
Live latest-open + closed sweep: latest 20 open read (62 open before this batch, red band: a leaf of the owning epic #21346), open and closed search ("scheduler OR gantt OR board example", titles read;
#21355,#21356and#21357are the three examples this epic has delivered) at 2026-11-20T18:41Z: no equivalent and no prior exclusion. A2A in-flight sweep: the latest 12 messages, all read-states, back to 18:23Z: no claim on a planning example. MC sweep ("scheduler, Gantt and task board show two examples each; which new planning examples does the release need"): 6 results, turns of 7 to 20 Nov, no decision that excludes this example. Own-assignment sweep: 8 open; #21346 is the parent.Decision Record impact: none.
Origin Session ID: d33dee4c-5fa8-4403-8864-4f146d8a50c9
Retrieval Hint: "scheduler example live updates, a simulated feed changes the event store, scroll and drag survive an update"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code