CorpusConsolidationResult
Defined in: packages/memory-ltm/src/types.ts:338
Properties
Section titled “Properties”clusters
Section titled “clusters”clusters:
number
Defined in: packages/memory-ltm/src/types.ts:342
Near-duplicate clusters found this run.
cursor
Section titled “cursor”cursor:
string|null
Defined in: packages/memory-ltm/src/types.ts:352
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:354
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:344
Losers marked superseded (or that WOULD be, under dry-run).
perCluster
Section titled “perCluster”perCluster:
ConsolidationClusterReport[]
Defined in: packages/memory-ltm/src/types.ts:356
Per-cluster detail, capped at MAX_CLUSTER_REPORTS entries.
perClusterTruncated
Section titled “perClusterTruncated”perClusterTruncated:
boolean
Defined in: packages/memory-ltm/src/types.ts:358
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:340
Seed rows examined (including ineligible rows that were skipped).
skippedConcurrentEdit
Section titled “skippedConcurrentEdit”skippedConcurrentEdit:
number
Defined in: packages/memory-ltm/src/types.ts:350
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.