Skip to content
Developer Preview

replay_into_fold

Feeds the transcript’s server notifications through a fresh fold.

Function in muse_code

Every notification’s outcome is appended to transcript.fold_outcomes (cleared first), so a caller can assert on what the fold did per frame — the discipline checks.

replay_into_fold(transcript: Transcript) -> SessionFold

Name Type Description
transcript A parsed transcript.

The folded state.

Source

clients/sdk-py/src/muse_code/replay.py:127