Teaching time: Meetings are generated from patterns over an academic calendar, and the plan never moves at runtime
Status: proposed (2026-10-01) — provisional by the maintainer’s explicit marking; the vocabulary is
in CONTEXT.md and the build proceeds against it, to move to accepted as the pieces land.
A Meeting is one scheduled, time-bounded gathering of an Offering’s participants: a planned
start and end, a Room, and an audience that is the whole Offering or one Group of it. It is
one entity covering both the planned and the live side — the timetable’s occurrence and the
thing a teacher starts at 14:03 are the same row — and it is the single join point for everything
that happens in contact time: the Meeting Plan and Deck it runs, Attendance, Observations, and
where the projector is. Its lifecycle is planned → in progress → ended, with cancelled and
moved (a move links the Meeting to its replacement) as terminal events.
Meetings are generated, not hand-entered: Meeting Pattern × Academic Calendar. A Pattern is
what an Offering declares (or one of its Groups declares) for its contact time — a weekday, a
Timetable Slot range, a Room, a week range. The Timetable is the organisation’s numbered
teaching slots with their clock times (the ten 节 of a Chinese university day; a Bell Schedule
elsewhere), and the Academic Calendar is the dated facts attached to a Learning Period: the
numbered teaching weeks, Holidays (no Meeting generated), and Swap Days (调休 — a date that
runs another weekday’s Timetable, so that weekday’s Patterns generate on it). Generation is
idempotent and re-runnable. A Pattern change regenerates only Meetings still in planned;
a Meeting that was moved or cancelled is never regenerated.
The Meeting Plan is the ordered Segments a Meeting runs against — the plan of record — and is
ordinary Meeting data, authored in the teacher portal or by Operations; pre-existing run-sheet
YAML files are imported once during migration. Runtime facts are Checkpoints: the teacher’s tap
that a Segment actually began at a clock time (a Meeting’s actual start and end are the same kind
of fact). Reflow — the shifting of later planned times when ahead or behind — is always derived
from plan plus Checkpoints and never stored, one rule in one implementation, the run sheet’s
schedule.ts ported rather than reimplemented. Paging the deck never auto-records anything.
Considered options
Section titled “Considered options”- Two entities: a scheduled slot plus a live session created at class start. Rejected: every live fact (actual start, attendance, observations, the projector’s position) belongs to exactly one planned occurrence, and the reschedule operations (“the block moves”) then have to keep two structures in step. One entity makes “the meeting started late” a fact about the row the timetable produced.
- Hand-entered Meetings, no Pattern and no calendar (the status quo in the teaching repo’s
schedule.md). Rejected: that flat model is exactly what produced the missed recurring deadlines the target work exists to prevent, and a semester’s worth of holiday/调休 arithmetic is re-done by hand at every course change. - A calendar per Offering rather than an organisation-level Timetable plus Academic Calendar.
Rejected: the 节 times, the holidays and the swap days are facts about the university, shared by
every Offering; per-Offering copies would drift. Periods scope it (
learning_period), Patterns consume it. - Storing the reflowed schedule. Rejected: a second source of truth that goes stale the moment a Checkpoint is added; the run sheet already proved derive-on-read sufficient, including across reloads (state is start-override + checkpoints, never a schedule).
- Keeping the working names (
Session,Class Meeting,Period). Rejected against the glossary: Session is runtime telemetry, Class is on Offering’s avoid list, Period is taken by Learning Period. 节 becomes Timetable Slot in code; student-facing copy reads “slots 5–6 (5–6节)”.
Consequences
Section titled “Consequences”- New tables: teaching timetable + slots, room, meeting pattern, meeting, meeting plan + segments, checkpoint, academic calendar (+ holidays, swap days), and their Learning Period linkage. Meetings hang off Offerings and Groups; Tasks, Attendance and Observations hang off Meetings.
- Times are wall-clock in the organisation’s timezone (China has no DST); storage keeps the timestamped value, display and generation use the org zone, never the server’s.
- Generation runs server-side as part of Offering/Period setup and on Pattern change; the regeneration boundary (planned-only) is a hard rule with tests.
- Meeting and Plan carry no personal data; Attendance and Observations do and are covered by ADR-0064 and their erasure classes.
- The teaching repos’
runsheet.yamlfiles are a one-shot import into Meeting Plans; after that, the repo copy is historical.