feat(memory): add daily log continuity controls

This commit is contained in:
William Valentin
2026-02-19 11:58:42 -08:00
parent 01cd726d7c
commit 290303c14e
10 changed files with 129 additions and 6 deletions
+4 -1
View File
@@ -1125,6 +1125,9 @@ memory:
daily_log:
enabled: false # Append each turn to dated namespaces (daily/YYYY-MM-DD)
namespace_prefix: daily
include_session_metadata: true # Include session/channel/sender headers in each log block
max_user_chars: 2000 # Per-turn cap before truncating user text
max_assistant_chars: 4000 # Per-turn cap before truncating assistant text
max_context_tokens: 2000
embedding:
enabled: true
@@ -1163,7 +1166,7 @@ When the selected backend is unavailable (for example embedding provider errors)
`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.
`memory.daily_log` controls optional append-only daily turn logs in dated namespaces. Use `include_session_metadata` when you want better cross-session traceability, and lower the per-turn char caps to reduce noise/volume in long-running chat logs.
### Proactive Context Management