The engine
Dates are computed, never stored.
That one decision is the whole product. A plan is an ordered sequence of lessons with no dates in it; the calendar holds only the days that are exceptions; and the schedule you see is the two of them projected together, recomputed from scratch every time something changes.

Why it matters
A sick Tuesday is one row.
Store a date against every lesson and a single absence means rewriting three hundred rows — which is why most planners ask you to drag things, and why the attendance total stops agreeing with reality by October.
One change, not a cascade
Marking a day off writes a single exception. Everything downstream is derived from it, so there is no half-applied state and nothing to repair by hand afterwards.
Deterministic, and tested as such
The projection is a pure function with no clock and no database inside it. Forty generated absence patterns are run through it on every commit, because real absences are effectively random and the invariants are what you are trusting when you tap the button.
You can always recompute
Nothing is lost by re-running it. The schedule is a view of the plan, not a pile of edits, so there is no drift between what the calendar shows and what the ledger counts.
What holds
Three rules the engine will not break.
A re-flow is only trustworthy if you know what it refuses to touch.
Finished work is frozen
A lesson your child has already done stays on the day it happened. That is a Postgres trigger, not application code — a future bug cannot route around it.
Pins hold their ground
A co-op Thursday and a proctored exam do not move. Flexible work flows around them.
A missed group lesson is excused
If a child was away when the family read the chapter, it is recorded as excused on that date rather than rescheduled. Marking it excused is the truth; moving it is a fiction. A missed proctored exam still reports, because that one is a phone call a person has to make.
And it tells you the number.
Marking a day off does not say “Saved”. It says how many lessons moved, where the year now ends, and whether anything could not be placed before the term closes — while you still have time to do something about it.
Plan a year