Marmot-TS
    Preparing search index...

    Type Alias ProcessedIngestResult<TEnvelope>

    An envelope whose MLS message was successfully processed.

    type ProcessedIngestResult<TEnvelope> = {
        envelope: TEnvelope;
        kind: "processed";
        message: MlsMessage;
        notifications?: StateNotification[];
        result: ProcessMessageResult;
        selectedTerminal?: DisbandCandidateEvidence;
        sourceParent?: string;
    }

    Type Parameters

    • TEnvelope
    Index
    envelope: TEnvelope
    kind: "processed"
    message: MlsMessage
    notifications?: StateNotification[]

    Commit-digest-attributed group-state notifications (D-10/D-11, convergence.md "Applying the selected branch"). Optional — populated by the seam that wires notification derivation.

    ATTRIBUTION (WR-18): these are NOT always this message's own notifications. In the normal in-order case they are. But when this result reports an applied fork resolution, the array is the concatenation of the notifications derived from EVERY commit on the adopted winner chain, while message is merely the representative fork-pool envelope the rewind was reported against — it may be unrelated to most of the entries. Never pair message with notifications positionally; each entry carries its own commitDigest, which is the only correct way to attribute it.

    selectedTerminal?: DisbandCandidateEvidence

    Authenticated terminal evidence, present only after canonical selection.

    sourceParent?: string

    Exact authenticated media source. Absent when source material was pruned.