@remnic/core 10.0.194 → 10.0.196

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 (323) hide show
  1. package/dist/access-admin-ops-surface.js +65 -66
  2. package/dist/access-cli.js +65 -66
  3. package/dist/access-cli.js.map +1 -1
  4. package/dist/access-coding-context-resolution.js +2 -2
  5. package/dist/access-extraction-force-flush-preempt.js +65 -66
  6. package/dist/access-extraction-force-flush.js +65 -66
  7. package/dist/access-http-briefing.js +65 -66
  8. package/dist/access-http-query.js +65 -66
  9. package/dist/access-http.js +65 -66
  10. package/dist/access-identity-continuity-surface.js +65 -66
  11. package/dist/access-lcm-surface.js +65 -66
  12. package/dist/access-mcp.d.ts.map +1 -1
  13. package/dist/access-mcp.js +65 -66
  14. package/dist/access-observe-write-category.js +2 -2
  15. package/dist/access-observe-write-surface.js +65 -66
  16. package/dist/access-operations-batch.js +65 -66
  17. package/dist/access-operations.js +65 -66
  18. package/dist/access-recall-concurrency.d.ts +4 -0
  19. package/dist/access-recall-concurrency.d.ts.map +1 -1
  20. package/dist/access-recall-concurrency.js +65 -66
  21. package/dist/access-recall-diagnostics.js +2 -2
  22. package/dist/access-recall-response.d.ts.map +1 -1
  23. package/dist/access-recall-response.js +65 -66
  24. package/dist/access-recall-surface.d.ts.map +1 -1
  25. package/dist/access-recall-surface.js +65 -66
  26. package/dist/access-schema.d.ts +1 -0
  27. package/dist/access-schema.d.ts.map +1 -1
  28. package/dist/access-schema.js +1 -1
  29. package/dist/access-service.d.ts.map +1 -1
  30. package/dist/access-service.js +65 -66
  31. package/dist/active-recall.js +7 -6
  32. package/dist/active-recall.js.map +1 -1
  33. package/dist/{auto-sync-BJUAGKI5.js → auto-sync-BEW65FDT.js} +6 -5
  34. package/dist/{auto-sync-BJUAGKI5.js.map → auto-sync-BEW65FDT.js.map} +1 -1
  35. package/dist/briefing.js +7 -6
  36. package/dist/buffer.d.ts +1 -0
  37. package/dist/buffer.d.ts.map +1 -1
  38. package/dist/buffer.js +3 -3
  39. package/dist/calibration.js +5 -4
  40. package/dist/calibration.js.map +1 -1
  41. package/dist/causal-consolidation.js +8 -7
  42. package/dist/causal-consolidation.js.map +1 -1
  43. package/dist/{chunk-FZU62GIV.js → chunk-2X5I5C3M.js} +27 -10
  44. package/dist/chunk-2X5I5C3M.js.map +1 -0
  45. package/dist/{chunk-F2MVWUNF.js → chunk-374E2HYZ.js} +10 -2
  46. package/dist/chunk-374E2HYZ.js.map +1 -0
  47. package/dist/{chunk-3ZS3NUEI.js → chunk-3DSLTUK6.js} +2 -2
  48. package/dist/{chunk-DYUPSTCV.js → chunk-3EXG2KPK.js} +3 -3
  49. package/dist/{chunk-FGFU6J26.js → chunk-4FTYKZ77.js} +3 -3
  50. package/dist/{chunk-QIPRDRGM.js → chunk-4HEJDVPU.js} +1 -1
  51. package/dist/chunk-4HEJDVPU.js.map +1 -0
  52. package/dist/{chunk-EEA2RM4B.js → chunk-4I6A3SDL.js} +2 -2
  53. package/dist/{chunk-SKJM4PKE.js → chunk-4JI5PPFW.js} +2 -2
  54. package/dist/{chunk-TDG5NZAZ.js → chunk-65JA7LWV.js} +2 -2
  55. package/dist/{chunk-3YID7KZ6.js → chunk-6QMKUWXH.js} +2 -2
  56. package/dist/{chunk-7SOKOEAZ.js → chunk-6RRHTHKQ.js} +2 -2
  57. package/dist/{chunk-VHQNJW4Q.js → chunk-6W62D4MC.js} +2 -2
  58. package/dist/{chunk-CRS2NY44.js → chunk-7O6H7BPW.js} +2 -2
  59. package/dist/{chunk-VSLV3EEP.js → chunk-7TK5Q6LQ.js} +112 -81
  60. package/dist/chunk-7TK5Q6LQ.js.map +1 -0
  61. package/dist/{chunk-NN3LMWKA.js → chunk-7TQ3EDQ3.js} +1 -1
  62. package/dist/chunk-7TQ3EDQ3.js.map +1 -0
  63. package/dist/{chunk-KJ65WZHB.js → chunk-A7DIZOTF.js} +2 -2
  64. package/dist/{chunk-TZ7ZA2LM.js → chunk-AD3JOG2Q.js} +2 -2
  65. package/dist/{chunk-2QW5HPKU.js → chunk-AUDLHIHI.js} +35 -28
  66. package/dist/chunk-AUDLHIHI.js.map +1 -0
  67. package/dist/{chunk-BDFSVUUZ.js → chunk-C3H2QZOZ.js} +2 -1
  68. package/dist/chunk-C3H2QZOZ.js.map +1 -0
  69. package/dist/{chunk-7EP4FURO.js → chunk-C72YQM7E.js} +2 -2
  70. package/dist/{chunk-4EAVEDLG.js → chunk-CRKT2JXN.js} +9 -9
  71. package/dist/{chunk-CJSTQNE5.js → chunk-CTOMDCCA.js} +2 -2
  72. package/dist/{chunk-PSQ347YP.js → chunk-DSKII2W4.js} +3 -3
  73. package/dist/{chunk-KOVQZJ27.js → chunk-E7LDTUWK.js} +2 -2
  74. package/dist/{chunk-SPAKBUJY.js → chunk-EWLMEYLF.js} +2 -2
  75. package/dist/{chunk-JJ42IDJU.js → chunk-FEGQI5KR.js} +2 -2
  76. package/dist/{chunk-3BICT225.js → chunk-FGNBUUPX.js} +2 -2
  77. package/dist/{chunk-QZMGZBTF.js → chunk-HBG6CQEX.js} +2 -2
  78. package/dist/{chunk-7V6GNQC2.js → chunk-HINQENZG.js} +2 -2
  79. package/dist/{chunk-WRVKI6ZO.js → chunk-HLQXSX4F.js} +2 -2
  80. package/dist/{chunk-KQIOW3TG.js → chunk-HUDE2SQA.js} +2 -2
  81. package/dist/{chunk-T765HQ5U.js → chunk-IIDAN7XJ.js} +2 -2
  82. package/dist/{chunk-M7Q7Z6V5.js → chunk-JDZ5JPYG.js} +38 -8
  83. package/dist/chunk-JDZ5JPYG.js.map +1 -0
  84. package/dist/{chunk-VMNX2UV7.js → chunk-JRUOIEFL.js} +5 -5
  85. package/dist/{chunk-JKMIGCK6.js → chunk-KDGEEZOI.js} +3 -2
  86. package/dist/chunk-KDGEEZOI.js.map +1 -0
  87. package/dist/{chunk-MMRTPH3J.js → chunk-KQYGUFMQ.js} +5 -3
  88. package/dist/chunk-KQYGUFMQ.js.map +1 -0
  89. package/dist/{chunk-TWYYUMYO.js → chunk-KXAGZRJV.js} +2 -2
  90. package/dist/{chunk-JITK24KX.js → chunk-LJNCJK7B.js} +10 -10
  91. package/dist/{chunk-Z6EFSXU3.js → chunk-LMM2LRVQ.js} +2 -2
  92. package/dist/{chunk-V65H7MI6.js → chunk-M42UFQZY.js} +51 -4
  93. package/dist/chunk-M42UFQZY.js.map +1 -0
  94. package/dist/{chunk-KZ4BJRGQ.js → chunk-ODGVLSCQ.js} +2 -2
  95. package/dist/{chunk-AALJHIKH.js → chunk-OHJ5PNYB.js} +3 -3
  96. package/dist/{chunk-XZMQLON4.js → chunk-OK726OF4.js} +7 -5
  97. package/dist/chunk-OK726OF4.js.map +1 -0
  98. package/dist/{chunk-Q6S67LHR.js → chunk-OOMFFMX3.js} +2 -2
  99. package/dist/{chunk-YCJJODER.js → chunk-PNDTRIOI.js} +10 -3
  100. package/dist/chunk-PNDTRIOI.js.map +1 -0
  101. package/dist/{chunk-3RZ4GDOH.js → chunk-PX4AMRAN.js} +93 -23
  102. package/dist/chunk-PX4AMRAN.js.map +1 -0
  103. package/dist/{chunk-JNDMIAJ4.js → chunk-QEVZKJM6.js} +2 -2
  104. package/dist/{chunk-ZNCCX7P6.js → chunk-QO5QZR2U.js} +2 -2
  105. package/dist/{chunk-NFQKIZK3.js → chunk-QXEF66SC.js} +2 -2
  106. package/dist/{chunk-NKHRIDYP.js → chunk-RTXW6E6X.js} +3 -3
  107. package/dist/{chunk-5WDUY2ZZ.js → chunk-S4QWAWR6.js} +4 -4
  108. package/dist/{chunk-HEJFE3BC.js → chunk-SJCN7ESG.js} +2 -2
  109. package/dist/{chunk-AJ7JHHRY.js → chunk-SPPWVMP4.js} +2 -2
  110. package/dist/{chunk-QSF5SJAM.js → chunk-STQNKDKZ.js} +9 -3
  111. package/dist/chunk-STQNKDKZ.js.map +1 -0
  112. package/dist/{chunk-QFKNIKUF.js → chunk-SXR7L57Z.js} +2 -2
  113. package/dist/{chunk-GYCUX3N4.js → chunk-TGMIJABS.js} +2 -2
  114. package/dist/{chunk-GH7IKABD.js → chunk-UFJJMQDV.js} +2 -2
  115. package/dist/{chunk-FKHXXL42.js → chunk-VAE6QCZQ.js} +2 -2
  116. package/dist/{chunk-UH2VY2QQ.js → chunk-WCW7I7ZM.js} +2 -2
  117. package/dist/{chunk-5GIYIYJI.js → chunk-WLP3XJCO.js} +2 -2
  118. package/dist/{chunk-STSORBX5.js → chunk-XII23FXP.js} +1 -1
  119. package/dist/chunk-XII23FXP.js.map +1 -0
  120. package/dist/{chunk-LR6LWX33.js → chunk-XXDIPAUE.js} +2 -2
  121. package/dist/{chunk-G2MS56KM.js → chunk-YQUGYQRY.js} +2 -2
  122. package/dist/{chunk-WEI6HEUX.js → chunk-YXAH5TSN.js} +2 -2
  123. package/dist/{chunk-75K6DRPN.js → chunk-ZAVFAGBE.js} +2 -2
  124. package/dist/{chunk-7KTORRIK.js → chunk-ZNJU3NBJ.js} +2 -2
  125. package/dist/cli.js +65 -66
  126. package/dist/coding/export-okf-codegraph.js +9 -8
  127. package/dist/coding/export-okf-codegraph.js.map +1 -1
  128. package/dist/compounding/engine.js +8 -7
  129. package/dist/config.d.ts.map +1 -1
  130. package/dist/config.js +7 -6
  131. package/dist/connectors/codex-materialize-runner.js +7 -6
  132. package/dist/connectors/index.js +7 -6
  133. package/dist/convergence-refresh.js +9 -8
  134. package/dist/corpus-watermark.js +9 -8
  135. package/dist/deep-recall-http-glue.js +2 -2
  136. package/dist/deep-recall-policy-llm.js +4 -3
  137. package/dist/entity-retrieval.js +7 -6
  138. package/dist/eval-trajectory-store.js +2 -2
  139. package/dist/eval-trajectory.js +2 -2
  140. package/dist/evals.d.ts.map +1 -1
  141. package/dist/evals.js +1 -1
  142. package/dist/explicit-capture.js +65 -66
  143. package/dist/extraction-error-classification.d.ts +40 -5
  144. package/dist/extraction-error-classification.d.ts.map +1 -1
  145. package/dist/extraction-error-classification.js +5 -2
  146. package/dist/extraction-faithfulness.js +4 -3
  147. package/dist/extraction-judge.js +4 -3
  148. package/dist/extraction.d.ts.map +1 -1
  149. package/dist/extraction.js +17 -18
  150. package/dist/fallback-llm-codex-subscription.d.ts +3 -1
  151. package/dist/fallback-llm-codex-subscription.d.ts.map +1 -1
  152. package/dist/fallback-llm-codex-subscription.js +2 -1
  153. package/dist/fallback-llm.d.ts.map +1 -1
  154. package/dist/fallback-llm.js +3 -2
  155. package/dist/harmonic-retrieval.js +7 -6
  156. package/dist/index.js +65 -66
  157. package/dist/live-connectors-runner.js +1 -2
  158. package/dist/local-llm-helpers.d.ts +1 -0
  159. package/dist/local-llm-helpers.d.ts.map +1 -1
  160. package/dist/local-llm-helpers.js +1 -1
  161. package/dist/local-llm.d.ts.map +1 -1
  162. package/dist/local-llm.js +4 -3
  163. package/dist/location/index.js +8 -7
  164. package/dist/maintenance/memory-governance.js +7 -6
  165. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -6
  166. package/dist/maintenance/rebuild-memory-projection-runner.js +9 -8
  167. package/dist/maintenance/rebuild-memory-projection.js +8 -7
  168. package/dist/memory-browse.js +3 -3
  169. package/dist/namespaces/migrate.js +8 -7
  170. package/dist/namespaces/storage.js +7 -6
  171. package/dist/operator-doctor-corpus.js +10 -9
  172. package/dist/operator-toolkit.js +15 -14
  173. package/dist/orchestration/backlog-scheduler.js +66 -67
  174. package/dist/orchestration/backlog-scheduler.js.map +1 -1
  175. package/dist/orchestration/buffer-drain-runner.js +66 -67
  176. package/dist/orchestration/extraction-drain.d.ts +1 -0
  177. package/dist/orchestration/extraction-drain.d.ts.map +1 -1
  178. package/dist/orchestration/extraction-run-helpers.d.ts +41 -4
  179. package/dist/orchestration/extraction-run-helpers.d.ts.map +1 -1
  180. package/dist/orchestration/extraction-run.d.ts +4 -0
  181. package/dist/orchestration/extraction-run.d.ts.map +1 -1
  182. package/dist/orchestration/maintenance.js +17 -16
  183. package/dist/orchestration/orchestrator-helpers.d.ts +2 -0
  184. package/dist/orchestration/orchestrator-helpers.d.ts.map +1 -1
  185. package/dist/orchestration/recall-entry.d.ts +2 -2
  186. package/dist/orchestration/recall-entry.d.ts.map +1 -1
  187. package/dist/orchestration/recall-internal.d.ts.map +1 -1
  188. package/dist/orchestrator.d.ts.map +1 -1
  189. package/dist/orchestrator.js +65 -66
  190. package/dist/recall-explain-renderer.js +3 -3
  191. package/dist/recall-navigate-access.js +2 -2
  192. package/dist/recall-navigate-disclosure.js +2 -2
  193. package/dist/recall-navigate.js +2 -2
  194. package/dist/recall-navigation.js +65 -66
  195. package/dist/recall-planner-llm.js +3 -2
  196. package/dist/recall-planner-llm.js.map +1 -1
  197. package/dist/recall-state-view-admission.js +3 -3
  198. package/dist/recall-why-service.js +3 -3
  199. package/dist/recall-xray-cli.js +4 -4
  200. package/dist/recall-xray-renderer.js +3 -3
  201. package/dist/recall-xray.js +2 -2
  202. package/dist/resume-bundles.js +8 -7
  203. package/dist/semantic-consolidation.js +8 -7
  204. package/dist/semantic-rule-promotion.js +7 -6
  205. package/dist/semantic-rule-verifier.js +7 -6
  206. package/dist/source-agent-qualifier.js +10 -9
  207. package/dist/standup/build.js +7 -6
  208. package/dist/storage.d.ts.map +1 -1
  209. package/dist/storage.js +6 -5
  210. package/dist/summarizer.js +6 -5
  211. package/dist/support-passport/index.js +6 -5
  212. package/dist/transfer/export-okf.js +7 -6
  213. package/dist/types-extraction-failure.d.ts +7 -1
  214. package/dist/types-extraction-failure.d.ts.map +1 -1
  215. package/dist/types.d.ts +6 -6
  216. package/dist/types.d.ts.map +1 -1
  217. package/dist/types.js +1 -1
  218. package/dist/verified-recall.js +7 -6
  219. package/dist/who-knows-cli.js +8 -7
  220. package/dist/who-knows.js +7 -6
  221. package/package.json +2 -2
  222. package/src/access-mcp.ts +8 -0
  223. package/src/access-recall-concurrency.ts +35 -2
  224. package/src/access-recall-response.ts +3 -1
  225. package/src/access-recall-surface.ts +1 -0
  226. package/src/access-schema.ts +8 -0
  227. package/src/access-service-recall-concurrency.test.ts +65 -0
  228. package/src/access-service.ts +4 -3
  229. package/src/buffer-incremental-persistence.test.ts +23 -0
  230. package/src/buffer.ts +30 -28
  231. package/src/config.ts +2 -0
  232. package/src/evals.ts +6 -6
  233. package/src/extraction-error-classification.ts +88 -8
  234. package/src/extraction-local-failure-class.test.ts +117 -3
  235. package/src/extraction-reply-diagnostic-wiring.test.ts +3 -1
  236. package/src/extraction.test.ts +73 -3
  237. package/src/extraction.ts +26 -25
  238. package/src/fallback-llm-codex-subscription.ts +17 -3
  239. package/src/fallback-llm.test.ts +70 -0
  240. package/src/fallback-llm.ts +17 -18
  241. package/src/local-llm-headers-timeout.test.ts +151 -0
  242. package/src/local-llm-helpers.ts +1 -1
  243. package/src/local-llm.ts +44 -43
  244. package/src/orchestration/extraction-drain.ts +11 -5
  245. package/src/orchestration/extraction-run-helpers.ts +110 -4
  246. package/src/orchestration/extraction-run.test.ts +408 -3
  247. package/src/orchestration/extraction-run.ts +75 -75
  248. package/src/orchestration/orchestrator-helpers.ts +2 -0
  249. package/src/orchestration/recall-entry.ts +7 -7
  250. package/src/orchestration/recall-internal.ts +14 -4
  251. package/src/orchestrator.ts +3 -2
  252. package/src/recall-client-deadline-trace.test.ts +209 -0
  253. package/src/storage.ts +5 -4
  254. package/src/types-extraction-failure.ts +12 -1
  255. package/src/types.ts +6 -6
  256. package/dist/chunk-2QW5HPKU.js.map +0 -1
  257. package/dist/chunk-3RZ4GDOH.js.map +0 -1
  258. package/dist/chunk-BDFSVUUZ.js.map +0 -1
  259. package/dist/chunk-C7SRUWBW.js +0 -54
  260. package/dist/chunk-C7SRUWBW.js.map +0 -1
  261. package/dist/chunk-F2MVWUNF.js.map +0 -1
  262. package/dist/chunk-FZU62GIV.js.map +0 -1
  263. package/dist/chunk-JKMIGCK6.js.map +0 -1
  264. package/dist/chunk-M7Q7Z6V5.js.map +0 -1
  265. package/dist/chunk-MMRTPH3J.js.map +0 -1
  266. package/dist/chunk-NN3LMWKA.js.map +0 -1
  267. package/dist/chunk-QIPRDRGM.js.map +0 -1
  268. package/dist/chunk-QSF5SJAM.js.map +0 -1
  269. package/dist/chunk-STSORBX5.js.map +0 -1
  270. package/dist/chunk-V65H7MI6.js.map +0 -1
  271. package/dist/chunk-VSLV3EEP.js.map +0 -1
  272. package/dist/chunk-XZMQLON4.js.map +0 -1
  273. package/dist/chunk-YCJJODER.js.map +0 -1
  274. /package/dist/{chunk-3ZS3NUEI.js.map → chunk-3DSLTUK6.js.map} +0 -0
  275. /package/dist/{chunk-DYUPSTCV.js.map → chunk-3EXG2KPK.js.map} +0 -0
  276. /package/dist/{chunk-FGFU6J26.js.map → chunk-4FTYKZ77.js.map} +0 -0
  277. /package/dist/{chunk-EEA2RM4B.js.map → chunk-4I6A3SDL.js.map} +0 -0
  278. /package/dist/{chunk-SKJM4PKE.js.map → chunk-4JI5PPFW.js.map} +0 -0
  279. /package/dist/{chunk-TDG5NZAZ.js.map → chunk-65JA7LWV.js.map} +0 -0
  280. /package/dist/{chunk-3YID7KZ6.js.map → chunk-6QMKUWXH.js.map} +0 -0
  281. /package/dist/{chunk-7SOKOEAZ.js.map → chunk-6RRHTHKQ.js.map} +0 -0
  282. /package/dist/{chunk-VHQNJW4Q.js.map → chunk-6W62D4MC.js.map} +0 -0
  283. /package/dist/{chunk-CRS2NY44.js.map → chunk-7O6H7BPW.js.map} +0 -0
  284. /package/dist/{chunk-KJ65WZHB.js.map → chunk-A7DIZOTF.js.map} +0 -0
  285. /package/dist/{chunk-TZ7ZA2LM.js.map → chunk-AD3JOG2Q.js.map} +0 -0
  286. /package/dist/{chunk-7EP4FURO.js.map → chunk-C72YQM7E.js.map} +0 -0
  287. /package/dist/{chunk-4EAVEDLG.js.map → chunk-CRKT2JXN.js.map} +0 -0
  288. /package/dist/{chunk-CJSTQNE5.js.map → chunk-CTOMDCCA.js.map} +0 -0
  289. /package/dist/{chunk-PSQ347YP.js.map → chunk-DSKII2W4.js.map} +0 -0
  290. /package/dist/{chunk-KOVQZJ27.js.map → chunk-E7LDTUWK.js.map} +0 -0
  291. /package/dist/{chunk-SPAKBUJY.js.map → chunk-EWLMEYLF.js.map} +0 -0
  292. /package/dist/{chunk-JJ42IDJU.js.map → chunk-FEGQI5KR.js.map} +0 -0
  293. /package/dist/{chunk-3BICT225.js.map → chunk-FGNBUUPX.js.map} +0 -0
  294. /package/dist/{chunk-QZMGZBTF.js.map → chunk-HBG6CQEX.js.map} +0 -0
  295. /package/dist/{chunk-7V6GNQC2.js.map → chunk-HINQENZG.js.map} +0 -0
  296. /package/dist/{chunk-WRVKI6ZO.js.map → chunk-HLQXSX4F.js.map} +0 -0
  297. /package/dist/{chunk-KQIOW3TG.js.map → chunk-HUDE2SQA.js.map} +0 -0
  298. /package/dist/{chunk-T765HQ5U.js.map → chunk-IIDAN7XJ.js.map} +0 -0
  299. /package/dist/{chunk-VMNX2UV7.js.map → chunk-JRUOIEFL.js.map} +0 -0
  300. /package/dist/{chunk-TWYYUMYO.js.map → chunk-KXAGZRJV.js.map} +0 -0
  301. /package/dist/{chunk-JITK24KX.js.map → chunk-LJNCJK7B.js.map} +0 -0
  302. /package/dist/{chunk-Z6EFSXU3.js.map → chunk-LMM2LRVQ.js.map} +0 -0
  303. /package/dist/{chunk-KZ4BJRGQ.js.map → chunk-ODGVLSCQ.js.map} +0 -0
  304. /package/dist/{chunk-AALJHIKH.js.map → chunk-OHJ5PNYB.js.map} +0 -0
  305. /package/dist/{chunk-Q6S67LHR.js.map → chunk-OOMFFMX3.js.map} +0 -0
  306. /package/dist/{chunk-JNDMIAJ4.js.map → chunk-QEVZKJM6.js.map} +0 -0
  307. /package/dist/{chunk-ZNCCX7P6.js.map → chunk-QO5QZR2U.js.map} +0 -0
  308. /package/dist/{chunk-NFQKIZK3.js.map → chunk-QXEF66SC.js.map} +0 -0
  309. /package/dist/{chunk-NKHRIDYP.js.map → chunk-RTXW6E6X.js.map} +0 -0
  310. /package/dist/{chunk-5WDUY2ZZ.js.map → chunk-S4QWAWR6.js.map} +0 -0
  311. /package/dist/{chunk-HEJFE3BC.js.map → chunk-SJCN7ESG.js.map} +0 -0
  312. /package/dist/{chunk-AJ7JHHRY.js.map → chunk-SPPWVMP4.js.map} +0 -0
  313. /package/dist/{chunk-QFKNIKUF.js.map → chunk-SXR7L57Z.js.map} +0 -0
  314. /package/dist/{chunk-GYCUX3N4.js.map → chunk-TGMIJABS.js.map} +0 -0
  315. /package/dist/{chunk-GH7IKABD.js.map → chunk-UFJJMQDV.js.map} +0 -0
  316. /package/dist/{chunk-FKHXXL42.js.map → chunk-VAE6QCZQ.js.map} +0 -0
  317. /package/dist/{chunk-UH2VY2QQ.js.map → chunk-WCW7I7ZM.js.map} +0 -0
  318. /package/dist/{chunk-5GIYIYJI.js.map → chunk-WLP3XJCO.js.map} +0 -0
  319. /package/dist/{chunk-LR6LWX33.js.map → chunk-XXDIPAUE.js.map} +0 -0
  320. /package/dist/{chunk-G2MS56KM.js.map → chunk-YQUGYQRY.js.map} +0 -0
  321. /package/dist/{chunk-WEI6HEUX.js.map → chunk-YXAH5TSN.js.map} +0 -0
  322. /package/dist/{chunk-75K6DRPN.js.map → chunk-ZAVFAGBE.js.map} +0 -0
  323. /package/dist/{chunk-7KTORRIK.js.map → chunk-ZNJU3NBJ.js.map} +0 -0
