@remnic/core 10.0.167 → 10.0.169

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 (390) hide show
  1. package/dist/access-admin-ops-surface.js +139 -138
  2. package/dist/access-cli.js +139 -138
  3. package/dist/access-cli.js.map +1 -1
  4. package/dist/access-coding-context-resolution.js +11 -11
  5. package/dist/access-extraction-force-flush-preempt.js +139 -138
  6. package/dist/access-extraction-force-flush.js +139 -138
  7. package/dist/access-http-briefing.js +139 -138
  8. package/dist/access-http-query.js +139 -138
  9. package/dist/access-http.js +139 -138
  10. package/dist/access-identity-continuity-surface.js +139 -138
  11. package/dist/access-lcm-surface.js +139 -138
  12. package/dist/access-mcp.js +139 -138
  13. package/dist/access-observe-write-category.js +11 -11
  14. package/dist/access-observe-write-surface.js +139 -138
  15. package/dist/access-offline-manifest.js +9 -9
  16. package/dist/access-operations-batch.js +139 -138
  17. package/dist/access-operations.js +139 -138
  18. package/dist/access-recall-concurrency.js +139 -138
  19. package/dist/access-recall-excerpt-attribution.d.ts +19 -0
  20. package/dist/access-recall-excerpt-attribution.d.ts.map +1 -0
  21. package/dist/access-recall-excerpt-attribution.js +8 -0
  22. package/dist/access-recall-response.js +139 -138
  23. package/dist/access-recall-surface.d.ts.map +1 -1
  24. package/dist/access-recall-surface.js +139 -138
  25. package/dist/access-schema.js +10 -10
  26. package/dist/access-service.js +139 -138
  27. package/dist/active-recall.js +24 -24
  28. package/dist/adapters/index.js +4 -4
  29. package/dist/adapters/registry.js +2 -2
  30. package/dist/{auto-sync-L3M4RKJD.js → auto-sync-ACP5U5A3.js} +3 -3
  31. package/dist/binary-lifecycle/scanner.d.ts +2 -4
  32. package/dist/binary-lifecycle/scanner.d.ts.map +1 -1
  33. package/dist/briefing.js +13 -13
  34. package/dist/buffer-add-turns-bounded.d.ts +11 -1
  35. package/dist/buffer-add-turns-bounded.d.ts.map +1 -1
  36. package/dist/buffer-add-turns-bounded.js +3 -3
  37. package/dist/buffer-session-cap.d.ts +2 -2
  38. package/dist/buffer-session-cap.d.ts.map +1 -1
  39. package/dist/buffer-session-cap.js +1 -1
  40. package/dist/buffer.d.ts +3 -2
  41. package/dist/buffer.d.ts.map +1 -1
  42. package/dist/buffer.js +12 -12
  43. package/dist/bulk-import/index.d.ts +1 -1
  44. package/dist/bulk-import/index.d.ts.map +1 -1
  45. package/dist/bulk-import/index.js +3 -1
  46. package/dist/bulk-import/pipeline.d.ts +8 -0
  47. package/dist/bulk-import/pipeline.d.ts.map +1 -1
  48. package/dist/calibration.d.ts +19 -2
  49. package/dist/calibration.d.ts.map +1 -1
  50. package/dist/calibration.js +28 -5
  51. package/dist/calibration.js.map +1 -1
  52. package/dist/{capsule-crypto-GWVG7LGC.js → capsule-crypto-7FJQINUR.js} +2 -2
  53. package/dist/{capsule-merge-VHBRF65A.js → capsule-merge-BADOICNP.js} +2 -2
  54. package/dist/causal-behavior.js +2 -2
  55. package/dist/causal-chain.js +2 -2
  56. package/dist/causal-consolidation.js +17 -17
  57. package/dist/causal-retrieval.js +2 -2
  58. package/dist/causal-trajectory-graph.js +3 -3
  59. package/dist/causal-trajectory.js +1 -1
  60. package/dist/{chunk-OWHERGF2.js → chunk-2NLLXCJG.js} +2 -2
  61. package/dist/{chunk-IE2ZLO3R.js → chunk-32OTLNAU.js} +274 -248
  62. package/dist/chunk-32OTLNAU.js.map +1 -0
  63. package/dist/{chunk-L7SEYUHS.js → chunk-3I3NXB6X.js} +3 -3
  64. package/dist/{chunk-4NBUHYUV.js → chunk-3LADDLAF.js} +5 -5
  65. package/dist/{chunk-2DL3OFLD.js → chunk-45GEJRIG.js} +2 -2
  66. package/dist/{chunk-HSSERO3E.js → chunk-4P4GF76E.js} +8 -1
  67. package/dist/chunk-4P4GF76E.js.map +1 -0
  68. package/dist/{chunk-5BE3FLKL.js → chunk-5KDDAQ6K.js} +8 -8
  69. package/dist/{chunk-BPCR5DZP.js → chunk-62YZOQFR.js} +5 -5
  70. package/dist/chunk-62YZOQFR.js.map +1 -0
  71. package/dist/{chunk-HLWXCDUQ.js → chunk-63A2BU2B.js} +5 -5
  72. package/dist/{chunk-C5QYWM6F.js → chunk-7FPI5MFB.js} +5 -5
  73. package/dist/{chunk-ZX546Y3Y.js → chunk-7OYDFIL4.js} +2 -2
  74. package/dist/{chunk-CKZWLAHN.js → chunk-ACPFBVUD.js} +2 -2
  75. package/dist/{chunk-BKTCVXMK.js → chunk-AHOYKJ5X.js} +3 -3
  76. package/dist/{chunk-WEHSQBFR.js → chunk-AIF6V2OX.js} +9 -4
  77. package/dist/chunk-AIF6V2OX.js.map +1 -0
  78. package/dist/{chunk-FGT7CUYZ.js → chunk-ALTLOHO7.js} +2 -2
  79. package/dist/{chunk-FMFCQRDM.js → chunk-AUFPPBC3.js} +3 -3
  80. package/dist/{chunk-OAQRZ4SV.js → chunk-B5KTTWC7.js} +2 -2
  81. package/dist/{chunk-73TPOGS4.js → chunk-BFBS7OFQ.js} +9 -9
  82. package/dist/{chunk-QFTK6EDM.js → chunk-BFZFNXOC.js} +13 -13
  83. package/dist/{chunk-ZQUOUPP3.js → chunk-BHRPZBAH.js} +4 -4
  84. package/dist/{chunk-4L25GAYL.js → chunk-CX24SVLK.js} +2 -2
  85. package/dist/{chunk-YY57TRKN.js → chunk-D5ZLTLHF.js} +2 -2
  86. package/dist/{chunk-WEFFO2MJ.js → chunk-D6YCETHG.js} +2 -2
  87. package/dist/{chunk-ZDZJNXL6.js → chunk-DK2VBJ6Q.js} +4 -4
  88. package/dist/{chunk-VRHY7Y5A.js → chunk-DPL5VO5V.js} +3 -3
  89. package/dist/{chunk-LVGTH6IQ.js → chunk-E7ATID4Z.js} +11 -11
  90. package/dist/{chunk-CKELO7Q6.js → chunk-FHWX2REL.js} +2 -2
  91. package/dist/{chunk-CUPILBIP.js → chunk-FMIM36I4.js} +2 -2
  92. package/dist/{chunk-OWM2VWNX.js → chunk-FSXYBIEZ.js} +25 -24
  93. package/dist/chunk-FSXYBIEZ.js.map +1 -0
  94. package/dist/{chunk-A5UOREWD.js → chunk-FWTGO4NE.js} +2 -2
  95. package/dist/{chunk-3SL52JKD.js → chunk-FZVROZKC.js} +5 -5
  96. package/dist/{chunk-U3BCW7GX.js → chunk-G3RLCVJC.js} +3 -3
  97. package/dist/{chunk-UYIBNDQE.js → chunk-GF5NN3LE.js} +2 -2
  98. package/dist/{chunk-7OCKK5M5.js → chunk-GWY5ZFHP.js} +6 -6
  99. package/dist/{chunk-AL3TCNSJ.js → chunk-H3MLOQ7F.js} +24 -53
  100. package/dist/chunk-H3MLOQ7F.js.map +1 -0
  101. package/dist/{chunk-TNRGWJYT.js → chunk-H4IU24V5.js} +2 -2
  102. package/dist/{chunk-T4BT4FQN.js → chunk-HH6PXQ2B.js} +3 -3
  103. package/dist/{chunk-FEUWI5QH.js → chunk-HHPY5SSE.js} +2 -2
  104. package/dist/{chunk-OM5ESBES.js → chunk-HQPFACXO.js} +2 -2
  105. package/dist/{chunk-QLQUAVVP.js → chunk-I7WPLMUX.js} +16 -16
  106. package/dist/chunk-I7WPLMUX.js.map +1 -0
  107. package/dist/{chunk-IMULTENA.js → chunk-ID65XTF3.js} +2 -2
  108. package/dist/{chunk-WWQMZBDI.js → chunk-IJVU4ILJ.js} +4 -4
  109. package/dist/{chunk-GBSXTTLP.js → chunk-ITGAGNX5.js} +2 -2
  110. package/dist/chunk-IUGOGDCP.js +39 -0
  111. package/dist/chunk-IUGOGDCP.js.map +1 -0
  112. package/dist/{chunk-3PNJZTDV.js → chunk-JGGNUEVD.js} +2 -2
  113. package/dist/{chunk-YYXYZM2I.js → chunk-JN7OSQJR.js} +2 -2
  114. package/dist/{chunk-4D2EY4WM.js → chunk-K2DTHNDY.js} +6 -6
  115. package/dist/{chunk-TH6OYP6I.js → chunk-K36RMINQ.js} +3 -3
  116. package/dist/{chunk-OZKVVUJB.js → chunk-KIM5VNZN.js} +2 -2
  117. package/dist/{chunk-BFPQJNFZ.js → chunk-LXSDEPEK.js} +60 -11
  118. package/dist/{chunk-BFPQJNFZ.js.map → chunk-LXSDEPEK.js.map} +1 -1
  119. package/dist/{chunk-ZWDDY4WF.js → chunk-M7CFCRWJ.js} +2 -2
  120. package/dist/{chunk-QPFM6DHY.js → chunk-MTJFK42O.js} +2 -2
  121. package/dist/{chunk-RO5EGRAI.js → chunk-N3FRR6II.js} +2 -2
  122. package/dist/{chunk-UMEUU66X.js → chunk-O3OEVYUR.js} +2 -2
  123. package/dist/{chunk-J74YOBB3.js → chunk-PFR6ZKQI.js} +8 -8
  124. package/dist/{chunk-TAD6QMMD.js → chunk-PRC7SZYM.js} +2 -2
  125. package/dist/{chunk-LWZNSQN3.js → chunk-PUQQPLVV.js} +3 -3
  126. package/dist/{chunk-LWZNSQN3.js.map → chunk-PUQQPLVV.js.map} +1 -1
  127. package/dist/{chunk-GMO3BGOF.js → chunk-QC2MHZDD.js} +1 -1
  128. package/dist/{chunk-FOTFLHBN.js → chunk-QPLI7LUU.js} +3 -2
  129. package/dist/chunk-QPLI7LUU.js.map +1 -0
  130. package/dist/{chunk-2MWKUVHT.js → chunk-RK7SE3BL.js} +5 -5
  131. package/dist/{chunk-HDWISXFH.js → chunk-RVAPK2S7.js} +2 -2
  132. package/dist/{chunk-5PUZV73Z.js → chunk-SEIGLG62.js} +11 -11
  133. package/dist/{chunk-AVWOULJH.js → chunk-SH3GOZWK.js} +2 -2
  134. package/dist/{chunk-PFLN6TTW.js → chunk-T3MCVSUC.js} +2 -2
  135. package/dist/{chunk-WQUGCOKF.js → chunk-TFA6HPOA.js} +4 -4
  136. package/dist/{chunk-CLVILSBR.js → chunk-TGQW3AMK.js} +22 -22
  137. package/dist/{chunk-YZYAYUJQ.js → chunk-TLRIRISJ.js} +4 -4
  138. package/dist/{chunk-7VIJUZYW.js → chunk-TQ4CELUR.js} +3 -3
  139. package/dist/{chunk-5QDTZIGH.js → chunk-U7KP6QFU.js} +2 -2
  140. package/dist/{chunk-BUKK5SWA.js → chunk-UPD5XDJX.js} +5 -5
  141. package/dist/{chunk-BUKK5SWA.js.map → chunk-UPD5XDJX.js.map} +1 -1
  142. package/dist/{chunk-QVXEXGIM.js → chunk-VF6SC4OD.js} +2 -2
  143. package/dist/{chunk-EZG54YDS.js → chunk-VKXJQF5C.js} +2 -2
  144. package/dist/{chunk-RFLC6PKQ.js → chunk-VMRPLHEU.js} +2 -2
  145. package/dist/{chunk-U2PSE7MB.js → chunk-VPEIWMUT.js} +2 -2
  146. package/dist/{chunk-X67XNZ64.js → chunk-W4EJMMPP.js} +10 -10
  147. package/dist/{chunk-RB7NXZ2E.js → chunk-W4Q65VJL.js} +2 -2
  148. package/dist/{chunk-HDDRVXX4.js → chunk-W5LJ3SJ7.js} +2 -2
  149. package/dist/{chunk-W7N7NWG5.js → chunk-WCJQ3OUP.js} +2 -2
  150. package/dist/{chunk-JIF22AXI.js → chunk-WGKIXNLY.js} +5 -2
  151. package/dist/{chunk-JIF22AXI.js.map → chunk-WGKIXNLY.js.map} +1 -1
  152. package/dist/{chunk-FFWFFAP3.js → chunk-WI2WTIMY.js} +14 -8
  153. package/dist/chunk-WI2WTIMY.js.map +1 -0
  154. package/dist/{chunk-UVYI6VIX.js → chunk-X7Y7WX73.js} +1 -1
  155. package/dist/{chunk-22V3CMIW.js → chunk-XJTRIHTH.js} +8 -8
  156. package/dist/{chunk-SIONKXLU.js → chunk-XTRC6SSS.js} +14 -14
  157. package/dist/{chunk-SBRUTD5O.js → chunk-YSATDEBY.js} +5 -5
  158. package/dist/{chunk-3YOX2BQD.js → chunk-YWMCV5HL.js} +3 -3
  159. package/dist/{chunk-L272A5QW.js → chunk-YYDUBGUF.js} +30 -22
  160. package/dist/chunk-YYDUBGUF.js.map +1 -0
  161. package/dist/{chunk-6QWFZ3X5.js → chunk-ZA6CYFAK.js} +2 -2
  162. package/dist/cli.d.ts +1 -6
  163. package/dist/cli.d.ts.map +1 -1
  164. package/dist/cli.js +139 -138
  165. package/dist/coding/export-okf-codegraph.js +24 -24
  166. package/dist/coding/pre-action-gate.js +2 -2
  167. package/dist/compounding/engine.js +14 -14
  168. package/dist/config.js +24 -24
  169. package/dist/connectors/codex-marketplace.d.ts.map +1 -1
  170. package/dist/connectors/codex-materialize-runner.js +14 -14
  171. package/dist/connectors/codex-materialize.d.ts.map +1 -1
  172. package/dist/connectors/codex-materialize.js +1 -1
  173. package/dist/connectors/index.js +15 -15
  174. package/dist/consolidation-provenance-check.js +2 -2
  175. package/dist/convergence-refresh.js +15 -15
  176. package/dist/conversation-index/backend.js +2 -2
  177. package/dist/corpus-watermark.js +15 -15
  178. package/dist/deep-recall-http-glue.js +11 -11
  179. package/dist/embedding-fallback.js +2 -2
  180. package/dist/entity-retrieval.js +14 -14
  181. package/dist/event-order-recall.js +3 -3
  182. package/dist/explicit-capture.js +139 -138
  183. package/dist/extraction-judge.js +1 -1
  184. package/dist/extraction-normalization.js +1 -1
  185. package/dist/extraction-span-materialize.js +2 -2
  186. package/dist/extraction.js +27 -27
  187. package/dist/{graph-edge-decay-BC3IO2J4.js → graph-edge-decay-CXTNJ7IQ.js} +6 -6
  188. package/dist/graph-edge-decay-CXTNJ7IQ.js.map +1 -0
  189. package/dist/graph-jsonl.js +4 -4
  190. package/dist/graph-snapshot.js +4 -4
  191. package/dist/graph.js +5 -5
  192. package/dist/harmonic-retrieval.js +13 -13
  193. package/dist/index.js +198 -197
  194. package/dist/lcm/index.js +3 -3
  195. package/dist/local-llm.js +2 -2
  196. package/dist/location/index.js +14 -14
  197. package/dist/maintenance/memory-governance.js +13 -13
  198. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +13 -13
  199. package/dist/maintenance/rebuild-memory-projection-runner.js +15 -15
  200. package/dist/maintenance/rebuild-memory-projection.js +14 -14
  201. package/dist/memory-browse.js +5 -5
  202. package/dist/memory-controller.d.ts.map +1 -1
  203. package/dist/memory-controller.js +1 -1
  204. package/dist/namespaces/migrate.js +14 -14
  205. package/dist/namespaces/search.js +7 -7
  206. package/dist/namespaces/storage.d.ts.map +1 -1
  207. package/dist/namespaces/storage.js +13 -13
  208. package/dist/offline-sync-changeset-generations.js +4 -4
  209. package/dist/offline-sync-embedding-generation.js +3 -3
  210. package/dist/offline-sync-snapshot-stream.js +7 -7
  211. package/dist/offline-sync.js +6 -6
  212. package/dist/operator-doctor-corpus.js +16 -16
  213. package/dist/operator-toolkit.js +35 -35
  214. package/dist/orchestration/backlog-scheduler.d.ts +4 -0
  215. package/dist/orchestration/backlog-scheduler.d.ts.map +1 -1
  216. package/dist/orchestration/backlog-scheduler.js +150 -143
  217. package/dist/orchestration/backlog-scheduler.js.map +1 -1
  218. package/dist/orchestration/buffer-drain-runner.js +140 -139
  219. package/dist/orchestration/extraction-persist-citation.d.ts +2 -2
  220. package/dist/orchestration/extraction-persist-citation.d.ts.map +1 -1
  221. package/dist/orchestration/extraction-persist.d.ts.map +1 -1
  222. package/dist/orchestration/maintenance.js +23 -23
  223. package/dist/orchestration/recall-internal.d.ts.map +1 -1
  224. package/dist/orchestration/turn-ingestion-buffered.d.ts.map +1 -1
  225. package/dist/orchestrator.d.ts.map +1 -1
  226. package/dist/orchestrator.js +141 -140
  227. package/dist/qmd.js +4 -4
  228. package/dist/recall-navigation.js +139 -138
  229. package/dist/recall-state-view-admission.js +5 -5
  230. package/dist/recall-state-view-packet.d.ts.map +1 -1
  231. package/dist/recall-state-view-packet.js +30 -8
  232. package/dist/recall-state-view-packet.js.map +1 -1
  233. package/dist/recall-why-service.js +5 -5
  234. package/dist/reconcile/manifest.js +2 -2
  235. package/dist/resume-bundles.js +25 -25
  236. package/dist/search/factory.js +6 -6
  237. package/dist/search/index.js +8 -8
  238. package/dist/semantic-consolidation.js +18 -18
  239. package/dist/semantic-rule-promotion.js +13 -13
  240. package/dist/semantic-rule-verifier.js +13 -13
  241. package/dist/source-agent-qualifier.js +18 -18
  242. package/dist/source-attribution.d.ts +3 -3
  243. package/dist/source-attribution.d.ts.map +1 -1
  244. package/dist/source-attribution.js +1 -1
  245. package/dist/standup/build.js +13 -13
  246. package/dist/storage.d.ts +1 -0
  247. package/dist/storage.d.ts.map +1 -1
  248. package/dist/storage.js +12 -12
  249. package/dist/summarizer.d.ts +7 -1
  250. package/dist/summarizer.d.ts.map +1 -1
  251. package/dist/summarizer.js +3 -3
  252. package/dist/support-passport/index.js +16 -16
  253. package/dist/transfer/autodetect.js +3 -3
  254. package/dist/transfer/backup.js +2 -2
  255. package/dist/transfer/capsule-export.js +3 -3
  256. package/dist/transfer/capsule-import.js +3 -3
  257. package/dist/transfer/export-okf.js +13 -13
  258. package/dist/transfer/import-json.js +2 -2
  259. package/dist/transfer/import-md.js +2 -2
  260. package/dist/transfer/types.d.ts +15 -3
  261. package/dist/transfer/types.d.ts.map +1 -1
  262. package/dist/transfer/types.js +3 -1
  263. package/dist/verified-recall.js +13 -13
  264. package/dist/who-knows-cli.js +14 -14
  265. package/dist/who-knows.js +13 -13
  266. package/package.json +2 -2
  267. package/src/access-cli.test.ts +9 -9
  268. package/src/access-recall-excerpt-attribution.ts +69 -0
  269. package/src/access-recall-surface.ts +26 -31
  270. package/src/access-service-raw-excerpt-read-gate.test.ts +192 -11
  271. package/src/backlog-scheduler.test.ts +31 -0
  272. package/src/binary-lifecycle/scanner.ts +35 -14
  273. package/src/buffer-add-turns-bounded.ts +16 -2
  274. package/src/buffer-session-cap.ts +4 -4
  275. package/src/buffer.ts +5 -5
  276. package/src/bulk-import/index.ts +1 -0
  277. package/src/bulk-import/pipeline.test.ts +31 -0
  278. package/src/bulk-import/pipeline.ts +14 -0
  279. package/src/calibration.ts +56 -4
  280. package/src/cli.ts +3 -23
  281. package/src/connectors/codex-marketplace-git.test.ts +267 -0
  282. package/src/connectors/codex-marketplace.ts +76 -13
  283. package/src/connectors/codex-materialize.ts +29 -55
  284. package/src/memory-controller.test.ts +11 -0
  285. package/src/memory-controller.ts +5 -1
  286. package/src/namespaces/storage.ts +1 -0
  287. package/src/orchestration/backlog-scheduler.ts +12 -3
  288. package/src/orchestration/extraction-persist-citation.ts +5 -3
  289. package/src/orchestration/extraction-persist.ts +15 -14
  290. package/src/orchestration/recall-internal.ts +2 -3
  291. package/src/orchestration/turn-ingestion-buffered.test.ts +52 -1
  292. package/src/orchestration/turn-ingestion-buffered.ts +26 -8
  293. package/src/orchestrator.ts +1 -0
  294. package/src/recall-state-view-packet.test.ts +40 -0
  295. package/src/recall-state-view-packet.ts +46 -9
  296. package/src/source-attribution.test.ts +57 -0
  297. package/src/source-attribution.ts +46 -43
  298. package/src/storage.ts +4 -3
  299. package/src/summarizer-shutdown.test.ts +49 -16
  300. package/src/summarizer.ts +13 -5
  301. package/src/testing/subjects/memory-maintenance.test.ts +293 -0
  302. package/src/transfer/capsule-export.ts +2 -1
  303. package/src/transfer/capsule-taxonomy-version.test.ts +70 -0
  304. package/src/transfer/types.ts +13 -3
  305. package/dist/chunk-AL3TCNSJ.js.map +0 -1
  306. package/dist/chunk-BPCR5DZP.js.map +0 -1
  307. package/dist/chunk-FFWFFAP3.js.map +0 -1
  308. package/dist/chunk-FOTFLHBN.js.map +0 -1
  309. package/dist/chunk-HSSERO3E.js.map +0 -1
  310. package/dist/chunk-IE2ZLO3R.js.map +0 -1
  311. package/dist/chunk-L272A5QW.js.map +0 -1
  312. package/dist/chunk-OWM2VWNX.js.map +0 -1
  313. package/dist/chunk-QLQUAVVP.js.map +0 -1
  314. package/dist/chunk-WEHSQBFR.js.map +0 -1
  315. /package/dist/{capsule-crypto-GWVG7LGC.js.map → access-recall-excerpt-attribution.js.map} +0 -0
  316. /package/dist/{auto-sync-L3M4RKJD.js.map → auto-sync-ACP5U5A3.js.map} +0 -0
  317. /package/dist/{graph-edge-decay-BC3IO2J4.js.map → capsule-crypto-7FJQINUR.js.map} +0 -0
  318. /package/dist/{capsule-merge-VHBRF65A.js.map → capsule-merge-BADOICNP.js.map} +0 -0
  319. /package/dist/{chunk-OWHERGF2.js.map → chunk-2NLLXCJG.js.map} +0 -0
  320. /package/dist/{chunk-L7SEYUHS.js.map → chunk-3I3NXB6X.js.map} +0 -0
  321. /package/dist/{chunk-4NBUHYUV.js.map → chunk-3LADDLAF.js.map} +0 -0
  322. /package/dist/{chunk-2DL3OFLD.js.map → chunk-45GEJRIG.js.map} +0 -0
  323. /package/dist/{chunk-5BE3FLKL.js.map → chunk-5KDDAQ6K.js.map} +0 -0
  324. /package/dist/{chunk-HLWXCDUQ.js.map → chunk-63A2BU2B.js.map} +0 -0
  325. /package/dist/{chunk-C5QYWM6F.js.map → chunk-7FPI5MFB.js.map} +0 -0
  326. /package/dist/{chunk-ZX546Y3Y.js.map → chunk-7OYDFIL4.js.map} +0 -0
  327. /package/dist/{chunk-CKZWLAHN.js.map → chunk-ACPFBVUD.js.map} +0 -0
  328. /package/dist/{chunk-BKTCVXMK.js.map → chunk-AHOYKJ5X.js.map} +0 -0
  329. /package/dist/{chunk-FGT7CUYZ.js.map → chunk-ALTLOHO7.js.map} +0 -0
  330. /package/dist/{chunk-FMFCQRDM.js.map → chunk-AUFPPBC3.js.map} +0 -0
  331. /package/dist/{chunk-OAQRZ4SV.js.map → chunk-B5KTTWC7.js.map} +0 -0
  332. /package/dist/{chunk-73TPOGS4.js.map → chunk-BFBS7OFQ.js.map} +0 -0
  333. /package/dist/{chunk-QFTK6EDM.js.map → chunk-BFZFNXOC.js.map} +0 -0
  334. /package/dist/{chunk-ZQUOUPP3.js.map → chunk-BHRPZBAH.js.map} +0 -0
  335. /package/dist/{chunk-4L25GAYL.js.map → chunk-CX24SVLK.js.map} +0 -0
  336. /package/dist/{chunk-YY57TRKN.js.map → chunk-D5ZLTLHF.js.map} +0 -0
  337. /package/dist/{chunk-WEFFO2MJ.js.map → chunk-D6YCETHG.js.map} +0 -0
  338. /package/dist/{chunk-ZDZJNXL6.js.map → chunk-DK2VBJ6Q.js.map} +0 -0
  339. /package/dist/{chunk-VRHY7Y5A.js.map → chunk-DPL5VO5V.js.map} +0 -0
  340. /package/dist/{chunk-LVGTH6IQ.js.map → chunk-E7ATID4Z.js.map} +0 -0
  341. /package/dist/{chunk-CKELO7Q6.js.map → chunk-FHWX2REL.js.map} +0 -0
  342. /package/dist/{chunk-CUPILBIP.js.map → chunk-FMIM36I4.js.map} +0 -0
  343. /package/dist/{chunk-A5UOREWD.js.map → chunk-FWTGO4NE.js.map} +0 -0
  344. /package/dist/{chunk-3SL52JKD.js.map → chunk-FZVROZKC.js.map} +0 -0
  345. /package/dist/{chunk-U3BCW7GX.js.map → chunk-G3RLCVJC.js.map} +0 -0
  346. /package/dist/{chunk-UYIBNDQE.js.map → chunk-GF5NN3LE.js.map} +0 -0
  347. /package/dist/{chunk-7OCKK5M5.js.map → chunk-GWY5ZFHP.js.map} +0 -0
  348. /package/dist/{chunk-TNRGWJYT.js.map → chunk-H4IU24V5.js.map} +0 -0
  349. /package/dist/{chunk-T4BT4FQN.js.map → chunk-HH6PXQ2B.js.map} +0 -0
  350. /package/dist/{chunk-FEUWI5QH.js.map → chunk-HHPY5SSE.js.map} +0 -0
  351. /package/dist/{chunk-OM5ESBES.js.map → chunk-HQPFACXO.js.map} +0 -0
  352. /package/dist/{chunk-IMULTENA.js.map → chunk-ID65XTF3.js.map} +0 -0
  353. /package/dist/{chunk-WWQMZBDI.js.map → chunk-IJVU4ILJ.js.map} +0 -0
  354. /package/dist/{chunk-GBSXTTLP.js.map → chunk-ITGAGNX5.js.map} +0 -0
  355. /package/dist/{chunk-3PNJZTDV.js.map → chunk-JGGNUEVD.js.map} +0 -0
  356. /package/dist/{chunk-YYXYZM2I.js.map → chunk-JN7OSQJR.js.map} +0 -0
  357. /package/dist/{chunk-4D2EY4WM.js.map → chunk-K2DTHNDY.js.map} +0 -0
  358. /package/dist/{chunk-TH6OYP6I.js.map → chunk-K36RMINQ.js.map} +0 -0
  359. /package/dist/{chunk-OZKVVUJB.js.map → chunk-KIM5VNZN.js.map} +0 -0
  360. /package/dist/{chunk-ZWDDY4WF.js.map → chunk-M7CFCRWJ.js.map} +0 -0
  361. /package/dist/{chunk-QPFM6DHY.js.map → chunk-MTJFK42O.js.map} +0 -0
  362. /package/dist/{chunk-RO5EGRAI.js.map → chunk-N3FRR6II.js.map} +0 -0
  363. /package/dist/{chunk-UMEUU66X.js.map → chunk-O3OEVYUR.js.map} +0 -0
  364. /package/dist/{chunk-J74YOBB3.js.map → chunk-PFR6ZKQI.js.map} +0 -0
  365. /package/dist/{chunk-TAD6QMMD.js.map → chunk-PRC7SZYM.js.map} +0 -0
  366. /package/dist/{chunk-GMO3BGOF.js.map → chunk-QC2MHZDD.js.map} +0 -0
  367. /package/dist/{chunk-2MWKUVHT.js.map → chunk-RK7SE3BL.js.map} +0 -0
  368. /package/dist/{chunk-HDWISXFH.js.map → chunk-RVAPK2S7.js.map} +0 -0
  369. /package/dist/{chunk-5PUZV73Z.js.map → chunk-SEIGLG62.js.map} +0 -0
  370. /package/dist/{chunk-AVWOULJH.js.map → chunk-SH3GOZWK.js.map} +0 -0
  371. /package/dist/{chunk-PFLN6TTW.js.map → chunk-T3MCVSUC.js.map} +0 -0
  372. /package/dist/{chunk-WQUGCOKF.js.map → chunk-TFA6HPOA.js.map} +0 -0
  373. /package/dist/{chunk-CLVILSBR.js.map → chunk-TGQW3AMK.js.map} +0 -0
  374. /package/dist/{chunk-YZYAYUJQ.js.map → chunk-TLRIRISJ.js.map} +0 -0
  375. /package/dist/{chunk-7VIJUZYW.js.map → chunk-TQ4CELUR.js.map} +0 -0
  376. /package/dist/{chunk-5QDTZIGH.js.map → chunk-U7KP6QFU.js.map} +0 -0
  377. /package/dist/{chunk-QVXEXGIM.js.map → chunk-VF6SC4OD.js.map} +0 -0
  378. /package/dist/{chunk-EZG54YDS.js.map → chunk-VKXJQF5C.js.map} +0 -0
  379. /package/dist/{chunk-RFLC6PKQ.js.map → chunk-VMRPLHEU.js.map} +0 -0
  380. /package/dist/{chunk-U2PSE7MB.js.map → chunk-VPEIWMUT.js.map} +0 -0
  381. /package/dist/{chunk-X67XNZ64.js.map → chunk-W4EJMMPP.js.map} +0 -0
  382. /package/dist/{chunk-RB7NXZ2E.js.map → chunk-W4Q65VJL.js.map} +0 -0
  383. /package/dist/{chunk-HDDRVXX4.js.map → chunk-W5LJ3SJ7.js.map} +0 -0
  384. /package/dist/{chunk-W7N7NWG5.js.map → chunk-WCJQ3OUP.js.map} +0 -0
  385. /package/dist/{chunk-UVYI6VIX.js.map → chunk-X7Y7WX73.js.map} +0 -0
  386. /package/dist/{chunk-22V3CMIW.js.map → chunk-XJTRIHTH.js.map} +0 -0
  387. /package/dist/{chunk-SIONKXLU.js.map → chunk-XTRC6SSS.js.map} +0 -0
  388. /package/dist/{chunk-SBRUTD5O.js.map → chunk-YSATDEBY.js.map} +0 -0
  389. /package/dist/{chunk-3YOX2BQD.js.map → chunk-YWMCV5HL.js.map} +0 -0
  390. /package/dist/{chunk-6QWFZ3X5.js.map → chunk-ZA6CYFAK.js.map} +0 -0
