feat: add proactive memory extraction and daily logs

This commit is contained in:
William Valentin
2026-02-18 10:10:47 -08:00
parent 9cbd66cdcc
commit f38fc063d2
8 changed files with 250 additions and 5 deletions
+9
View File
@@ -1042,6 +1042,13 @@ Memory persistence is hybrid:
memory:
enabled: true
auto_extract: true
proactive_extract:
enabled: false # Per-turn extraction beyond compaction-only writes
min_tool_calls: 1 # Trigger only when this many tool calls occur in a turn
namespace: global # Target namespace for extracted durable facts
daily_log:
enabled: false # Append each turn to dated namespaces (daily/YYYY-MM-DD)
namespace_prefix: daily
max_context_tokens: 2000
embedding:
enabled: true
@@ -1079,6 +1086,8 @@ Search backend selection:
When the selected backend is unavailable (for example embedding provider errors), search falls back gracefully to keyword matching.
`memory.auto_extract` controls whether compaction appends extracted durable facts to `global` memory.
`memory.proactive_extract` controls optional per-turn extraction after responses (useful for tool-heavy workflows).
`memory.daily_log` controls optional append-only daily turn logs in dated namespaces.
### Proactive Context Management