Skip to main content

Interface: FlushReflectionResult

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

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:95

Compression ratio achieved by the reflection.


encodedTraceIds

encodedTraceIds: string[]

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

IDs of traces newly encoded from the reflection result.


supersededTraceIds

supersededTraceIds: string[]

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

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