@remnic/core 10.0.141 → 10.0.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/dist/abstraction-nodes.js +4 -4
  2. package/dist/access-admin-ops-surface.js +107 -106
  3. package/dist/access-cli.js +107 -106
  4. package/dist/access-cli.js.map +1 -1
  5. package/dist/access-extraction-force-flush-preempt.js +107 -106
  6. package/dist/access-extraction-force-flush.js +107 -106
  7. package/dist/access-http-briefing.js +107 -106
  8. package/dist/access-http-query.js +107 -106
  9. package/dist/access-http.js +107 -106
  10. package/dist/access-identity-continuity-surface.js +107 -106
  11. package/dist/access-lcm-surface.js +107 -106
  12. package/dist/access-mcp.d.ts.map +1 -1
  13. package/dist/access-mcp.js +107 -106
  14. package/dist/access-observe-write-category.js +2 -2
  15. package/dist/access-observe-write-surface.js +107 -106
  16. package/dist/access-operations-batch.js +107 -106
  17. package/dist/access-operations.js +107 -106
  18. package/dist/access-recall-concurrency.js +107 -106
  19. package/dist/access-recall-mcp-search-options.d.ts +42 -0
  20. package/dist/access-recall-mcp-search-options.d.ts.map +1 -0
  21. package/dist/access-recall-mcp-search-options.js +8 -0
  22. package/dist/access-recall-response.js +107 -106
  23. package/dist/access-recall-surface.d.ts.map +1 -1
  24. package/dist/access-recall-surface.js +107 -106
  25. package/dist/access-schema.d.ts +36 -0
  26. package/dist/access-schema.d.ts.map +1 -1
  27. package/dist/access-schema.js +3 -1
  28. package/dist/access-service.js +107 -106
  29. package/dist/active-recall.js +22 -22
  30. package/dist/adapters/index.js +4 -4
  31. package/dist/adapters/registry.js +2 -2
  32. package/dist/briefing.js +23 -23
  33. package/dist/buffer.js +7 -7
  34. package/dist/{capsule-merge-ILR35DIB.js → capsule-merge-PCSDJOAO.js} +5 -5
  35. package/dist/causal-consolidation.js +23 -23
  36. package/dist/{chunk-6WV76JHC.js → chunk-22M7NYJK.js} +2 -2
  37. package/dist/{chunk-F476AJQJ.js → chunk-2642VLWP.js} +2 -2
  38. package/dist/{chunk-UF5RTFN3.js → chunk-2DXDHGLG.js} +5 -5
  39. package/dist/{chunk-LPDOCXHH.js → chunk-2M7F2I7I.js} +2 -2
  40. package/dist/{chunk-PFUXPTBT.js → chunk-4LF5E2LM.js} +5 -5
  41. package/dist/{chunk-KUQLUYIR.js → chunk-4QEDFEBY.js} +3 -3
  42. package/dist/{chunk-C64XATK7.js → chunk-4U5VHHVF.js} +39 -3
  43. package/dist/chunk-4U5VHHVF.js.map +1 -0
  44. package/dist/{chunk-WGM2KSWN.js → chunk-5XONJ5C4.js} +2 -2
  45. package/dist/{chunk-3RJU7QFE.js → chunk-72QMGTDF.js} +2 -2
  46. package/dist/{chunk-XOOYE37V.js → chunk-7SUAHTGH.js} +2 -2
  47. package/dist/{chunk-3PZDG5ZH.js → chunk-A7SU5ET7.js} +2 -2
  48. package/dist/{chunk-VH4UCI3R.js → chunk-AHUTHRTL.js} +3 -3
  49. package/dist/{chunk-O3JG4PD3.js → chunk-AW56K4SI.js} +2 -2
  50. package/dist/{chunk-G2CGIFRP.js → chunk-AXR472RS.js} +2 -2
  51. package/dist/{chunk-CFSCKCT5.js → chunk-B4I37XX6.js} +4 -4
  52. package/dist/{chunk-NWA6IXR3.js → chunk-B7HYXVME.js} +27 -1
  53. package/dist/chunk-B7HYXVME.js.map +1 -0
  54. package/dist/{chunk-JCBKGPFE.js → chunk-BFFKIME2.js} +3 -3
  55. package/dist/{chunk-GNIMBEOK.js → chunk-C7CP7OEG.js} +11 -11
  56. package/dist/{chunk-NM6UL4W5.js → chunk-CPWZGM4E.js} +9 -9
  57. package/dist/{chunk-BDIXKROL.js → chunk-CPYVH6LI.js} +8 -8
  58. package/dist/chunk-CQ3IG3GZ.js +30 -0
  59. package/dist/chunk-CQ3IG3GZ.js.map +1 -0
  60. package/dist/{chunk-H6VQ7L5D.js → chunk-CSZCLTIV.js} +5 -5
  61. package/dist/{chunk-UM22PKA3.js → chunk-DVC2OYLF.js} +2 -2
  62. package/dist/{chunk-4IMMF5W6.js → chunk-F3PTUQIK.js} +3 -3
  63. package/dist/{chunk-D6IGZYTN.js → chunk-FJEYZSJD.js} +3 -3
  64. package/dist/{chunk-ITAUMNQU.js → chunk-FPII4O7C.js} +2 -2
  65. package/dist/{chunk-FL3O34XF.js → chunk-FYJYQ65N.js} +3 -3
  66. package/dist/{chunk-HRMOKGQM.js → chunk-GCQIXPWZ.js} +4 -4
  67. package/dist/{chunk-UX7KPVAM.js → chunk-GOT6G3C6.js} +2 -2
  68. package/dist/{chunk-FONPAA43.js → chunk-HQJAQENN.js} +2 -2
  69. package/dist/{chunk-DGLNT6VO.js → chunk-HQV5GCMD.js} +3 -3
  70. package/dist/{chunk-USVA4XWY.js → chunk-IIVDGKMW.js} +3 -3
  71. package/dist/{chunk-K5CM4M65.js → chunk-ITT4SVVA.js} +7 -7
  72. package/dist/{chunk-2HI22OK7.js → chunk-JKYAKDBP.js} +2 -2
  73. package/dist/{chunk-MGN2RQRG.js → chunk-KAGLV5KH.js} +2 -2
  74. package/dist/{chunk-VRBGYSSQ.js → chunk-KETT3EZO.js} +2 -2
  75. package/dist/chunk-KETT3EZO.js.map +1 -0
  76. package/dist/{chunk-2NJ74RQU.js → chunk-LE27GU4M.js} +2 -2
  77. package/dist/{chunk-7NSGKXFD.js → chunk-LYPBQHAX.js} +4 -4
  78. package/dist/{chunk-EGDUG2ZX.js → chunk-MBBRU5LJ.js} +2 -2
  79. package/dist/{chunk-IUXTKLZY.js → chunk-MSVBNOFX.js} +22 -22
  80. package/dist/{chunk-DOJBV6WR.js → chunk-MX5VGD6C.js} +5 -5
  81. package/dist/{chunk-GAVFANAB.js → chunk-NFNH4ZPB.js} +2 -2
  82. package/dist/{chunk-NCS2NXSP.js → chunk-NIG54XKA.js} +3 -3
  83. package/dist/{chunk-EIZUL6JC.js → chunk-NKO4VZRO.js} +3 -3
  84. package/dist/{chunk-QZUT4VTV.js → chunk-O5OFHBAP.js} +2 -2
  85. package/dist/{chunk-SZ6QV3DY.js → chunk-OM2YWPFX.js} +2 -2
  86. package/dist/{chunk-7YD5XSJK.js → chunk-OOJMQV3L.js} +5 -5
  87. package/dist/{chunk-FJTRNFI4.js → chunk-P3COXHWB.js} +2 -2
  88. package/dist/{chunk-ZG4GNPRE.js → chunk-PBE7NFB5.js} +5 -5
  89. package/dist/{chunk-SZK2DX5U.js → chunk-PCMGMPQZ.js} +2 -2
  90. package/dist/{chunk-WIV37T4U.js → chunk-QBNZLS3U.js} +5 -5
  91. package/dist/{chunk-DLZGSZVC.js → chunk-RJ5L6LRD.js} +5 -5
  92. package/dist/{chunk-342VFB56.js → chunk-RVPISCKY.js} +3 -3
  93. package/dist/{chunk-BYWNF25B.js → chunk-SFHEIWIE.js} +2 -2
  94. package/dist/{chunk-YXFY4YOF.js → chunk-TD72RHHZ.js} +3 -3
  95. package/dist/{chunk-FREKFMCA.js → chunk-TJE4LIVD.js} +2 -2
  96. package/dist/{chunk-M5GVCJSJ.js → chunk-TVWLYSX4.js} +2 -2
  97. package/dist/{chunk-O3GZPLVY.js → chunk-UUSL22HE.js} +2 -2
  98. package/dist/{chunk-63JPXUFA.js → chunk-VKTZXJSR.js} +2 -2
  99. package/dist/{chunk-27N6SGEY.js → chunk-VNMJWFYR.js} +2 -2
  100. package/dist/{chunk-AA6G3W3B.js → chunk-W236BAJR.js} +2 -2
  101. package/dist/{chunk-GCHM5BYL.js → chunk-WWQMZBDI.js} +4 -4
  102. package/dist/{chunk-OVZIYLBZ.js → chunk-YCK26VSL.js} +2 -2
  103. package/dist/{chunk-3GHQCNNG.js → chunk-YJUZ465J.js} +5 -5
  104. package/dist/{chunk-DIBOWE53.js → chunk-YXPUQBHK.js} +17 -2
  105. package/dist/chunk-YXPUQBHK.js.map +1 -0
  106. package/dist/{chunk-QHDBKC5Z.js → chunk-ZFJOPBQD.js} +2 -2
  107. package/dist/{chunk-JLD44JR7.js → chunk-ZNYOY2MM.js} +354 -330
  108. package/dist/chunk-ZNYOY2MM.js.map +1 -0
  109. package/dist/cli.js +107 -106
  110. package/dist/coding/export-okf-codegraph.js +22 -22
  111. package/dist/compounding/engine.js +23 -23
  112. package/dist/config.js +22 -22
  113. package/dist/connectors/codex-materialize-runner.js +22 -22
  114. package/dist/connectors/index.js +22 -22
  115. package/dist/consolidation-provenance-check.js +5 -5
  116. package/dist/consolidation-undo.js +4 -4
  117. package/dist/contradiction/index.js +3 -3
  118. package/dist/convergence-refresh.js +24 -24
  119. package/dist/corpus-watermark.js +24 -24
  120. package/dist/cue-anchors.js +5 -5
  121. package/dist/deep-recall-http-glue.js +2 -2
  122. package/dist/{entity-canonical-id-migration-IG77BOGD.js → entity-canonical-id-migration-ZOWR44RK.js} +4 -4
  123. package/dist/entity-retrieval.js +23 -23
  124. package/dist/explicit-capture.js +107 -106
  125. package/dist/extraction.js +26 -26
  126. package/dist/harmonic-construction.js +6 -6
  127. package/dist/harmonic-graph-version.js +3 -3
  128. package/dist/harmonic-retrieval.js +25 -25
  129. package/dist/index.js +165 -162
  130. package/dist/lcm/engine.js +2 -2
  131. package/dist/lcm/index.js +5 -5
  132. package/dist/location/index.js +23 -23
  133. package/dist/maintenance/memory-governance.js +22 -22
  134. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +22 -22
  135. package/dist/maintenance/rebuild-memory-projection-runner.js +24 -24
  136. package/dist/maintenance/rebuild-memory-projection.js +23 -23
  137. package/dist/memory-browse.js +6 -6
  138. package/dist/memory-cache.d.ts +5 -0
  139. package/dist/memory-cache.d.ts.map +1 -1
  140. package/dist/memory-cache.js +9 -1
  141. package/dist/memory-corpus-version.js +2 -2
  142. package/dist/namespaces/migrate.js +23 -23
  143. package/dist/namespaces/search.js +11 -11
  144. package/dist/namespaces/storage.js +22 -22
  145. package/dist/operator-doctor-corpus.js +25 -25
  146. package/dist/operator-toolkit.js +30 -30
  147. package/dist/orchestration/backlog-scheduler.js +108 -107
  148. package/dist/orchestration/backlog-scheduler.js.map +1 -1
  149. package/dist/orchestration/buffer-drain-runner.js +108 -107
  150. package/dist/orchestration/maintenance.js +30 -30
  151. package/dist/orchestration/orchestrator-helpers.d.ts +3 -15
  152. package/dist/orchestration/orchestrator-helpers.d.ts.map +1 -1
  153. package/dist/orchestration/recall-internal-deps.d.ts +2 -1
  154. package/dist/orchestration/recall-internal-deps.d.ts.map +1 -1
  155. package/dist/orchestration/recall-internal.d.ts.map +1 -1
  156. package/dist/orchestration/recall-search-pipeline.d.ts +3 -10
  157. package/dist/orchestration/recall-search-pipeline.d.ts.map +1 -1
  158. package/dist/orchestrator.d.ts +2 -2
  159. package/dist/orchestrator.d.ts.map +1 -1
  160. package/dist/orchestrator.js +107 -106
  161. package/dist/page-versioning.js +4 -4
  162. package/dist/qmd.js +3 -3
  163. package/dist/recall-composition-decision.js +2 -2
  164. package/dist/recall-navigation.js +107 -106
  165. package/dist/recall-state-view-admission.js +6 -6
  166. package/dist/recall-why-service.js +6 -6
  167. package/dist/{resolution-7XBNQVKU.js → resolution-A3NAI3YE.js} +4 -4
  168. package/dist/resolution-A3NAI3YE.js.map +1 -0
  169. package/dist/resume-bundles.js +23 -23
  170. package/dist/search/factory.js +10 -10
  171. package/dist/search/index.js +14 -14
  172. package/dist/search/lancedb-backend.js +3 -3
  173. package/dist/search/meilisearch-backend.js +3 -3
  174. package/dist/search/orama-backend.js +3 -3
  175. package/dist/search/port.d.ts +2 -0
  176. package/dist/search/port.d.ts.map +1 -1
  177. package/dist/search/port.js +3 -1
  178. package/dist/search/remote-backend.js +2 -2
  179. package/dist/semantic-consolidation.js +23 -23
  180. package/dist/semantic-rule-promotion.js +22 -22
  181. package/dist/semantic-rule-verifier.js +22 -22
  182. package/dist/source-agent-qualifier.js +25 -25
  183. package/dist/standup/build.js +22 -22
  184. package/dist/storage.js +21 -21
  185. package/dist/transfer/capsule-import.js +5 -5
  186. package/dist/transfer/export-okf.js +23 -23
  187. package/dist/verified-recall.js +22 -22
  188. package/dist/who-knows-cli.js +23 -23
  189. package/dist/who-knows.js +22 -22
  190. package/package.json +2 -2
  191. package/src/access-mcp.test.ts +25 -0
  192. package/src/access-mcp.ts +2 -0
  193. package/src/access-recall-mcp-search-options.ts +26 -0
  194. package/src/access-recall-surface.ts +2 -3
  195. package/src/access-schema.ts +24 -0
  196. package/src/memory-cache.test.ts +27 -0
  197. package/src/memory-cache.ts +45 -2
  198. package/src/orchestration/orchestrator-helpers.ts +4 -16
  199. package/src/orchestration/recall-internal-deps.ts +2 -0
  200. package/src/orchestration/recall-internal.ts +9 -8
  201. package/src/orchestration/recall-search-pipeline.test.ts +65 -0
  202. package/src/orchestration/recall-search-pipeline.ts +17 -20
  203. package/src/orchestrator.ts +17 -54
  204. package/src/recall-navigation-surface.test.ts +3 -3
  205. package/src/recall-search-options.test.ts +64 -0
  206. package/src/search/port.ts +35 -0
  207. package/dist/chunk-C64XATK7.js.map +0 -1
  208. package/dist/chunk-DIBOWE53.js.map +0 -1
  209. package/dist/chunk-JLD44JR7.js.map +0 -1
  210. package/dist/chunk-NWA6IXR3.js.map +0 -1
  211. package/dist/chunk-VRBGYSSQ.js.map +0 -1
  212. /package/dist/{entity-canonical-id-migration-IG77BOGD.js.map → access-recall-mcp-search-options.js.map} +0 -0
  213. /package/dist/{capsule-merge-ILR35DIB.js.map → capsule-merge-PCSDJOAO.js.map} +0 -0
  214. /package/dist/{chunk-6WV76JHC.js.map → chunk-22M7NYJK.js.map} +0 -0
  215. /package/dist/{chunk-F476AJQJ.js.map → chunk-2642VLWP.js.map} +0 -0
  216. /package/dist/{chunk-UF5RTFN3.js.map → chunk-2DXDHGLG.js.map} +0 -0
  217. /package/dist/{chunk-LPDOCXHH.js.map → chunk-2M7F2I7I.js.map} +0 -0
  218. /package/dist/{chunk-PFUXPTBT.js.map → chunk-4LF5E2LM.js.map} +0 -0
  219. /package/dist/{chunk-KUQLUYIR.js.map → chunk-4QEDFEBY.js.map} +0 -0
  220. /package/dist/{chunk-WGM2KSWN.js.map → chunk-5XONJ5C4.js.map} +0 -0
  221. /package/dist/{chunk-3RJU7QFE.js.map → chunk-72QMGTDF.js.map} +0 -0
  222. /package/dist/{chunk-XOOYE37V.js.map → chunk-7SUAHTGH.js.map} +0 -0
  223. /package/dist/{chunk-3PZDG5ZH.js.map → chunk-A7SU5ET7.js.map} +0 -0
  224. /package/dist/{chunk-VH4UCI3R.js.map → chunk-AHUTHRTL.js.map} +0 -0
  225. /package/dist/{chunk-O3JG4PD3.js.map → chunk-AW56K4SI.js.map} +0 -0
  226. /package/dist/{chunk-G2CGIFRP.js.map → chunk-AXR472RS.js.map} +0 -0
  227. /package/dist/{chunk-CFSCKCT5.js.map → chunk-B4I37XX6.js.map} +0 -0
  228. /package/dist/{chunk-JCBKGPFE.js.map → chunk-BFFKIME2.js.map} +0 -0
  229. /package/dist/{chunk-GNIMBEOK.js.map → chunk-C7CP7OEG.js.map} +0 -0
  230. /package/dist/{chunk-NM6UL4W5.js.map → chunk-CPWZGM4E.js.map} +0 -0
  231. /package/dist/{chunk-BDIXKROL.js.map → chunk-CPYVH6LI.js.map} +0 -0
  232. /package/dist/{chunk-H6VQ7L5D.js.map → chunk-CSZCLTIV.js.map} +0 -0
  233. /package/dist/{chunk-UM22PKA3.js.map → chunk-DVC2OYLF.js.map} +0 -0
  234. /package/dist/{chunk-4IMMF5W6.js.map → chunk-F3PTUQIK.js.map} +0 -0
  235. /package/dist/{chunk-D6IGZYTN.js.map → chunk-FJEYZSJD.js.map} +0 -0
  236. /package/dist/{chunk-ITAUMNQU.js.map → chunk-FPII4O7C.js.map} +0 -0
  237. /package/dist/{chunk-FL3O34XF.js.map → chunk-FYJYQ65N.js.map} +0 -0
  238. /package/dist/{chunk-HRMOKGQM.js.map → chunk-GCQIXPWZ.js.map} +0 -0
  239. /package/dist/{chunk-UX7KPVAM.js.map → chunk-GOT6G3C6.js.map} +0 -0
  240. /package/dist/{chunk-FONPAA43.js.map → chunk-HQJAQENN.js.map} +0 -0
  241. /package/dist/{chunk-DGLNT6VO.js.map → chunk-HQV5GCMD.js.map} +0 -0
  242. /package/dist/{chunk-USVA4XWY.js.map → chunk-IIVDGKMW.js.map} +0 -0
  243. /package/dist/{chunk-K5CM4M65.js.map → chunk-ITT4SVVA.js.map} +0 -0
  244. /package/dist/{chunk-2HI22OK7.js.map → chunk-JKYAKDBP.js.map} +0 -0
  245. /package/dist/{chunk-MGN2RQRG.js.map → chunk-KAGLV5KH.js.map} +0 -0
  246. /package/dist/{chunk-2NJ74RQU.js.map → chunk-LE27GU4M.js.map} +0 -0
  247. /package/dist/{chunk-7NSGKXFD.js.map → chunk-LYPBQHAX.js.map} +0 -0
  248. /package/dist/{chunk-EGDUG2ZX.js.map → chunk-MBBRU5LJ.js.map} +0 -0
  249. /package/dist/{chunk-IUXTKLZY.js.map → chunk-MSVBNOFX.js.map} +0 -0
  250. /package/dist/{chunk-DOJBV6WR.js.map → chunk-MX5VGD6C.js.map} +0 -0
  251. /package/dist/{chunk-GAVFANAB.js.map → chunk-NFNH4ZPB.js.map} +0 -0
  252. /package/dist/{chunk-NCS2NXSP.js.map → chunk-NIG54XKA.js.map} +0 -0
  253. /package/dist/{chunk-EIZUL6JC.js.map → chunk-NKO4VZRO.js.map} +0 -0
  254. /package/dist/{chunk-QZUT4VTV.js.map → chunk-O5OFHBAP.js.map} +0 -0
  255. /package/dist/{chunk-SZ6QV3DY.js.map → chunk-OM2YWPFX.js.map} +0 -0
  256. /package/dist/{chunk-7YD5XSJK.js.map → chunk-OOJMQV3L.js.map} +0 -0
  257. /package/dist/{chunk-FJTRNFI4.js.map → chunk-P3COXHWB.js.map} +0 -0
  258. /package/dist/{chunk-ZG4GNPRE.js.map → chunk-PBE7NFB5.js.map} +0 -0
  259. /package/dist/{chunk-SZK2DX5U.js.map → chunk-PCMGMPQZ.js.map} +0 -0
  260. /package/dist/{chunk-WIV37T4U.js.map → chunk-QBNZLS3U.js.map} +0 -0
  261. /package/dist/{chunk-DLZGSZVC.js.map → chunk-RJ5L6LRD.js.map} +0 -0
  262. /package/dist/{chunk-342VFB56.js.map → chunk-RVPISCKY.js.map} +0 -0
  263. /package/dist/{chunk-BYWNF25B.js.map → chunk-SFHEIWIE.js.map} +0 -0
  264. /package/dist/{chunk-YXFY4YOF.js.map → chunk-TD72RHHZ.js.map} +0 -0
  265. /package/dist/{chunk-FREKFMCA.js.map → chunk-TJE4LIVD.js.map} +0 -0
  266. /package/dist/{chunk-M5GVCJSJ.js.map → chunk-TVWLYSX4.js.map} +0 -0
  267. /package/dist/{chunk-O3GZPLVY.js.map → chunk-UUSL22HE.js.map} +0 -0
  268. /package/dist/{chunk-63JPXUFA.js.map → chunk-VKTZXJSR.js.map} +0 -0
  269. /package/dist/{chunk-27N6SGEY.js.map → chunk-VNMJWFYR.js.map} +0 -0
  270. /package/dist/{chunk-AA6G3W3B.js.map → chunk-W236BAJR.js.map} +0 -0
  271. /package/dist/{chunk-GCHM5BYL.js.map → chunk-WWQMZBDI.js.map} +0 -0
  272. /package/dist/{chunk-OVZIYLBZ.js.map → chunk-YCK26VSL.js.map} +0 -0
  273. /package/dist/{chunk-3GHQCNNG.js.map → chunk-YJUZ465J.js.map} +0 -0
  274. /package/dist/{chunk-QHDBKC5Z.js.map → chunk-ZFJOPBQD.js.map} +0 -0
  275. /package/dist/{resolution-7XBNQVKU.js.map → entity-canonical-id-migration-ZOWR44RK.js.map} +0 -0
