Tasks, Lessons, and Exercises
Task sequencing & filenames (tasks.yaml)
Section titled “Task sequencing & filenames (tasks.yaml)”Each level declares an ordered list of stable Task IDs in tasks.yaml:
tasks: - calling-in-sick.en.report-absence - calling-in-sick.en.give-health-reasonEach task ID resolves to tasks/<slug>.yaml, where <slug> is the final dot-separated segment of the task ID:
calling-in-sick.en.report-absence→tasks/report-absence.yamlcefr.a1.en.ask-about-postage-or-a-simple-repair→tasks/ask-about-postage-or-a-simple-repair.yaml
The order in tasks.yaml is pedagogically meaningful: later tasks may rely on Concepts introduced by earlier tasks.
Task top-level fields
Section titled “Task top-level fields”task: calling-in-sick.en.report-absenceoutcome: start a sick call, say you are not feeling well, and clearly say you cannot work todaylevel_outcome_refs: - state-immediate-needregister: neutral # informal | neutral | formallessons: [...]An empty lessons: [] list is valid while drafting; publication readiness checks completeness before shipping.
Lesson arc
Section titled “Lesson arc”A populated Spine Task follows this sequence:
core(required first): Introduces and practices the Concepts needed for the task outcome (including woven closed-system members such as numbers, days, months, clock times, or prices used in the scenario).- Main integrative activity:
perform,role_play, or (for receptive outcomes)listeningwith comprehension questions.
Named listening, reading, writing, and video lessons may also supplement an interaction task before or after perform / role_play.
Modalities
Section titled “Modalities”performandrole_playdeclaremodalities(listening_speaking,reading_writing, or both).corelessons omitmodalities—the learning runtime chooses how to deliver practice.
Lesson & Exercise YAML reference
Section titled “Lesson & Exercise YAML reference”core (with presentation and utterance exercises)
Section titled “core (with presentation and utterance exercises)”Every exercise requires a stable id, plain text, and annotated_text. Presentations additionally declare presentation_concepts and an explanation in instruction_language:
- type: core title: I'm sorry. introduction: Apologize briefly and offer to fix a small accident. concepts: - I'm sorry - are you OK - I'll take care of it - that's all right exercises: - type: presentation id: P01 presentation_concepts: - I'm sorry explanation: "`I'm sorry` sirve para disculparte por un error o una molestia." text: I'm sorry. I took your pen. annotated_text: "[I'm sorry](concept:I'm sorry). I took your pen." - type: utterance id: E01 text: I'm sorry I'm late. annotated_text: "[I'm sorry](concept:I'm sorry) I'm late."perform (bounded scripted dialogue)
Section titled “perform (bounded scripted dialogue)”Character turns provide text and annotated_text; learner turns provide expect and expect_annotated_text:
- type: perform modalities: [listening_speaking, reading_writing] scenario: title: A spilled drink setting: You knock over a colleague's coffee at a shared table. Help put things right. turns: - role: Alex text: Oh! My coffee! annotated_text: Oh! My coffee! - role: learner expect: I'm sorry. Are you OK? expect_annotated_text: "[I'm sorry](concept:I'm sorry). [Are you OK](concept:are you OK)?" - role: Alex text: Yes, I'm fine. annotated_text: Yes, I'm fine.role_play (open-ended interaction)
Section titled “role_play (open-ended interaction)”- type: role_play modalities: [listening_speaking, reading_writing] role_play: title: Prévenir de son absence setting: Vous êtes malade ce matin et votre journée commence bientôt. Prévenez Alex. character_name: Alex character_role: Your manager partner_instructions: Speak as the learner's manager in short A2 English. Let them explain the absence and close naturally. register: neutral opening_question: Hi, it's Alex. Is everything OK? goals: - Dites rapidement que vous êtes malade et que vous ne pouvez pas venir aujourd'hui. - Excusez-vous de prévenir tard.listening
Section titled “listening”- type: listening name: an-accident-and-reassurance title: A spilled drink introduction: Listen to how the speakers apologize and resolve the situation. speakers: - id: a name: Sam voice_gender: male - id: b name: Alex voice_gender: female cues: - id: c1 speaker: b text: Oh! My coffee! - id: c2 speaker: a text: I'm sorry. Are you OK? annotated_text: "[I'm sorry](concept:I'm sorry). [Are you OK](concept:are you OK)?" comprehension_questions: []Video lessons link to a YouTube URL with optional comprehension questions (no Concepts required):
- type: video name: cafe-clip title: Ordering at a café url: https://www.youtube.com/watch?v=example comprehension_questions: []Optional off-spine Vocab Packs (vocab_packs.yaml & vocab_packs/<slug>.yaml)
Section titled “Optional off-spine Vocab Packs (vocab_packs.yaml & vocab_packs/<slug>.yaml)”Genuinely optional vocabulary breadth lives off the communicative Spine in level-scoped Vocab Packs rather than inside Tasks. Essential vocabulary and closed compositional systems (numbers, days, months, clock times) belong on the Spine (core lessons).
A level with Vocab Packs lists ordered pack slugs in vocab_packs.yaml and defines each pack in vocab_packs/<slug>.yaml:
vocab_packs: - bakery-and-dairypack: bakery-and-dairytitle: More bread and dairy items.topic: Everyday bakery and dairy itemscategory: topical # topical | examafter_task: order-drinkconcepts: - bread - butter - cheese - milkexercises: - type: presentation id: VP01 presentation_concepts: [bread, butter] explanation: "`Bread` y `butter` amplían tus opciones en la cafetería." text: I would like bread and butter. annotated_text: "[I would like [bread](concept:bread) [and](concept:and) [butter](concept:butter)](concept:requesting-an-item-1)."Vocab Pack invariants:
- One-way dependency (
Tasks → Packs, neverPacks → Tasks): A pack unlocks afterafter_taskand may reuse any Spine Concepts taught up toafter_task, but Spine Tasks must never depend on Concepts owned by a Vocab Pack. - Target kinds and load: Packs teach 4–8
lexicalor slot-freecommunicative_expressionConcepts (skillConcepts must be taught on the Spine). - Categories:
topicalpacks provide optional situational domain breadth;exampacks cover official test-wordlist vocabulary (e.g., HSK, JLPT) without bloating the communicative Spine.
New-target dose bounds
Section titled “New-target dose bounds”core lessons count distinct new explicit Concept targets 1:1 (excluding previously taught Concepts and support_only items):
- Default Spine
corebounds: 4–7 new targets (more than 7 blocks publication; fewer than 4 raises a design warning). - Default
vocab_packbounds: 4–8 new targets. - Override explicitly with
concept_dose_overrideon a Lesson, Task, or Vocab Pack when a coherent unit requires different bounds:
concept_dose_override: minimum: 3 maximum: 7 reason: The three dative relative-clause patterns form a complete focused lesson.