documentation update
This commit is contained in:
+8
-7
@@ -74,8 +74,9 @@ Multi-strategy retrieval merged into a single ranked result set.
|
||||
|
||||
### 3. Memory Consolidation Lifecycle
|
||||
Prevents long-term memory degradation and enables compression.
|
||||
- [ ] Episode aging — score/weight episodes by recency and access frequency
|
||||
- [ ] Consolidation pass — merge related low-weight episodes into summary nodes
|
||||
- [x] Episode aging — `access_count` + `last_accessed_at` columns (v2 migration), batch touch on retrieval selection (`POST /episodes/touch`), aging score `access_count / (1 + days since last access)`
|
||||
- [x] Dry-run candidates endpoint — `GET /sessions/:id/consolidation-candidates` with age + session-size floors (observe-only phase before destructive pass)
|
||||
- [ ] Consolidation pass — merge related low-weight episodes into summary nodes (incl. Qdrant vector + entity link cleanup)
|
||||
- [ ] Orphan cleanup — remove entities no longer referenced by active episodes
|
||||
|
||||
### 4. User Preference Model
|
||||
@@ -90,11 +91,11 @@ Short-circuit simple requests before they reach the LLM.
|
||||
- [ ] Confidence bands — FAST PATH (memory lookup only) vs FULL (LLM + context)
|
||||
- [ ] Fast-path handlers — direct memory queries, session lookups, factual recalls
|
||||
|
||||
### 6. Smarter Context Assembly *(inspired by acid2lake)*
|
||||
### 6. Smarter Context Assembly *(inspired by acid2lake)* ✅
|
||||
Budget-aware context selection instead of dumping all relevant memory into the prompt.
|
||||
- [ ] Token budget manager in orchestration
|
||||
- [ ] Priority scoring — recency × relevance × entity weight
|
||||
- [ ] Configurable context budget via env var
|
||||
- [x] Token budget manager in orchestration (`selectWithinBudget`, char/4 estimation on stored text)
|
||||
- [x] Priority scoring — RRF fusion + recency + entity boost (`buildScoredPool`)
|
||||
- [x] Configurable via settings (`contextBudget`, `entityWeight`, `minRecentEpisodes`) — live, no restart
|
||||
|
||||
### 7. Procedural Memory Store *(inspired by acid2lake)*
|
||||
Learns "how NexusAI has successfully handled this type of request before."
|
||||
@@ -227,4 +228,4 @@ The JARVIS moment — NexusAI reasons, plans, and acts across multiple steps.
|
||||
|
||||
---
|
||||
|
||||
*Last updated: April 2026*
|
||||
*Last updated: August 2026*
|
||||
Reference in New Issue
Block a user