Skip to main content

Module partitions

Module partitions 

Source

Structs§

ContextPartitions
Four-slot context model aligned with LLM API slots (five fields — slot 3 spans task_state + signals):
KnowledgeEntry
One durable knowledge entry. Unlike history messages, knowledge entries have IDENTITY — a host-assigned key enabling upsert (refresh a pinned reference) and targeted removal — plus lifecycle flags driving the boundary sweep (K1/K2 of the dynamic-control spec).
KnowledgePartition
The knowledge partition: durable, identity-bearing entries rendered into system[1]. Appends are immediate (they extend the cached prefix — the cheap direction); mutation and removal of existing entries are boundary-deferred (see KnowledgeEntry::evict_at_boundary).
KnowledgeSweep
Outcome of one boundary sweep, for the KnowledgeSwept kernel observation.
Partition
A single context partition — a named bucket of messages with a token counter.