@@ -15,7 +15,7 @@ import {
15
15
  loadSyncState,
16
16
  syncWearableSource,
17
17
  wearableSourceLabel
18
- } from "./chunk-7KTORRIK.js";
18
+ } from "./chunk-ZNJU3NBJ.js";
19
19
  import {
20
20
  chatgptReplayNormalizer
21
21
  } from "./chunk-MMACM5G2.js";
@@ -39,7 +39,7 @@ import {
39
39
  import {
40
40
  exportOkfBundle,
41
41
  parseIncludeStatus
42
- } from "./chunk-EEA2RM4B.js";
42
+ } from "./chunk-4I6A3SDL.js";
43
43
  import {
44
44
  exportSqlite
45
45
  } from "./chunk-BV2TIZ4F.js";
@@ -71,12 +71,12 @@ import {
71
71
  import {
72
72
  buildStandup,
73
73
  parseStandupDate
74
- } from "./chunk-QFKNIKUF.js";
74
+ } from "./chunk-SXR7L57Z.js";
75
75
  import {
76
76
  SupportPassportAccessSurface,
77
77
  createSupportPassportModelAdapter,
78
78
  supportsSupportPassportPrivateFiles
79
- } from "./chunk-NKHRIDYP.js";
79
+ } from "./chunk-RTXW6E6X.js";
80
80
  import {
81
81
  RoutingRulesStore
82
82
  } from "./chunk-TBUEE7XF.js";