@@ -16,6 +16,9 @@ import {
16
16
  syncWearableSource,
17
17
  wearableSourceLabel
18
18
  } from "./chunk-ZZYJNT2J.js";
19
+ import {
20
+ chatgptReplayNormalizer
21
+ } from "./chunk-MMACM5G2.js";
19
22
  import {
20
23
  claudeReplayNormalizer
21
24
  } from "./chunk-54BGIBCR.js";
@@ -31,12 +34,12 @@ import {
31
34
  WorkStorage
32
35
  } from "./chunk-MPC7TYTZ.js";
33
36
  import {
34
- chatgptReplayNormalizer
35
- } from "./chunk-MMACM5G2.js";
37
+ exportJsonBundle
38
+ } from "./chunk-UP6MOYCB.js";
36
39
  import {
37
40
  exportOkfBundle,
38
41
  parseIncludeStatus
39
- } from "./chunk-3GHQCNNG.js";
42
+ } from "./chunk-YJUZ465J.js";
40
43
  import {
41
44
  exportSqlite
42
45
  } from "./chunk-BV2TIZ4F.js";
@@ -60,10 +63,7 @@ import {
60
63
  } from "./chunk-765K3SAT.js";
61
64
  import {
62
65
  importCapsule
63
- } from "./chunk-HRMOKGQM.js";
64
- import {
65
- exportJsonBundle
66
- } from "./chunk-UP6MOYCB.js";
66
+ } from "./chunk-GCQIXPWZ.js";
67
67
  import {
68
68
  isSharedContextWriteInputError,
69
69
  parseSharedWriteOutputControls
@@ -71,7 +71,7 @@ import {
71
71
  import {
72
72
  buildStandup,
73
73
  parseStandupDate
74
- } from "./chunk-EGDUG2ZX.js";
74
+ } from "./chunk-MBBRU5LJ.js";
75
75
  import {
76
76
  SupportPassportAccessSurface,
77
77
  createSupportPassportModelAdapter,
@@ -86,7 +86,7 @@ import {
86
86
  import {
87
87
  ActivityStore,
88
88
  MaintenanceScheduler
89
- } from "./chunk-K5CM4M65.js";
89
+ } from "./chunk-ITT4SVVA.js";
90
90
  import {
91
91
  runPeerProfileReasoner
92
92
  } from "./chunk-I74SUMNI.js";
@@ -99,6 +99,9 @@ import {
99
99
  isReplaySource,
100
100
  normalizeReplaySessionKey
101
101
  } from "./chunk-AJVLDJU6.js";
102
+ import {
103
+ migrateFromEngram
104
+ } from "./chunk-VZAKYDMJ.js";
102
105
  import {
103
106
  TailscaleHelper
104
107
  } from "./chunk-SZDLX763.js";
@@ -110,13 +113,10 @@ import {
110
113
  } from "./chunk-EDR6CVWZ.js";
111
114
  import {
112
115
  rebuildMemoryLifecycleLedger
113
- } from "./chunk-UX7KPVAM.js";
116
+ } from "./chunk-GOT6G3C6.js";
114
117
  import {
115
118
  rebuildObservations
116
119
  } from "./chunk-WHCD4Z3D.js";
117
- import {
118
- migrateFromEngram
119
- } from "./chunk-VZAKYDMJ.js";
120
120
  import {
121
121
  backfillMemoryStorage,
122
122
  runLocationBackfill,
@@ -124,13 +124,18 @@ import {
124
124
  runLocationDay,
125
125
  runLocationStatus,
126
126
  runLocationSync
127
- } from "./chunk-NCS2NXSP.js";
127
+ } from "./chunk-NIG54XKA.js";
128
128
  import {
129
129
  archiveObservations
130
130
  } from "./chunk-7IGMKQWK.js";
131
131
  import {
132
132
  LcmEngine
133
- } from "./chunk-ZG4GNPRE.js";
133
+ } from "./chunk-PBE7NFB5.js";
134
+ import {
135
+ executeResolution,
136
+ isValidResolutionVerb,
137
+ runPreferenceDriftScan
138
+ } from "./chunk-PCMGMPQZ.js";
134
139
  import {
135
140
  chunkTranscriptEntries
136
141
  } from "./chunk-TECVW3JP.js";
