Interface: ReapplyTombstonesOptions
Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:396
Extends
Pick<ForgetUserMemoryOptions,"memory"|"ledger"|"wiki"|"agentId"|"legacyUnattributed">
Properties
agentId
agentId:
string
Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:57
The agent whose store this is: its key for the subject is always deleted, with every other agent's key of the subject the store's registry holds.
Inherited from
ForgetUserMemoryOptions.agentId
forSubject()?
optionalforSubject: (subject) =>Promise<Pick<ForgetUserMemoryOptions,"legacy"|"drain"|"onChain"|"extraStores"|"alsoIncomplete">>
Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:399
The per-subject parts of one deletion: the subject's drain and chain, and what the caller reached itself.
Parameters
subject
Returns
Promise<Pick<ForgetUserMemoryOptions, "legacy" | "drain" | "onChain" | "extraStores" | "alsoIncomplete">>
ledger?
optionalledger:ForgottenLedger
Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:48
Defaults to memory.forgotten.
Inherited from
ForgetUserMemoryOptions.ledger
legacyUnattributed()?
optionallegacyUnattributed: () =>Promise<boolean>
Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:76
Whether the store holds memory from before per-user scope that nobody attributed, read when the deletes are done.
Returns
Promise<boolean>
Inherited from
ForgetUserMemoryOptions.legacyUnattributed
memory
memory:
Memory
Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:46
The store, opened with a forgotten-user ledger.
Inherited from
ForgetUserMemoryOptions.memory
wiki
wiki:
object
Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:50
The page store of one subject, by its conversation key.
storeFor()
storeFor(
scopeId):SubjectPages
Parameters
scopeId
string