Core Model V2
Task 70 formalizes a unified, context-aware core model for Tov+.
Task 70 formalizes a unified, context-aware core model for Tov+.
Scope
contextsbecome the shared binding layer for occasion-, event-, and actor-scoped records.event_participationscapture entry and exit windows instead of assuming event-wide access.design_themesmake visual language and printable defaults first-class persisted state.module_instancesprovide a context-bound runtime view over module usage.- timeline items now carry both
context_idandvisibility_scope.
Runtime
GET /v1/occasions/:occasion_id/core-model-v2returns the planner aggregate view.- timeline create and update flows resolve a concrete context before persisting items.
- vendor timeline reads additionally enforce event participation windows.
- the planner shell consumes
design_theme.tokensthrough CSS custom properties.
Database
Phase 30 adds:
contextsdesign_themesevent_participationsmodule_instances- context and visibility columns on timeline and module lifecycle tables
The fixture set now seeds both demo occasions with contexts, theme records, participations, and module-instance rows so the local environment reflects the refined model.