Cotal TypeScript packages
    Preparing search index...

    Type Alias DriveOutcome

    DriveOutcome:
        | { result: RunResult; status: "completed" }
        | { brokerInterrupted?: true; reason: Error; status: "released" }

    What a drive attempt did, as a two-exit answer rather than a value plus exceptions.

    completed is the program finishing under this driver. released is this driver ceasing to hold the run — superseded, stalled, retired — which says nothing about the program and must never be recorded as if it did. A program that FAILS is still completed: the failure is the run's result, and the journal has it.