Skip to main content

Interface: AssembledLineOutcome

Defined in: packages/agentos/src/cognition/memory/core/types.ts:616

What became of one line of the memory block that shows a memory: a retrieved trace's line, a graph association that carries the id of the trace it leads to, or the involuntary memory. Such a line renders whole or not at all.

Properties​

id​

id: string

Defined in: packages/agentos/src/cognition/memory/core/types.ts:618

The id of the trace the line shows, or leads to.


outcome​

outcome: "included" | "left_out"

Defined in: packages/agentos/src/cognition/memory/core/types.ts:626

Whether the block shows the line.


reason?​

optional reason: "budget" | "section_full"

Defined in: packages/agentos/src/cognition/memory/core/types.ts:633

Set for a line left out, and only then: budget when its section was offered no tokens at all (its share is 0, or the budget had none for it), section_full when the whole line did not fit what the section was offered.


section​

section: keyof MemoryBudgetAllocation | "involuntary"

Defined in: packages/agentos/src/cognition/memory/core/types.ts:624

The section the line belongs to: the one that shows it, or, for a line left out, the first section in the block's order that had a line for its trace. involuntary is the involuntary memory's own section.


tokens​

tokens: number

Defined in: packages/agentos/src/cognition/memory/core/types.ts:638

Tokens of the line with its newline, about 4 characters a token: as rendered when included, as it would render whole when left out.