@@ -1,10 +1,3 @@
1
- import {
2
- runGraphEdgeDecayMaintenanceAcrossNamespaces
3
- } from "./chunk-TH6OYP6I.js";
4
- import {
5
- normalizeDreamsStatusWindowHours,
6
- recordDreamsPhaseRun
7
- } from "./chunk-PQM3B54K.js";
8
1
  import {
9
2
  WEARABLE_SOURCE_PREFIX,
10
3
  WearablesInputError,
@@ -15,7 +8,22 @@ import {
15
8
  loadSyncState,
16
9
  syncWearableSource,
17
10
  wearableSourceLabel
18
- } from "./chunk-2MWKUVHT.js";
11
+ } from "./chunk-RK7SE3BL.js";
12
+ import {
13
+ runGraphEdgeDecayMaintenanceAcrossNamespaces
14
+ } from "./chunk-K36RMINQ.js";
15
+ import {
16
+ normalizeDreamsStatusWindowHours,
17
+ recordDreamsPhaseRun
18
+ } from "./chunk-PQM3B54K.js";
19
+ import {
20
+ exportWorkBoardMarkdown,
21
+ exportWorkBoardSnapshot,
22
+ importWorkBoardSnapshot
23
+ } from "./chunk-W4F3C7N7.js";
24
+ import {
25
+ WorkStorage
26
+ } from "./chunk-MPC7TYTZ.js";
19
27
  import {
20
28
  chatgptReplayNormalizer
21
29
  } from "./chunk-MMACM5G2.js";
