mlx-bun library API
    Preparing search index...
    interface CreateOutcome {
        action: "created" | "skipped";
        chunkSections: { anchor: string; chunkId: string }[];
        citedSections: number;
        content: string | null;
        entity: string;
        hasInfobox: boolean;
        normalizeNotes: string[];
        reason: string | null;
        sectionAnchors: string[];
        stem: string;
        stub: boolean;
    }
    Index
    action: "created" | "skipped"
    chunkSections: { anchor: string; chunkId: string }[]

    (chunk_id, section_anchor) edges for the synthesized_chunk_sections ledger.

    citedSections: number
    content: string | null

    Final post-NORMALIZE markdown, or null when the gate vetoed the write.

    entity: string
    hasInfobox: boolean
    normalizeNotes: string[]
    reason: string | null

    Gate reason when skipped; null on success.

    sectionAnchors: string[]
    stem: string
    stub: boolean