diff --git a/config.lua b/config.lua index fa1d7a1..dbb8ff3 100644 --- a/config.lua +++ b/config.lua @@ -358,6 +358,17 @@ return { -- summarize_on_evict = true, -- summarizer_model = "fast", -- model name in models{} -- max_summary_chars = 2000, + -- + -- -- #101 (proactive periodic summarization). When set, + -- -- enforce_cadence fires every N appends (before + -- -- enforce_budget) and folds turns OLDER than + -- -- summarize_keep_recent into ctx.summary. Goal: keep the + -- -- wire prompt tight from the start so small local models + -- -- aren't fed near-budget context until eviction. Composes + -- -- with summarize_on_evict (same summarize_fn closure; + -- -- different trigger). Suppressed in Norris (R-C4 parity). + -- summarize_every_n_turns = 10, -- nil = disabled (default) + -- summarize_keep_recent = 4, -- }, -- When summarize_on_evict is true, evicted turn pairs are fed to -- summarizer_model and the result lives on ctx.summary, appended to