@@ -27,45 +35,41 @@ import {
27
35
  } from "./chunk-H4CKS5B2.js";
28
36
  import {
29
37
  importMarkdownBundle
30
- } from "./chunk-HDDRVXX4.js";
38
+ } from "./chunk-W5LJ3SJ7.js";
31
39
  import {
32
40
  importSqlite
33
41
  } from "./chunk-PYHOAXTI.js";
34
42
  import {
35
- exportWorkBoardMarkdown,
36
- exportWorkBoardSnapshot,
37
- importWorkBoardSnapshot
38
- } from "./chunk-W4F3C7N7.js";
39
- import {
40
- WorkStorage
41
- } from "./chunk-MPC7TYTZ.js";
43
+ backupMemoryDir
44
+ } from "./chunk-2NLLXCJG.js";
42
45
  import {
43
46
  importCapsule
44
- } from "./chunk-4NBUHYUV.js";
47
+ } from "./chunk-3LADDLAF.js";
45
48
  import {
46
49
  exportJsonBundle
47
50
  } from "./chunk-UP6MOYCB.js";
48
51
  import {
49
52
  exportOkfBundle,
50
53
  parseIncludeStatus
51
- } from "./chunk-UYIBNDQE.js";
54
+ } from "./chunk-GF5NN3LE.js";
52
55
  import {
53
56
  exportSqlite
54
57
  } from "./chunk-BV2TIZ4F.js";
