CorpusConsolidationResult
Defined in: packages/memory-ltm/src/types.ts:292
Properties
Section titled “Properties”clusters
Section titled “clusters”clusters:
number
Defined in: packages/memory-ltm/src/types.ts:296
Near-duplicate clusters found this run.
cursor
Section titled “cursor”cursor:
string|null
Defined in: packages/memory-ltm/src/types.ts:306
Cursor to resume from, or null when the corpus slice was exhausted.
dryRun
Section titled “dryRun”dryRun:
boolean
Defined in: packages/memory-ltm/src/types.ts:308
Echo of the effective dry-run flag (defaults to true — review gate).
merged
Section titled “merged”merged:
number
Defined in: packages/memory-ltm/src/types.ts:298
Losers marked superseded (or that WOULD be, under dry-run).
perCluster
Section titled “perCluster”perCluster:
ConsolidationClusterReport[]
Defined in: packages/memory-ltm/src/types.ts:310
Per-cluster detail, capped at MAX_CLUSTER_REPORTS entries.
perClusterTruncated
Section titled “perClusterTruncated”perClusterTruncated:
boolean
Defined in: packages/memory-ltm/src/types.ts:312
True when more clusters formed than fit in perCluster; counters above still include them.
scanned
Section titled “scanned”scanned:
number
Defined in: packages/memory-ltm/src/types.ts:294
Seed rows examined (including ineligible rows that were skipped).
skippedConcurrentEdit
Section titled “skippedConcurrentEdit”skippedConcurrentEdit:
number
Defined in: packages/memory-ltm/src/types.ts:304
Mutations skipped because a concurrent edit moved a row’s version twice (or disqualified it) between read and write — G3-T3: lifecycle writes never clobber a concurrent user edit. Always 0 under dry-run.