Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Interface AssembledBlock

    One block of a stream, with its outcome. Every opened index produces one.

    interface AssembledBlock {
        block: ContentBlock | null;
        blockKind: SurfaceKind;
        closed: boolean;
        index: number;
        ordinal: number;
        outcome: BlockOutcome;
        partial: PartialBlockContent | null;
    }
    Index
    block: ContentBlock | null

    The assembled block, or null when the kind cannot be assembled from deltas.

    blockKind: SurfaceKind
    closed: boolean

    True when a block-end chunk closed this block.

    index: number

    The index the adapter used to correlate this block's chunks.

    ordinal: number

    First-seen position, 0-based and contiguous.

    This — not index — is what a durable assistant/block row should use as its blockIndex, because adapter indexes are only required to be distinct, not dense, while the signed sequence must be both.

    outcome: BlockOutcome
    partial: PartialBlockContent | null

    Raw accumulations; non-null exactly when block is null.