Skip to main content

Interface: FlushReflectionResult

Defined in: packages/agentos/src/cognition/memory/CognitiveMemoryManager.ts:90

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.

Properties​

compressionRatio​

compressionRatio: number

Defined in: packages/agentos/src/cognition/memory/CognitiveMemoryManager.ts:96

Compression ratio achieved by the reflection.


encodedTraceIds​

encodedTraceIds: string[]

Defined in: packages/agentos/src/cognition/memory/CognitiveMemoryManager.ts:92

IDs of traces newly encoded from the reflection result.


supersededTraceIds​

supersededTraceIds: string[]

Defined in: packages/agentos/src/cognition/memory/CognitiveMemoryManager.ts:94

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