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.
Signature
Section titled “Signature”replay_into_fold(transcript: Transcript) -> SessionFold
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
transcript |
A parsed transcript. |
Returns
Section titled “Returns”The folded state.
Source
clients/sdk-py/src/muse_code/replay.py:127