Commit 599e752
feat: implement lifecycle pruning for BM25 and Vector indexes (#11)
* feat: implement lifecycle pruning for BM25 and Vector indexes
- Add BM25 prune jobs with SearchIndexer::prune_and_commit callback
- Add Vector prune jobs with VectorIndexPipeline::prune_level callback
- Wire prune jobs at daemon startup via register_prune_jobs()
- Add registry metadata tracking for job telemetry
- Extend proto with GetRankingStatusResponse lifecycle fields
- Add env.sh and Taskfile.yml for macOS C++ toolchain workaround
- Fix flaky scheduler timeout test (use 5s cron interval)
- Add memory-retrieval crate with classifier and executor
- Add phase 16/17 planning docs for ranking enhancements
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: resolve clippy and format warnings
- Fix unused `merged` field in UsageUpdate (prefix with _)
- Replace manual Default impl with derive for Bm25PruneJobConfig
- Remove unused imports in retrieval.rs
- Prefix unused variables with underscore
- Handle all match arms explicitly in layer_status_from_proto
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent e472434 commit 599e752
File tree
107 files changed
+27204
-195
lines changed- .planning
- phases
- 16-memory-ranking-enhancements
- 17-agent-retrieval-policy
- crates
- memory-daemon/src
- memory-retrieval
- src
- memory-scheduler
- src
- jobs
- memory-search
- src
- memory-service
- src
- memory-storage
- src
- memory-types/src
- memory-vector/src
- docs
- plans
- prds
- references
- plugins
- memory-query-plugin
- .claude-plugin
- agents
- skills
- bm25-search
- references
- memory-query
- retrieval-policy
- references
- topic-graph
- references
- vector-search/references
- memory-setup-plugin
- .claude-plugin
- skills
- memory-agents
- references
- memory-llm
- references
- memory-setup
- references
- memory-storage
- references
- proto
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
107 files changed
+27204
-195
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
115 | 150 | | |
116 | 151 | | |
117 | 152 | | |
| |||
190 | 225 | | |
191 | 226 | | |
192 | 227 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
200 | 264 | | |
201 | 265 | | |
202 | 266 | | |
203 | 267 | | |
204 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
205 | 271 | | |
206 | | - | |
| 272 | + | |
207 | 273 | | |
208 | 274 | | |
209 | 275 | | |
210 | 276 | | |
211 | 277 | | |
212 | 278 | | |
| 279 | + | |
| 280 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
391 | 395 | | |
392 | 396 | | |
393 | 397 | | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
399 | 460 | | |
400 | 461 | | |
401 | 462 | | |
402 | 463 | | |
403 | | - | |
| 464 | + | |
404 | 465 | | |
405 | 466 | | |
406 | 467 | | |
| |||
419 | 480 | | |
420 | 481 | | |
421 | 482 | | |
422 | | - | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
423 | 486 | | |
424 | 487 | | |
425 | 488 | | |
| |||
441 | 504 | | |
442 | 505 | | |
443 | 506 | | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
207 | 262 | | |
208 | 263 | | |
209 | 264 | | |
| 265 | + | |
| 266 | + | |
210 | 267 | | |
211 | 268 | | |
212 | 269 | | |
| |||
218 | 275 | | |
219 | 276 | | |
220 | 277 | | |
221 | | - | |
222 | | - | |
| 278 | + | |
| 279 | + | |
223 | 280 | | |
| 281 | + | |
224 | 282 | | |
225 | 283 | | |
226 | 284 | | |
| |||
350 | 408 | | |
351 | 409 | | |
352 | 410 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
0 commit comments