58
+ import {
59
+ buildStandup,
60
+ parseStandupDate
61
+ } from "./chunk-FMIM36I4.js";
55
62
  import {
56
63
  SupportPassportAccessSurface,
57
64
  createSupportPassportModelAdapter,
58
65
  supportsSupportPassportPrivateFiles
59
- } from "./chunk-22V3CMIW.js";
66
+ } from "./chunk-XJTRIHTH.js";
60
67
  import {
61
68
  detectImportFormat
62
- } from "./chunk-OZKVVUJB.js";
69
+ } from "./chunk-KIM5VNZN.js";
63
70
  import {
64
71
  importJsonBundle
65
- } from "./chunk-2DL3OFLD.js";
66
- import {
67
- backupMemoryDir
68
- } from "./chunk-OWHERGF2.js";
72
+ } from "./chunk-45GEJRIG.js";
69
73
  import {
70
74
  exportMarkdownBundle
71
75
  } from "./chunk-765K3SAT.js";
@@ -73,10 +77,6 @@ import {
73
77
  isSharedContextWriteInputError,
74
78
  parseSharedWriteOutputControls
75
79
  } from "./chunk-IFBSZGW3.js";
76
- import {
77
- buildStandup,
78
- parseStandupDate
79
- } from "./chunk-CUPILBIP.js";
80
80
  import {
81
81
  buildReplayNormalizerRegistry,
82
82
  clampBatchSize,
@@ -101,7 +101,7 @@ import {
101
101
  import {
102
102
  ActivityStore,
103
103
  MaintenanceScheduler
104
- } from "./chunk-X67XNZ64.js";
104
+ } from "./chunk-W4EJMMPP.js";
105
105
  import {
106
106
  runPeerProfileReasoner
107
107
  } from "./chunk-I74SUMNI.js";
@@ -111,12 +111,18 @@ import {
111
111
  import {
112
112
  migrateFromEngram
113
113
  } from "./chunk-VZAKYDMJ.js";
114
+ import {
115
+ archiveObservations
116
+ } from "./chunk-SBQOBY3S.js";
114
117
  import {
115
118
  migrateObservations
116
119
  } from "./chunk-6PEEZSGL.js";
117
120
  import {
118
121
  rebuildMemoryLifecycleLedger
119
- } from "./chunk-RFLC6PKQ.js";
122
+ } from "./chunk-VMRPLHEU.js";
123
+ import {
124
+ LcmEngine
125
+ } from "./chunk-K3FH3LAQ.js";
120
126
  import {
121
127
  backfillMemoryStorage,
122
128
  runLocationBackfill,
@@ -124,13 +130,7 @@ import {
124
130
  runLocationDay,
125
131
  runLocationStatus,
126
132
  runLocationSync
127
- } from "./chunk-BKTCVXMK.js";
128
- import {
129
- archiveObservations
130
- } from "./chunk-SBQOBY3S.js";
131
- import {
132
- LcmEngine
133
- } from "./chunk-K3FH3LAQ.js";
133
+ } from "./chunk-AHOYKJ5X.js";
134
134
  import {
135
135
  executeResolution,
136
136
  isValidResolutionVerb,
@@ -148,20 +148,21 @@ import {
148
148
  import {
149
149
  CompoundingEngine,
150
150
  defaultTierMigrationCycleBudget
151
- } from "./chunk-VRHY7Y5A.js";
151
+ } from "./chunk-DPL5VO5V.js";
152
152
  import {
153
153
  SharedContextManager,
154
154
  UNATTRIBUTED_ACCESS_WRITE_ORIGIN
155
155
  } from "./chunk-JVBAPAWZ.js";
156
156
  import {
157
157
  AdapterRegistry
158
- } from "./chunk-WWQMZBDI.js";
158
+ } from "./chunk-IJVU4ILJ.js";
159
159
  import {
160
160
  getBulkImportSource,
161
161
  listBulkImportSources,
162
+ processBatchFromIngest,
162
163
  registerBulkImportSource,
163
164
  runBulkImportPipeline
164
- } from "./chunk-HSSERO3E.js";
165
+ } from "./chunk-4P4GF76E.js";
165
166
  import {
166
167
  ACTIVE_DECISION_STATUSES,
167
168
  CodegraphRuntimeError,
@@ -179,7 +180,7 @@ import {
179
180
  parseDecisionRecord,
180
181
  resolveCodegraphProjectId,
181
182
  serializeDecisionRecord
182
- } from "./chunk-3PNJZTDV.js";
183
+ } from "./chunk-JGGNUEVD.js";
183
184
  import {
184
185
  lintOkfDir
185
186
  } from "./chunk-SQXCUH4L.js";
@@ -197,10 +198,18 @@ import {
197
198
  applyUtilityRankingRuntimeDelta,
198
199
  loadUtilityRuntimeValues
199
200
  } from "./chunk-3Q3XD3NO.js";
