ConsolidationClusterReport
Defined in: packages/memory-ltm/src/types.ts:323
One merged (or would-be-merged, under dry-run) near-duplicate cluster.
Properties
Section titled “Properties”canonicalId
Section titled “canonicalId”canonicalId:
string
Defined in: packages/memory-ltm/src/types.ts:325
Survivor: highest importance, tie-broken by most recent createdAt.
loserIds
Section titled “loserIds”loserIds:
string[]
Defined in: packages/memory-ltm/src/types.ts:327
Members marked superseded by the canonical (would-be under dry-run).
scores
Section titled “scores”scores:
number[]
Defined in: packages/memory-ltm/src/types.ts:333
Similarity of each loser to the cluster’s seed row, index-aligned with
loserIds. When the seed itself lost the canonical election, its entry is
its similarity to the canonical (the same pair, read from the other side).
unionedTags
Section titled “unionedTags”unionedTags:
string[]
Defined in: packages/memory-ltm/src/types.ts:335
Final tag set carried by the canonical after the union.