-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
P2: mediumMedium priority — targets v1.0Medium priority — targets v1.0layer: daydreamerBackground consolidation (LTP/LTD, recalc)Background consolidation (LTP/LTD, recalc)
Milestone
Description
Why: Keep volume/shelf prototypes accurate as pages/books change. Prototype updates change which entries should occupy the volume and shelf tier quotas.
-
P2-D1: Implement
daydreamer/PrototypeRecomputer.ts- Recompute volume medoids (select medoid page per volume)
- Recompute volume centroids (average of book embeddings)
- Recompute shelf routing prototypes
- Update vectors in
VectorStore(append new, update offsets) - After recomputing each level: recompute salience for affected representative entries via
SalienceEngine; run tier-quota promotion/eviction for that tier
-
P2-D2: Add prototype recomputer test coverage
tests/daydreamer/PrototypeRecomputer.test.ts- Test medoid selection algorithm
- Test centroid computation
- Test that tier-quota hotpath entries are updated after prototype recomputation
Exit Criteria: Prototypes stay accurate over time; tier quota entries reflect current prototypes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2: mediumMedium priority — targets v1.0Medium priority — targets v1.0layer: daydreamerBackground consolidation (LTP/LTD, recalc)Background consolidation (LTP/LTD, recalc)