Skip to main content

Interface: ForgetMemoryReport

Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:16

What a deletion did. It never holds the subject's id or any text of theirs.

Properties​

complete​

complete: boolean

Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:33

False when anything was still pending at the deadline, a store the call deletes from failed (the full-text index, the vector index and the write-ahead log included), a page failed, or the store holds memory from before per-user scope that nobody attributed. The stores the call never reaches by design are named and do not count. The next open, or the next re-application of the tombstones, resumes an incomplete deletion.


drained​

drained: number

Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:24

How many of the subject's pending writes and compiles the call waited for.


pages​

pages: object

Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:22

The compiled pages deleted, and each page that could not be.

deleted​

deleted: number

failed​

failed: object[]


pendingAtDeadline​

pendingAtDeadline: number

Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:26

How many of them were still running at the deadline.


stores​

stores: ({ deleted: number; reached: true; store: string; } | { reached: false; reason: string; store: string; })[]

Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:20

Each store by name: reached with the number of rows deleted, or not reached with the reason.


tombstone​

tombstone: object

Defined in: packages/agentos/src/cognition/memory/io/forgetUserMemory.ts:18

The tombstone's form, and whether this call wrote it (false when the ledger already held it).

form​

form: "keyed" | "unkeyed"

written​

written: boolean