Skip to content

CMI5 Session Lifecycle

Run MicroSim in Fullscreen

Learning Objective

Recall the cmi5 session lifecycle states and the legal transitions between them.

  • Bloom Level: Understand
  • Bloom Verb: Recall
  • Library: Mermaid

Specification

The full specification below is extracted from Chapter 12: Conformance Testing, Validation, and Competitive Standards Analysis.

Type: workflow-diagram
**sim-id:** cmi5-session-lifecycle<br/>
**Library:** Mermaid<br/>
**Status:** Specified

**Learning objective (Bloom — Understanding):** Recall the cmi5 session lifecycle states and the legal transitions between them.

**Diagram type:** Mermaid flowchart (TD direction) representing the state sequence. Click handlers on every node.

**States:**

1. `LMS launches AP` (with cmi5 launch parameters)
2. `AP fetches auth token`
3. `AP emits launched`
4. `AP emits initialized`
5. `AP emits learning statements (progressed / passed / failed / completed / scored)`
6. Decision: `AP closes cleanly?` → Yes → `AP emits terminated` → `Session ends` / No → `LMS times out → emits abandoned (server-side)`

**Mermaid config:** project standard with `securityLevel: 'loose'`.

**Click behavior:** Each node opens a side-panel infobox showing the verb IRI, when it's emitted, and a one-line example statement.

**Default canvas:** 2/3 width diagram + 1/3 side panel. Stacks vertically below 700px.

Implementation: Mermaid flowchart with click directives.