201
+ import {
202
+ getUtilityLearningStatus,
203
+ learnUtilityPromotionWeights
204
+ } from "./chunk-WLT6LTQP.js";
205
+ import {
206
+ getUtilityTelemetryStatus,
207
+ recordUtilityTelemetryEvent
208
+ } from "./chunk-EOU6V4IN.js";
200
209
  import {
201
210
  compareVerifiedEpisodeResults,
202
211
  searchVerifiedEpisodes
203
- } from "./chunk-PFLN6TTW.js";
212
+ } from "./chunk-T3MCVSUC.js";
204
213
  import {
205
214
  WHO_KNOWS_DEFAULT_LIMIT,
206
215
  WHO_KNOWS_MCP_TOOLS,
@@ -208,7 +217,17 @@ import {
208
217
  handleWhoKnowsHttpQuery,
209
218
  loadWhoKnowsEntities,
210
219
  validateWhoKnowsInput
211
- } from "./chunk-A5UOREWD.js";
220
+ } from "./chunk-FWTGO4NE.js";
221
+ import {
222
+ applyTrustScoreStage,
223
+ buildTrustSignalsForRerank,
224
+ projectTrustForXray,
225
+ trustResultFor,
226
+ trustResultKey
227
+ } from "./chunk-GNVZQ5JN.js";
228
+ import {
229
+ renderEpistemicHedge
230
+ } from "./chunk-YN2UN7N3.js";
212
231
  import {
213
232
  getTrustZoneStoreStatus,
214
233
  isTrustZoneName,
@@ -222,27 +241,9 @@ import {
222
241
  import {
223
242
  cleanArchivedUserMessage
224
243
  } from "./chunk-47DU4SGJ.js";
225
- import {
226
- getUtilityLearningStatus,
227
- learnUtilityPromotionWeights
228
- } from "./chunk-WLT6LTQP.js";
229
- import {
230
- getUtilityTelemetryStatus,
231
- recordUtilityTelemetryEvent
232
- } from "./chunk-EOU6V4IN.js";
233
244
  import {
234
245
  extractTopics
235
246
  } from "./chunk-KVDUKH5E.js";
236
- import {
237
- applyTrustScoreStage,
238
- buildTrustSignalsForRerank,
239
- projectTrustForXray,
240
- trustResultFor,
241
- trustResultKey
242
- } from "./chunk-GNVZQ5JN.js";
243
- import {
244
- renderEpistemicHedge
245
- } from "./chunk-YN2UN7N3.js";
246
247
  import {
247
248
  buildTemporalTimelineRecallSection
248
249
  } from "./chunk-VHF73MGU.js";
@@ -261,6 +262,10 @@ import {
261
262
  import {
262
263
  TmtBuilder
263
264
  } from "./chunk-ECZU5BJH.js";
265
+ import {
266
+ HourlySummarizer,
267
+ summarizeHourlyStatus
268
+ } from "./chunk-62YZOQFR.js";
264
269
  import {
265
270
  buildTargetedFactRecallSection,
266
271
  shouldRecallTargetedFactEvidence
@@ -270,10 +275,6 @@ import {
270
275
  prefixStandingMemoryBlock,
271
276
  renderStandingMemoryBlock
272
277
  } from "./chunk-LJLGH2DE.js";
273
- import {
274
- HourlySummarizer,
275
- summarizeHourlyStatus
276
- } from "./chunk-BPCR5DZP.js";
277
278
  import {
278
279
  SessionObserverState
279
280
  } from "./chunk-ODZKV2F7.js";
@@ -283,11 +284,25 @@ import {
283
284
  } from "./chunk-WWDO7ZWM.js";
284
285
  import {
285
286
  promoteSemanticRuleFromMemory
286
- } from "./chunk-YYXYZM2I.js";
287
+ } from "./chunk-JN7OSQJR.js";
287
288
  import {
288
289
  compareVerifiedSemanticRuleResults,
289
290
  searchVerifiedSemanticRules
290
- } from "./chunk-4L25GAYL.js";
291
+ } from "./chunk-CX24SVLK.js";
292
+ import {
293
+ buildResumeBundleFromState,
294
+ getResumeBundleStatus,
295
+ recordResumeBundle
296
+ } from "./chunk-ALTLOHO7.js";
297
+ import {
298
+ getWorkProductLedgerStatus,
299
+ recordWorkProductLedgerEntry,
300
+ searchWorkProductLedgerEntries
301
+ } from "./chunk-B2NXOVZN.js";
302
+ import {
303
+ TranscriptManager,
304
+ utcDayRange
305
+ } from "./chunk-5RONA5FF.js";
291
306
  import {
292
307
  mergeWithAgentResults,
293
308
  runDirectAgent,
@@ -315,6 +330,9 @@ import {
315
330
  import {
316
331
  composeSalvagedEnvelope
317
332
  } from "./chunk-5CO5G4MN.js";
333
+ import {
334
+ RelevanceStore
335
+ } from "./chunk-FEYPXEKE.js";
318
336
  import {
319
337
  RerankCache,
320
338
  reorderByRankedKeys,
@@ -324,32 +342,15 @@ import {
324
342
  buildResponseGuidanceRecallSection,
325
343
  shouldRecallResponseGuidance
326
344
  } from "./chunk-ZKE4CO6B.js";
327
- import {
328
- buildResumeBundleFromState,
329
- getResumeBundleStatus,
330
- recordResumeBundle
331
- } from "./chunk-FGT7CUYZ.js";
332
- import {
333
- getWorkProductLedgerStatus,
334
- recordWorkProductLedgerEntry,
335
- searchWorkProductLedgerEntries
336
- } from "./chunk-B2NXOVZN.js";
337
- import {
338
- TranscriptManager,
339
- utcDayRange
340
- } from "./chunk-5RONA5FF.js";
341
345
  import {
342
346
  runRecallWhy
343
- } from "./chunk-6QWFZ3X5.js";
347
+ } from "./chunk-ZA6CYFAK.js";
344
348
  import {
345
349
  parseXrayCliOptions
346
350
  } from "./chunk-FRYCXXTB.js";
347
351
  import {
348
352
  findUnresolvedEntityRefs
349
353
  } from "./chunk-X7XN6YU4.js";
350
- import {
351
- RelevanceStore
352
- } from "./chunk-FEYPXEKE.js";
353
354
  import {
354
355
  LastRecallStore,
355
356
  RecallHandleHistoryStore,
@@ -359,7 +360,7 @@ import {
359
360
  import {
360
361
  indexStateViewAnnotatedResults,
361
362
  resolveRecallStateViewActive
362
- } from "./chunk-QPFM6DHY.js";
363
+ } from "./chunk-MTJFK42O.js";
363
364
  import {
364
365
  applyRecallStateViews
365
366
  } from "./chunk-DBB5JPSL.js";
@@ -368,6 +369,9 @@ import {
368
369
  filterRecentScanMemories,
369
370
  stateViewPacketActive
370
371
  } from "./chunk-G2DF5MI7.js";
372
+ import {
373
+ maybeRespondRecallNavigation
374
+ } from "./chunk-5VMRM2X3.js";
371
375
  import {
372
376
  RECALL_NAVIGATION_MCP_TOOLS
373
377
  } from "./chunk-TE6S7KDF.js";
@@ -382,8 +386,8 @@ import {
382
386
  assertIdInNavigationWindow
383
387
  } from "./chunk-5KVT6G5U.js";
384
388
  import {
385
- maybeRespondRecallNavigation
386
- } from "./chunk-5VMRM2X3.js";
389
+ reorderRecallResultsWithMmr
390
+ } from "./chunk-IIK2PD3F.js";
387
391
  import {
388
392
  takeNavigateBudget
389
393
  } from "./chunk-VYDGHJIN.js";
@@ -411,9 +415,6 @@ import {
411
415
  estimateRecallTokens,
412
416
  summarizeDisclosureTokens
413
417
  } from "./chunk-VHXRLD6S.js";
414
- import {
415
- reorderRecallResultsWithMmr
416
- } from "./chunk-IIK2PD3F.js";
417
418
  import {
418
419
  applyReasoningTraceBoost
419
420
  } from "./chunk-EVWDNKQA.js";
@@ -464,12 +465,12 @@ import {
464
465
  runOperatorRepair,
465
466
  runOperatorSetup,
466
467
  summarizeNamespaceMaintenanceHealth
467
- } from "./chunk-LVGTH6IQ.js";
468
+ } from "./chunk-E7ATID4Z.js";
468
469
  import {
469
470
  NamespaceCatalog,
470
471
  isNamespaceKind,
471
472
  planNamespaceMaintenance
472
- } from "./chunk-QVXEXGIM.js";
473
+ } from "./chunk-VF6SC4OD.js";
473
474
  import {
474
475
  analyzeSessionIntegrity,
475
476
  applySessionRepair,
@@ -480,7 +481,7 @@ import {
480
481
  } from "./chunk-2TJSGIKT.js";
481
482
  import {
482
483
  buildEmbeddingAwareSnapshotStream
483
- } from "./chunk-FMFCQRDM.js";
484
+ } from "./chunk-AUFPPBC3.js";
484
485
  import {
485
486
  NegativeExampleStore
486
487
  } from "./chunk-23L3IXFD.js";
@@ -491,6 +492,17 @@ import {
491
492
  import {
492
493
  recordMemoryOutcome
493
494
  } from "./chunk-UD7UNYRD.js";
495
+ import {
496
+ runMemoryBrowse
497
+ } from "./chunk-ACPFBVUD.js";
498
+ import {
499
+ filterRecallCandidates,
500
+ isGenericRecallExcludedPath,
501
+ isSearchExcludedPath,
502
+ isTopLevelArchivePath,
503
+ journalPath,
504
+ writeJournalFile
505
+ } from "./chunk-D5ZLTLHF.js";
494
506
  import {
495
507
  REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
496
508
  REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL,
@@ -512,17 +524,6 @@ import {
512
524
  import {
513
525
  MEMORY_BROWSE_MCP_TOOLS
514
526
  } from "./chunk-EIB4FJVR.js";
515
- import {
516
- runMemoryBrowse
517
- } from "./chunk-CKZWLAHN.js";
518
- import {
519
- filterRecallCandidates,
520
- isGenericRecallExcludedPath,
521
- isSearchExcludedPath,
522
- isTopLevelArchivePath,
523
- journalPath,
524
- writeJournalFile
525
- } from "./chunk-YY57TRKN.js";
526
527
  import {
527
528
  scaleLcmSummarizeBudget
528
529
  } from "./chunk-3TKX7ZMV.js";
@@ -565,20 +566,20 @@ import {
565
566
  import {
566
567
  readProjectedHarmonicGraph,
567
568
  searchHarmonicRetrieval
568
- } from "./chunk-OAQRZ4SV.js";
569
+ } from "./chunk-B5KTTWC7.js";
569
570
  import {
570
571
  classifyMemoryKind
571
572
  } from "./chunk-YAZNBMNF.js";
572
573
  import {
573
574
  removeNodeEdgesForRewrite,
574
575
  rollbackNodeEdgeRewrite
575
- } from "./chunk-OM5ESBES.js";
576
+ } from "./chunk-HQPFACXO.js";
576
577
  import {
577
578
  scoreEvidencePathDetail
578
579
  } from "./chunk-XXSOVESA.js";
579
580
  import {
580
581
  buildGraphSnapshot
581
- } from "./chunk-U2PSE7MB.js";
582
+ } from "./chunk-VPEIWMUT.js";
582
583
  import {
583
584
  buildFocusedListRecallSection,
584
585
  shouldRecallFocusedListEvidence
@@ -592,16 +593,16 @@ import {
592
593
  } from "./chunk-LEO4MQ3S.js";
593
594
  import {
594
595
  ExtractionEngine
595
- } from "./chunk-5PUZV73Z.js";
596
+ } from "./chunk-SEIGLG62.js";
596
597
  import {
597
598
  wrapWorkLayerContext
598
599
  } from "./chunk-EI6V5UXY.js";
599
600
  import {
600
601
  CONNECTOR_LABEL_MAX_LENGTH
601
- } from "./chunk-U3BCW7GX.js";
602
+ } from "./chunk-G3RLCVJC.js";
602
603
  import {
603
604
  isValidConnectorId
604
- } from "./chunk-BFPQJNFZ.js";
605
+ } from "./chunk-LXSDEPEK.js";
605
606
  import {
606
607
  ProfilingCollector,
607
608
  formatProfileTraceAscii
@@ -631,15 +632,31 @@ import {
631
632
  judgeFactDurability,
632
633
  validateProcedureExtraction
633
634
  } from "./chunk-LMJVP5CM.js";
635
+ import {
636
+ buildExplicitCueRecallSection
637
+ } from "./chunk-NED7IR7B.js";
634
638
  import {
635
639
  externalWikiSearchOperation
636
640
  } from "./chunk-ZDUE44CC.js";
637
641
  import {
638
642
  EXTERNAL_WIKI_MCP_TOOLS
639
643
  } from "./chunk-A5KNZSNA.js";
644
+ import {
645
+ createEvalBaselineSnapshot,
646
+ getEvalHarnessStatus,
647
+ importEvalBenchmarkPack,
648
+ recordEvalShadowRecall,
649
+ runEvalBaselineDeltaReport,
650
+ runEvalBenchmarkCiGate,
651
+ runEvalStoredBaselineCiGate,
652
+ validateEvalBenchmarkPack
653
+ } from "./chunk-JKMIGCK6.js";
640
654
  import {
641
655
  buildEventOrderRecallSection
642
- } from "./chunk-ZDZJNXL6.js";
656
+ } from "./chunk-DK2VBJ6Q.js";
657
+ import {
658
+ lcmEvidenceIdentity
659
+ } from "./chunk-C37ZRXX7.js";
643
660
  import {
644
661
  shouldRecallEventOrderEvidence
645
662
  } from "./chunk-BUYVPUEM.js";
@@ -647,17 +664,11 @@ import {
647
664
  pickFactEventTimeAnchor,
648
665
  resolveFactEventTime
649
666
  } from "./chunk-IAIPNEHD.js";
650
- import {
651
- buildExplicitCueRecallSection
652
- } from "./chunk-NED7IR7B.js";
653
- import {
654
- lcmEvidenceIdentity
655
- } from "./chunk-C37ZRXX7.js";
656
667
  import {
657
668
  buildEntityRecallSection,
658
669
  entityRecentTranscriptLookbackHours,
659
670
  readRecentEntityTranscriptEntries
660
- } from "./chunk-J74YOBB3.js";
671
+ } from "./chunk-PFR6ZKQI.js";
661
672
  import {
662
673
  boundRecallContextComposition,
663
674
  composeMissingMemoryContext,
@@ -670,25 +681,15 @@ import {
670
681
  import {
671
682
  planEpisodeWindowsWithFallback
672
683
  } from "./chunk-T3GIETKV.js";
673
- import {
674
- createEvalBaselineSnapshot,
675
- getEvalHarnessStatus,
676
- importEvalBenchmarkPack,
677
- recordEvalShadowRecall,
678
- runEvalBaselineDeltaReport,
679
- runEvalBenchmarkCiGate,
680
- runEvalStoredBaselineCiGate,
681
- validateEvalBenchmarkPack
682
- } from "./chunk-JKMIGCK6.js";
683
684
  import {
684
685
  tryDirectAnswer
685
686
  } from "./chunk-OB72KNMF.js";
686
687
  import {
687
688
  EmbeddingFallback
688
- } from "./chunk-SBRUTD5O.js";
689
+ } from "./chunk-YSATDEBY.js";
689
690
  import {
690
691
  respondDeepRecall
691
- } from "./chunk-TAD6QMMD.js";
692
+ } from "./chunk-PRC7SZYM.js";
692
693
  import {
693
694
  DEEP_RECALL_MCP_TOOLS
694
695
  } from "./chunk-HUSTM6PU.js";
@@ -707,15 +708,15 @@ import {
707
708
  import {
708
709
  CorpusWatermarkCache,
709
710
  computeServiceCorpusCensus
710
- } from "./chunk-5QDTZIGH.js";
711
+ } from "./chunk-U7KP6QFU.js";
711
712
  import {
712
713
  listNamespaces,
713
714
  runNamespaceMigration,
714
715
  verifyNamespaces
715
- } from "./chunk-3YOX2BQD.js";
716
+ } from "./chunk-YWMCV5HL.js";
716
717
  import {
717
718
  NamespaceStorageRouter
718
- } from "./chunk-FOTFLHBN.js";
719
+ } from "./chunk-QPLI7LUU.js";
719
720
  import {
720
721
  CrossNamespaceBudget,
721
722
  toBudgetWarning
@@ -732,12 +733,12 @@ import {
732
733
  } from "./chunk-7G5NTS7F.js";
733
734
  import {
734
735
  refreshConvergedNamespaces
735
- } from "./chunk-WEFFO2MJ.js";
736
+ } from "./chunk-D6YCETHG.js";
736
737
  import {
737
738
  rebuildMemoryProjection,
738
739
  repairMemoryProjection,
739
740
  verifyMemoryProjection
740
- } from "./chunk-7VIJUZYW.js";
741
+ } from "./chunk-TQ4CELUR.js";
741
742
  import {
742
743
  buildProposedActions,
743
744
  buildQualityScore,
@@ -746,7 +747,7 @@ import {
746
747
  readMemoryGovernanceRunArtifact,
747
748
  restoreMemoryGovernanceRun,
748
749
  runMemoryGovernance
749
- } from "./chunk-ZWDDY4WF.js";
750
+ } from "./chunk-M7CFCRWJ.js";
750
751
  import {
751
752
  collectNativeKnowledgeChunks,
752
753
  formatNativeKnowledgeSection,
@@ -779,29 +780,29 @@ import {
779
780
  materializeAfterSemanticConsolidation,
780
781
  parseConsolidationResponse,
781
782
  parseOperatorAwareConsolidationResponse
782
- } from "./chunk-GBSXTTLP.js";
783
+ } from "./chunk-ITGAGNX5.js";
783
784
  import {
784
785
  resolveNamespaceChildRoot
785
786
  } from "./chunk-3UXOZBHV.js";
