docs(events): Phase 4 as built — schedule, recurrence and the calendar #212
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/events-phase-4"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The docs half of Event System Phase 4. Code: RunicGateway/website#186.
EVENTS.md§E — the tick. "Materialise" is now written as the two halves it actually is: expand, then sweep. The paragraph that said the expansion arrives in Phase 4 is replaced by the one that matters — expansion looks forward from
now - graceonly, so an occurrence nobody ever materialised is never invented retroactively, and the horizon is what makes the missed sweep mean anything for a recurring event. The two halves need each other, and that is the sentence a future reader needs.§E — recurrence, as built. The shapes' field types and why they are what they are:
timeasHH:MM, weekdays as English names,atas a local wall clock rather than a UTC instant,daysnormalised into week order so two spellings of one schedule are not an edit nobody made.nthis 1..4 plus-1, with the reason there is no fifth. Plus the three things the section could not say before:events/recurrence.jsis the single place an occurrence is computed so the runner and the calendar cannot disagree.uq_evrun_occurrence, so it would vanish rather than return on the new version).Also: automatic expansion is at the empty scope, and why a scope registry is not this phase's to invent.
§I — the calendar. Three paragraphs it did not have: the run vs projection distinction and why it is drawn rather than merely stated; the reader's-zone grid / event's-zone time split, which is what §E's "the timezone belongs to the event" actually implies once somebody has to place a cell; and series managed inline on the calendar, their
admin, editorgate, and why their delete is the one real delete in this feature.§ API surface. The four new routes —
POST/PUT/DELETE /admin/events/seriesandGET /admin/events/calendar.The phase table. P1 through P4 ticked.
EVENTS_PLAN.mdPhase 4 marked complete, in the shape Phases 0–3 use: the five org-lead decisions, the three things the build settled, the test-harness defect this phase introduced and fixed (the expansion leg made
eventRunner.test.jsreach a dead-port pool on every tick — it passed, and took minutes), and the verified numbers. Phase 2's note about what "materialise" covered is now written in the past tense, because it is history rather than a caveat.The Trap paragraph keeps its warning and gains one line saying how it was held:
Intlinverted rather than a date library added.Checked by hand
docshas no CI, so: every anchor this touches resolves (#n--decisions,#i--admin-ui-authoring-and-the-calendar), and every route, column, env var and file path named here exists on website#186. Diff is 153/19 with no CRLF artefact — verified against the real content diff, not just--numstat.