On-disk envelope produced by exportSnapshot.

Bump Snapshot.schema when the shape changes so older imports fail loudly rather than silently misinterpreting the payload.

interface Snapshot {
    inputs: Readonly<Record<string, unknown>>;
    intent?: string;
    schema: 1;
    time: number;
}

Properties

inputs: Readonly<Record<string, unknown>>

Captured input values, keyed by node id.

intent?: string

Optional intent label for the import commit.

schema: 1

Schema version; bump when the on-disk shape changes.

time: number

GraphTime the snapshot was taken at.