@@ -140,16 +145,11 @@ import {
140
145
  import {
141
146
  CompoundingEngine,
142
147
  defaultTierMigrationCycleBudget
143
- } from "./chunk-4IMMF5W6.js";
148
+ } from "./chunk-F3PTUQIK.js";
144
149
  import {
145
150
  SharedContextManager,
146
151
  UNATTRIBUTED_ACCESS_WRITE_ORIGIN
147
152
  } from "./chunk-JVBAPAWZ.js";
148
- import {
149
- executeResolution,
150
- isValidResolutionVerb,
151
- runPreferenceDriftScan
152
- } from "./chunk-SZK2DX5U.js";
153
153
  import {
154
154
  getBulkImportSource,
155
155
  listBulkImportSources,
@@ -183,9 +183,16 @@ import {
183
183
  import {
184
184
  runCompatChecks
185
185
  } from "./chunk-2524MOWK.js";
186
+ import {
187
+ WriteRateLimiter
188
+ } from "./chunk-TB6CBZ5V.js";
186
189
  import {
187
190
  AdapterRegistry
188
- } from "./chunk-GCHM5BYL.js";
191
+ } from "./chunk-WWQMZBDI.js";
192
+ import {
193
+ compareVerifiedEpisodeResults,
194
+ searchVerifiedEpisodes
195
+ } from "./chunk-TD72RHHZ.js";
189
196
  import {
190
197
  WHO_KNOWS_DEFAULT_LIMIT,
191
198
  WHO_KNOWS_MCP_TOOLS,
@@ -193,13 +200,20 @@ import {
193
200
  handleWhoKnowsHttpQuery,
194
201
  loadWhoKnowsEntities,
195
202
  validateWhoKnowsInput
196
- } from "./chunk-FJTRNFI4.js";
203
+ } from "./chunk-P3COXHWB.js";
197
204
  import {
198
205
  WriteQuarantineStore
199
206
  } from "./chunk-BANSBRNX.js";
200
207
  import {
201
- WriteRateLimiter
202
- } from "./chunk-TB6CBZ5V.js";
208
+ getTrustZoneStoreStatus,
209
+ isTrustZoneName,
210
+ listTrustZoneRecords,
211
+ promoteTrustZoneRecord,
212
+ scoreTrustZoneProvenance,
213
+ searchTrustZoneRecords,
214
+ seedTrustZoneDemoDataset,
215
+ summarizeTrustZonePromotionReadiness
216
+ } from "./chunk-JWX2Q6HS.js";
203
217
  import {
204
218
  cleanArchivedUserMessage
205
219
  } from "./chunk-47DU4SGJ.js";
@@ -216,10 +230,6 @@ import {
216
230
  getUtilityTelemetryStatus,
217
231
  recordUtilityTelemetryEvent
218
232
  } from "./chunk-EOU6V4IN.js";
219
- import {
220
- compareVerifiedEpisodeResults,
221
- searchVerifiedEpisodes
222
- } from "./chunk-YXFY4YOF.js";
223
233
  import {
224
234
  extractTopics
225
235
  } from "./chunk-KVDUKH5E.js";