@@ -86,7 +86,7 @@ import {
86
86
  import {
87
87
  ActivityStore,
88
88
  MaintenanceScheduler
89
- } from "./chunk-JITK24KX.js";
89
+ } from "./chunk-LJNCJK7B.js";
90
90
  import {
91
91
  runPeerProfileReasoner
92
92
  } from "./chunk-WTXUUZYI.js";
@@ -113,7 +113,7 @@ import {
113
113
  } from "./chunk-6PEEZSGL.js";
114
114
  import {
115
115
  rebuildMemoryLifecycleLedger
116
- } from "./chunk-SKJM4PKE.js";
116
+ } from "./chunk-4JI5PPFW.js";
117
117
  import {
118
118
  rebuildObservations
119
119
  } from "./chunk-2X4WP4GD.js";
@@ -124,7 +124,7 @@ import {
124
124
  runLocationDay,
125
125
  runLocationStatus,
126
126
  runLocationSync
127
- } from "./chunk-AALJHIKH.js";
127
+ } from "./chunk-OHJ5PNYB.js";
128
128
  import {
129
129
  archiveObservations
130
130
  } from "./chunk-SBQOBY3S.js";
@@ -145,7 +145,7 @@ import {
145
145
  import {
146
146
  CompoundingEngine,
147
147
  defaultTierMigrationCycleBudget
148
- } from "./chunk-FGFU6J26.js";
148
+ } from "./chunk-4FTYKZ77.js";
149
149
  import {
150
150
  SharedContextManager,
151
151
  UNATTRIBUTED_ACCESS_WRITE_ORIGIN
@@ -188,7 +188,7 @@ import {
188
188
  parseDecisionRecord,
189
189
  resolveCodegraphProjectId,
190
190
  serializeDecisionRecord
191
- } from "./chunk-JJ42IDJU.js";
191
+ } from "./chunk-FEGQI5KR.js";
192
192
  import {
193
193
  lintOkfDir
194
194
  } from "./chunk-SQXCUH4L.js";
