Commit 95445da
committed
Address AliceLJY review round 2
Must fix:
- Flat memory scan: move before the mdFiles.length===0 early return so it
is always reachable (not just when nested workspaces are empty)
- Tests: runImportMarkdown now uses embedPassage (not embedQuery) and
JSON.stringify(metadata) to match production. Added embedPassage mock.
- Tests: setupWorkspace now creates files at workspace/<name>/ to match
the actual path structure runImportMarkdown expects
Worth considering:
- Flat memory scan now skips when workspaceGlob is set, avoiding accidental
root flat memory import when user specifies --workspace
- Removed dev artifacts: ANALYSIS.md and recall-benchmark.py contained
personal absolute paths and are not suitable for repo commit1 parent ae11de7 commit 95445da
File tree
4 files changed
+38
-473
lines changed- test/import-markdown
4 files changed
+38
-473
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1138 | 1138 | | |
1139 | 1139 | | |
1140 | 1140 | | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1141 | 1162 | | |
1142 | 1163 | | |
1143 | 1164 | | |
1144 | 1165 | | |
1145 | 1166 | | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
1159 | | - | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | 1167 | | |
1167 | 1168 | | |
1168 | 1169 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
26 | 37 | | |
27 | 38 | | |
28 | 39 | | |
| |||
63 | 74 | | |
64 | 75 | | |
65 | 76 | | |
66 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
67 | 80 | | |
68 | 81 | | |
69 | 82 | | |
| |||
82 | 95 | | |
83 | 96 | | |
84 | 97 | | |
| 98 | + | |
85 | 99 | | |
86 | 100 | | |
87 | 101 | | |
| |||
373 | 387 | | |
374 | 388 | | |
375 | 389 | | |
376 | | - | |
| 390 | + | |
377 | 391 | | |
378 | 392 | | |
379 | 393 | | |
380 | 394 | | |
381 | 395 | | |
382 | 396 | | |
383 | | - | |
| 397 | + | |
384 | 398 | | |
385 | 399 | | |
386 | 400 | | |
| |||
0 commit comments