786
787
  import {
787
788
  GraphIndex,
788
789
  analyzeGraphHealth
789
- } from "./chunk-73TPOGS4.js";
790
- import {
791
- GraphEdgeAppendError
792
- } from "./chunk-GKCXTSFF.js";
790
+ } from "./chunk-BFBS7OFQ.js";
793
791
  import {
794
792
  subscribeGraphEvents
795
793
  } from "./chunk-DEUNUKTD.js";
794
+ import {
795
+ GraphEdgeAppendError
796
+ } from "./chunk-GKCXTSFF.js";
796
797
  import {
797
798
  SmartBuffer
798
- } from "./chunk-QLQUAVVP.js";
799
+ } from "./chunk-I7WPLMUX.js";
799
800
  import {
800
801
  ExtractionDeadlineError,
801
802
  ExtractionRunCoordinator,
802
803
  ProviderCircuitBreaker,
803
804
  classifyExtractionOrigin
804
- } from "./chunk-HDWISXFH.js";
805
+ } from "./chunk-RVAPK2S7.js";
805
806
  import {
806
807
  ARTIFACT_STATUS_CACHE_TTL_MS,
807
808
  BulkImportBatchPartialFailureError,
@@ -841,7 +842,7 @@ import {
841
842
  throwIfRecallAborted,
842
843
  tokenizeRecallQuery,
843
844
  utcDateKeysForLocalDay
844
- } from "./chunk-ZX546Y3Y.js";
845
+ } from "./chunk-7OYDFIL4.js";
845
846
  import {
846
847
  inferIntentFromText,
847
848
  intentCompatibilityScore,
@@ -850,7 +851,7 @@ import {
850
851
  } from "./chunk-CSAKJVXW.js";
851
852
  import {
852
853
  LocalLlmClient
853
- } from "./chunk-QFTK6EDM.js";
854
+ } from "./chunk-BFZFNXOC.js";
854
855
  import {
855
856
  isCapsuleImportArchiveInputError,
856
857
  validateCapsuleImportArchive
@@ -858,6 +859,10 @@ import {
858
859
  import {
859
860
  defaultCapsulesDir
860
861
  } from "./chunk-ZY2MNJR6.js";
862
+ import {
863
+ ReplayAdmissionRefusedError,
864
+ StorageTargetRequiredError
865
+ } from "./chunk-XAIRTELU.js";
861
866
  import {
862
867
  semanticChunkContent
863
868
  } from "./chunk-2GBFKHBZ.js";
@@ -875,7 +880,7 @@ import {
875
880
  parseBriefingFocus,
876
881
  parseBriefingWindow,
877
882
  validateBriefingFormat
878
- } from "./chunk-TNRGWJYT.js";
883
+ } from "./chunk-H4IU24V5.js";
879
884
  import {
880
885
  BriefingTimeoutError,
881
886
  withBriefingDeadline
@@ -884,9 +889,9 @@ import {
884
889
  scopeObserveBufferAdmissionIdempotencyKey
885
890
  } from "./chunk-5EP2V675.js";
886
891
  import {
887
- ReplayAdmissionRefusedError,
888
- StorageTargetRequiredError
889
- } from "./chunk-XAIRTELU.js";
892
+ AMBIENT_CAPTURE_PROMPT_RULE,
893
+ isHighImpactPersonalFact
894
+ } from "./chunk-QW27DOHG.js";
890
895
  import {
891
896
  buildRecallQueryPolicy
892
897
  } from "./chunk-C6WMSXCJ.js";
@@ -904,6 +909,13 @@ import {
904
909
  import {
905
910
  isDisagreementPrompt
906
911
  } from "./chunk-H3FZVNRN.js";
912
+ import {
913
+ handleSupportPassportOwnerHttp
914
+ } from "./chunk-DFZYZOLH.js";
915
+ import {
916
+ SupportPassportError,
917
+ buildSupportPassportPublicRequestHandler
918
+ } from "./chunk-QWWHYBPT.js";
907
919
  import {
908
920
  meetingsBuild,
909
921
  meetingsGet,
@@ -940,7 +952,7 @@ import {
940
952
  validateCorrectionAction,
941
953
  validateCorrectionRequest,
942
954
  validateRedactionPattern
943
- } from "./chunk-SIONKXLU.js";
955
+ } from "./chunk-XTRC6SSS.js";
944
956
  import {
945
957
  compileCorrectionRule,
946
958
  correctionsFilePath,
@@ -1030,7 +1042,7 @@ import {
1030
1042
  getCausalTrajectoryStoreStatus,
1031
1043
  readCausalTrajectoryRecords,
1032
1044
  searchCausalTrajectories
1033
- } from "./chunk-GMO3BGOF.js";
1045
+ } from "./chunk-QC2MHZDD.js";
1034
1046
  import {
1035
1047
  QmdResultResolver,
1036
1048
  StorageManager,
@@ -1053,10 +1065,7 @@ import {
1053
1065
  reconstructFusionInputs,
1054
1066
  selfDeps,
1055
1067
  serializeFusionDay
1056
- } from "./chunk-OWM2VWNX.js";
1057
- import {
1058
- buildRetiredFactTombstoneInputs
1059
- } from "./chunk-QGVCFVX6.js";
1068
+ } from "./chunk-FSXYBIEZ.js";
1060
1069
  import {
1061
1070
  bodyIsEscaped,
1062
1071
  decodeTranscriptBody,
@@ -1067,17 +1076,20 @@ import {
1067
1076
  saveSpeakerRegistry,
1068
1077
  speakerRegistryKey
1069
1078
  } from "./chunk-UHVXE24Y.js";
1079
+ import {
1080
+ buildRetiredFactTombstoneInputs
1081
+ } from "./chunk-QGVCFVX6.js";
1070
1082
  import {
1071
1083
  NamespaceSearchRouter,
1072
1084
  embeddingBacklogExceeds,
1073
1085
  isSearchHealthDegraded,
1074
1086
  namespaceCollectionName
1075
- } from "./chunk-AVWOULJH.js";
1087
+ } from "./chunk-SH3GOZWK.js";
1076
1088
  import {
1077
1089
  createConversationIndexRuntime,
1078
1090
  createSearchBackend,
1079
1091
  isSearchBackendEnabled
1080
- } from "./chunk-7OCKK5M5.js";
1092
+ } from "./chunk-GWY5ZFHP.js";
1081
1093
  import {
1082
1094
  NoopSearchBackend
1083
1095
  } from "./chunk-CYEPCZN5.js";
@@ -1148,16 +1160,19 @@ import {
1148
1160
  isValidAsOf,
1149
1161
  isValidityExpiredNow
1150
1162
  } from "./chunk-6CIAGZ6X.js";
1163
+ import {
1164
+ withCaptureWriteLockBackoff
1165
+ } from "./chunk-7VLBZKNB.js";
1151
1166
  import {
1152
1167
  buildExplicitCaptureDedupKey,
1153
1168
  normalizeExplicitCaptureContent
1154
1169
  } from "./chunk-Y33KJ556.js";
1155
- import {
1156
- mergeSearchQueryOptions
1157
- } from "./chunk-B7HYXVME.js";
1158
1170
  import {
1159
1171
  renderQmdBacklogStatus
1160
1172
  } from "./chunk-IUM3VSHI.js";
1173
+ import {
1174
+ mergeSearchQueryOptions
1175
+ } from "./chunk-B7HYXVME.js";
1161
1176
  import {
1162
1177
  isUntrustedOrigin,
1163
1178
  parseOriginClass
@@ -1169,9 +1184,6 @@ import {
1169
1184
  import {
1170
1185
  fallbackLlmRuntimeContextFromConfig
1171
1186
  } from "./chunk-QSF5SJAM.js";
1172
- import {
1173
- withCaptureWriteLockBackoff
1174
- } from "./chunk-7VLBZKNB.js";
1175
1187
  import {
1176
1188
  bufferTurnsEqual,
1177
1189
  describeError,
@@ -1190,10 +1202,6 @@ import {
1190
1202
  padEndDisplay,
1191
1203
  truncateGraphemeSafe
1192
1204
  } from "./chunk-EMMUQUHF.js";
1193
- import {
1194
- AMBIENT_CAPTURE_PROMPT_RULE,
1195
- isHighImpactPersonalFact
1196
- } from "./chunk-QW27DOHG.js";
1197
1205
  import {
1198
1206
  RECALL_WHY_MCP_TOOLS,
1199
1207
  handleRecallWhyHttpQuery,
@@ -1216,26 +1224,22 @@ import {
1216
1224
  import {
1217
1225
  extractJsonCandidates
1218
1226
  } from "./chunk-YBA52OKG.js";
1227
+ import {
1228
+ attributeRawExcerpts
1229
+ } from "./chunk-IUGOGDCP.js";
1219
1230
  import {
1220
1231
  engramRecallSearchOptionsMcpProperty
1221
1232
  } from "./chunk-CQ3IG3GZ.js";
1222
1233
  import {
1223
1234
  delegateExtractionForceFlush
1224
1235
  } from "./chunk-RMMA44HE.js";
1225
- import {
1226
- handleSupportPassportOwnerHttp
1227
- } from "./chunk-DFZYZOLH.js";
1228
- import {
1229
- SupportPassportError,
1230
- buildSupportPassportPublicRequestHandler
1231
- } from "./chunk-QWWHYBPT.js";
1232
1236
  import {
1233
1237
  ObserveTranscriptPersister,
1234
1238
  observeTranscriptSessionKey
1235
1239
  } from "./chunk-TB6VFEHQ.js";
1236
1240
  import {
1237
1241
  splitCanonicalWriteRequest
1238
- } from "./chunk-UMEUU66X.js";
1242
+ } from "./chunk-O3OEVYUR.js";
1239
1243
  import {
1240
1244
  buildWithBriefingLocation,
1241
1245
  daySummaryAutoOptions,
@@ -1272,10 +1276,10 @@ import {
1272
1276
  } from "./chunk-TOSPNM4T.js";
1273
1277
  import {
1274
1278
  createOfflineSyncManifestStream
1275
- } from "./chunk-T4BT4FQN.js";
1279
+ } from "./chunk-HH6PXQ2B.js";
1276
1280
  import {
1277
1281
  peerManifestRevision
1278
- } from "./chunk-FEUWI5QH.js";
1282
+ } from "./chunk-HHPY5SSE.js";
1279
1283
  import {
1280
1284
  offlineSyncStorageForSnapshot
1281
1285
  } from "./chunk-QXTKN25V.js";
@@ -1302,7 +1306,7 @@ import {
1302
1306
  lastRecognizedCitationMarker,
1303
1307
  stripCitationForTemplate,
1304
1308
  stripRecognizedCitations
1305
- } from "./chunk-L272A5QW.js";
1309
+ } from "./chunk-YYDUBGUF.js";
1306
1310
  import {
1307
1311
  STATE_FILE_MAX_DECRYPT_BYTES
1308
1312
  } from "./chunk-BNZAR6PO.js";
@@ -1443,7 +1447,7 @@ import {
1443
1447
  codingContextLocalRoot,
1444
1448
  resolveCodingContextFromOptions,
1445
1449
  setSessionCodingContext
1446
- } from "./chunk-CKELO7Q6.js";
1450
+ } from "./chunk-FHWX2REL.js";
1447
1451
  import {
1448
1452
  memoryStoreRequestSchema,
1449
1453
  observeRequestSchema,
@@ -1452,13 +1456,13 @@ import {
1452
1456
  retainedCategoryAlias,
1453
1457
  suggestionSubmitRequestSchema,
1454
1458
  validateRequest
1455
- } from "./chunk-ZQUOUPP3.js";
1459
+ } from "./chunk-BHRPZBAH.js";
1456
1460
  import {
1457
1461
  exportCapsule
1458
- } from "./chunk-BUKK5SWA.js";
1462
+ } from "./chunk-UPD5XDJX.js";
1459
1463
  import {
1460
1464
  CAPSULE_ID_PATTERN
1461
- } from "./chunk-WEHSQBFR.js";
1465
+ } from "./chunk-AIF6V2OX.js";
1462
1466
  import {
1463
1467
  buildActionConfidenceInputFromOptions,
1464
1468
  evaluateActionConfidence,
@@ -1494,10 +1498,10 @@ import {
1494
1498
  buildOfflineSyncSnapshotFromBase,
1495
1499
  normalizeOfflineSyncChangeset,
1496
1500
  readOfflineSyncFileContentChunk
1497
- } from "./chunk-CLVILSBR.js";
1501
+ } from "./chunk-TGQW3AMK.js";
1498
1502
  import {
1499
1503
  storageBackedIndexStoreIo
1500
- } from "./chunk-5BE3FLKL.js";
1504
+ } from "./chunk-5KDDAQ6K.js";
1501
1505
  import {
1502
1506
  compileOfflineSyncExcludeGlobs
1503
1507
  } from "./chunk-63LFM77Z.js";