@@ -208,7 +208,7 @@ import {
208
208
  handleWhoKnowsHttpQuery,
209
209
  loadWhoKnowsEntities,
210
210
  validateWhoKnowsInput
211
- } from "./chunk-TWYYUMYO.js";
211
+ } from "./chunk-KXAGZRJV.js";
212
212
  import {
213
213
  WriteQuarantineStore
214
214
  } from "./chunk-BANSBRNX.js";
@@ -234,7 +234,7 @@ import {
234
234
  import {
235
235
  compareVerifiedEpisodeResults,
236
236
  searchVerifiedEpisodes
237
- } from "./chunk-UH2VY2QQ.js";
237
+ } from "./chunk-WCW7I7ZM.js";
238
238
  import {
239
239
  applyTrustScoreStage,
240
240
  buildTrustSignalsForRerank,
@@ -279,7 +279,7 @@ import {
279
279
  import {
280
280
  HourlySummarizer,
281
281
  summarizeHourlyStatus
282
- } from "./chunk-5WDUY2ZZ.js";
282
+ } from "./chunk-S4QWAWR6.js";
283
283
  import {
284
284
  buildTargetedFactRecallSection,
285
285
  shouldRecallTargetedFactEvidence
@@ -298,11 +298,11 @@ import {
298
298
  } from "./chunk-WWDO7ZWM.js";
299
299
  import {
300
300
  promoteSemanticRuleFromMemory
301
- } from "./chunk-QZMGZBTF.js";
301
+ } from "./chunk-HBG6CQEX.js";
302
302
  import {
303
303
  compareVerifiedSemanticRuleResults,
304
304
  searchVerifiedSemanticRules
305
- } from "./chunk-T765HQ5U.js";
305
+ } from "./chunk-IIDAN7XJ.js";
306
306
  import {
307
307
  buildResponseGuidanceRecallSection,
308
308
  shouldRecallResponseGuidance
@@ -311,7 +311,7 @@ import {
311
311
  buildResumeBundleFromState,
312
312
  getResumeBundleStatus,
313
313
  recordResumeBundle
314
- } from "./chunk-7EP4FURO.js";
314
+ } from "./chunk-C72YQM7E.js";
315
315
  import {
316
316
  getWorkProductLedgerStatus,
317
317
  recordWorkProductLedgerEntry,
@@ -361,10 +361,10 @@ import {
361
361
  } from "./chunk-WBOJMAAV.js";
362
362
  import {
363
363
  runRecallWhy
364
- } from "./chunk-G2MS56KM.js";
364
+ } from "./chunk-YQUGYQRY.js";
365
365
  import {
366
366
  parseXrayCliOptions
367
- } from "./chunk-PSQ347YP.js";
367
+ } from "./chunk-DSKII2W4.js";
368
368
  import {
369
369
  LastRecallStore,
370
370
  RecallHandleHistoryStore,
@@ -379,7 +379,7 @@ import {
379
379
  import {
380
380
  indexStateViewAnnotatedResults,
381
381
  resolveRecallStateViewActive
382
- } from "./chunk-5GIYIYJI.js";
382
+ } from "./chunk-WLP3XJCO.js";
383
383
  import {
384
384
  applyRecallStateViews
385
385
  } from "./chunk-DBB5JPSL.js";
@@ -397,7 +397,7 @@ import {
397
397
  } from "./chunk-KIW3OOZE.js";
398
398
  import {
399
399
  planDisclosureStep
400
- } from "./chunk-3YID7KZ6.js";
400
+ } from "./chunk-6QMKUWXH.js";
401
401
  import {
402
402
  DEFAULT_TRAVERSE_LIMIT,
403
403
  selectTraverseNeighbors
@@ -410,12 +410,12 @@ import {
410
410
  renderRecallExplain,
411
411
  renderXray,
412
412
  toRecallExplainJson
413
- } from "./chunk-TDG5NZAZ.js";
413
+ } from "./chunk-65JA7LWV.js";
414
414
  import {
415
415
  buildXraySnapshot,
416
416
  estimateRecallTokens,
417
417
  summarizeDisclosureTokens
418
- } from "./chunk-7SOKOEAZ.js";
418
+ } from "./chunk-6RRHTHKQ.js";
419
419
  import {
420
420
  reorderRecallResultsWithMmr
421
421
  } from "./chunk-IIK2PD3F.js";