@@ -233,16 +243,6 @@ import {
233
243
  import {
234
244
  renderEpistemicHedge
235
245
  } from "./chunk-YN2UN7N3.js";
236
- import {
237
- getTrustZoneStoreStatus,
238
- isTrustZoneName,
239
- listTrustZoneRecords,
240
- promoteTrustZoneRecord,
241
- scoreTrustZoneProvenance,
242
- searchTrustZoneRecords,
243
- seedTrustZoneDemoDataset,
244
- summarizeTrustZonePromotionReadiness
245
- } from "./chunk-JWX2Q6HS.js";
246
246
  import {
247
247
  CODEX_THREAD_KEY_PREFIX
248
248
  } from "./chunk-4EX5WZ4M.js";
@@ -258,6 +258,10 @@ import {
258
258
  import {
259
259
  TmtBuilder
260
260
  } from "./chunk-ECZU5BJH.js";
261
+ import {
262
+ buildTargetedFactRecallSection,
263
+ shouldRecallTargetedFactEvidence
264
+ } from "./chunk-77NTFICT.js";
261
265
  import {
262
266
  buildTemporalTimelineRecallSection
263
267
  } from "./chunk-VHF73MGU.js";
@@ -265,10 +269,6 @@ import {
265
269
  HourlySummarizer,
266
270
  summarizeHourlyStatus
267
271
  } from "./chunk-XF2QQQXO.js";
268
- import {
269
- buildTargetedFactRecallSection,
270
- shouldRecallTargetedFactEvidence
271
- } from "./chunk-77NTFICT.js";
272
272
  import {
273
273
  migrateSessionTranscripts,
274
274
  planSessionTranscriptMigration
@@ -280,11 +280,11 @@ import {
280
280
  } from "./chunk-LJLGH2DE.js";
281
281
  import {
282
282
  promoteSemanticRuleFromMemory
283
- } from "./chunk-FONPAA43.js";
283
+ } from "./chunk-HQJAQENN.js";
284
284
  import {
285
285
  compareVerifiedSemanticRuleResults,
286
286
  searchVerifiedSemanticRules
287
- } from "./chunk-342VFB56.js";
287
+ } from "./chunk-RVPISCKY.js";
288
288
  import {
289
289
  SessionObserverState
290
290
  } from "./chunk-ODZKV2F7.js";
@@ -307,7 +307,7 @@ import {
307
307
  buildResumeBundleFromState,
308
308
  getResumeBundleStatus,
309
309
  recordResumeBundle
310
- } from "./chunk-2NJ74RQU.js";
310
+ } from "./chunk-LE27GU4M.js";
311
311
  import {
312
312
  getWorkProductLedgerStatus,
313
313
  recordWorkProductLedgerEntry,
@@ -362,11 +362,11 @@ import {
362
362
  } from "./chunk-G4NKURT4.js";
363
363
  import {
364
364
  runRecallWhy
365
- } from "./chunk-EIZUL6JC.js";
365
+ } from "./chunk-NKO4VZRO.js";
366
366
  import {
367
367
  indexStateViewAnnotatedResults,
368
368
  resolveRecallStateViewActive
369
- } from "./chunk-SZ6QV3DY.js";
369
+ } from "./chunk-OM2YWPFX.js";
370
370
  import {
371
371
  applyRecallStateViews
372
372
  } from "./chunk-DBB5JPSL.js";
@@ -375,6 +375,9 @@ import {
375
375
  filterRecentScanMemories,
376
376
  stateViewPacketActive
377
377
  } from "./chunk-G2DF5MI7.js";
378
+ import {
379
+ RECALL_NAVIGATION_MCP_TOOLS
380
+ } from "./chunk-TE6S7KDF.js";
378
381
  import {
379
382
  renderNavigationResult
380
383
  } from "./chunk-KIW3OOZE.js";
@@ -388,9 +391,6 @@ import {
388
391
  import {
389
392
  maybeRespondRecallNavigation
390
393
  } from "./chunk-WXDTOE6F.js";
391
- import {
392
- RECALL_NAVIGATION_MCP_TOOLS
393
- } from "./chunk-TE6S7KDF.js";
394
394
  import {
395
395
  takeNavigateBudget
396
396
  } from "./chunk-VYDGHJIN.js";
@@ -425,7 +425,10 @@ import {
425
425
  decideRecallContextComposition,
426
426
  notifyContextComposition,
427
427
  recallFailureComposition
428
- } from "./chunk-MGN2RQRG.js";
428
+ } from "./chunk-KAGLV5KH.js";
429
+ import {
430
+ installPrioritizedEmbedding
431
+ } from "./chunk-ROI7BK7H.js";
429
432
  import {
430
433
  collectPatternMemories,
431
434
  explainPatternMemory,
@@ -441,8 +444,8 @@ import {
441
444
  sanitizeRuntimePolicyValues
442
445
  } from "./chunk-2LA3H54D.js";
443
446
  import {
444
- installPrioritizedEmbedding
445
- } from "./chunk-ROI7BK7H.js";
447
+ buildEmbeddingAwareSnapshotStream
448
+ } from "./chunk-ZANNIXXE.js";
446
449
  import {
447
450
  formatNamespaceMaintenanceHealthText,
448
451
  readAggregateExtractionWatermark,
@@ -454,12 +457,12 @@ import {
454
457
  runOperatorRepair,
455
458
  runOperatorSetup,
456
459
  summarizeNamespaceMaintenanceHealth
457
- } from "./chunk-NM6UL4W5.js";
460
+ } from "./chunk-CPWZGM4E.js";
458
461
  import {
459
462
  NamespaceCatalog,
460
463
  isNamespaceKind,
461
464
  planNamespaceMaintenance
462
- } from "./chunk-XOOYE37V.js";
465
+ } from "./chunk-7SUAHTGH.js";
463
466
  import {
464
467
  analyzeSessionIntegrity,
465
468
  applySessionRepair,
@@ -469,8 +472,8 @@ import {
469
472
  ReplicaDivergenceMonitor
470
473
  } from "./chunk-7IWRLYFJ.js";
471
474
  import {
472
- buildEmbeddingAwareSnapshotStream
473
- } from "./chunk-ZANNIXXE.js";
475
+ recordMemoryOutcome
476
+ } from "./chunk-UD7UNYRD.js";
474
477
  import {
475
478
  NegativeExampleStore
476
479
  } from "./chunk-23L3IXFD.js";
@@ -478,12 +481,9 @@ import {
478
481
  applyMemoryWorthFilter,
479
482
  buildMemoryWorthCounterMap
480
483
  } from "./chunk-3GPTTA4J.js";
481
- import {
482
- recordMemoryOutcome
483
- } from "./chunk-UD7UNYRD.js";
484
484
  import {
485
485
  runMemoryBrowse
486
- } from "./chunk-LPDOCXHH.js";
486
+ } from "./chunk-2M7F2I7I.js";
487
487
  import {
488
488
  filterRecallCandidates,
489
489
  isGenericRecallExcludedPath,
@@ -491,7 +491,7 @@ import {
491
491
  isTopLevelArchivePath,
492
492
  journalPath,
493
493
  writeJournalFile
494
- } from "./chunk-F476AJQJ.js";
494
+ } from "./chunk-2642VLWP.js";
495
495
  import {
496
496
  REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
497
497
  REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL,
@@ -513,9 +513,6 @@ import {
513
513
  import {
514
514
  MEMORY_BROWSE_MCP_TOOLS
515
515
  } from "./chunk-EIB4FJVR.js";
516
- import {
517
- serializeInlineScriptValue
518
- } from "./chunk-3HSRWJTC.js";
519
516
  import {
520
517
  GITHUB_CONNECTOR_ID,
521
518
  GMAIL_CONNECTOR_ID,
@@ -534,6 +531,12 @@ import {
534
531
  import {
535
532
  listConnectorStates
536
533
  } from "./chunk-MDPT6QFK.js";
534
+ import {
535
+ coerceIncludedMemories
536
+ } from "./chunk-2YA5N2BY.js";
537
+ import {
538
+ serializeInlineScriptValue
539
+ } from "./chunk-3HSRWJTC.js";
537
540
  import {
538
541
  classifyMemoryKind
539
542
  } from "./chunk-YAZNBMNF.js";
@@ -542,9 +545,6 @@ import {
542
545
  rescoreMemoryImportance,
543
546
  scoreImportance
544
547
  } from "./chunk-UOBPK2OS.js";
545
- import {
546
- coerceIncludedMemories
547
- } from "./chunk-2YA5N2BY.js";
548
548
  import {
549
549
  buildGraphSnapshot
550
550
  } from "./chunk-YLTU2DC4.js";
@@ -554,11 +554,11 @@ import {
554
554
  harmonicEntitySegment,
555
555
  normalizedHarmonicEntityIdentity,
556
556
  persistHarmonicRecords
557
- } from "./chunk-D6IGZYTN.js";
557
+ } from "./chunk-FJEYZSJD.js";
558
558
  import {
559
559
  readProjectedHarmonicGraph,
560
560
  searchHarmonicRetrieval
561
- } from "./chunk-7YD5XSJK.js";
561
+ } from "./chunk-OOJMQV3L.js";
562
562
  import {
563
563
  removeNodeEdgesForRewrite,
564
564
  rollbackNodeEdgeRewrite
@@ -566,15 +566,22 @@ import {
566
566
  import {
567
567
  scoreEvidencePathDetail
568
568
  } from "./chunk-XXSOVESA.js";
569
+ import {
570
+ chunkExtractionWindow,
571
+ classifyDrainResult,
572
+ extractionWindowBudgetChars,
573
+ mergeDrainResults,
574
+ splitOversizedTurns
575
+ } from "./chunk-LEO4MQ3S.js";
569
576
  import {
570
577
  ExtractionEngine
571
- } from "./chunk-6WV76JHC.js";
578
+ } from "./chunk-22M7NYJK.js";
572
579
  import {
573
580
  wrapWorkLayerContext
574
581
  } from "./chunk-EI6V5UXY.js";
575
582
  import {
576
583
  CONNECTOR_LABEL_MAX_LENGTH
577
- } from "./chunk-63JPXUFA.js";
584
+ } from "./chunk-VKTZXJSR.js";
578
585
  import {
579
586
  isValidConnectorId
580
587
  } from "./chunk-YAVIBVCU.js";
@@ -593,12 +600,14 @@ import {
593
600
  parseMemoryActionEligibilityContext
594
601
  } from "./chunk-JHU4EYDV.js";
595
602
  import {
596
- chunkExtractionWindow,
597
- classifyDrainResult,
598
- extractionWindowBudgetChars,
599
- mergeDrainResults,
600
- splitOversizedTurns
601
- } from "./chunk-LEO4MQ3S.js";
603
+ REDACTION_RULES_SUBDIR,
604
+ contentMatchesRedactionRules,
605
+ loadRedactionRules
606
+ } from "./chunk-LTHVM4XN.js";
607
+ import {
608
+ EXTRACTION_JUDGE_VERDICT_CATEGORY,
609
+ recordJudgeVerdict
610
+ } from "./chunk-OZKOPQCM.js";
602
611
  import {
603
612
  recordJudgeTrainingPair
604
613
  } from "./chunk-PWFCHOB3.js";
@@ -609,18 +618,13 @@ import {
609
618
  judgeFactDurability,
610
619
  validateProcedureExtraction
611
620
  } from "./chunk-LMJVP5CM.js";
612
- import {
613
- REDACTION_RULES_SUBDIR,
614
- contentMatchesRedactionRules,
615
- loadRedactionRules
616
- } from "./chunk-LTHVM4XN.js";
617
621
  import {
618
622
  EXTERNAL_WIKI_MCP_TOOLS
619
623
  } from "./chunk-A5KNZSNA.js";
620
624
  import {
621
- EXTRACTION_JUDGE_VERDICT_CATEGORY,
622
- recordJudgeVerdict
623
- } from "./chunk-OZKOPQCM.js";
625
+ pickFactEventTimeAnchor,
626
+ resolveFactEventTime
627
+ } from "./chunk-IAIPNEHD.js";
624
628
  import {
625
629
  buildExplicitCueRecallSection
626
630
  } from "./chunk-NED7IR7B.js";
