Minimal Projection Schema, Runtime Fallback, and Math Pilot
Generated artifact. Do not edit manually.
Generated by:
scripts/build_compendia.pyRegenerate with:python3 scripts/build_compendia.py --compendium dev-handbook --web-and-texSource of truth:docs/dev/source/
Language / Sprache: English (EN) · Deutsch (DE) | PDF: English PDF · Deutsches PDF
Compendium: §1 Documentation Guidelines · §2 Landscape JSON Reference · §3 Minimal Schema & Fallback · §4 Authoring Editors · §5 Graph Editor · §6 Flashcard Editor · §7 Node Ordering · §8 Liquibase · §9 Auto-Update (SSE)
3. Minimal Projection Schema, Runtime Fallback, and Math Pilot
To evolve existing landscapes into the layered architecture (General Goal System) without breaking unmigrated curricula, SkillPilot introduces four optional additive JSON structures paired with deterministic runtime fallback rules.
3.1. Additive Schema Fields and Fallback Precedence
{
"programUnits": [
{ "id": "sek2-e", "kind": "phase", "label": "E-Phase", "order": 10 }
],
"goalPlacements": [
{
"goalId": "<uuid>",
"unitId": "sek2-e",
"relation": "primary",
"context": { "jurisdiction": "DE-HE", "stage": "SekII" }
}
],
"competencyCatalog": [
{ "id": "K1", "label": "Mathematisch argumentieren", "dimension": "process" }
]
}
Goals additionally carry optional competencyRefs: ["K1", ...]. Runtime precedence follows strict non-destructive rules:
- Composition view first: If a reviewed
.view.jsonmatches the resolved learner scope, compile the default tree from that composition view plus canonicalcontains. - Explicit placement projection second: Otherwise, when
programUnitsand matchingprimarygoalPlacementsexist, project the program tree directly from those arrays. - Legacy
contains/phasefallback third: Landscapes without placement or view artifacts continue rendering their authoredcontainshierarchy anddimensionTags.phasebadges unchanged. - Unchanged mastery & frontier: Mastery storage and
requiresfrontier calculation always operate on canonical atomicLearningGoalIDs, never onprogramUnitsor view structure nodes.
3.2. Entry-Scope Resolution and Canonical Mathematics Pilot
Entry-scope resolution executes in five deterministic steps: (1) select base root curriculum, (2) bind jurisdiction / duration / stage / course profile (Level 2), (3) resolve matching .view.json or placement context, (4) close required atomic prerequisites \(L = \mathrm{Closure}(S)\) on the unpruned canonical graph, and (5) apply optional Level 3 focus filters. curricula/DE/Gymnasium/canonical/DE_DEU_S_GYM_CANONICAL_MATHEMATIK.de.json serves as the reference pilot proving additive programUnits, goalPlacements, competencyCatalog, and state-scoped .view.json compilation side by side.