@@ -470,12 +470,12 @@ import {
470
470
  runOperatorRepair,
471
471
  runOperatorSetup,
472
472
  summarizeNamespaceMaintenanceHealth
473
- } from "./chunk-4EAVEDLG.js";
473
+ } from "./chunk-CRKT2JXN.js";
474
474
  import {
475
475
  NamespaceCatalog,
476
476
  isNamespaceKind,
477
477
  planNamespaceMaintenance
478
- } from "./chunk-3BICT225.js";
478
+ } from "./chunk-FGNBUUPX.js";
479
479
  import {
480
480
  analyzeSessionIntegrity,
481
481
  applySessionRepair,
@@ -511,7 +511,7 @@ import {
511
511
  } from "./chunk-EIB4FJVR.js";
512
512
  import {
513
513
  runMemoryBrowse
514
- } from "./chunk-KZ4BJRGQ.js";
514
+ } from "./chunk-ODGVLSCQ.js";
515
515
  import {
516
516
  filterRecallCandidates,
517
517
  isGenericRecallExcludedPath,
@@ -519,7 +519,7 @@ import {
519
519
  isTopLevelArchivePath,
520
520
  journalPath,
521
521
  writeJournalFile
522
- } from "./chunk-ZNCCX7P6.js";
522
+ } from "./chunk-QO5QZR2U.js";
523
523
  import {
524
524
  REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
525
525
  REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL,
@@ -552,7 +552,7 @@ import {
552
552
  validateGmailConfig,
553
553
  validateGoogleDriveConfig,
554
554
  validateNotionConfig
555
- } from "./chunk-V65H7MI6.js";
555
+ } from "./chunk-M42UFQZY.js";
556
556
  import {
557
557
  listConnectorStates
558
558
  } from "./chunk-MDPT6QFK.js";
@@ -586,7 +586,7 @@ import {
586
586
  import {
587
587
  readProjectedHarmonicGraph,
588
588
  searchHarmonicRetrieval
589
- } from "./chunk-75K6DRPN.js";
589
+ } from "./chunk-ZAVFAGBE.js";
590
590
  import {
591
591
  removeNodeEdgesForRewrite,
592
592
  rollbackNodeEdgeRewrite
@@ -596,13 +596,13 @@ import {
596
596
  } from "./chunk-XXSOVESA.js";
597
597
  import {
598
598
  ExtractionEngine
599
- } from "./chunk-2QW5HPKU.js";
599
+ } from "./chunk-AUDLHIHI.js";
600
600
  import {
601
601
  wrapWorkLayerContext
602
602
  } from "./chunk-EI6V5UXY.js";
603
603
  import {
604
604
  CONNECTOR_LABEL_MAX_LENGTH
605
- } from "./chunk-FKHXXL42.js";
605
+ } from "./chunk-VAE6QCZQ.js";
606
606
  import {
607
607
  isValidConnectorId
608
608
  } from "./chunk-NIIWKDIU.js";
@@ -636,7 +636,7 @@ import {
636
636
  getVerdictKind,
637
637
  judgeFactDurability,
638
638
  validateProcedureExtraction
639
- } from "./chunk-Q6S67LHR.js";
639
+ } from "./chunk-OOMFFMX3.js";
640
640
  import {
641
641
  REDACTION_RULES_SUBDIR,
642
642
  contentMatchesRedactionRules,
@@ -664,7 +664,7 @@ import {
664
664
  runEvalBenchmarkCiGate,
665
665
  runEvalStoredBaselineCiGate,
666
666
  validateEvalBenchmarkPack
667
- } from "./chunk-JKMIGCK6.js";
667
+ } from "./chunk-KDGEEZOI.js";
668
668
  import {
669
669
  buildEventOrderRecallSection
670
670
  } from "./chunk-DK2VBJ6Q.js";
@@ -682,7 +682,7 @@ import {
682
682
  buildEntityRecallSection,
683
683
  entityRecentTranscriptLookbackHours,
684
684
  readRecentEntityTranscriptEntries
685
- } from "./chunk-WEI6HEUX.js";
685
+ } from "./chunk-YXAH5TSN.js";
686
686
  import {
687
687
  boundRecallContextComposition,
688
688
  composeMissingMemoryContext,
@@ -706,13 +706,13 @@ import {
706
706
  } from "./chunk-J66ZJW5U.js";
707
707
  import {
708
708
  respondDeepRecall
709
- } from "./chunk-KQIOW3TG.js";
709
+ } from "./chunk-HUDE2SQA.js";
710
710
  import {
711
711
  DEEP_RECALL_MCP_TOOLS
712
712
  } from "./chunk-HUSTM6PU.js";
713
713
  import {
714
714
  callDeepRecallPolicyLlm
715
- } from "./chunk-SPAKBUJY.js";
715
+ } from "./chunk-EWLMEYLF.js";
716
716
  import {
717
717
  renderDeepRecallResult
718
718
  } from "./chunk-RF2SMMPP.js";
@@ -725,15 +725,15 @@ import {
725
725
  import {
726
726
  CorpusWatermarkCache,
727
727
  computeServiceCorpusCensus
728
- } from "./chunk-CJSTQNE5.js";
728
+ } from "./chunk-CTOMDCCA.js";
729
729
  import {
730
730
  listNamespaces,
731
731
  runNamespaceMigration,
732
732
  verifyNamespaces
733
- } from "./chunk-HEJFE3BC.js";
733
+ } from "./chunk-SJCN7ESG.js";
734
734
  import {
735
735
  NamespaceStorageRouter
736
- } from "./chunk-AJ7JHHRY.js";
736
+ } from "./chunk-SPPWVMP4.js";
737
737
  import {
738
738
  CrossNamespaceBudget,
739
739
  toBudgetWarning
@@ -747,12 +747,12 @@ import {
747
747
  } from "./chunk-EZ25VE3G.js";
748
748
  import {
749
749
  refreshConvergedNamespaces
750
- } from "./chunk-GYCUX3N4.js";
750
+ } from "./chunk-TGMIJABS.js";
751
751
  import {
752
752
  rebuildMemoryProjection,
753
753
  repairMemoryProjection,
754
754
  verifyMemoryProjection
755
- } from "./chunk-DYUPSTCV.js";
755
+ } from "./chunk-3EXG2KPK.js";
756
756
  import {
757
757
  buildProposedActions,
758
758
  buildQualityScore,
@@ -761,7 +761,7 @@ import {
761
761
  readMemoryGovernanceRunArtifact,
762
762
  restoreMemoryGovernanceRun,
763
763
  runMemoryGovernance
764
- } from "./chunk-LR6LWX33.js";
764
+ } from "./chunk-XXDIPAUE.js";
765
765
  import {
766
766
  collectNativeKnowledgeChunks,
767
767
  formatNativeKnowledgeSection,
@@ -794,7 +794,7 @@ import {
794
794
  materializeAfterSemanticConsolidation,
795
795
  parseConsolidationResponse,
796
796
  parseOperatorAwareConsolidationResponse
797
- } from "./chunk-GH7IKABD.js";
797
+ } from "./chunk-UFJJMQDV.js";
798
798
  import {
799
799
  resolveNamespaceChildRoot
800
800
  } from "./chunk-3UXOZBHV.js";