@@ -649,15 +653,11 @@ import {
649
653
  import {
650
654
  shouldRecallEventOrderEvidence
651
655
  } from "./chunk-BUYVPUEM.js";
652
- import {
653
- pickFactEventTimeAnchor,
654
- resolveFactEventTime
655
- } from "./chunk-IAIPNEHD.js";
656
656
  import {
657
657
  buildEntityRecallSection,
658
658
  entityRecentTranscriptLookbackHours,
659
659
  readRecentEntityTranscriptEntries
660
- } from "./chunk-UF5RTFN3.js";
660
+ } from "./chunk-2DXDHGLG.js";
661
661
  import {
662
662
  boundRecallContextComposition,
663
663
  composeMissingMemoryContext,
@@ -670,6 +670,9 @@ import {
670
670
  import {
671
671
  EmbeddingFallback
672
672
  } from "./chunk-SBRUTD5O.js";
673
+ import {
674
+ renderDeepRecallResult
675
+ } from "./chunk-RF2SMMPP.js";
673
676
  import {
674
677
  createDeepRecallSeedSearch
675
678
  } from "./chunk-3X5OPDPF.js";
@@ -679,10 +682,14 @@ import {
679
682
  import {
680
683
  tryDirectAnswer
681
684
  } from "./chunk-OB72KNMF.js";
685
+ import {
686
+ CrossNamespaceBudget,
687
+ toBudgetWarning
688
+ } from "./chunk-UFGFMWAD.js";
682
689
  import {
683
690
  getCueAnchorStoreStatus,
684
691
  pruneOrphanCueAnchors
685
- } from "./chunk-FL3O34XF.js";
692
+ } from "./chunk-FYJYQ65N.js";
686
693
  import {
687
694
  GraphDashboardServer
688
695
  } from "./chunk-EZ25VE3G.js";
@@ -691,24 +698,21 @@ import {
691
698
  } from "./chunk-7G5NTS7F.js";
692
699
  import {
693
700
  respondDeepRecall
694
- } from "./chunk-GAVFANAB.js";
701
+ } from "./chunk-NFNH4ZPB.js";
695
702
  import {
696
703
  DEEP_RECALL_MCP_TOOLS
697
704
  } from "./chunk-HUSTM6PU.js";
698
705
  import {
699
706
  callDeepRecallPolicyLlm
700
707
  } from "./chunk-SPAKBUJY.js";
701
- import {
702
- renderDeepRecallResult
703
- } from "./chunk-RF2SMMPP.js";
704
708
  import {
705
709
  refreshConvergedNamespaces
706
- } from "./chunk-FREKFMCA.js";
710
+ } from "./chunk-TJE4LIVD.js";
707
711
  import {
708
712
  rebuildMemoryProjection,
709
713
  repairMemoryProjection,
710
714
  verifyMemoryProjection
711
- } from "./chunk-DGLNT6VO.js";
715
+ } from "./chunk-HQV5GCMD.js";
712
716
  import {
713
717
  buildProposedActions,
714
718
  buildQualityScore,
@@ -717,7 +721,7 @@ import {
717
721
  readMemoryGovernanceRunArtifact,
718
722
  restoreMemoryGovernanceRun,
719
723
  runMemoryGovernance
720
- } from "./chunk-7NSGKXFD.js";
724
+ } from "./chunk-LYPBQHAX.js";
721
725
  import {
722
726
  collectNativeKnowledgeChunks,
723
727
  formatNativeKnowledgeSection,
@@ -726,19 +730,15 @@ import {
726
730
  import {
727
731
  CorpusWatermarkCache,
728
732
  computeServiceCorpusCensus
729
- } from "./chunk-UM22PKA3.js";
733
+ } from "./chunk-DVC2OYLF.js";
730
734
  import {
731
735
  listNamespaces,
732
736
  runNamespaceMigration,
733
737
  verifyNamespaces
734
- } from "./chunk-JCBKGPFE.js";
738
+ } from "./chunk-BFFKIME2.js";
735
739
  import {
736
740
  NamespaceStorageRouter
737
- } from "./chunk-27N6SGEY.js";
738
- import {
739
- CrossNamespaceBudget,
740
- toBudgetWarning
741
- } from "./chunk-UFGFMWAD.js";
741
+ } from "./chunk-VNMJWFYR.js";
742
742
  import {
743
743
  buildConnectorRowsFromDefinitions,
744
744
  parseConnectorsListOptions,
@@ -754,6 +754,19 @@ import {
754
754
  recordCommitmentLedgerEntry,
755
755
  transitionCommitmentLedgerEntryState
756
756
  } from "./chunk-ZAJLJ35W.js";
757
+ import {
758
+ buildConsolidationPrompt,
759
+ buildExtensionsBlockForConsolidation,
760
+ buildOperatorAwareConsolidationPrompt,
761
+ chooseConsolidationOperator,
762
+ findSimilarClusters,
763
+ materializeAfterSemanticConsolidation,
764
+ parseConsolidationResponse,
765
+ parseOperatorAwareConsolidationResponse
766
+ } from "./chunk-5XONJ5C4.js";
767
+ import {
768
+ resolveNamespaceChildRoot
769
+ } from "./chunk-3UXOZBHV.js";
757
770
  import {
758
771
  GraphIndex,
759
772
  analyzeGraphHealth
@@ -774,19 +787,6 @@ import {
774
787
  import {
775
788
  defaultCapsulesDir
776
789
  } from "./chunk-ZY2MNJR6.js";
777
- import {
778
- buildConsolidationPrompt,
779
- buildExtensionsBlockForConsolidation,
780
- buildOperatorAwareConsolidationPrompt,
781
- chooseConsolidationOperator,
782
- findSimilarClusters,
783
- materializeAfterSemanticConsolidation,
784
- parseConsolidationResponse,
785
- parseOperatorAwareConsolidationResponse
786
- } from "./chunk-WGM2KSWN.js";
787
- import {
788
- resolveNamespaceChildRoot
789
- } from "./chunk-3UXOZBHV.js";
790
790
  import {
791
791
  semanticChunkContent
792
792
  } from "./chunk-2GBFKHBZ.js";
@@ -795,13 +795,13 @@ import {
795
795
  } from "./chunk-6TBIWIAG.js";
796
796
  import {
797
797
  SmartBuffer
798
- } from "./chunk-BDIXKROL.js";
798
+ } from "./chunk-CPYVH6LI.js";
799
799
  import {
800
800
  ExtractionDeadlineError,
801
801
  ExtractionRunCoordinator,
802
802
  ProviderCircuitBreaker,
803
803
  classifyExtractionOrigin
804
- } from "./chunk-BYWNF25B.js";
804
+ } from "./chunk-SFHEIWIE.js";
805
805
  import {
806
806
  ARTIFACT_STATUS_CACHE_TTL_MS,
807
807
  BulkImportBatchPartialFailureError,
@@ -841,7 +841,7 @@ import {
841
841
  throwIfRecallAborted,
842
842
  tokenizeRecallQuery,
843
843
  utcDateKeysForLocalDay
844
- } from "./chunk-VRBGYSSQ.js";
844
+ } from "./chunk-KETT3EZO.js";
845
845
  import {
846
846
  inferIntentFromText,
847
847
  intentCompatibilityScore,
@@ -859,7 +859,11 @@ import {
859
859
  parseBriefingFocus,
860
860
  parseBriefingWindow,
861
861
  validateBriefingFormat
862
- } from "./chunk-WIV37T4U.js";
862
+ } from "./chunk-QBNZLS3U.js";
863
+ import {
864
+ BriefingTimeoutError,
865
+ withBriefingDeadline
866
+ } from "./chunk-FNFURZBZ.js";
863
867
  import {
864
868
  ReplayAdmissionRefusedError,
865
869
  StorageTargetRequiredError
@@ -885,9 +889,15 @@ import {
885
889
  BoxBuilder
886
890
  } from "./chunk-B7RWBZXW.js";
887
891
  import {
888
- BriefingTimeoutError,
889
- withBriefingDeadline
890
- } from "./chunk-FNFURZBZ.js";
892
+ meetingsBuild,
893
+ meetingsGet,
894
+ meetingsList,
895
+ wearablesStatus,
896
+ wearablesSync,
897
+ wearablesTranscriptDay,
898
+ wearablesTranscriptMemories,
899
+ wearablesTranscriptSearch
900
+ } from "./chunk-SYOIVK7K.js";
891
901
  import {
892
902
  evaluateMemoryActionPolicy
893
903
  } from "./chunk-MI2OTWV5.js";
@@ -914,7 +924,7 @@ import {
914
924
  validateCorrectionAction,
915
925
  validateCorrectionRequest,
916
926
  validateRedactionPattern
917
- } from "./chunk-CFSCKCT5.js";
927
+ } from "./chunk-B4I37XX6.js";
918
928
  import {
919
929
  compileCorrectionRule,
920
930
  correctionsFilePath,
@@ -1027,7 +1037,7 @@ import {
1027
1037
  reconstructFusionInputs,
1028
1038
  selfDeps,
1029
1039
  serializeFusionDay
1030
- } from "./chunk-IUXTKLZY.js";
1040
+ } from "./chunk-MSVBNOFX.js";
1031
1041
  import {
1032
1042
  buildRetiredFactTombstoneInputs
1033
1043
  } from "./chunk-QGVCFVX6.js";
@@ -1046,12 +1056,12 @@ import {
1046
1056
  embeddingBacklogExceeds,
1047
1057
  isSearchHealthDegraded,
1048
1058
  namespaceCollectionName
1049
- } from "./chunk-USVA4XWY.js";
1059
+ } from "./chunk-IIVDGKMW.js";
1050
1060
  import {
1051
1061
  createConversationIndexRuntime,
1052
1062
  createSearchBackend,
1053
1063
  isSearchBackendEnabled
1054
- } from "./chunk-GNIMBEOK.js";
1064
+ } from "./chunk-C7CP7OEG.js";
1055
1065
  import {
1056
1066
  NoopSearchBackend
1057
1067
  } from "./chunk-CYEPCZN5.js";
