Skip to content

CorpusConsolidationOptions

Defined in: packages/memory-ltm/src/types.ts:299

optional batchSize?: number

Defined in: packages/memory-ltm/src/types.ts:309

Seed rows loaded per page (cursor-resumable). Defaults to 100, capped at 1000.


optional cursor?: string

Defined in: packages/memory-ltm/src/types.ts:311

Resume from a previously returned cursor.


optional dryRun?: boolean

Defined in: packages/memory-ltm/src/types.ts:319

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.


optional limit?: number

Defined in: packages/memory-ltm/src/types.ts:313

Stop after scanning at most this many seed rows (pair with cursor for chunked runs).


optional scope?: string

Defined in: packages/memory-ltm/src/types.ts:307

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).


optional userId?: string

Defined in: packages/memory-ltm/src/types.ts:301

Restrict the pass to a single user. Omit to scan every user.