tarlatan
    Preparing search index...

    Function handoffTextOf

    • The handoff text of attempt opId, read from its recorded file. Fails with RecordedFileChanged when the report or its file is missing or changed.

      Parameters

      • context: SessionContext
      • session: {
            attempts: readonly {
                brief: Option<BriefRecorded>;
                endedByOwner: Option<StepEndedByOwner>;
                finished: Option<Finished>;
                intent: Intended;
                launched: Option<Launched>;
            }[];
            corrections: number;
            findings: readonly FindingsRecorded[];
            opened: SessionOpened;
            overrules: readonly {
                findingId: string;
                reviewOpId: string & Brand<"OpId">;
                rulingId: string & Brand<"RulingId">;
            }[];
            reports: readonly ReportRecorded[];
            reviewedTree: Option<string & Brand<"Revision">>;
            roundsGranted: readonly { count: number; note: string }[];
            rulings: readonly {
                id: string & Brand<"RulingId">;
                supersededBy: Option<string & Brand<"RulingId">>;
                supersedes: Option<string & Brand<"RulingId">>;
                text: string;
            }[];
        }
      • opId: string & Brand<"OpId">

      Returns Effect<string, StateFileFailed | FileNotUtf8 | RecordedFileChanged, never>