@@ -11397,6 +11401,7 @@ var ExtractionPersistCoordinator = class {
11397
11401
  async persistExtractionPass(finalization, result, storage, threadIdForExtraction, sourceContext, baseNamespace, scopeProfileWritePlan, sourceText, graphCaps = resolveGraphConstructionCapabilities(this.deps.config), lifecycleCaps = resolveMemoryLifecycleCapabilities(this.deps.config)) {
11398
11402
  const citationEnabled = resolvePipelineProcessingCapabilities(this.deps.config).inlineSourceAttribution === true;
11399
11403
  const citationTemplate = this.deps.config.inlineSourceAttributionFormat;
11404
+ const citationHistory = this.deps.config.inlineSourceAttributionFormatHistory;
11400
11405
  const factDedupEnabled = resolveRecallAuxiliaryCapabilities(this.deps.config).factDeduplication;
11401
11406
  const harmonicConstructionEnabled = resolveCapabilities(this.deps.config).harmonicRetrieval;
11402
11407
  const harmonicAnchorsEnabled = resolveConsolidationCapabilities(this.deps.config).abstractionAnchors;
@@ -11405,12 +11410,12 @@ var ExtractionPersistCoordinator = class {
11405
11410
  const harmonicSourceInsertedAtBase = Date.now();
11406
11411
  let harmonicSourceOrder = 0;
11407
11412
  const promotedCopyProbe = createBatchPromotedCopyProbe(this.deps.config, this.deps.getStorageRouter, scopeProfileWritePlan);
11408
- const normalizeStoredHashSource2 = (raw) => normalizeStoredHashSource(raw, citationEnabled, citationTemplate);
11413
+ const normalizeStoredHashSource2 = (raw) => normalizeStoredHashSource(raw, citationEnabled, citationTemplate, citationHistory);
11409
11414
  const citationContextBase = citationEnabled ? {
11410
11415
  agent: sourceContext?.principal,
11411
11416
  session: sourceContext?.sessionKey
11412
11417
  } : {};
11413
- const applyInlineCitation2 = (content) => applyInlineCitation(content, citationEnabled, citationTemplate, citationContextBase);
11418
+ const applyInlineCitation2 = (content) => applyInlineCitation(content, citationEnabled, citationTemplate, citationContextBase, citationHistory);
11414
11419
  const persistedIds = [];
11415
11420
  const memoryPathById = /* @__PURE__ */ new Map();
11416
11421
  const anchorSnapshots = new ExtractionAnchorSnapshot({
@@ -11506,7 +11511,7 @@ var ExtractionPersistCoordinator = class {
11506
11511
  (target) => target.target !== "serverShared" && autoTargets.has(target.target) && target.authorized && target.namespace
11507
11512
  );
11508
11513
  if (targets.length === 0) return [];
11509
- const rawContent = citationEnabled && hasCitationForTemplate(options.content, citationTemplate) ? stripCitationForTemplate(options.content, citationTemplate) : options.content;
11514
+ const rawContent = citationEnabled && hasCitationForTemplate(options.content, citationTemplate, citationHistory) ? stripCitationForTemplate(options.content, citationTemplate, citationHistory) : options.content;
11510
11515
  const citedContent = applyInlineCitation2(rawContent);
11511
11516
  const sanitizedBase = sanitizeMemoryContent(rawContent);
11512
11517
  const writtenCopyIds = [];
@@ -11660,7 +11665,7 @@ var ExtractionPersistCoordinator = class {
11660
11665
  const sharedStorage = await this.deps.getStorageRouter().storageFor(
11661
11666
  this.deps.config.sharedNamespace
11662
11667
  );
11663
- const rawContent = citationEnabled && hasCitationForTemplate(options.content, citationTemplate) ? stripCitationForTemplate(options.content, citationTemplate) : options.content;
11668
+ const rawContent = citationEnabled && hasCitationForTemplate(options.content, citationTemplate, citationHistory) ? stripCitationForTemplate(options.content, citationTemplate, citationHistory) : options.content;
11664
11669
  const citedContent = applyInlineCitation2(rawContent);
11665
11670
  const sanitizedBase = sanitizeMemoryContent(rawContent);
11666
11671
  const sharedPromotionEnvelope = composeSalvagedExtractionEnvelope(
@@ -11860,7 +11865,7 @@ var ExtractionPersistCoordinator = class {
11860
11865
  const backfillTemporalBoundsOnPromotionCopies = async (args) => {
11861
11866
  const hasExtractedStart = args.bounds.validFrom !== void 0 && args.bounds.eventTimeSource === "extracted";
11862
11867
  if (!args.bounds.invalidAt && !hasExtractedStart) return;
11863
- const rawContent = citationEnabled && hasCitationForTemplate(args.content, citationTemplate) ? stripCitationForTemplate(args.content, citationTemplate) : args.content;
11868
+ const rawContent = citationEnabled && hasCitationForTemplate(args.content, citationTemplate, citationHistory) ? stripCitationForTemplate(args.content, citationTemplate, citationHistory) : args.content;
11864
11869
  const sanitizedBase = sanitizeMemoryContent(rawContent);
11865
11870
  const probed = args.category === "fact" && isMemoryCategory(args.category) ? probeSalvageSurvivingFields({
11866
11871
  content: rawContent,
@@ -12279,7 +12284,7 @@ var ExtractionPersistCoordinator = class {
12279
12284
  } catch (redactionErr) {
12280
12285
  log.warn(`extraction: redaction-rule gate failed open: ${redactionErr}`);
12281
12286
  }
12282
- const canonicalContentForHash = citationEnabled && hasCitationForTemplate(fact.content, citationTemplate) ? stripCitationForTemplate(fact.content, citationTemplate) : fact.content;
12287
+ const canonicalContentForHash = citationEnabled && hasCitationForTemplate(fact.content, citationTemplate, citationHistory) ? stripCitationForTemplate(fact.content, citationTemplate, citationHistory) : fact.content;
12283
12288
  const contentHashDedupKey = writeCategory === "procedure" ? buildProcedurePersistBody(fact.content, fact.procedureSteps) : canonicalContentForHash;
12284
12289
  const importance = scoreImportance(
12285
12290
  fact.content,
@@ -12548,7 +12553,7 @@ var ExtractionPersistCoordinator = class {
12548
12553
  }
12549
12554
  if (chunkResult.chunked && chunkResult.chunks.length > 1) {
12550
12555
  const memoryKind2 = resolvePresentationCapabilities(this.deps.config).episodeNoteMode ? classifyMemoryKind(fact.content, fact.tags ?? [], writeCategory) : void 0;
12551
- const rawChunkedContent = citationEnabled && hasCitationForTemplate(fact.content, citationTemplate) ? stripCitationForTemplate(fact.content, citationTemplate) : fact.content;
12556
+ const rawChunkedContent = citationEnabled && hasCitationForTemplate(fact.content, citationTemplate, citationHistory) ? stripCitationForTemplate(fact.content, citationTemplate, citationHistory) : fact.content;
12552
12557
  const citedChunkedContent = applyInlineCitation2(rawChunkedContent);
12553
12558
  const parentWriteEnvelope = composeSalvagedExtractionEnvelope(
12554
12559
  {
@@ -12747,7 +12752,7 @@ var ExtractionPersistCoordinator = class {
12747
12752
  harmonicFact
12748
12753
  });
12749
12754
  try {
12750
- const canonicalChunkedContent = citationEnabled && hasCitationForTemplate(fact.content, citationTemplate) ? stripCitationForTemplate(fact.content, citationTemplate) : fact.content;
12755
+ const canonicalChunkedContent = citationEnabled && hasCitationForTemplate(fact.content, citationTemplate, citationHistory) ? stripCitationForTemplate(fact.content, citationTemplate, citationHistory) : fact.content;
12751
12756
  if (!tombstoneBlocked2) {
12752
12757
  await this.deps.addContentHashDedup(targetStorage, canonicalChunkedContent);
12753
12758
  }
@@ -16384,9 +16389,10 @@ ${rows.join("\n")}
16384
16389
  return null;
16385
16390
  }
16386
16391
  const section = buildCalibrationRecallSection(
16387
- rules.slice(0, this.deps.config.calibrationMaxRulesPerRecall),
16392
+ rules,
16388
16393
  retrievalQuery,
16389
- this.deps.config.calibrationMaxChars
16394
+ this.deps.config.calibrationMaxChars,
16395
+ this.deps.config.calibrationMaxRulesPerRecall
16390
16396
  );
16391
16397
  recordRecallSectionMetric({
16392
16398
  section: "calibrationRules",
@@ -20785,14 +20791,13 @@ async function ingestReplayBatchBuffered(deps, bySession, options) {
20785
20791
  };
20786
20792
  const admissionKey = options.bufferAdmissionIdempotencyKey?.trim();
20787
20793
  const batches = [...bySession].map(([bufferKey, sessionTurns]) => ({ bufferKey, turns: sessionTurns.map(pin) }));
20788
- const outcomes = admissionKey ? await deps.buffer.addTurnsBoundedForObserveReplay(batches, admissionKey) : await deps.buffer.addTurnsBounded(batches);
20794
+ let refusal;
20795
+ const onRefused = (reason) => {
20796
+ refusal = reason;
20797
+ };
20798
+ const outcomes = admissionKey ? await deps.buffer.addTurnsBoundedForObserveReplay(batches, admissionKey, onRefused) : await deps.buffer.addTurnsBounded(batches, onRefused);
20789
20799
  if (outcomes === "duplicate") return;
20790
- if (outcomes === null) {
20791
- const refusedKey = batches.find((batch) => batch.turns.length > 0)?.bufferKey ?? "unknown";
20792
- throw new ReplayAdmissionRefusedError(
20793
- `durable observe capture refused: extraction buffer at entry capacity for batch containing ${refusedKey}`
20794
- );
20795
- }
20800
+ if (outcomes === null) throw replayRefusal(refusal, batches);
20796
20801
  await deps.buffer.flushPendingSave({ throwOnFailure: true });
20797
20802
  if (options.archiveLcm !== false && deps.lcmEngine?.enabled) {
20798
20803
  for (const [bufferKey, sessionTurns] of bySession) {
@@ -20814,6 +20819,18 @@ async function ingestReplayBatchBuffered(deps, bySession, options) {
20814
20819
  }
20815
20820
  }
20816
20821
  }
20822
+ function replayRefusal(refusal, batches) {
20823
+ if (refusal?.reason === "session_turn_cap") {
20824
+ return new ReplayAdmissionRefusedError(
20825
+ `durable observe capture refused: session ${refusal.bufferKey} holds the per-session turn cap (${refusal.maxTurnsPerSession}) of unextracted turns; retry after extraction drains it`
20826
+ );
20827
+ }
20828
+ const refusedKey = batches.find((batch) => batch.turns.length > 0)?.bufferKey ?? "unknown";
20829
+ const cap2 = refusal?.reason === "session_entry_cap" ? ` (${refusal.maxSessionEntries})` : "";
20830
+ return new ReplayAdmissionRefusedError(
20831
+ `durable observe capture refused: extraction buffer at entry capacity, session-entry cap${cap2} full for batch containing ${refusedKey}`
20832
+ );
20833
+ }
20817
20834
 
20818
20835
  // src/orchestration/extraction-drain.ts
20819
20836
  import { createHash as createHash9 } from "crypto";
@@ -23705,7 +23722,7 @@ var OrchestratorInitCoordinator = class {
23705
23722
  if (signal.aborted || !this.isCurrentStartupEpoch(epoch)) return;
23706
23723
  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)) {
23707
23724
  try {
23708
- const { startWearablesAutoSync } = await import("./auto-sync-L3M4RKJD.js");
23725
+ const { startWearablesAutoSync } = await import("./auto-sync-ACP5U5A3.js");
23709
23726
  if (signal.aborted || !this.isCurrentStartupEpoch(epoch)) return;
23710
23727
  this.deps.wearablesAutoSyncHandle = startWearablesAutoSync(
23711
23728
  {
@@ -28974,6 +28991,7 @@ var Orchestrator = class {
28974
28991
  );
28975
28992
  this.storage = new StorageManager(config.memoryDir, config.entitySchemas);
28976
28993
  this.storage.citationTemplate = config.inlineSourceAttributionFormat;
28994
+ this.storage.citationTemplateHistory = config.inlineSourceAttributionFormatHistory;
28977
28995
  if (config.defaultNamespace) this.storageRouter.bindCatalogWriteHook(this.storage, config.defaultNamespace);
28978
28996
  this.storage.setVersioningConfig({
28979
28997
  enabled: resolveRecallAuxiliaryCapabilities(config).versioning,
@@ -42252,17 +42270,34 @@ function createBackend(cfg) {
42252
42270
  import fsp3 from "fs/promises";
42253
42271
  import path34 from "path";
42254
42272
  import crypto from "crypto";
42255
- function matchesPatterns(filename, patterns) {
42256
- const lower = filename.toLowerCase();
42257
- for (const pattern of patterns) {
42258
- if (pattern.startsWith("*.")) {
42259
- const ext = pattern.slice(1).toLowerCase();
42260
- if (lower.endsWith(ext)) return true;
42261
- } else if (lower === pattern.toLowerCase()) {
42262
- return true;
42273
+ function globMatches(nameText, patternText) {
42274
+ const name = Array.from(nameText);
42275
+ const pattern = Array.from(patternText);
42276
+ let n = 0;
42277
+ let p = 0;
42278
+ let starP = -1;
42279
+ let starN = 0;
42280
+ while (n < name.length) {
42281
+ const c = pattern[p];
42282
+ if (c === "*") {
42283
+ starP = p++;
42284
+ starN = n;
42285
+ } else if (p < pattern.length && (c === "?" || c === name[n])) {
42286
+ p++;
42287
+ n++;
42288
+ } else if (starP >= 0) {
42289
+ p = starP + 1;
42290
+ n = ++starN;
42291
+ } else {
42292
+ return false;
42263
42293
  }
42264
42294
  }
42265
- return false;
42295
+ while (pattern[p] === "*") p++;
42296
+ return p === pattern.length;
42297
+ }
42298
+ function matchesPatterns(filename, patterns) {
42299
+ const lower = filename.toLowerCase();
42300
+ return patterns.some((pattern) => globMatches(lower, pattern.toLowerCase()));
42266
42301
  }
42267
42302
  async function scanForBinaries(memoryDir, config, manifest) {
42268
42303
  const tracked = new Map(manifest.assets.map((a) => [a.originalPath, a]));
@@ -51424,7 +51459,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
51424
51459
  }
51425
51460
  }
51426
51461
  if (sourceArchive.endsWith(".enc")) {
51427
- const { isEncryptedCapsuleFile } = await import("./capsule-crypto-GWVG7LGC.js");
51462
+ const { isEncryptedCapsuleFile } = await import("./capsule-crypto-7FJQINUR.js");
51428
51463
  const encDetected = await isEncryptedCapsuleFile(sourceArchive).catch(() => true);
51429
51464
  if (encDetected) {
51430
51465
  throw new Error(
@@ -51432,7 +51467,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
51432
51467
  );
51433
51468
  }
51434
51469
  }
51435
- const { mergeCapsule } = await import("./capsule-merge-VHBRF65A.js");
51470
+ const { mergeCapsule } = await import("./capsule-merge-BADOICNP.js");
51436
51471
  const result = await mergeCapsule({
51437
51472
  sourceArchive,
51438
51473
  targetRoot: memoryDir,
@@ -51587,7 +51622,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
51587
51622
  const { parseExportBundle } = await import("./transfer/types.js");
51588
51623
  let decryptedBuf;
51589
51624
  try {
51590
- const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-GWVG7LGC.js");
51625
+ const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-7FJQINUR.js");
51591
51626
  decryptedBuf = await decryptCapsuleFileInMemory(archivePath, memoryDir);
51592
51627
  } catch (decErr) {
51593
51628
  const msg = decErr instanceof Error ? decErr.message : String(decErr);
@@ -51758,16 +51793,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
51758
51793
  writeNamespace
51759
51794
  );
51760
51795
  const writeRoot = writeStorage.dir;
51761
- const ingestBatch = async (turns) => {
51762
- const before = new Set(await listMemoryMarkdownFilePaths(writeRoot));
51763
- await orchestrator.ingestBulkImportBatch(turns, {});
51764
- const after = await listMemoryMarkdownFilePaths(writeRoot);
51765
- let memoriesCreated = 0;
51766
- for (const p of after) {
51767
- if (!before.has(p)) memoriesCreated += 1;
51768
- }
51769
- return { memoriesCreated, duplicatesSkipped: 0 };
51770
- };
51796
+ const ingestBatch = processBatchFromIngest((turns) => orchestrator.ingestBulkImportBatch(turns, {}));
51771
51797
  try {
51772
51798
  const result = await runBulkImportCliCommand({
51773
51799
  memoryDir: writeRoot,
@@ -58290,21 +58316,21 @@ async function runRecallNavigation(deps, request) {
58290
58316
  }
58291
58317
 
58292
58318
  // src/orchestration/extraction-persist-citation.ts
58293
- function normalizeStoredHashSource(raw, citationEnabled, citationTemplate) {
58319
+ function normalizeStoredHashSource(raw, citationEnabled, citationTemplate, citationHistory = []) {
58294
58320
  return ContentHashIndex.normalizeContent(
58295
58321
  sanitizeMemoryContent(
58296
- citationEnabled && hasCitationForTemplate(raw, citationTemplate) ? stripCitationForTemplate(raw, citationTemplate) : raw
58322
+ citationEnabled && hasCitationForTemplate(raw, citationTemplate, citationHistory) ? stripCitationForTemplate(raw, citationTemplate, citationHistory) : raw
58297
58323
  ).text
58298
58324
  );
58299
58325
  }
58300
- function applyInlineCitation(content, citationEnabled, citationTemplate, citationContextBase) {
58326
+ function applyInlineCitation(content, citationEnabled, citationTemplate, citationContextBase, citationHistory = []) {
58301
58327
  if (!citationEnabled) return content;
58302
58328
  if (typeof content !== "string" || content.length === 0) return content;
58303
58329
  const citationContext = {
58304
58330
  ...citationContextBase,
58305
58331
  ts: (/* @__PURE__ */ new Date()).toISOString()
58306
58332
  };
58307
- return attachCitation(content, citationContext, citationTemplate);
58333
+ return attachCitation(content, citationContext, citationTemplate, citationHistory);
58308
58334
  }
58309
58335
 
58310
58336
  // src/orchestration/fact-dedup-window.ts
@@ -62500,6 +62526,7 @@ var AccessRecallSurface = class {
62500
62526
  } : null
62501
62527
  );
62502
62528
  const rawExcerpts = rawExcerptsResult ?? void 0;
62529
+ const pending = [];
62503
62530
  for (const included of coerceIncludedMemories(snapshot)) {
62504
62531
  const memoryPath = included.path;
62505
62532
  if (!memoryPath) continue;
@@ -62510,28 +62537,27 @@ var AccessRecallSurface = class {
62510
62537
  if (!resolved) continue;
62511
62538
  const { memory, baseDir } = resolved;
62512
62539
  seen.add(seenKey);
62513
- results.push(
62514
- this.deps.serializeMemorySummary(
62515
- memory,
62516
- baseDir,
62517
- disclosure,
62518
- // Attach the (possibly empty) raw excerpts to the first raw
62519
- // result; subsequent results do not duplicate the array.
62520
- results.length === 0 ? rawExcerpts : void 0
62521
- )
62522
- );
62540
+ pending.push({ memory, baseDir });
62523
62541
  }
62524
- if (results.length > 0) return results;
62525
- for (const memoryId of snapshot.memoryIds) {
62526
- const memory = await storage.getMemoryById(memoryId);
62527
- if (!memory || seen.has(memory.path)) continue;
62528
- seen.add(memory.path);
62542
+ if (pending.length === 0) {
62543
+ for (const memoryId of snapshot.memoryIds) {
62544
+ const memory = await storage.getMemoryById(memoryId);
62545
+ if (!memory || seen.has(memory.path)) continue;
62546
+ seen.add(memory.path);
62547
+ pending.push({ memory, baseDir: storageDir });
62548
+ }
62549
+ }
62550
+ const attributed = attributeRawExcerpts(
62551
+ pending.map((entry) => entry.memory),
62552
+ rawExcerpts
62553
+ );
62554
+ for (const [index, entry] of pending.entries()) {
62529
62555
  results.push(
62530
62556
  this.deps.serializeMemorySummary(
62531
- memory,
62532
- storageDir,
62557
+ entry.memory,
62558
+ entry.baseDir,
62533
62559
  disclosure,
62534
- results.length === 0 ? rawExcerpts : void 0
62560
+ attributed[index]
62535
62561
  )
62536
62562
  );
62537
62563
  }
@@ -67913,4 +67939,4 @@ export {
67913
67939
  EngramAccessService,
67914
67940
  AccessAdminOpsSurface
67915
67941
  };
67916
- //# sourceMappingURL=chunk-IE2ZLO3R.js.map
67942
+ //# sourceMappingURL=chunk-32OTLNAU.js.map