@@ -1098,7 +1108,7 @@ import {
1098
1108
  recordStrandedCommit,
1099
1109
  removeVersion,
1100
1110
  revertToVersion
1101
- } from "./chunk-KUQLUYIR.js";
1111
+ } from "./chunk-4QEDFEBY.js";
1102
1112
  import {
1103
1113
  HistoricalEntityCanonicalIdCache,
1104
1114
  canonicalizeEntityRefFrontmatter,
@@ -1109,7 +1119,7 @@ import {
1109
1119
  requestEntityCanonicalIdReconcile,
1110
1120
  requestEntityCanonicalIdReconcileSync,
1111
1121
  withRawEntityPageMutation
1112
- } from "./chunk-O3GZPLVY.js";
1122
+ } from "./chunk-UUSL22HE.js";
1113
1123
  import {
1114
1124
  applyTemporalSupersession,
1115
1125
  applyTemporalSupersessionPrimaryMutation,
@@ -1132,6 +1142,9 @@ import {
1132
1142
  import {
1133
1143
  renderQmdBacklogStatus
1134
1144
  } from "./chunk-IUM3VSHI.js";
1145
+ import {
1146
+ mergeSearchQueryOptions
1147
+ } from "./chunk-B7HYXVME.js";
1135
1148
  import {
1136
1149
  isUntrustedOrigin,
1137
1150
  parseOriginClass
@@ -1151,6 +1164,12 @@ import {
1151
1164
  import {
1152
1165
  fallbackLlmRuntimeContextFromConfig
1153
1166
  } from "./chunk-QSF5SJAM.js";
1167
+ import {
1168
+ createBoundedCoreSectionRunner,
1169
+ createRecallSectionMetricRecorder,
1170
+ resolveRecallCoreSectionDeadlineMs,
1171
+ runRecallSectionWithinDeadline
1172
+ } from "./chunk-RNFMFC37.js";
1154
1173
  import {
1155
1174
  coerceBool,
1156
1175
  coerceBooleanLike,
@@ -1166,11 +1185,8 @@ import {
1166
1185
  isHighImpactPersonalFact
1167
1186
  } from "./chunk-QW27DOHG.js";
1168
1187
  import {
1169
- createBoundedCoreSectionRunner,
1170
- createRecallSectionMetricRecorder,
1171
- resolveRecallCoreSectionDeadlineMs,
1172
- runRecallSectionWithinDeadline
1173
- } from "./chunk-RNFMFC37.js";
1188
+ engramRecallSearchOptionsMcpProperty
1189
+ } from "./chunk-CQ3IG3GZ.js";
1174
1190
  import {
1175
1191
  delegateExtractionForceFlush
1176
1192
  } from "./chunk-RMMA44HE.js";
@@ -1181,19 +1197,9 @@ import {
1181
1197
  SupportPassportError,
1182
1198
  buildSupportPassportPublicRequestHandler
1183
1199
  } from "./chunk-UPE7TJWN.js";
1184
- import {
1185
- meetingsBuild,
1186
- meetingsGet,
1187
- meetingsList,
1188
- wearablesStatus,
1189
- wearablesSync,
1190
- wearablesTranscriptDay,
1191
- wearablesTranscriptMemories,
1192
- wearablesTranscriptSearch
1193
- } from "./chunk-SYOIVK7K.js";
1194
1200
  import {
1195
1201
  splitCanonicalWriteRequest
1196
- } from "./chunk-3PZDG5ZH.js";
1202
+ } from "./chunk-A7SU5ET7.js";
1197
1203
  import {
1198
1204
  buildWithBriefingLocation,
1199
1205
  daySummaryAutoOptions,
@@ -1236,7 +1242,7 @@ import {
1236
1242
  retainedCategoryAlias,
1237
1243
  suggestionSubmitRequestSchema,
1238
1244
  validateRequest
1239
- } from "./chunk-DIBOWE53.js";
1245
+ } from "./chunk-YXPUQBHK.js";
1240
1246
  import {
1241
1247
  exportCapsule
1242
1248
  } from "./chunk-KQAFEZQX.js";
@@ -1541,11 +1547,14 @@ import {
1541
1547
  } from "./chunk-R2MBW2S4.js";
1542
1548
  import {
1543
1549
  getAbstractionNodeStoreStatus
1544
- } from "./chunk-G2CGIFRP.js";
1550
+ } from "./chunk-AXR472RS.js";
1545
1551
  import {
1546
1552
  MEMORY_CORPUS_VERSION_SENTINEL,
1547
1553
  bumpMemoryCorpusVersionForDir
1548
- } from "./chunk-M5GVCJSJ.js";
1554
+ } from "./chunk-TVWLYSX4.js";
1555
+ import {
1556
+ runInQmdSearchCacheRecallScope
1557
+ } from "./chunk-4U5VHHVF.js";
1549
1558
  import {
1550
1559
  buildQmdRecallCacheKey,
1551
1560
  getCachedQmdRecall,
@@ -15550,7 +15559,7 @@ var RecallInternalCoordinator = class {
15550
15559
  this.deps.profiler.endSpan("planning", profileTraceId);
15551
15560
  const recallMode = requestedMode ?? recallDecision.effectiveMode;
15552
15561
  const queryIntent = inferIntentFromText(retrievalQuery);
15553
- const qmdSearchOptions = this.deps.buildConfiguredQmdSearchOptions(retrievalQuery);
15562
+ const qmdSearchOptions = this.deps.buildConfiguredQmdSearchOptions(retrievalQuery, options.searchOptions);
15554
15563
  timings.recallPlan = recallMode;
15555
15564
  const plannerRecallResultLimit = recallMode === "no_recall" ? 0 : recallMode === "minimal" ? Math.max(
15556
15565
  0,
@@ -18519,6 +18528,7 @@ ${tmtNode.summary}`
18519
18528
  deadlineAtMs: enrichmentAssemblyDeadlineAtMs,
18520
18529
  asOfMs,
18521
18530
  requestingConnector: options.sourceConnector,
18531
+ searchOptions: qmdSearchOptions,
18522
18532
  ...options.includeLowConfidence === true ? { includeLowConfidence: true } : {}
18523
18533
  });
18524
18534
  recallTrustByPath = trustByPathSink.trustByPath;
@@ -18736,6 +18746,7 @@ ${tmtNode.summary}`
18736
18746
  deadlineAtMs: enrichmentAssemblyDeadlineAtMs,
18737
18747
  asOfMs,
18738
18748
  requestingConnector: options.sourceConnector,
18749
+ searchOptions: qmdSearchOptions,
18739
18750
  ...options.includeLowConfidence === true ? { includeLowConfidence: true } : {}
18740
18751
  });
18741
18752
  recallTrustByPath = trustByPathSink.trustByPath;
@@ -18890,6 +18901,7 @@ ${tmtNode.summary}`
18890
18901
  deadlineAtMs: enrichmentAssemblyDeadlineAtMs,
18891
18902
  asOfMs,
18892
18903
  requestingConnector: options.sourceConnector,
18904
+ searchOptions: qmdSearchOptions,
18893
18905
  ...options.includeLowConfidence === true ? { includeLowConfidence: true } : {}
18894
18906
  });
18895
18907
  recallTrustByPath = trustByPathSink.trustByPath;
@@ -18944,6 +18956,7 @@ ${tmtNode.summary}`
18944
18956
  deadlineAtMs: enrichmentAssemblyDeadlineAtMs,
18945
18957
  asOfMs,
18946
18958
  requestingConnector: options.sourceConnector,
18959
+ searchOptions: qmdSearchOptions,
18947
18960
  ...options.includeLowConfidence === true ? { includeLowConfidence: true } : {}
18948
18961
  });
18949
18962
  recallTrustByPath = trustByPathSink.trustByPath;
