Skip to main content

Module context_ledger

Module context_ledger 

Source
Expand description

Context ledger (Wave 14E): what the agent has already seen, persisted in the store cache per model epoch. The ledger is the novelty-suppression source for task deltas: already-visible information is not re-injected unless it changed or is recontextualized (Aider’s chat-file treatment, generalized to symbols/files/components/flows).

Structs§

ContextLedgerStore
Loads/saves the per-epoch scc_core::ContextLedger in the store cache (key ledger:<epoch>, serde JSON).

Functions§

novelty_penalty
Novelty penalty for one symbol: how much re-injection should cost when the symbol was already shown this epoch.