@@ -810,13 +810,13 @@ import {
810
810
  } from "./chunk-GKCXTSFF.js";
811
811
  import {
812
812
  SmartBuffer
813
- } from "./chunk-YCJJODER.js";
813
+ } from "./chunk-PNDTRIOI.js";
814
814
  import {
815
815
  ExtractionDeadlineError,
816
816
  ExtractionRunCoordinator,
817
817
  ProviderCircuitBreaker,
818
818
  classifyExtractionOrigin
819
- } from "./chunk-3RZ4GDOH.js";
819
+ } from "./chunk-PX4AMRAN.js";
820
820
  import {
821
821
  ARTIFACT_STATUS_CACHE_TTL_MS,
822
822
  BulkImportBatchPartialFailureError,
@@ -856,7 +856,7 @@ import {
856
856
  throwIfRecallAborted,
857
857
  tokenizeRecallQuery,
858
858
  utcDateKeysForLocalDay
859
- } from "./chunk-STSORBX5.js";
859
+ } from "./chunk-XII23FXP.js";
860
860
  import {
861
861
  inferIntentFromText,
862
862
  intentCompatibilityScore,
@@ -865,7 +865,7 @@ import {
865
865
  } from "./chunk-CSAKJVXW.js";
866
866
  import {
867
867
  LocalLlmClient
868
- } from "./chunk-FZU62GIV.js";
868
+ } from "./chunk-2X5I5C3M.js";
869
869
  import {
870
870
  isCapsuleImportArchiveInputError,
871
871
  validateCapsuleImportArchive
@@ -894,7 +894,7 @@ import {
894
894
  parseBriefingFocus,
895
895
  parseBriefingWindow,
896
896
  validateBriefingFormat
897
- } from "./chunk-KOVQZJ27.js";
897
+ } from "./chunk-E7LDTUWK.js";
898
898
  import {
899
899
  BriefingTimeoutError,
900
900
  withBriefingDeadline
@@ -966,7 +966,7 @@ import {
966
966
  validateCorrectionAction,
967
967
  validateCorrectionRequest,
968
968
  validateRedactionPattern
969
- } from "./chunk-BDFSVUUZ.js";
969
+ } from "./chunk-C3H2QZOZ.js";
970
970
  import {
971
971
  compileCorrectionRule,
972
972
  correctionsFilePath,
@@ -1079,7 +1079,7 @@ import {
1079
1079
  reconstructFusionInputs,
1080
1080
  selfDeps,
1081
1081
  serializeFusionDay
1082
- } from "./chunk-XZMQLON4.js";
1082
+ } from "./chunk-OK726OF4.js";
1083
1083
  import {
1084
1084
  buildRetiredFactTombstoneInputs
1085
1085
  } from "./chunk-QGVCFVX6.js";
@@ -1123,7 +1123,7 @@ import {
1123
1123
  applyFaithfulnessVerdict,
1124
1124
  createFaithfulnessCounters,
1125
1125
  runFaithfulnessGateBatch
1126
- } from "./chunk-JNDMIAJ4.js";
1126
+ } from "./chunk-QEVZKJM6.js";
1127
1127
  import {
1128
1128
  OKF_RESERVED_BASENAMES,
1129
1129
  applyDirectorySidecarDrillDown,
@@ -1194,10 +1194,10 @@ import {
1194
1194
  import {
1195
1195
  FallbackLlmClient,
1196
1196
  gatewayTaskChainOptions
1197
- } from "./chunk-MMRTPH3J.js";
1197
+ } from "./chunk-KQYGUFMQ.js";
1198
1198
  import {
1199
1199
  fallbackLlmRuntimeContextFromConfig
1200
- } from "./chunk-QSF5SJAM.js";
1200
+ } from "./chunk-STQNKDKZ.js";
1201
1201
  import {
1202
1202
  bufferTurnsEqual,
1203
1203
  describeError,
@@ -1220,7 +1220,7 @@ import {
1220
1220
  RECALL_WHY_MCP_TOOLS,
1221
1221
  handleRecallWhyHttpQuery,
1222
1222
  handleRecallXrayHttpQuery
1223
- } from "./chunk-7V6GNQC2.js";
1223
+ } from "./chunk-HINQENZG.js";
1224
1224
  import {
1225
1225
  runContradictionScan
1226
1226
  } from "./chunk-NT7JD6D6.js";
@@ -1234,7 +1234,7 @@ import {
1234
1234
  RECALL_DISCLOSURE_LEVELS,
1235
1235
  confidenceTier,
1236
1236
  isRecallDisclosure
1237
- } from "./chunk-QIPRDRGM.js";
1237
+ } from "./chunk-4HEJDVPU.js";
1238
1238
  import {
1239
1239
  extractJsonCandidates
1240
1240
  } from "./chunk-YBA52OKG.js";
@@ -1253,7 +1253,7 @@ import {
1253
1253
  } from "./chunk-TB6VFEHQ.js";
1254
1254
  import {
1255
1255
  splitCanonicalWriteRequest
1256
- } from "./chunk-NFQKIZK3.js";
1256
+ } from "./chunk-QXEF66SC.js";
1257
1257
  import {
1258
1258
  buildWithBriefingLocation,
1259
1259
  daySummaryAutoOptions,
@@ -1461,7 +1461,7 @@ import {
1461
1461
  codingContextLocalRoot,
1462
1462
  resolveCodingContextFromOptions,
1463
1463
  setSessionCodingContext
1464
- } from "./chunk-CRS2NY44.js";
1464
+ } from "./chunk-7O6H7BPW.js";
1465
1465
  import {
1466
1466
  memoryStoreRequestSchema,
1467
1467
  observeRequestSchema,
@@ -1470,7 +1470,7 @@ import {
1470
1470
  retainedCategoryAlias,
1471
1471
  suggestionSubmitRequestSchema,
1472
1472
  validateRequest
1473
- } from "./chunk-F2MVWUNF.js";
1473
+ } from "./chunk-374E2HYZ.js";
1474
1474
  import {
1475
1475
  exportCapsule
1476
1476
  } from "./chunk-NKAGGDSL.js";
@@ -15695,7 +15695,9 @@ var RecallInternalCoordinator = class {
15695
15695
  logger: log
15696
15696
  });
15697
15697
  const promptHash = createHash7("sha256").update(prompt).digest("hex");
15698
- const traceId = createHash7("sha256").update(`${sessionKey ?? "default"}:${recallStart}:${promptHash}`).digest("hex").slice(0, 16);
15698
+ const traceId = options.traceId ?? createHash7("sha256").update(`${sessionKey ?? "default"}:${recallStart}:${promptHash}`).digest("hex").slice(0, 16);
15699
+ const evalTraceId = `${traceId}-${recallStart}`;
15700
+ log.info(`recall start [${traceId}]`);
15699
15701
  const sectionBuckets = /* @__PURE__ */ new Map();