@@ -19662,177 +19675,187 @@ var RecallSearchPipelineCoordinator = class {
19662
19675
  const qmdRecallBudgetMs = this.deps.config.recallEnrichmentDeadlineMs ?? 6e4;
19663
19676
  const qmdRecallBudgetEnabled = qmdRecallBudgetMs > 0;
19664
19677
  const startedAtMs = Date.now();
19665
- let lastPrimaryResultCount = 0;
19666
- let lastHybridResultCount = 0;
19667
- let lastHybridTopUpUsed = false;
19668
- let lastHybridTopUpSkippedReason;
19669
- const backendHonorsQmdSearchSignals = (this.deps.config.searchBackend ?? "qmd") === "qmd";
19670
- const resolvedSearchOptions = (() => {
19671
- const resolver = this.deps.qmd.resolveSupportedSearchOptions;
19672
- if (typeof resolver === "function") {
19673
- return resolver.call(this.deps.qmd, options.searchOptions);
19674
- }
19675
- return options.searchOptions;
19676
- })();
19677
- const primarySearchOptions = backendHonorsQmdSearchSignals ? resolvedSearchOptions : options.searchOptions;
19678
- const debugSearchOptions = backendHonorsQmdSearchSignals ? resolvedSearchOptions : void 0;
19679
- const crossScriptVectorHits = options.crossScript ? await this.searchEmbeddingFallback(prompt, fetchLimit) : [];
19680
- let bestFiltered = filterRecallCandidates(scopedSeedResults, {
19681
- namespacesEnabled: options.namespacesEnabled,
19682
- recallNamespaces: options.recallNamespaces,
19683
- resolveNamespace: options.resolveNamespace,
19684
- limit: qmdFetchLimit,
19685
- pathPolicy: this.deps.config
19686
- });
19687
- const emitDebugSnapshot = async (results, currentFetchLimit) => {
19688
- if (!options.onDebugSnapshot) return;
19689
- await options.onDebugSnapshot({
19690
- recordedAt: (/* @__PURE__ */ new Date()).toISOString(),
19691
- queryHash: createHash8("sha256").update(prompt).digest("hex"),
19692
- queryLength: prompt.length,
19693
- collection: options.collection,
19694
- namespaces: options.recallNamespaces,
19695
- fetchLimit: currentFetchLimit,
19696
- primaryResultCount: lastPrimaryResultCount,
19697
- hybridResultCount: lastHybridResultCount,
19698
- queryAwareSeedCount: scopedSeedResults.length,
19699
- resultCount: results.length,
19700
- intentHint: debugSearchOptions?.intent,
19701
- explainEnabled: debugSearchOptions?.explain === true,
19702
- hybridTopUpUsed: lastHybridTopUpUsed,
19703
- hybridTopUpSkippedReason: lastHybridTopUpSkippedReason,
19704
- results: results.slice(0, 32).map((result) => ({
19705
- ...result,
19706
- snippet: result.snippet.slice(0, 280)
19707
- }))
19708
- });
19709
- };
19710
- if (queryAwarePrefilter.candidatePaths?.size === 0) {
19711
- await emitDebugSnapshot([], fetchLimit);
19712
- return [];
19713
- }
19714
- for (; ; ) {
19715
- throwIfRecallAborted(options.abortSignal);
19716
- if (qmdRecallBudgetEnabled && Date.now() - startedAtMs >= qmdRecallBudgetMs) {
19717
- break;
19718
- }
19719
- let primaryResults = options.collection ? options.abortSignal ? await this.deps.qmd.search(
19720
- prompt,
19721
- options.collection,
19722
- fetchLimit,
19723
- primarySearchOptions,
19724
- {
19725
- signal: options.abortSignal,
19726
- onDegradation: options.onDegradation
19727
- }
19728
- ) : await this.deps.qmd.search(
19729
- prompt,
19730
- options.collection,
19731
- fetchLimit,
19732
- primarySearchOptions,
19733
- { onDegradation: options.onDegradation }
19734
- ) : await this.deps.searchAcrossNamespaces({
19735
- query: prompt,
19736
- namespaces: options.namespacesEnabled ? options.recallNamespaces : void 0,
19737
- maxResults: fetchLimit,
19738
- mode: "search",
19739
- searchOptions: primarySearchOptions,
19740
- execution: {
19741
- signal: options.abortSignal,
19742
- onDegradation: options.onDegradation
19743
- }
19744
- });
19745
- primaryResults = normalizeFlatQmdResults(primaryResults, this.deps.config, options.collection);
19746
- lastPrimaryResultCount = primaryResults.length;
19747
- lastHybridResultCount = 0;
19748
- lastHybridTopUpUsed = false;
19749
- lastHybridTopUpSkippedReason = void 0;
19750
- let mergedResults = primaryResults;
19751
- const primaryRecallableCount = primaryResults.filter(recallable).length;
19752
- const primaryIncludesArchivePath = primaryResults.some(
19753
- (result) => isTopLevelArchivePath(result.path, this.deps.config, "qmd")
19754
- );
19755
- if (primaryRecallableCount < qmdFetchLimit && (primaryResults.length < qmdFetchLimit || primaryIncludesArchivePath) && (!qmdRecallBudgetEnabled || Date.now() - startedAtMs < qmdRecallBudgetMs)) {
19756
- if (debugSearchOptions?.intent) {
19757
- lastHybridTopUpSkippedReason = "intent_hint_active";
19758
- } else if (this.deps.config.qmdSearchStrategy === "lex") {
19759
- lastHybridTopUpSkippedReason = "lex_strategy";
19760
- } else {
19761
- let hybridResults = options.collection ? await this.deps.qmd.hybridSearch(
19762
- prompt,
19763
- options.collection,
19764
- fetchLimit,
19765
- {
19766
- signal: options.abortSignal,
19767
- onDegradation: options.onDegradation
19768
- }
19769
- ) : await this.deps.searchAcrossNamespaces({
19770
- query: prompt,
19771
- namespaces: options.namespacesEnabled ? options.recallNamespaces : void 0,
19772
- maxResults: fetchLimit,
19773
- mode: "hybrid",
19774
- execution: {
19775
- signal: options.abortSignal,
19776
- onDegradation: options.onDegradation
19777
- }
19778
- });
19779
- hybridResults = normalizeFlatQmdResults(hybridResults, this.deps.config, options.collection);
19780
- lastHybridResultCount = hybridResults.length;
19781
- lastHybridTopUpUsed = hybridResults.length > 0;
19782
- if (hybridResults.length > 0) {
19783
- mergedResults = dedupeResultsByNamespace(
19784
- [...primaryResults, ...hybridResults],
19785
- this.deps.namespaceFromPath,
19786
- fetchLimit,
19787
- { transportFallback: "hybrid", filter: recallable }
19788
- );
19789
- }
19790
- }
19791
- }
19792
- if (crossScriptVectorHits.length > 0) {
19793
- mergedResults = dedupeResultsByNamespace(
19794
- [...mergedResults, ...crossScriptVectorHits],
19795
- this.deps.namespaceFromPath,
19796
- fetchLimit,
19797
- { filter: recallable }
19798
- );
19799
- }
19800
- if (scopedSeedResults.length > 0) {
19801
- mergedResults = dedupeResultsByNamespace(
19802
- [...scopedSeedResults, ...mergedResults],
19803
- this.deps.namespaceFromPath,
19804
- fetchLimit,
19805
- { filter: recallable }
19806
- );
19807
- }
19808
- const filteredResults = filterRecallCandidates(mergedResults, {
19678
+ return runInQmdSearchCacheRecallScope(qmdRecallBudgetMs, async () => {
19679
+ let lastPrimaryResultCount = 0;
19680
+ let lastHybridResultCount = 0;
19681
+ let lastHybridTopUpUsed = false;
19682
+ let lastHybridTopUpSkippedReason;
19683
+ const backendHonorsQmdSearchSignals = (this.deps.config.searchBackend ?? "qmd") === "qmd";
19684
+ const resolvedSearchOptions = (() => {
19685
+ const resolver = this.deps.qmd.resolveSupportedSearchOptions;
19686
+ if (typeof resolver === "function") {
19687
+ return resolver.call(this.deps.qmd, options.searchOptions);
19688
+ }
19689
+ return options.searchOptions;
19690
+ })();
19691
+ const primarySearchOptions = backendHonorsQmdSearchSignals ? resolvedSearchOptions : options.searchOptions;
19692
+ const debugSearchOptions = backendHonorsQmdSearchSignals ? resolvedSearchOptions : void 0;
19693
+ const crossScriptVectorHits = options.crossScript ? await this.searchEmbeddingFallback(prompt, fetchLimit) : [];
19694
+ let bestFiltered = filterRecallCandidates(scopedSeedResults, {
19809
19695
  namespacesEnabled: options.namespacesEnabled,
19810
19696
  recallNamespaces: options.recallNamespaces,
19811
19697
  resolveNamespace: options.resolveNamespace,
19812
- limit: fetchLimit,
19698
+ limit: qmdFetchLimit,
19813
19699
  pathPolicy: this.deps.config
19814
19700
  });
19815
- if (filteredResults.length >= qmdFetchLimit) {
19816
- const capped2 = filteredResults.slice(0, qmdFetchLimit);
19817
- await emitDebugSnapshot(capped2, fetchLimit);
19818
- return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, capped2, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
19819
- }
19820
- if (filteredResults.length > bestFiltered.length) {
19821
- bestFiltered = filteredResults;
19822
- }
19823
- if (primaryResults.length < fetchLimit) {
19824
- await emitDebugSnapshot(filteredResults, fetchLimit);
19825
- return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, filteredResults, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
19701
+ const emitDebugSnapshot = async (results, currentFetchLimit) => {
19702
+ if (!options.onDebugSnapshot) return;
19703
+ await options.onDebugSnapshot({
19704
+ recordedAt: (/* @__PURE__ */ new Date()).toISOString(),
19705
+ queryHash: createHash8("sha256").update(prompt).digest("hex"),
19706
+ queryLength: prompt.length,
19707
+ collection: options.collection,
19708
+ namespaces: options.recallNamespaces,
19709
+ fetchLimit: currentFetchLimit,
19710
+ primaryResultCount: lastPrimaryResultCount,
19711
+ hybridResultCount: lastHybridResultCount,
19712
+ queryAwareSeedCount: scopedSeedResults.length,
19713
+ resultCount: results.length,
19714
+ intentHint: debugSearchOptions?.intent,
19715
+ explainEnabled: debugSearchOptions?.explain === true,
19716
+ hybridTopUpUsed: lastHybridTopUpUsed,
19717
+ hybridTopUpSkippedReason: lastHybridTopUpSkippedReason,
19718
+ results: results.slice(0, 32).map((result) => ({
19719
+ ...result,
19720
+ snippet: result.snippet.slice(0, 280)
19721
+ }))
19722
+ });
19723
+ };
19724
+ if (queryAwarePrefilter.candidatePaths?.size === 0) {
19725
+ await emitDebugSnapshot([], fetchLimit);
19726
+ return [];
19826
19727
  }
19827
- if (fetchLimit >= maxFetchLimit) {
19828
- break;
19728
+ for (; ; ) {
19729
+ throwIfRecallAborted(options.abortSignal);
19730
+ if (qmdRecallBudgetEnabled && Date.now() - startedAtMs >= qmdRecallBudgetMs) {
19731
+ break;
19732
+ }
19733
+ let primaryResults = options.collection ? options.abortSignal ? await this.deps.qmd.search(
19734
+ prompt,
19735
+ options.collection,
19736
+ fetchLimit,
19737
+ primarySearchOptions,
19738
+ {
19739
+ signal: options.abortSignal,
19740
+ onDegradation: options.onDegradation
19741
+ }
19742
+ ) : await this.deps.qmd.search(
19743
+ prompt,
19744
+ options.collection,
19745
+ fetchLimit,
19746
+ primarySearchOptions,
19747
+ { onDegradation: options.onDegradation }
19748
+ ) : await this.deps.searchAcrossNamespaces({
19749
+ query: prompt,
19750
+ namespaces: options.namespacesEnabled ? options.recallNamespaces : void 0,
19751
+ maxResults: fetchLimit,
19752
+ mode: "search",
19753
+ searchOptions: primarySearchOptions,
19754
+ execution: {
19755
+ signal: options.abortSignal,
19756
+ onDegradation: options.onDegradation
19757
+ }
19758
+ });
19759
+ primaryResults = normalizeFlatQmdResults(primaryResults, this.deps.config, options.collection);
19760
+ lastPrimaryResultCount = primaryResults.length;
19761
+ lastHybridResultCount = 0;
19762
+ lastHybridTopUpUsed = false;
19763
+ lastHybridTopUpSkippedReason = void 0;
19764
+ let mergedResults = primaryResults;
19765
+ const primaryDeliverableCount = filterRecallCandidates(primaryResults, {
19766
+ namespacesEnabled: options.namespacesEnabled,
19767
+ recallNamespaces: options.recallNamespaces,
19768
+ resolveNamespace: options.resolveNamespace,
19769
+ limit: qmdFetchLimit,
19770
+ pathPolicy: this.deps.config
19771
+ }).length;
19772
+ const primaryIncludesArchivePath = primaryResults.some(
19773
+ (result) => isTopLevelArchivePath(result.path, this.deps.config, "qmd")
19774
+ );
19775
+ if (primaryDeliverableCount >= qmdFetchLimit) {
19776
+ lastHybridTopUpSkippedReason = "primary_deliverable_sufficient";
19777
+ } else if ((primaryResults.length < qmdFetchLimit || primaryIncludesArchivePath) && (!qmdRecallBudgetEnabled || Date.now() - startedAtMs < qmdRecallBudgetMs)) {
19778
+ if (debugSearchOptions?.intent) {
19779
+ lastHybridTopUpSkippedReason = "intent_hint_active";
19780
+ } else if (this.deps.config.qmdSearchStrategy === "lex") {
19781
+ lastHybridTopUpSkippedReason = "lex_strategy";
19782
+ } else {
19783
+ let hybridResults = options.collection ? await this.deps.qmd.hybridSearch(
19784
+ prompt,
19785
+ options.collection,
19786
+ fetchLimit,
19787
+ {
19788
+ signal: options.abortSignal,
19789
+ onDegradation: options.onDegradation
19790
+ }
19791
+ ) : await this.deps.searchAcrossNamespaces({
19792
+ query: prompt,
19793
+ namespaces: options.namespacesEnabled ? options.recallNamespaces : void 0,
19794
+ maxResults: fetchLimit,
19795
+ mode: "hybrid",
19796
+ execution: {
19797
+ signal: options.abortSignal,
19798
+ onDegradation: options.onDegradation
19799
+ }
19800
+ });
19801
+ hybridResults = normalizeFlatQmdResults(hybridResults, this.deps.config, options.collection);
19802
+ lastHybridResultCount = hybridResults.length;
19803
+ lastHybridTopUpUsed = hybridResults.length > 0;
19804
+ if (hybridResults.length > 0) {
19805
+ mergedResults = dedupeResultsByNamespace(
19806
+ [...primaryResults, ...hybridResults],
19807
+ this.deps.namespaceFromPath,
19808
+ fetchLimit,
19809
+ { transportFallback: "hybrid", filter: recallable }
19810
+ );
19811
+ }
19812
+ }
19813
+ }
19814
+ if (crossScriptVectorHits.length > 0) {
19815
+ mergedResults = dedupeResultsByNamespace(
19816
+ [...mergedResults, ...crossScriptVectorHits],
19817
+ this.deps.namespaceFromPath,
19818
+ fetchLimit,
19819
+ { filter: recallable }
19820
+ );
19821
+ }
19822
+ if (scopedSeedResults.length > 0) {
19823
+ mergedResults = dedupeResultsByNamespace(
19824
+ [...scopedSeedResults, ...mergedResults],
19825
+ this.deps.namespaceFromPath,
19826
+ fetchLimit,
19827
+ { filter: recallable }
19828
+ );
19829
+ }
19830
+ const filteredResults = filterRecallCandidates(mergedResults, {
19831
+ namespacesEnabled: options.namespacesEnabled,
19832
+ recallNamespaces: options.recallNamespaces,
19833
+ resolveNamespace: options.resolveNamespace,
19834
+ limit: fetchLimit,
19835
+ pathPolicy: this.deps.config
19836
+ });
19837
+ if (filteredResults.length >= qmdFetchLimit) {
19838
+ const capped2 = filteredResults.slice(0, qmdFetchLimit);
19839
+ await emitDebugSnapshot(capped2, fetchLimit);
19840
+ return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, capped2, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
19841
+ }
19842
+ if (filteredResults.length > bestFiltered.length) {
19843
+ bestFiltered = filteredResults;
19844
+ }
19845
+ if (primaryResults.length < fetchLimit) {
19846
+ await emitDebugSnapshot(filteredResults, fetchLimit);
19847
+ return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, filteredResults, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
19848
+ }
19849
+ if (fetchLimit >= maxFetchLimit) {
19850
+ break;
19851
+ }
19852
+ const growth = Math.max(20, Math.floor(fetchLimit / 2));
19853
+ fetchLimit = Math.min(maxFetchLimit, fetchLimit + growth);
19829
19854
  }
19830
- const growth = Math.max(20, Math.floor(fetchLimit / 2));
19831
- fetchLimit = Math.min(maxFetchLimit, fetchLimit + growth);
19832
- }
19833
- const capped = bestFiltered.slice(0, qmdFetchLimit);
19834
- await emitDebugSnapshot(capped, fetchLimit);
19835
- return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, capped, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
19855
+ const capped = bestFiltered.slice(0, qmdFetchLimit);
19856
+ await emitDebugSnapshot(capped, fetchLimit);
19857
+ return await applyDirectorySidecarDrillDown(this.deps.storage?.dir ?? "", prompt, capped, { enabled: Boolean(this.deps.storage?.dir) && isDirectorySidecarsEnabledForDir(this.deps.storage.dir), namespaces: options.namespacesEnabled ? options.recallNamespaces ?? [] : void 0 });
19858
+ });
19836
19859
  }
19837
19860
  async searchEmbeddingFallback(query, limit) {
19838
19861
  return searchEmbeddingFallback(this.deps, query, limit);
@@ -19934,7 +19957,7 @@ var RecallSearchPipelineCoordinator = class {
19934
19957
  resolveNamespace: (p) => this.deps.namespaceFromPath(p),
19935
19958
  collection: coldCollection,
19936
19959
  queryAwarePrefilter: options.queryAwarePrefilter,
19937
- searchOptions: this.deps.buildConfiguredQmdSearchOptions(options.prompt),
19960
+ searchOptions: this.deps.buildConfiguredQmdSearchOptions(options.prompt, options.searchOptions),
19938
19961
  abortSignal: stepSignal,
19939
19962
  onDegradation: (degradation) => {
19940
19963
  if (coldQmdObserverActive) {
@@ -28539,7 +28562,7 @@ var Orchestrator = class {
28539
28562
  async readNamespaceMaintenanceHealth() {
28540
28563
  return summarizeNamespaceMaintenanceHealth(this.config);
28541
28564
  }
28542
- buildConfiguredQmdSearchOptions(queryText) {
28565
+ buildConfiguredQmdSearchOptions(queryText, requestOverride) {
28543
28566
  const intentHint = resolveQmdCapabilities(this.config).qmdIntentHints ? buildQmdIntentHint(inferIntentFromText(queryText)) : void 0;
28544
28567
  const explain = resolveQmdCapabilities(this.config).qmdExplain === true;
28545
28568
  const searchOptions = {};
@@ -28549,7 +28572,10 @@ var Orchestrator = class {
28549
28572
  if (explain) {
28550
28573
  searchOptions.explain = true;
28551
28574
  }
28552
- return Object.keys(searchOptions).length > 0 ? searchOptions : void 0;
28575
+ return mergeSearchQueryOptions(
28576
+ Object.keys(searchOptions).length > 0 ? searchOptions : void 0,
28577
+ requestOverride
28578
+ );
28553
28579
  }
28554
28580
  async searchAcrossNamespaces(options) {
28555
28581
  return this.namespaceReadFanoutCoordinator.searchAcrossNamespaces(
@@ -30033,9 +30059,7 @@ ${doc.content}` : doc.content
30033
30059
  );
30034
30060
  }
30035
30061
  async applyColdFallbackPipeline(options) {
30036
- return this.recallSearchPipelineCoordinator.applyColdFallbackPipeline(
30037
- options
30038
- );
30062
+ return this.recallSearchPipelineCoordinator.applyColdFallbackPipeline(options);
30039
30063
  }
30040
30064
  // ---------------------------------------------------------------------------
30041
30065
  // Access Tracking (Phase 1A)
@@ -35477,7 +35501,8 @@ var EngramMcpServer = class {
35477
35501
  stateView: {
35478
35502
  type: "boolean",
35479
35503
  description: "Opt in to state-aware recall views (issue #1952); ORs with the recallStateViews config flag."
35480
- }
35504
+ },
35505
+ searchOptions: engramRecallSearchOptionsMcpProperty
35481
35506
  },
35482
35507
  required: ["query"],
35483
35508
  additionalProperties: false
@@ -51089,7 +51114,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
51089
51114
  );
51090
51115
  }
51091
51116
  }
51092
- const { mergeCapsule } = await import("./capsule-merge-ILR35DIB.js");
51117
+ const { mergeCapsule } = await import("./capsule-merge-PCSDJOAO.js");
51093
51118
  const result = await mergeCapsule({
51094
51119
  sourceArchive,
51095
51120
  targetRoot: memoryDir,
@@ -53735,7 +53760,7 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
53735
53760
  console.error("--verb is required. Must be one of: keep-a, keep-b, merge, both-valid, needs-more-context");
53736
53761
  process.exit(1);
53737
53762
  }
53738
- const { isValidResolutionVerb: isValidResolutionVerb2, executeResolution: executeResolution2 } = await import("./resolution-7XBNQVKU.js");
53763
+ const { isValidResolutionVerb: isValidResolutionVerb2, executeResolution: executeResolution2 } = await import("./resolution-A3NAI3YE.js");
53739
53764
  if (!isValidResolutionVerb2(verb)) {
53740
53765
  console.error(`Invalid verb: ${verb}. Must be one of: keep-a, keep-b, merge, both-valid, needs-more-context`);
53741
53766
  process.exit(1);
@@ -62395,11 +62420,10 @@ var AccessRecallSurface = class {
62395
62420
  ...asOf !== void 0 ? { asOf } : {},
62396
62421
  ...request.includeLowConfidence === true ? { includeLowConfidence: true } : {},
62397
62422
  ...request.abortSignal ? { abortSignal: request.abortSignal } : {},
62398
- // Only surface a real wait: an uncontended recall (queueWaitMs 0) omits
62399
- // the field so recall-timings stays additive and byte-identical to the
62400
- // pre-#1906 uncontended path (acceptance: "record queueWaitMs ~0 or omit").
62423
+ // Omit queueWaitMs when 0 (#1906 uncontended path unchanged).
62401
62424
  ...typeof request.queueWaitMs === "number" && request.queueWaitMs > 0 ? { queueWaitMs: request.queueWaitMs } : {}
62402
62425
  };
62426
+ if (request.searchOptions) recallOptions.searchOptions = request.searchOptions;
62403
62427
  const startedAt = Date.now();
62404
62428
  let reservedBudgetPrincipal = null;
62405
62429
  let reservedBudget;
@@ -67483,4 +67507,4 @@ export {
67483
67507
  EngramAccessService,
67484
67508
  AccessAdminOpsSurface
67485
67509
  };
67486
- //# sourceMappingURL=chunk-JLD44JR7.js.map
67510
+ //# sourceMappingURL=chunk-ZNYOY2MM.js.map