Interface FlushReflectionResult

Result from a forced reflection via CognitiveMemoryManager.flushReflection. Step-8: used to surface reflection-derived trace IDs so downstream consumers (e.g. a hybrid BM25 index) can apply side effects.

interface FlushReflectionResult {
    encodedTraceIds: string[];
    supersededTraceIds: string[];
    compressionRatio: number;
}

Properties

encodedTraceIds: string[]

IDs of traces newly encoded from the reflection result.

supersededTraceIds: string[]

IDs of existing traces soft-deleted because they were superseded.

compressionRatio: number

Compression ratio achieved by the reflection.