Expand description
Session-loading front door. Takes a path, detects the format, calls
the right parser, returns Vec<Step>. Lives in its own module so both
the single-session TUI/summary path (in main.rs) and the corpus
subcommand (in corpus.rs) dispatch through the same function.
Functions§
- load_
session - Detect the format of a session file and load it into a timeline of
steps. This is the canonical entry point — every code path that
consumes a single session should go through here so new formats only
need to be registered in one place (here +
Format+format::detect).