15700
15702
  const queryPolicy = buildRecallQueryPolicy(prompt, sessionKey, {
15701
15703
  cronRecallPolicyEnabled: resolveRecallAuxiliaryCapabilities(this.deps.config).cronRecallPolicy,
@@ -15956,7 +15958,7 @@ var RecallInternalCoordinator = class {
15956
15958
  }
15957
15959
  if (sessionKey) {
15958
15960
  this.deps.queueEvalShadowRecall({
15959
- traceId,
15961
+ traceId: evalTraceId,
15960
15962
  recordedAt: (/* @__PURE__ */ new Date()).toISOString(),
15961
15963
  sessionKey,
15962
15964
  promptHash,
@@ -19342,7 +19344,7 @@ ${tmtNode.summary}`
19342
19344
  `recall phase-2 checkpoints: afterQmd=${phase2AfterQmdMs}ms, afterQuestions=${phase2QuestionsDoneMs}ms, afterQap=${phase2QapDoneMs}ms`
19343
19345
  );
19344
19346
  const timingParts = Object.entries(timings).map(([k, v]) => `${k}=${v}`).join(", ");
19345
- log.info(`recall timings: ${timingParts}`);
19347
+ log.info(`recall timings [${traceId}]: ${timingParts}`);
19346
19348
  emitRecallTiming(this.deps.config, {
19347
19349
  ...timings,
19348
19350
  ...phase2Timings,
@@ -19638,7 +19640,7 @@ ${tmtNode.summary}`
19638
19640
  }
19639
19641
  if (sessionKey) {
19640
19642
  this.deps.queueEvalShadowRecall({
19641
- traceId,
19643
+ traceId: evalTraceId,
19642
19644
  recordedAt: (/* @__PURE__ */ new Date()).toISOString(),
19643
19645
  sessionKey,
19644
19646
  promptHash,
@@ -21049,7 +21051,9 @@ var ExtractionDrain = class {
21049
21051
  constructor(deps, options) {
21050
21052
  this.deps = deps;
21051
21053
  this.dropFailedChunks = options?.dropFailedChunks !== false;
21054
+ this.runExtraction = (turns, runOptions) => deps.runExtraction(turns, { ...runOptions, dropFailedChunks: this.dropFailedChunks && runOptions?.dropFailedChunks !== false });
21052
21055
  }
21056
+ runExtraction;
21053
21057
  /** Characters the coordinator would count for this window: user/assistant text, trimmed and capped per turn, context-only turns left out. */
21054
21058
  windowChars(turns) {
21055
21059
  let total = 0;
@@ -21117,16 +21121,16 @@ var ExtractionDrain = class {
21117
21121
  );
21118
21122
  }
21119
21123
  if (plan.singleRun) {
21120
- if (collapsed.duplicateCount === 0) return await this.deps.runExtraction(turns, runOptions);
21121
- if (this.windowBelowThreshold(turns, runOptions)) return await this.deps.runExtraction(turns, runOptions);
21122
- return await this.deps.runExtraction(window, {
21124
+ if (collapsed.duplicateCount === 0) return await this.runExtraction(turns, runOptions);
21125
+ if (this.windowBelowThreshold(turns, runOptions)) return await this.runExtraction(turns, runOptions);
21126
+ return await this.runExtraction(window, {
21123
21127
  ...runOptions,
21124
21128
  skipCharThreshold: true,
21125
21129
  skipUserTurnThreshold: true
21126
21130
  });
21127
21131
  }
21128
21132
  if (!plan.resumed && this.windowBelowThreshold(turns, runOptions)) {
21129
- return await this.deps.runExtraction(turns, runOptions);
21133
+ return await this.runExtraction(turns, runOptions);
21130
21134
  }
21131
21135
  const options = collapsed.duplicateCount > 0 ? { ...runOptions, skipCharThreshold: true, skipUserTurnThreshold: true } : runOptions;
21132
21136
  return await this.runChunked(plan.chunks, options, preemptable, preemptHandle, plan.partParents, plan.clampedParents);
@@ -21214,7 +21218,7 @@ var ExtractionDrain = class {
21214
21218
  const failures = this.failureCount(bufferKey, chunk);
21215
21219
  let result;
21216
21220
  try {
21217
- result = await this.deps.runExtraction(chunk, chunkOptions);
21221
+ result = await this.runExtraction(chunk, { ...chunkOptions, partParents });
21218
21222
  } catch (err) {
21219
21223
  this.rethrowChunkAbort(err, preempt, runOptions.abortSignal?.aborted === true);
21220
21224
  aggregate = await this.settleThrownChunk(
@@ -23887,7 +23891,7 @@ var OrchestratorInitCoordinator = class {
23887
23891
  if (signal.aborted || !this.isCurrentStartupEpoch(epoch)) return;
23888
23892
  if (!this.deps.wearablesAutoSyncHandle && this.deps.config.wearables.enabled && this.deps.config.wearables.autoSyncEnabled && Object.values(this.deps.config.wearables.sources).some((source) => source.enabled)) {
23889
23893
  try {
23890
- const { startWearablesAutoSync } = await import("./auto-sync-BJUAGKI5.js");
23894
+ const { startWearablesAutoSync } = await import("./auto-sync-BEW65FDT.js");
23891
23895
  if (signal.aborted || !this.isCurrentStartupEpoch(epoch)) return;
23892
23896
  this.deps.wearablesAutoSyncHandle = startWearablesAutoSync(
23893
23897
  {
@@ -27603,7 +27607,7 @@ var RecallEntryCoordinator = class {
27603
27607
  if (onInitGateAbort)
27604
27608
  abortController.signal.removeEventListener("abort", onInitGateAbort);
27605
27609
  if (gateResult === "aborted" && !clientDeadlineFired) {
27606
- this.deps.logRecallFailure(abortRecallError("recall aborted before init"));
27610
+ this.deps.logRecallFailure(abortRecallError("recall aborted before init"), options.traceId);
27607
27611
  if (clientDeadlineHandle) clearTimeout(clientDeadlineHandle);
27608
27612
  return "";
27609
27613
  }
@@ -27693,7 +27697,7 @@ var RecallEntryCoordinator = class {
27693
27697
  }
27694
27698
  return prefixStandingMemoryBlock(recallResult, standingText, standingBudget);
27695
27699
  } catch (err) {
27696
- this.deps.logRecallFailure(err);
27700
+ this.deps.logRecallFailure(err, options.traceId);
27697
27701
  this.deps.profiler.endTrace();
27698
27702
  const deadlineFired = clientDeadlineFired || outerTimeoutFired;
27699
27703
  const missing = options.abortSignal?.aborted && !deadlineFired ? null : recallFailureComposition(
@@ -27712,9 +27716,9 @@ var RecallEntryCoordinator = class {
27712
27716
  options.abortSignal?.removeEventListener("abort", onAbort);
27713
27717
  }
27714
27718
  }
27715
- logRecallFailure(err) {
27719
+ logRecallFailure(cause, traceId) {
27716
27720
  const now = Date.now();
27717
- const errorMsg = err instanceof Error ? err.message : String(err);
27721
+ const errorMsg = cause instanceof Error ? cause.message : String(cause);
27718
27722
  const LOG_WINDOW_MS = 6e4;
27719
27723
  const idleSinceLastFailureMs = now - this.deps.lastRecallFailureAtMs;
27720
27724
  this.deps.lastRecallFailureAtMs = now;
@@ -27723,13 +27727,13 @@ var RecallEntryCoordinator = class {
27723
27727
  }
27724
27728
  if (now - this.deps.lastRecallFailureLogAtMs >= LOG_WINDOW_MS) {
27725
27729
  const suffix = this.deps.suppressedRecallFailures > 0 ? ` (suppressed ${this.deps.suppressedRecallFailures} similar failures in last minute)` : "";
27726
- log.warn(`recall timed out or failed: ${errorMsg}${suffix}`);
27730
+ log.warn(`recall timed out or failed${traceId ? ` [${traceId}]` : ""}: ${errorMsg}${suffix}`);
27727
27731
  this.deps.lastRecallFailureLogAtMs = now;
27728
27732
  this.deps.suppressedRecallFailures = 0;
27729
27733
  return;
27730
27734
  }
27731
27735
  this.deps.suppressedRecallFailures += 1;
27732
- log.debug(`recall timed out or failed (suppressed): ${errorMsg}`);
27736
+ log.debug(`recall timed out or failed (suppressed)${traceId ? ` [${traceId}]` : ""}: ${errorMsg}`);
27733
27737
  }
27734
27738
  queueEvalShadowRecall(record) {
27735
27739
  if (!resolveEvalCapabilities(this.deps.config).evalHarness || !resolveEvalCapabilities(this.deps.config).evalShadowMode)
@@ -29875,11 +29879,12 @@ ${doc.content}` : doc.content
29875
29879
  _parentAbortSignal
29876
29880
  );
29877
29881
  }
29878
- logRecallFailure(err) {
29882
+ logRecallFailure(cause, traceId) {
29879
29883
  return (this.recallEntryCoordinator ?? new RecallEntryCoordinator(
29880
29884
  selfDeps(this)
29881
29885
  )).logRecallFailure(
29882
- err
29886
+ cause,
29887
+ traceId
29883
29888
  );
29884
29889
  }
29885
29890
  artifactTypeForCategory(category) {
@@ -36008,7 +36013,18 @@ var EngramMcpServer = class {
36008
36013
  type: "boolean",
36009
36014
  description: "Opt in to state-aware recall views (issue #1952); ORs with the recallStateViews config flag."
36010
36015
  },
36011
- searchOptions: engramRecallSearchOptionsMcpProperty
36016
+ searchOptions: engramRecallSearchOptionsMcpProperty,
36017
+ deadlineMs: {
36018
+ type: "number",
36019
+ minimum: 0,
36020
+ description: "Client deadline (issue #3499): epoch-absolute or ms budget from now; clamps the recall outer deadline."
36021
+ },
36022
+ traceId: {
36023
+ type: "string",
36024
+ maxLength: 128,
36025
+ pattern: "^[\\w:.-]+$",
36026
+ description: "Caller-known trace ID (issue #3499); echoed on response + daemon timing lines for timeout correlation."
36027
+ }
36012
36028
  },
36013
36029
  required: ["query"],
36014
36030
  additionalProperties: false
@@ -62006,7 +62022,9 @@ async function assembleRecallResponse(deps, params) {
62006
62022
  memoryIds: filteredMemoryIds,
62007
62023
  results,
62008
62024
  recordedAt: snapshot?.recordedAt,
62009
- traceId: snapshot?.traceId,
62025
+ // Caller-supplied ID echoes even when no matching snapshot exists —
62026
+ // sessionless recalls and timed-out recalls never recorded one (#3499).
62027
+ traceId: snapshot?.traceId ?? request.traceId,
62010
62028
  plannerMode: snapshot?.plannerMode ?? mode,
62011
62029
  fallbackUsed: snapshot?.fallbackUsed ?? false,
62012
62030
  sourcesUsed: snapshot?.sourcesUsed ?? [],
@@ -62500,6 +62518,7 @@ var AccessRecallSurface = class {
62500
62518
  };
62501
62519
  if (request.searchOptions) recallOptions.searchOptions = request.searchOptions;
62502
62520
  if (request.deadlineMs !== void 0) recallOptions.deadlineMs = request.deadlineMs;
62521
+ if (request.traceId !== void 0) recallOptions.traceId = request.traceId;
62503
62522
  const startedAt = Date.now();
62504
62523
  let reservedBudgetPrincipal = null;
62505
62524
  let reservedBudget;
@@ -64524,7 +64543,7 @@ var EngramAccessService = class extends SupportPassportAccessServiceBase {
64524
64543
  const deadlineAtMs = resolveClientDeadlineAtMs(request.deadlineMs, Date.now());
64525
64544
  const normalizedRequest = { ...request, query };
64526
64545
  if (deadlineAtMs !== null) normalizedRequest.deadlineMs = deadlineAtMs;
64527
- const { abortSignal: _abortSignal, deadlineMs: _deadlineMs, ...requestFingerprint } = normalizedRequest;
64546
+ const { abortSignal: _abortSignal, deadlineMs: _deadlineMs, traceId: _traceId, ...requestFingerprint } = normalizedRequest;
64528
64547
  const authenticatedPrincipal = request.authenticatedPrincipal?.trim();
64529
64548
  const principal = this.resolveRequestPrincipal(request.sessionKey, authenticatedPrincipal);
64530
64549
  if (resolveNamespaceCapabilities(this.orchestrator.config).namespaces && !principal) {
@@ -66964,6 +66983,9 @@ function consumeWithinDeadline(flight, request, race) {
66964
66983
  }
66965
66984
  async function consumeFlight(host, flight, request, recordBudget, race, cancelOnAbort = race) {
66966
66985
  const detach = attachFlightAbort(flight, request.abortSignal, cancelOnAbort);
66986
+ if (request.traceId !== void 0 && request.traceId !== flight.leaderTraceId) {
66987
+ log.info(`recall follower [${request.traceId}] joined flight under leader [${flight.leaderTraceId ?? "derived"}]`);
66988
+ }
66967
66989
  try {
66968
66990
  let result;
66969
66991
  try {
@@ -67003,6 +67025,7 @@ async function consumeFlight(host, flight, request, recordBudget, race, cancelOn
67003
67025
  if (ownDecision) {
67004
67026
  response.budgetWarning = toBudgetWarning(ownDecision);
67005
67027
  }
67028
+ if (request.traceId !== void 0) response.traceId = request.traceId;
67006
67029
  return { response, reservation };
67007
67030
  } catch (err) {
67008
67031
  host.budget.release(reservation);
@@ -67068,7 +67091,7 @@ async function runRecallDirect(host, request, normalizedRequest, requestFingerpr
67068
67091
  }
67069
67092
  throw err;
67070
67093
  }
67071
- return response;
67094
+ return withCallerTraceId(response, request.traceId);
67072
67095
  }
67073
67096
  function createAndStartFlight(host, normalizedRequest, flightKey, principalKey, keyed) {
67074
67097
  const controller = new AbortController();
@@ -67097,6 +67120,7 @@ function createAndStartFlight(host, normalizedRequest, flightKey, principalKey,
67097
67120
  controller,
67098
67121
  live: 0,
67099
67122
  committed: false,
67123
+ leaderTraceId: normalizedRequest.traceId,
67100
67124
  onIdle: () => {
67101
67125
  const unregister = () => {
67102
67126
  if (host.recallInFlight.get(flightKey) === flight) {
@@ -67174,7 +67198,11 @@ async function leadRecallFlight(host, request, normalizedRequest, requestFingerp
67174
67198
  }
67175
67199
  throw err;
67176
67200
  }
67177
- return response;
67201
+ return withCallerTraceId(response, request.traceId);
67202
+ }
67203
+ function withCallerTraceId(response, traceId) {
67204
+ if (traceId === void 0 || response.traceId === traceId) return response;
67205
+ return { ...response, traceId };
67178
67206
  }
67179
67207
  function degradedDeadlineRecallResponse(host, request) {
67180
67208
  if (request.disclosure !== void 0 && request.disclosure !== null && !isRecallDisclosure(request.disclosure)) {
@@ -67195,7 +67223,10 @@ function degradedDeadlineRecallResponse(host, request) {
67195
67223
  results: [],
67196
67224
  fallbackUsed: false,
67197
67225
  sourcesUsed: [],
67198
- disclosure: request.disclosure ?? DEFAULT_RECALL_DISCLOSURE
67226
+ disclosure: request.disclosure ?? DEFAULT_RECALL_DISCLOSURE,
67227
+ // Echo the caller's trace ID on the timeout path too — that is exactly
67228
+ // the response a client has to correlate when its deadline fires.
67229
+ traceId: request.traceId
67199
67230
  };
67200
67231
  }
67201
67232
  async function coordinateRecall(host, request, normalizedRequest, requestFingerprint, principalKey, singleFlight) {
@@ -67654,4 +67685,4 @@ export {
67654
67685
  EngramAccessService,
67655
67686
  AccessAdminOpsSurface
67656
67687
  };
67657
- //# sourceMappingURL=chunk-VSLV3EEP.js.map
67688
+ //# sourceMappingURL=chunk-7TK5Q6LQ.js.map