This repository was archived by the owner on Jun 3, 2026. It is now read-only.
v0.6.0 — Self-Healing Evolving Memory
Self-Healing Evolving Memory System
What's New
Phase 1: Enhanced Auto-Context Injection
- Prefetch top 8 (was 5) — broader memory surfacing per turn
- Category boost — corrections (1.3x), instructions (1.2x), preferences (1.15x) surface first
- Priority boost — P1/P2 memories get slight score bump
- Score threshold 0.4 — filters noise from low-relevance results
Phase 2: Correction Tagging + Priority
- New category:
correction— tag user behavior corrections - Priority field (1-5) — P1 = critical rule, P5 = low-priority fact
- Origin field — track how memory was created (user_correction, agent_discovery, explicit, auto)
- Payload indexes on priority + origin for fast filtered queries
Phase 3: Consolidation + Evolution
- Correction pattern detection — clusters corrections by topic, suggests skill extraction when 3+ on same topic
- Evolution suggestions — category imbalance, priority inflation, health checks
on_memory_writehook — mirrors local memory writes to Qdranton_session_endhook — auto-extracts session summaries
Config (all env-var overridable)
QDRANT_PREFETCH_TOP_K(default: 8)QDRANT_PREFETCH_SCORE_THRESHOLD(default: 0.4)QDRANT_CORRECTION_TOPIC_THRESHOLD(default: 3)QDRANT_SESSION_END_EXTRACT(default: true)
Backward Compatibility
Fully backward compatible with v0.5.0 data. Priority defaults to 3, origin defaults to 'explicit'.
Files Changed
config.py— new constants + config keysschemas.py— correction category, priority, origin fieldsstore.py— category boost, priority-aware storage, new payload indexesprovider.py— enhanced prefetch, on_memory_write, on_session_end, rich system promptconsolidation.py— correction patterns, evolution suggestionsVERSION+plugin.yaml— v0.6.0