You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update bloat_min_bytes configuration and enhance MaintenanceSection
- Increased the default value of `bloat_min_bytes` from 2048 to 2400 to improve memory management.
- Updated the diagnostic view and related logic to reflect the new threshold.
- Enhanced the MaintenanceSection in the frontend to include preset options for bloat thresholds and improved user interface elements.
- Modified localization files to update labels and descriptions related to memory audit and bloat thresholds.
- Added tests to validate the new functionality and ensure proper behavior of the MaintenanceSection.
"bloat_min_bytes_desc": "When a single memory's UTF-8 content size exceeds this threshold, memory diagnostic and cleanup views flag it as bloated for summarization or splitting.",
"bloat_min_bytes_desc": "When a single memory's UTF-8 content size exceeds this threshold, the AI memory-audit workflow flags it as a Bloated Memory via system://diagnostic, prompting the AI to split or summarize it.",
190
190
"bytes_unit": "Bytes",
191
191
"equiv_kb": "≈ {{kb}} KB",
192
192
"equiv_mb": "≈ {{mb}} MB",
193
+
"char_estimate": "(≈ {{zhCount}} Chinese chars / {{enCount}} English chars)",
193
194
"invalid_bloat_min_bytes": "Threshold must be a positive integer of at least 1",
194
195
"save_failed": "Failed to save maintenance threshold",
195
196
"saving": "Saving...",
196
-
"save": "Save"
197
+
"save": "Save",
198
+
"explanation_title": "What is Memory Audit & Bloat Threshold?",
199
+
"explanation_text": "When the AI performs self-reflection and memory quality auditing (memory-audit skill), it queries system://diagnostic to identify memory graph issues. Oversized memories consume excessive context bandwidth and dilute key takeaways. This threshold defines when a memory node is diagnosed as 'bloated'.",
"preset_relaxed_desc": "≈ 1600 chars · Allows long nodes",
207
+
"impact_hint": "💡 Tip: Lowering the threshold prompts the AI to aggressively decompose bloated memories during audits; raising it allows longer single nodes."
0 commit comments