Skip to content
1 min read · 111 words

Interface: WorkingThought

Defined in: src/batteries/context/thrift/contracts.ts:150

The structural shape of a "thought" (model-internal guidance/scratchpad content, e.g. a plan or a per-iteration nudge) the working set carries. Read for identity (id, matched against keepThoughtIds/protectThoughtIds), measurement (content), and shed ordering (createdAt).

Properties

PropertyTypeDescriptionDefined in
contentstring | ContentLikeThe thought's rendered content.src/batteries/context/thrift/contracts.ts:154
createdAtMillisTimestampWhen this thought was created; drives oldest-first shedding order.src/batteries/context/thrift/contracts.ts:156
idstringStable identifier, matched against keepThoughtIds/protectThoughtIds sets.src/batteries/context/thrift/contracts.ts:152