Source: CONTEXT.md. Updated with each grilling session that resolves new terms. Every term here has a precise definition — use the exact word, not the aliases column.
A teacher's group of students moving through curriculum together.
A unit of curriculum stored markdown-native in learning_content.content_md.
The authenticated educator who owns cohorts and authors/curates content.
A learner within a cohort consuming content + the AI tutor.
The per-course git repo (Supabase-Storage-backed under V2) holding one Teacher's authoring state — intake, drafts, comments, gates, level summaries. Source of truth before publish.
Per-Teacher git repo following Karpathy's LLM Wiki pattern — raw sources, mutable wiki pages, schema file. Compounds across courses.
A thin cut through every layer a feature touches; one issue = one slice.
A scheduled batch of ≤3 parallel slices landed together via wave:integrate.
Pipeline stages: M1 Course Outline · M2 Structure · M3 Unit Content · M4 Lessons & Assignments.
A validator on a milestone/phase transition (crossing vs intra-alignment).
KB-retrieval escalation tiers in the agentic pipeline.
The 8-agent system in library-course-generation.yaml (5 LLM + 3 KB agents) that V2 originally used as its migration baseline.
The pre-collapsed 42-agent / 12-HITL system in library.yaml + docs/pipeline/overview.md. Already migrated to Collapsed; not V2's baseline.
V2's architectural pattern: behavior lives in markdown prompts and product skills. Tool-using workers run through ToolLoopAgent sessions; invokeSubAgent remains the bounded structured-output path.
Within-parent sibling sub-agents dispatch in dependency order, threshold = APPROVED. Maximum human-time overlap, low token risk.
A finalized parent artifact auto-triggers dispatch of its declared children's sub-agents.
Trigger state at which the next sequential sub-agent dispatches: teacher endorsed but not yet finalized.
Edit = direct commit, no cascade. Review = markdown proposal record, explicit cascade after accepted apply.
V2 invariant: all pre-publish state lives in workspace markdown + git; Supabase only holds published rows.
Report-only Strategy, Structure, and Substance evidence used for teacher review and readiness surfaces.
Karpathy's 2026-04 pattern: per-teacher KB repo with raw sources / wiki core / schema file + Ingest/Query/Lint/File-back verbs. V2's kb/ follows this exactly.
LLM-judge flow on finalize-after-edit; emits {verdict, reason, diff_proposal?} per affected child; proposals land on the same git branch as the upstream edit.
Git commit granularity in V2: each sub-agent's full output is one commit, authored as agent:<role>.