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