Cotal TypeScript packages
    Preparing search index...

    Interface RestoreContext

    interface RestoreContext {
        attemptId: string;
        cleanup?: CleanupProgress;
        controllerReconfiguration?: ControllerReconfiguration;
        fallbackPath?: string;
        method: "same-path" | "alternate" | "disaster";
        ownedPaths?: readonly AttemptOwnedPath[];
        previousSource?: PreviousSource;
        reconfiguredBroker?: { instanceId: string; launchRequestId: string };
        selection?: RestoreSelection;
        target?: StoreIdentity;
        targetPath: string;
    }
    Index
    attemptId: string
    cleanup?: CleanupProgress
    controllerReconfiguration?: ControllerReconfiguration

    Controller custody and method: "alternate" only.

    fallbackPath?: string
    method: "same-path" | "alternate" | "disaster"
    ownedPaths?: readonly AttemptOwnedPath[]

    Attempt-owned working trees (staging, quarantine, sanitized) journaled before use so crash recovery deletes exactly these inodes and nothing else.

    previousSource?: PreviousSource
    reconfiguredBroker?: { instanceId: string; launchRequestId: string }

    The new broker instance of toRevision; requires phase: "definition-committed".

    selection?: RestoreSelection

    What the restore brought back. A registry restore leaves every other stream out, so the previous store holds the only copy of that history. Absent in journals written before it was recorded.

    target?: StoreIdentity
    targetPath: string