Cotal TypeScript packages
    Preparing search index...

    Interface MigrateRequest

    interface MigrateRequest {
        actor: string;
        endpoint: string;
        entries: readonly JournalEntry[];
        file?: string;
        fromHash?: string;
        kv: KV;
        now: () => number;
        overrides?: MigrateOverrides;
        pins: RunPins;
        runId: string;
        source: string;
    }
    Index
    actor: string

    Who asked. Recorded on any override, because an override is a person's decision.

    endpoint: string

    The endpoint hosting the driver — the notices are keyed under it.

    entries: readonly JournalEntry[]

    The recorded journal, as the barrier replayed it.

    file?: string
    fromHash?: string

    The program hash the run was on, as the CALLER states it.

    Not verifiable here and deliberately not invented: a program-hash pin on the run record is declared and unbuilt, and RunSpecValue does not carry one yet, so a hash computed from a source this function was never given would be a guess wearing a fact's name. Absent when the caller does not know it, and the record says absent rather than approximate.

    kv: KV
    now: () => number
    overrides?: MigrateOverrides
    pins: RunPins

    Read back from the run record, never re-derived: a migration does not re-pin a run.

    runId: string
    source: string

    The NEW program.