Commit 499181a
fix(recall): wire the layer filter (#269 follow-up)
RecallParams.layer was accepted but never applied (dead field -> 'never read'
warning). Now filters by biomimetic layer in all modes: fts5_search +
fts5_bm25_search pre-filter in-query; a mode-agnostic post-filter in recall()
covers the dense arm of dense/hybrid (dense_search has no RecallParams access).
world/episodic/semantic aliases normalized to core/buffer/working at the tools
layer (handle_recall + expansion path). Test covers canonical + alias + no-filter.
105 tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0eaca0c commit 499181a
3 files changed
Lines changed: 62 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
8 | 17 | | |
9 | 18 | | |
10 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1467 | 1467 | | |
1468 | 1468 | | |
1469 | 1469 | | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1470 | 1482 | | |
1471 | 1483 | | |
1472 | 1484 | | |
| |||
1489 | 1501 | | |
1490 | 1502 | | |
1491 | 1503 | | |
1492 | | - | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
1493 | 1507 | | |
1494 | 1508 | | |
1495 | 1509 | | |
| |||
1523 | 1537 | | |
1524 | 1538 | | |
1525 | 1539 | | |
1526 | | - | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
1527 | 1543 | | |
1528 | 1544 | | |
1529 | 1545 | | |
1530 | 1546 | | |
1531 | | - | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
1532 | 1550 | | |
1533 | 1551 | | |
1534 | 1552 | | |
| |||
1650 | 1668 | | |
1651 | 1669 | | |
1652 | 1670 | | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
| 1677 | + | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1653 | 1681 | | |
1654 | 1682 | | |
1655 | 1683 | | |
| |||
1898 | 1926 | | |
1899 | 1927 | | |
1900 | 1928 | | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
1901 | 1936 | | |
1902 | 1937 | | |
1903 | 1938 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
142 | 155 | | |
143 | 156 | | |
144 | 157 | | |
| |||
421 | 434 | | |
422 | 435 | | |
423 | 436 | | |
424 | | - | |
| 437 | + | |
425 | 438 | | |
426 | 439 | | |
427 | 440 | | |
| |||
551 | 564 | | |
552 | 565 | | |
553 | 566 | | |
554 | | - | |
| 567 | + | |
555 | 568 | | |
556 | 569 | | |
557 | 570 | | |
| |||
0 commit comments