CorpusConsolidationOptions
Defined in: packages/memory-ltm/src/types.ts:253
Properties
Section titled “Properties”batchSize?
Section titled “batchSize?”
optionalbatchSize?:number
Defined in: packages/memory-ltm/src/types.ts:263
Seed rows loaded per page (cursor-resumable). Defaults to 100, capped at 1000.
cursor?
Section titled “cursor?”
optionalcursor?:string
Defined in: packages/memory-ltm/src/types.ts:265
Resume from a previously returned cursor.
dryRun?
Section titled “dryRun?”
optionaldryRun?:boolean
Defined in: packages/memory-ltm/src/types.ts:273
REVIEW GATE (pinned Decision 3): defaults to TRUE. A dry run reports the
clusters it WOULD merge and mutates absolutely nothing. Only an explicit
dryRun: false writes.
limit?
Section titled “limit?”
optionallimit?:number
Defined in: packages/memory-ltm/src/types.ts:267
Stop after scanning at most this many seed rows (pair with cursor for chunked runs).
scope?
Section titled “scope?”
optionalscope?:string
Defined in: packages/memory-ltm/src/types.ts:261
Restrict the pass to a single namespace scope. Omit to scan all scopes — each seed still only ever clusters within its OWN scope (an unscoped memory never merges with a scoped one, mirroring write-time dedup).
userId?
Section titled “userId?”
optionaluserId?:string
Defined in: packages/memory-ltm/src/types.ts:255
Restrict the pass to a single user. Omit to scan every user.