@remnic/core 10.0.136 → 10.0.138

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 (313) hide show
  1. package/dist/access-admin-ops-surface.js +152 -152
  2. package/dist/access-cli.js +152 -152
  3. package/dist/access-extraction-force-flush-preempt.d.ts +11 -0
  4. package/dist/access-extraction-force-flush-preempt.d.ts.map +1 -0
  5. package/dist/access-extraction-force-flush-preempt.js +576 -0
  6. package/dist/access-extraction-force-flush.js +152 -152
  7. package/dist/access-http-briefing.js +152 -152
  8. package/dist/access-http-query.js +152 -152
  9. package/dist/access-http.js +152 -152
  10. package/dist/access-identity-continuity-surface.js +152 -152
  11. package/dist/access-lcm-surface.js +152 -152
  12. package/dist/access-mcp.js +152 -152
  13. package/dist/access-observe-write-category.js +10 -10
  14. package/dist/access-observe-write-surface.d.ts.map +1 -1
  15. package/dist/access-observe-write-surface.js +152 -152
  16. package/dist/access-offline-manifest.js +15 -15
  17. package/dist/access-operations-batch.js +152 -152
  18. package/dist/access-operations.js +152 -152
  19. package/dist/access-recall-concurrency.js +152 -152
  20. package/dist/access-recall-diagnostics.js +8 -8
  21. package/dist/access-recall-response.js +152 -152
  22. package/dist/access-recall-surface.js +152 -152
  23. package/dist/access-schema.js +9 -9
  24. package/dist/access-service.js +152 -152
  25. package/dist/access-surface-catalog.js +4 -4
  26. package/dist/active-memory-bridge.js +7 -7
  27. package/dist/active-recall.js +31 -31
  28. package/dist/{auto-sync-BO5YZKM6.js → auto-sync-PSZJHHXB.js} +5 -5
  29. package/dist/briefing.js +21 -21
  30. package/dist/buffer-turn.d.ts +11 -0
  31. package/dist/buffer-turn.d.ts.map +1 -1
  32. package/dist/buffer.js +10 -10
  33. package/dist/calibration.js +3 -3
  34. package/dist/causal-consolidation.js +22 -22
  35. package/dist/{chunk-T4KY6UYF.js → chunk-274UY54Z.js} +2 -2
  36. package/dist/{chunk-3TVCG6ST.js → chunk-2DWTO7XP.js} +6 -6
  37. package/dist/{chunk-STKNZY7A.js → chunk-2NJ74RQU.js} +2 -2
  38. package/dist/{chunk-4H7TUVWQ.js → chunk-2VS3DAXE.js} +3 -3
  39. package/dist/{chunk-MEQPK3KG.js → chunk-3BRHOVRU.js} +3 -3
  40. package/dist/{chunk-HLWXCDUQ.js → chunk-3DAWHP5K.js} +5 -5
  41. package/dist/{chunk-KVCFAWBZ.js → chunk-3PZDG5ZH.js} +2 -2
  42. package/dist/{chunk-5RZ4DAP6.js → chunk-5IGWEYNV.js} +3 -3
  43. package/dist/{chunk-U5I2G4VU.js → chunk-5WZT6WQW.js} +4 -4
  44. package/dist/{chunk-TL6QIZT7.js → chunk-66MBMBSH.js} +2 -2
  45. package/dist/{chunk-KLUCX6OH.js → chunk-77SYM565.js} +14 -14
  46. package/dist/{chunk-ZGGFGUUF.js → chunk-A33VT7GC.js} +2 -2
  47. package/dist/{chunk-5RCXMLI5.js → chunk-AV6R66KO.js} +3 -3
  48. package/dist/{chunk-BL545EH7.js → chunk-CFSCKCT5.js} +15 -14
  49. package/dist/chunk-CFSCKCT5.js.map +1 -0
  50. package/dist/{chunk-S3LWB6K3.js → chunk-CKG7T4AD.js} +2 -2
  51. package/dist/{chunk-YNTVQWLX.js → chunk-DI2QWY6J.js} +16 -16
  52. package/dist/{chunk-3RW5ZCYO.js → chunk-DIBOWE53.js} +2 -2
  53. package/dist/{chunk-QRZNVNNS.js → chunk-EEY326VH.js} +3 -3
  54. package/dist/{chunk-OIGJZHDU.js → chunk-EUL3S3LE.js} +7 -7
  55. package/dist/{chunk-YNDLCWXS.js → chunk-EZ25VE3G.js} +4 -4
  56. package/dist/{chunk-DUTLMAUC.js → chunk-F4DXTUHY.js} +2 -2
  57. package/dist/{chunk-DK2VBJ6Q.js → chunk-FAPJG3OG.js} +4 -4
  58. package/dist/{chunk-M2XR6B6V.js → chunk-FEUWI5QH.js} +2 -2
  59. package/dist/{chunk-VO3HCFSR.js → chunk-GAVFANAB.js} +2 -2
  60. package/dist/{chunk-SPHBQTWE.js → chunk-GOYLBPSW.js} +3 -3
  61. package/dist/{chunk-37T5ZO5P.js → chunk-HOSS72UP.js} +2 -2
  62. package/dist/{chunk-3TU6OBI7.js → chunk-I3UBDUHO.js} +2 -2
  63. package/dist/{chunk-HA6V3CLH.js → chunk-JCWI43TO.js} +2 -2
  64. package/dist/{chunk-6LNWA6IT.js → chunk-JEAMQL63.js} +13 -13
  65. package/dist/{chunk-XBNGH2FV.js → chunk-JG6AHBJW.js} +2 -2
  66. package/dist/{chunk-3F6COEHZ.js → chunk-JVNGFQJN.js} +1 -1
  67. package/dist/chunk-JVNGFQJN.js.map +1 -0
  68. package/dist/{chunk-PA5FI6A5.js → chunk-JY327EH4.js} +2 -2
  69. package/dist/{chunk-WYSCN5TA.js → chunk-K4DBE5MH.js} +9 -9
  70. package/dist/{chunk-KIICCGSV.js → chunk-KCLHHANX.js} +3 -3
  71. package/dist/{chunk-QOI4PNVG.js → chunk-KCVPKFDG.js} +2 -2
  72. package/dist/{chunk-EFMAYZOB.js → chunk-L6CMR5OI.js} +2 -2
  73. package/dist/{chunk-Y3TA66MZ.js → chunk-LEH4FVBJ.js} +20 -20
  74. package/dist/{chunk-AHA5VQGP.js → chunk-LEII44QG.js} +4 -4
  75. package/dist/chunk-LEO4MQ3S.js +140 -0
  76. package/dist/chunk-LEO4MQ3S.js.map +1 -0
  77. package/dist/{chunk-4VL2H5Q3.js → chunk-LL7WIK2Z.js} +2 -2
  78. package/dist/{chunk-GW23JXGJ.js → chunk-LT35JWKZ.js} +2 -2
  79. package/dist/{chunk-U5OVNYJX.js → chunk-MP6V4CLP.js} +9 -9
  80. package/dist/{chunk-NEXJ3OOZ.js → chunk-MXE42X3I.js} +6 -6
  81. package/dist/{chunk-LR6QP72R.js → chunk-N6JGLQV7.js} +2 -2
  82. package/dist/{chunk-J6U6KUMK.js → chunk-N7IJEGSE.js} +2 -2
  83. package/dist/{chunk-5ZS73P3U.js → chunk-NB2BKYUS.js} +2 -2
  84. package/dist/{chunk-KN44QS5F.js → chunk-NOZDET3Q.js} +6 -6
  85. package/dist/{chunk-C2KE5DMD.js → chunk-O6ZSWHVR.js} +4 -4
  86. package/dist/{chunk-C73N66PR.js → chunk-OBPOIZNR.js} +2 -2
  87. package/dist/{chunk-TSJQ7C2T.js → chunk-OFMK76LD.js} +16 -16
  88. package/dist/{chunk-LK3LXSJQ.js → chunk-OI3UMEW3.js} +5 -5
  89. package/dist/{chunk-6Z7BRM7C.js → chunk-OJJ73HLA.js} +3 -3
  90. package/dist/{chunk-CLVILSBR.js → chunk-OZNBZJ3S.js} +22 -22
  91. package/dist/{chunk-GUI7MLKC.js → chunk-PKPW7MXT.js} +4 -4
  92. package/dist/{chunk-SCQO7JOF.js → chunk-PKV3NNM2.js} +2 -2
  93. package/dist/{chunk-XCZQ7MID.js → chunk-PNT3SZRY.js} +21 -21
  94. package/dist/{chunk-IXX4SKF5.js → chunk-POB7N5UM.js} +2 -2
  95. package/dist/{chunk-2OIQHXN4.js → chunk-PQ5FYNY2.js} +2 -2
  96. package/dist/{chunk-JDY34KBL.js → chunk-QUMKDRCF.js} +4 -4
  97. package/dist/{chunk-CGEOIR4F.js → chunk-QZ5JZNXN.js} +475 -329
  98. package/dist/chunk-QZ5JZNXN.js.map +1 -0
  99. package/dist/{chunk-V6JECHY6.js → chunk-SBRUTD5O.js} +6 -6
  100. package/dist/{chunk-ZKHDDEPF.js → chunk-SRW4IKHM.js} +2 -2
  101. package/dist/{chunk-BTY6DUFW.js → chunk-SU63UQPL.js} +7 -7
  102. package/dist/{chunk-TVDJEUV5.js → chunk-SX4BR26Y.js} +2 -2
  103. package/dist/{chunk-OIG4ZFMB.js → chunk-SZK2DX5U.js} +5 -5
  104. package/dist/{chunk-5BE3FLKL.js → chunk-TAUHAP5J.js} +4 -4
  105. package/dist/{chunk-NS7U4ZYU.js → chunk-TSUSHXBW.js} +2 -2
  106. package/dist/{chunk-YMFPFXEX.js → chunk-TYOS62PM.js} +5 -5
  107. package/dist/{chunk-BFDXJHYG.js → chunk-U3GJUARA.js} +2 -2
  108. package/dist/{chunk-P3WRNWWM.js → chunk-UPE7TJWN.js} +2 -2
  109. package/dist/{chunk-OE35LFBF.js → chunk-VF3EVRUN.js} +3 -3
  110. package/dist/{chunk-VY3DHUL7.js → chunk-VRWQUUZ7.js} +8 -8
  111. package/dist/{chunk-FEWOSD33.js → chunk-VSZEV7HG.js} +6 -6
  112. package/dist/{chunk-K2VRKCPA.js → chunk-XBW7U7GM.js} +4 -4
  113. package/dist/{chunk-UA2NDTIU.js → chunk-YAVIBVCU.js} +4 -4
  114. package/dist/{chunk-HKQ3LH34.js → chunk-YDOLJQ55.js} +5 -5
  115. package/dist/{chunk-JGM3OWPQ.js → chunk-YMNFHNZH.js} +2 -2
  116. package/dist/{chunk-DJ7WVEWX.js → chunk-YVXM5QFL.js} +2 -2
  117. package/dist/{chunk-FMFCQRDM.js → chunk-ZANNIXXE.js} +3 -3
  118. package/dist/{chunk-OJXK5C6Z.js → chunk-ZG4GNPRE.js} +7 -7
  119. package/dist/{chunk-B3DR2JBZ.js → chunk-ZZYJNT2J.js} +4 -4
  120. package/dist/cli.js +152 -152
  121. package/dist/coding/export-okf-codegraph.js +20 -20
  122. package/dist/compounding/engine.js +22 -22
  123. package/dist/config.d.ts.map +1 -1
  124. package/dist/config.js +31 -31
  125. package/dist/connectors/codex-materialize-runner.js +21 -21
  126. package/dist/connectors/index.js +23 -23
  127. package/dist/contradiction/index.js +12 -12
  128. package/dist/{contradiction-scan-IBPYGQZF.js → contradiction-scan-DTQFAW22.js} +6 -6
  129. package/dist/convergence-refresh.js +22 -22
  130. package/dist/corpus-watermark.js +23 -23
  131. package/dist/dashboard-runtime.js +2 -2
  132. package/dist/deep-recall-http-glue.js +10 -10
  133. package/dist/embedding-fallback.js +2 -2
  134. package/dist/entity-retrieval.js +20 -20
  135. package/dist/event-order-recall.js +2 -2
  136. package/dist/explicit-capture.js +152 -152
  137. package/dist/extraction-normalization.js +1 -1
  138. package/dist/extraction-window-drain.d.ts +21 -0
  139. package/dist/extraction-window-drain.d.ts.map +1 -1
  140. package/dist/extraction-window-drain.js +5 -3
  141. package/dist/extraction.js +32 -32
  142. package/dist/{first-start-migration-FILJH3RO.js → first-start-migration-BPVJ4HJQ.js} +8 -8
  143. package/dist/graph-edge-decay-EKWXRBWF.js +1 -1
  144. package/dist/harmonic-retrieval.js +20 -20
  145. package/dist/index.js +291 -291
  146. package/dist/lcm/engine.js +3 -3
  147. package/dist/lcm/index.js +8 -8
  148. package/dist/local-llm-config.js +2 -2
  149. package/dist/location/index.js +23 -23
  150. package/dist/maintenance/memory-governance.js +20 -20
  151. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +20 -20
  152. package/dist/maintenance/rebuild-memory-projection-runner.js +22 -22
  153. package/dist/maintenance/rebuild-memory-projection.js +21 -21
  154. package/dist/memory-browse.js +9 -9
  155. package/dist/namespaces/migrate.js +22 -22
  156. package/dist/namespaces/search.js +4 -4
  157. package/dist/namespaces/storage.js +21 -21
  158. package/dist/offline-sync-changeset-generations.js +3 -3
  159. package/dist/offline-sync-embedding-generation.js +2 -2
  160. package/dist/offline-sync-impression-drain.js +3 -3
  161. package/dist/offline-sync-snapshot-stream.js +6 -6
  162. package/dist/offline-sync.js +5 -5
  163. package/dist/operator-doctor-corpus.js +24 -24
  164. package/dist/operator-toolkit.js +41 -41
  165. package/dist/orchestration/backlog-scheduler.js +153 -153
  166. package/dist/orchestration/buffer-drain-runner.js +153 -153
  167. package/dist/orchestration/extraction-drain.d.ts +13 -0
  168. package/dist/orchestration/extraction-drain.d.ts.map +1 -1
  169. package/dist/orchestration/extraction-queue-coordinator.d.ts +10 -0
  170. package/dist/orchestration/extraction-queue-coordinator.d.ts.map +1 -1
  171. package/dist/orchestration/maintenance.js +34 -34
  172. package/dist/orchestrator.d.ts.map +1 -1
  173. package/dist/orchestrator.js +156 -156
  174. package/dist/qmd.js +4 -4
  175. package/dist/recall-explain-renderer.js +3 -3
  176. package/dist/recall-navigate-access.js +2 -2
  177. package/dist/recall-navigate-disclosure.js +2 -2
  178. package/dist/recall-navigate.js +2 -2
  179. package/dist/recall-navigation.js +152 -152
  180. package/dist/recall-state-view-admission.js +5 -5
  181. package/dist/recall-why-service.js +15 -15
  182. package/dist/recall-why.js +6 -6
  183. package/dist/recall-xray-cli.js +4 -4
  184. package/dist/recall-xray-renderer.js +3 -3
  185. package/dist/recall-xray.js +2 -2
  186. package/dist/reconcile/cursor.js +2 -2
  187. package/dist/reconcile/manifest.js +3 -3
  188. package/dist/reconcile/plan.js +2 -2
  189. package/dist/{resolution-G4SLHSEU.js → resolution-7XBNQVKU.js} +9 -9
  190. package/dist/resolution-7XBNQVKU.js.map +1 -0
  191. package/dist/resume-bundles.js +33 -33
  192. package/dist/search/factory.js +3 -3
  193. package/dist/search/index.js +3 -3
  194. package/dist/semantic-consolidation.js +22 -22
  195. package/dist/semantic-rule-promotion.js +20 -20
  196. package/dist/semantic-rule-verifier.js +20 -20
  197. package/dist/source-agent-qualifier.js +29 -29
  198. package/dist/standup/build.js +21 -21
  199. package/dist/storage.js +19 -19
  200. package/dist/summarizer.js +1 -1
  201. package/dist/support-passport/index.js +12 -12
  202. package/dist/tier-routing.js +4 -4
  203. package/dist/{tier-stats-FXEUJN73.js → tier-stats-FLFKN7Y6.js} +8 -8
  204. package/dist/transfer/export-okf.js +20 -20
  205. package/dist/types.d.ts +5 -6
  206. package/dist/types.d.ts.map +1 -1
  207. package/dist/types.js +1 -1
  208. package/dist/verified-recall.js +20 -20
  209. package/dist/who-knows-cli.js +21 -21
  210. package/dist/who-knows.js +20 -20
  211. package/package.json +2 -2
  212. package/src/access-extraction-force-flush-preempt-coordinator.test.ts +60 -0
  213. package/src/access-extraction-force-flush-preempt.test.ts +41 -0
  214. package/src/access-extraction-force-flush-preempt.ts +56 -0
  215. package/src/access-observe-write-surface.ts +2 -14
  216. package/src/buffer-turn.ts +8 -0
  217. package/src/config.ts +2 -0
  218. package/src/extraction-window-drain.test.ts +66 -0
  219. package/src/extraction-window-drain.ts +113 -2
  220. package/src/orchestration/extraction-drain-parts.test.ts +260 -0
  221. package/src/orchestration/extraction-drain.ts +186 -23
  222. package/src/orchestration/extraction-queue-coordinator.ts +23 -0
  223. package/src/orchestrator-flush.test.ts +3 -0
  224. package/src/orchestrator.ts +1 -0
  225. package/src/part-failure-threshold.test.ts +91 -0
  226. package/src/types.ts +5 -6
  227. package/dist/chunk-3F6COEHZ.js.map +0 -1
  228. package/dist/chunk-BL545EH7.js.map +0 -1
  229. package/dist/chunk-CGEOIR4F.js.map +0 -1
  230. package/dist/chunk-LZIOY7ZU.js +0 -57
  231. package/dist/chunk-LZIOY7ZU.js.map +0 -1
  232. /package/dist/{contradiction-scan-IBPYGQZF.js.map → access-extraction-force-flush-preempt.js.map} +0 -0
  233. /package/dist/{auto-sync-BO5YZKM6.js.map → auto-sync-PSZJHHXB.js.map} +0 -0
  234. /package/dist/{chunk-T4KY6UYF.js.map → chunk-274UY54Z.js.map} +0 -0
  235. /package/dist/{chunk-3TVCG6ST.js.map → chunk-2DWTO7XP.js.map} +0 -0
  236. /package/dist/{chunk-STKNZY7A.js.map → chunk-2NJ74RQU.js.map} +0 -0
  237. /package/dist/{chunk-4H7TUVWQ.js.map → chunk-2VS3DAXE.js.map} +0 -0
  238. /package/dist/{chunk-MEQPK3KG.js.map → chunk-3BRHOVRU.js.map} +0 -0
  239. /package/dist/{chunk-HLWXCDUQ.js.map → chunk-3DAWHP5K.js.map} +0 -0
  240. /package/dist/{chunk-KVCFAWBZ.js.map → chunk-3PZDG5ZH.js.map} +0 -0
  241. /package/dist/{chunk-5RZ4DAP6.js.map → chunk-5IGWEYNV.js.map} +0 -0
  242. /package/dist/{chunk-U5I2G4VU.js.map → chunk-5WZT6WQW.js.map} +0 -0
  243. /package/dist/{chunk-TL6QIZT7.js.map → chunk-66MBMBSH.js.map} +0 -0
  244. /package/dist/{chunk-KLUCX6OH.js.map → chunk-77SYM565.js.map} +0 -0
  245. /package/dist/{chunk-ZGGFGUUF.js.map → chunk-A33VT7GC.js.map} +0 -0
  246. /package/dist/{chunk-5RCXMLI5.js.map → chunk-AV6R66KO.js.map} +0 -0
  247. /package/dist/{chunk-S3LWB6K3.js.map → chunk-CKG7T4AD.js.map} +0 -0
  248. /package/dist/{chunk-YNTVQWLX.js.map → chunk-DI2QWY6J.js.map} +0 -0
  249. /package/dist/{chunk-3RW5ZCYO.js.map → chunk-DIBOWE53.js.map} +0 -0
  250. /package/dist/{chunk-QRZNVNNS.js.map → chunk-EEY326VH.js.map} +0 -0
  251. /package/dist/{chunk-OIGJZHDU.js.map → chunk-EUL3S3LE.js.map} +0 -0
  252. /package/dist/{chunk-YNDLCWXS.js.map → chunk-EZ25VE3G.js.map} +0 -0
  253. /package/dist/{chunk-DUTLMAUC.js.map → chunk-F4DXTUHY.js.map} +0 -0
  254. /package/dist/{chunk-DK2VBJ6Q.js.map → chunk-FAPJG3OG.js.map} +0 -0
  255. /package/dist/{chunk-M2XR6B6V.js.map → chunk-FEUWI5QH.js.map} +0 -0
  256. /package/dist/{chunk-VO3HCFSR.js.map → chunk-GAVFANAB.js.map} +0 -0
  257. /package/dist/{chunk-SPHBQTWE.js.map → chunk-GOYLBPSW.js.map} +0 -0
  258. /package/dist/{chunk-37T5ZO5P.js.map → chunk-HOSS72UP.js.map} +0 -0
  259. /package/dist/{chunk-3TU6OBI7.js.map → chunk-I3UBDUHO.js.map} +0 -0
  260. /package/dist/{chunk-HA6V3CLH.js.map → chunk-JCWI43TO.js.map} +0 -0
  261. /package/dist/{chunk-6LNWA6IT.js.map → chunk-JEAMQL63.js.map} +0 -0
  262. /package/dist/{chunk-XBNGH2FV.js.map → chunk-JG6AHBJW.js.map} +0 -0
  263. /package/dist/{chunk-PA5FI6A5.js.map → chunk-JY327EH4.js.map} +0 -0
  264. /package/dist/{chunk-WYSCN5TA.js.map → chunk-K4DBE5MH.js.map} +0 -0
  265. /package/dist/{chunk-KIICCGSV.js.map → chunk-KCLHHANX.js.map} +0 -0
  266. /package/dist/{chunk-QOI4PNVG.js.map → chunk-KCVPKFDG.js.map} +0 -0
  267. /package/dist/{chunk-EFMAYZOB.js.map → chunk-L6CMR5OI.js.map} +0 -0
  268. /package/dist/{chunk-Y3TA66MZ.js.map → chunk-LEH4FVBJ.js.map} +0 -0
  269. /package/dist/{chunk-AHA5VQGP.js.map → chunk-LEII44QG.js.map} +0 -0
  270. /package/dist/{chunk-4VL2H5Q3.js.map → chunk-LL7WIK2Z.js.map} +0 -0
  271. /package/dist/{chunk-GW23JXGJ.js.map → chunk-LT35JWKZ.js.map} +0 -0
  272. /package/dist/{chunk-U5OVNYJX.js.map → chunk-MP6V4CLP.js.map} +0 -0
  273. /package/dist/{chunk-NEXJ3OOZ.js.map → chunk-MXE42X3I.js.map} +0 -0
  274. /package/dist/{chunk-LR6QP72R.js.map → chunk-N6JGLQV7.js.map} +0 -0
  275. /package/dist/{chunk-J6U6KUMK.js.map → chunk-N7IJEGSE.js.map} +0 -0
  276. /package/dist/{chunk-5ZS73P3U.js.map → chunk-NB2BKYUS.js.map} +0 -0
  277. /package/dist/{chunk-KN44QS5F.js.map → chunk-NOZDET3Q.js.map} +0 -0
  278. /package/dist/{chunk-C2KE5DMD.js.map → chunk-O6ZSWHVR.js.map} +0 -0
  279. /package/dist/{chunk-C73N66PR.js.map → chunk-OBPOIZNR.js.map} +0 -0
  280. /package/dist/{chunk-TSJQ7C2T.js.map → chunk-OFMK76LD.js.map} +0 -0
  281. /package/dist/{chunk-LK3LXSJQ.js.map → chunk-OI3UMEW3.js.map} +0 -0
  282. /package/dist/{chunk-6Z7BRM7C.js.map → chunk-OJJ73HLA.js.map} +0 -0
  283. /package/dist/{chunk-CLVILSBR.js.map → chunk-OZNBZJ3S.js.map} +0 -0
  284. /package/dist/{chunk-GUI7MLKC.js.map → chunk-PKPW7MXT.js.map} +0 -0
  285. /package/dist/{chunk-SCQO7JOF.js.map → chunk-PKV3NNM2.js.map} +0 -0
  286. /package/dist/{chunk-XCZQ7MID.js.map → chunk-PNT3SZRY.js.map} +0 -0
  287. /package/dist/{chunk-IXX4SKF5.js.map → chunk-POB7N5UM.js.map} +0 -0
  288. /package/dist/{chunk-2OIQHXN4.js.map → chunk-PQ5FYNY2.js.map} +0 -0
  289. /package/dist/{chunk-JDY34KBL.js.map → chunk-QUMKDRCF.js.map} +0 -0
  290. /package/dist/{chunk-V6JECHY6.js.map → chunk-SBRUTD5O.js.map} +0 -0
  291. /package/dist/{chunk-ZKHDDEPF.js.map → chunk-SRW4IKHM.js.map} +0 -0
  292. /package/dist/{chunk-BTY6DUFW.js.map → chunk-SU63UQPL.js.map} +0 -0
  293. /package/dist/{chunk-TVDJEUV5.js.map → chunk-SX4BR26Y.js.map} +0 -0
  294. /package/dist/{chunk-OIG4ZFMB.js.map → chunk-SZK2DX5U.js.map} +0 -0
  295. /package/dist/{chunk-5BE3FLKL.js.map → chunk-TAUHAP5J.js.map} +0 -0
  296. /package/dist/{chunk-NS7U4ZYU.js.map → chunk-TSUSHXBW.js.map} +0 -0
  297. /package/dist/{chunk-YMFPFXEX.js.map → chunk-TYOS62PM.js.map} +0 -0
  298. /package/dist/{chunk-BFDXJHYG.js.map → chunk-U3GJUARA.js.map} +0 -0
  299. /package/dist/{chunk-P3WRNWWM.js.map → chunk-UPE7TJWN.js.map} +0 -0
  300. /package/dist/{chunk-OE35LFBF.js.map → chunk-VF3EVRUN.js.map} +0 -0
  301. /package/dist/{chunk-VY3DHUL7.js.map → chunk-VRWQUUZ7.js.map} +0 -0
  302. /package/dist/{chunk-FEWOSD33.js.map → chunk-VSZEV7HG.js.map} +0 -0
  303. /package/dist/{chunk-K2VRKCPA.js.map → chunk-XBW7U7GM.js.map} +0 -0
  304. /package/dist/{chunk-UA2NDTIU.js.map → chunk-YAVIBVCU.js.map} +0 -0
  305. /package/dist/{chunk-HKQ3LH34.js.map → chunk-YDOLJQ55.js.map} +0 -0
  306. /package/dist/{chunk-JGM3OWPQ.js.map → chunk-YMNFHNZH.js.map} +0 -0
  307. /package/dist/{chunk-DJ7WVEWX.js.map → chunk-YVXM5QFL.js.map} +0 -0
  308. /package/dist/{chunk-FMFCQRDM.js.map → chunk-ZANNIXXE.js.map} +0 -0
  309. /package/dist/{chunk-OJXK5C6Z.js.map → chunk-ZG4GNPRE.js.map} +0 -0
  310. /package/dist/{chunk-B3DR2JBZ.js.map → chunk-ZZYJNT2J.js.map} +0 -0
  311. /package/dist/{resolution-G4SLHSEU.js.map → contradiction-scan-DTQFAW22.js.map} +0 -0
  312. /package/dist/{first-start-migration-FILJH3RO.js.map → first-start-migration-BPVJ4HJQ.js.map} +0 -0
  313. /package/dist/{tier-stats-FXEUJN73.js.map → tier-stats-FLFKN7Y6.js.map} +0 -0
@@ -1,3 +1,10 @@
1
+ import {
2
+ runGraphEdgeDecayMaintenanceAcrossNamespaces
3
+ } from "./chunk-GOZXQNIM.js";
4
+ import {
5
+ normalizeDreamsStatusWindowHours,
6
+ recordDreamsPhaseRun
7
+ } from "./chunk-PQM3B54K.js";
1
8
  import {
2
9
  WEARABLE_SOURCE_PREFIX,
3
10
  WearablesInputError,
@@ -8,17 +15,13 @@ import {
8
15
  loadSyncState,
9
16
  syncWearableSource,
10
17
  wearableSourceLabel
11
- } from "./chunk-B3DR2JBZ.js";
18
+ } from "./chunk-ZZYJNT2J.js";
12
19
  import {
13
- runGraphEdgeDecayMaintenanceAcrossNamespaces
14
- } from "./chunk-GOZXQNIM.js";
20
+ claudeReplayNormalizer
21
+ } from "./chunk-54BGIBCR.js";
15
22
  import {
16
23
  openclawReplayNormalizer
17
24
  } from "./chunk-H4CKS5B2.js";
18
- import {
19
- normalizeDreamsStatusWindowHours,
20
- recordDreamsPhaseRun
21
- } from "./chunk-PQM3B54K.js";
22
25
  import {
23
26
  exportWorkBoardMarkdown,
24
27
  exportWorkBoardSnapshot,
@@ -30,13 +33,10 @@ import {
30
33
  import {
31
34
  chatgptReplayNormalizer
32
35
  } from "./chunk-MMACM5G2.js";
33
- import {
34
- claudeReplayNormalizer
35
- } from "./chunk-54BGIBCR.js";
36
36
  import {
37
37
  exportOkfBundle,
38
38
  parseIncludeStatus
39
- } from "./chunk-5ZS73P3U.js";
39
+ } from "./chunk-NB2BKYUS.js";
40
40
  import {
41
41
  exportSqlite
42
42
  } from "./chunk-BV2TIZ4F.js";
@@ -55,15 +55,15 @@ import {
55
55
  import {
56
56
  backupMemoryDir
57
57
  } from "./chunk-2NLLXCJG.js";
58
+ import {
59
+ exportMarkdownBundle
60
+ } from "./chunk-765K3SAT.js";
58
61
  import {
59
62
  importCapsule
60
63
  } from "./chunk-HRMOKGQM.js";
61
64
  import {
62
65
  exportJsonBundle
63
66
  } from "./chunk-UP6MOYCB.js";
64
- import {
65
- exportMarkdownBundle
66
- } from "./chunk-765K3SAT.js";
67
67
  import {
68
68
  isSharedContextWriteInputError,
69
69
  parseSharedWriteOutputControls
@@ -71,19 +71,22 @@ import {
71
71
  import {
72
72
  buildStandup,
73
73
  parseStandupDate
74
- } from "./chunk-37T5ZO5P.js";
74
+ } from "./chunk-HOSS72UP.js";
75
75
  import {
76
76
  SupportPassportAccessSurface,
77
77
  createSupportPassportModelAdapter,
78
78
  supportsSupportPassportPrivateFiles
79
- } from "./chunk-KLUCX6OH.js";
79
+ } from "./chunk-77SYM565.js";
80
80
  import {
81
81
  RoutingRulesStore
82
82
  } from "./chunk-TBUEE7XF.js";
83
+ import {
84
+ CompressionGuidelineCoordinator
85
+ } from "./chunk-5PHOU5QI.js";
83
86
  import {
84
87
  ActivityStore,
85
88
  MaintenanceScheduler
86
- } from "./chunk-XCZQ7MID.js";
89
+ } from "./chunk-PNT3SZRY.js";
87
90
  import {
88
91
  runPeerProfileReasoner
89
92
  } from "./chunk-I74SUMNI.js";
@@ -103,11 +106,11 @@ import {
103
106
  WebDavServer
104
107
  } from "./chunk-PYIFUBRK.js";
105
108
  import {
106
- CompressionGuidelineCoordinator
107
- } from "./chunk-5PHOU5QI.js";
109
+ migrateObservations
110
+ } from "./chunk-EDR6CVWZ.js";
108
111
  import {
109
112
  rebuildMemoryLifecycleLedger
110
- } from "./chunk-SCQO7JOF.js";
113
+ } from "./chunk-PKV3NNM2.js";
111
114
  import {
112
115
  rebuildObservations
113
116
  } from "./chunk-WHCD4Z3D.js";
@@ -121,16 +124,13 @@ import {
121
124
  runLocationDay,
122
125
  runLocationStatus,
123
126
  runLocationSync
124
- } from "./chunk-NEXJ3OOZ.js";
127
+ } from "./chunk-MXE42X3I.js";
125
128
  import {
126
129
  archiveObservations
127
130
  } from "./chunk-7IGMKQWK.js";
128
- import {
129
- migrateObservations
130
- } from "./chunk-EDR6CVWZ.js";
131
131
  import {
132
132
  LcmEngine
133
- } from "./chunk-OJXK5C6Z.js";
133
+ } from "./chunk-ZG4GNPRE.js";
134
134
  import {
135
135
  chunkTranscriptEntries
136
136
  } from "./chunk-TECVW3JP.js";
@@ -140,7 +140,7 @@ import {
140
140
  import {
141
141
  CompoundingEngine,
142
142
  defaultTierMigrationCycleBudget
143
- } from "./chunk-6LNWA6IT.js";
143
+ } from "./chunk-JEAMQL63.js";
144
144
  import {
145
145
  SharedContextManager,
146
146
  UNATTRIBUTED_ACCESS_WRITE_ORIGIN
@@ -149,7 +149,7 @@ import {
149
149
  executeResolution,
150
150
  isValidResolutionVerb,
151
151
  runPreferenceDriftScan
152
- } from "./chunk-OIG4ZFMB.js";
152
+ } from "./chunk-SZK2DX5U.js";
153
153
  import {
154
154
  getBulkImportSource,
155
155
  listBulkImportSources,
@@ -173,7 +173,7 @@ import {
173
173
  parseDecisionRecord,
174
174
  resolveCodegraphProjectId,
175
175
  serializeDecisionRecord
176
- } from "./chunk-K2VRKCPA.js";
176
+ } from "./chunk-XBW7U7GM.js";
177
177
  import {
178
178
  lintOkfDir
179
179
  } from "./chunk-I7TR2OCU.js";
@@ -193,7 +193,7 @@ import {
193
193
  handleWhoKnowsHttpQuery,
194
194
  loadWhoKnowsEntities,
195
195
  validateWhoKnowsInput
196
- } from "./chunk-IXX4SKF5.js";
196
+ } from "./chunk-POB7N5UM.js";
197
197
  import {
198
198
  WriteQuarantineStore
199
199
  } from "./chunk-BANSBRNX.js";
@@ -219,7 +219,10 @@ import {
219
219
  import {
220
220
  compareVerifiedEpisodeResults,
221
221
  searchVerifiedEpisodes
222
- } from "./chunk-S3LWB6K3.js";
222
+ } from "./chunk-CKG7T4AD.js";
223
+ import {
224
+ extractTopics
225
+ } from "./chunk-KVDUKH5E.js";
223
226
  import {
224
227
  applyTrustScoreStage,
225
228
  buildTrustSignalsForRerank,
@@ -240,6 +243,9 @@ import {
240
243
  seedTrustZoneDemoDataset,
241
244
  summarizeTrustZonePromotionReadiness
242
245
  } from "./chunk-JWX2Q6HS.js";
246
+ import {
247
+ CODEX_THREAD_KEY_PREFIX
248
+ } from "./chunk-4EX5WZ4M.js";
243
249
  import {
244
250
  ThreadingManager
245
251
  } from "./chunk-VHSQU3RO.js";
@@ -248,19 +254,13 @@ import {
248
254
  } from "./chunk-YRFAYOFQ.js";
249
255
  import {
250
256
  decideTierTransition
251
- } from "./chunk-C73N66PR.js";
257
+ } from "./chunk-OBPOIZNR.js";
252
258
  import {
253
259
  TmtBuilder
254
260
  } from "./chunk-ECZU5BJH.js";
255
- import {
256
- extractTopics
257
- } from "./chunk-KVDUKH5E.js";
258
261
  import {
259
262
  buildTemporalTimelineRecallSection
260
263
  } from "./chunk-VHF73MGU.js";
261
- import {
262
- CODEX_THREAD_KEY_PREFIX
263
- } from "./chunk-4EX5WZ4M.js";
264
264
  import {
265
265
  HourlySummarizer,
266
266
  summarizeHourlyStatus
@@ -269,28 +269,31 @@ import {
269
269
  buildTargetedFactRecallSection,
270
270
  shouldRecallTargetedFactEvidence
271
271
  } from "./chunk-77NTFICT.js";
272
+ import {
273
+ migrateSessionTranscripts,
274
+ planSessionTranscriptMigration
275
+ } from "./chunk-WWDO7ZWM.js";
272
276
  import {
273
277
  memoriesToStandingEntries,
274
278
  prefixStandingMemoryBlock,
275
279
  renderStandingMemoryBlock
276
280
  } from "./chunk-LJLGH2DE.js";
281
+ import {
282
+ promoteSemanticRuleFromMemory
283
+ } from "./chunk-PQ5FYNY2.js";
277
284
  import {
278
285
  compareVerifiedSemanticRuleResults,
279
286
  searchVerifiedSemanticRules
280
- } from "./chunk-ZGGFGUUF.js";
287
+ } from "./chunk-A33VT7GC.js";
281
288
  import {
282
289
  SessionObserverState
283
290
  } from "./chunk-ODZKV2F7.js";
284
291
  import {
285
- migrateSessionTranscripts,
286
- planSessionTranscriptMigration
287
- } from "./chunk-WWDO7ZWM.js";
292
+ applyRuntimeRetrievalPolicy
293
+ } from "./chunk-5IZL4DCV.js";
288
294
  import {
289
295
  composeSalvagedEnvelope
290
296
  } from "./chunk-5CO5G4MN.js";
291
- import {
292
- promoteSemanticRuleFromMemory
293
- } from "./chunk-2OIQHXN4.js";
294
297
  import {
295
298
  RerankCache,
296
299
  reorderByRankedKeys,
@@ -304,7 +307,7 @@ import {
304
307
  buildResumeBundleFromState,
305
308
  getResumeBundleStatus,
306
309
  recordResumeBundle
307
- } from "./chunk-STKNZY7A.js";
310
+ } from "./chunk-2NJ74RQU.js";
308
311
  import {
309
312
  getWorkProductLedgerStatus,
310
313
  recordWorkProductLedgerEntry,
@@ -336,14 +339,20 @@ import {
336
339
  resolvePromptTagPrefilterAsync
337
340
  } from "./chunk-ZOKZIR5K.js";
338
341
  import {
339
- applyRuntimeRetrievalPolicy
340
- } from "./chunk-5IZL4DCV.js";
342
+ parseXrayCliOptions
343
+ } from "./chunk-5IGWEYNV.js";
341
344
  import {
342
345
  findUnresolvedEntityRefs
343
346
  } from "./chunk-X7XN6YU4.js";
344
347
  import {
345
348
  RelevanceStore
346
349
  } from "./chunk-X7J56GPG.js";
350
+ import {
351
+ LastRecallStore,
352
+ RecallHandleHistoryStore,
353
+ TierMigrationStatusStore,
354
+ clampGraphRecallExpandedEntries
355
+ } from "./chunk-VT75USBD.js";
347
356
  import {
348
357
  foldQueueWaitTiming,
349
358
  getRecallTimingStatus,
@@ -353,20 +362,11 @@ import {
353
362
  } from "./chunk-G4NKURT4.js";
354
363
  import {
355
364
  runRecallWhy
356
- } from "./chunk-SPHBQTWE.js";
357
- import {
358
- parseXrayCliOptions
359
- } from "./chunk-5RZ4DAP6.js";
360
- import {
361
- LastRecallStore,
362
- RecallHandleHistoryStore,
363
- TierMigrationStatusStore,
364
- clampGraphRecallExpandedEntries
365
- } from "./chunk-VT75USBD.js";
365
+ } from "./chunk-GOYLBPSW.js";
366
366
  import {
367
367
  indexStateViewAnnotatedResults,
368
368
  resolveRecallStateViewActive
369
- } from "./chunk-DUTLMAUC.js";
369
+ } from "./chunk-F4DXTUHY.js";
370
370
  import {
371
371
  applyRecallStateViews
372
372
  } from "./chunk-DBB5JPSL.js";
@@ -396,7 +396,7 @@ import {
396
396
  } from "./chunk-VYDGHJIN.js";
397
397
  import {
398
398
  planDisclosureStep
399
- } from "./chunk-4VL2H5Q3.js";
399
+ } from "./chunk-LL7WIK2Z.js";
400
400
  import {
401
401
  parseNavigateLinkType
402
402
  } from "./chunk-7O5EW7KX.js";
@@ -408,12 +408,12 @@ import {
408
408
  renderRecallExplain,
409
409
  renderXray,
410
410
  toRecallExplainJson
411
- } from "./chunk-3TU6OBI7.js";
411
+ } from "./chunk-I3UBDUHO.js";
412
412
  import {
413
413
  buildXraySnapshot,
414
414
  estimateRecallTokens,
415
415
  summarizeDisclosureTokens
416
- } from "./chunk-GUI7MLKC.js";
416
+ } from "./chunk-PKPW7MXT.js";
417
417
  import {
418
418
  reorderRecallResultsWithMmr
419
419
  } from "./chunk-IIK2PD3F.js";
@@ -454,12 +454,12 @@ import {
454
454
  runOperatorRepair,
455
455
  runOperatorSetup,
456
456
  summarizeNamespaceMaintenanceHealth
457
- } from "./chunk-YNTVQWLX.js";
457
+ } from "./chunk-DI2QWY6J.js";
458
458
  import {
459
459
  NamespaceCatalog,
460
460
  isNamespaceKind,
461
461
  planNamespaceMaintenance
462
- } from "./chunk-FEWOSD33.js";
462
+ } from "./chunk-VSZEV7HG.js";
463
463
  import {
464
464
  analyzeSessionIntegrity,
465
465
  applySessionRepair,
@@ -470,7 +470,7 @@ import {
470
470
  } from "./chunk-7IWRLYFJ.js";
471
471
  import {
472
472
  buildEmbeddingAwareSnapshotStream
473
- } from "./chunk-FMFCQRDM.js";
473
+ } from "./chunk-ZANNIXXE.js";
474
474
  import {
475
475
  NegativeExampleStore
476
476
  } from "./chunk-23L3IXFD.js";
@@ -481,6 +481,17 @@ import {
481
481
  import {
482
482
  recordMemoryOutcome
483
483
  } from "./chunk-UD7UNYRD.js";
484
+ import {
485
+ runMemoryBrowse
486
+ } from "./chunk-3BRHOVRU.js";
487
+ import {
488
+ filterRecallCandidates,
489
+ isGenericRecallExcludedPath,
490
+ isSearchExcludedPath,
491
+ isTopLevelArchivePath,
492
+ journalPath,
493
+ writeJournalFile
494
+ } from "./chunk-YMNFHNZH.js";
484
495
  import {
485
496
  REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
486
497
  REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL,
@@ -502,17 +513,6 @@ import {
502
513
  import {
503
514
  MEMORY_BROWSE_MCP_TOOLS
504
515
  } from "./chunk-EIB4FJVR.js";
505
- import {
506
- runMemoryBrowse
507
- } from "./chunk-MEQPK3KG.js";
508
- import {
509
- filterRecallCandidates,
510
- isGenericRecallExcludedPath,
511
- isSearchExcludedPath,
512
- isTopLevelArchivePath,
513
- journalPath,
514
- writeJournalFile
515
- } from "./chunk-JGM3OWPQ.js";
516
516
  import {
517
517
  serializeInlineScriptValue
518
518
  } from "./chunk-3HSRWJTC.js";
@@ -534,6 +534,9 @@ import {
534
534
  import {
535
535
  listConnectorStates
536
536
  } from "./chunk-MDPT6QFK.js";
537
+ import {
538
+ classifyMemoryKind
539
+ } from "./chunk-YAZNBMNF.js";
537
540
  import {
538
541
  isAboveImportanceThreshold,
539
542
  rescoreMemoryImportance,
@@ -555,10 +558,7 @@ import {
555
558
  import {
556
559
  readProjectedHarmonicGraph,
557
560
  searchHarmonicRetrieval
558
- } from "./chunk-KIICCGSV.js";
559
- import {
560
- classifyMemoryKind
561
- } from "./chunk-YAZNBMNF.js";
561
+ } from "./chunk-KCLHHANX.js";
562
562
  import {
563
563
  removeNodeEdgesForRewrite,
564
564
  rollbackNodeEdgeRewrite
@@ -566,28 +566,18 @@ import {
566
566
  import {
567
567
  scoreEvidencePathDetail
568
568
  } from "./chunk-XXSOVESA.js";
569
- import {
570
- buildFocusedListRecallSection,
571
- shouldRecallFocusedListEvidence
572
- } from "./chunk-BPPUH5JM.js";
573
- import {
574
- chunkExtractionWindow,
575
- classifyDrainResult,
576
- extractionWindowBudgetChars,
577
- mergeDrainResults
578
- } from "./chunk-LZIOY7ZU.js";
579
569
  import {
580
570
  ExtractionEngine
581
- } from "./chunk-TSJQ7C2T.js";
571
+ } from "./chunk-OFMK76LD.js";
582
572
  import {
583
573
  wrapWorkLayerContext
584
574
  } from "./chunk-EI6V5UXY.js";
585
575
  import {
586
576
  CONNECTOR_LABEL_MAX_LENGTH
587
- } from "./chunk-QRZNVNNS.js";
577
+ } from "./chunk-EEY326VH.js";
588
578
  import {
589
579
  isValidConnectorId
590
- } from "./chunk-UA2NDTIU.js";
580
+ } from "./chunk-YAVIBVCU.js";
591
581
  import {
592
582
  ProfilingCollector,
593
583
  formatProfileTraceAscii
@@ -595,9 +585,23 @@ import {
595
585
  import {
596
586
  ModelRegistry
597
587
  } from "./chunk-QNUNAXBE.js";
588
+ import {
589
+ buildFocusedListRecallSection,
590
+ shouldRecallFocusedListEvidence
591
+ } from "./chunk-BPPUH5JM.js";
598
592
  import {
599
593
  parseMemoryActionEligibilityContext
600
594
  } from "./chunk-JHU4EYDV.js";
595
+ import {
596
+ chunkExtractionWindow,
597
+ classifyDrainResult,
598
+ extractionWindowBudgetChars,
599
+ mergeDrainResults,
600
+ splitOversizedTurns
601
+ } from "./chunk-LEO4MQ3S.js";
602
+ import {
603
+ recordJudgeTrainingPair
604
+ } from "./chunk-PWFCHOB3.js";
601
605
  import {
602
606
  createDeferCountMap,
603
607
  createVerdictCache,
@@ -617,15 +621,15 @@ import {
617
621
  EXTRACTION_JUDGE_VERDICT_CATEGORY,
618
622
  recordJudgeVerdict
619
623
  } from "./chunk-OZKOPQCM.js";
620
- import {
621
- recordJudgeTrainingPair
622
- } from "./chunk-PWFCHOB3.js";
623
624
  import {
624
625
  buildExplicitCueRecallSection
625
626
  } from "./chunk-NED7IR7B.js";
626
627
  import {
627
628
  externalWikiSearchOperation
628
629
  } from "./chunk-3FBAEPCU.js";
630
+ import {
631
+ planEpisodeWindowsWithFallback
632
+ } from "./chunk-T3GIETKV.js";
629
633
  import {
630
634
  createEvalBaselineSnapshot,
631
635
  getEvalHarnessStatus,
@@ -638,7 +642,7 @@ import {
638
642
  } from "./chunk-JKMIGCK6.js";
639
643
  import {
640
644
  buildEventOrderRecallSection
641
- } from "./chunk-DK2VBJ6Q.js";
645
+ } from "./chunk-FAPJG3OG.js";
642
646
  import {
643
647
  lcmEvidenceIdentity
644
648
  } from "./chunk-C37ZRXX7.js";
@@ -653,7 +657,7 @@ import {
653
657
  buildEntityRecallSection,
654
658
  entityRecentTranscriptLookbackHours,
655
659
  readRecentEntityTranscriptEntries
656
- } from "./chunk-LK3LXSJQ.js";
660
+ } from "./chunk-OI3UMEW3.js";
657
661
  import {
658
662
  boundRecallContextComposition,
659
663
  composeMissingMemoryContext,
@@ -664,8 +668,11 @@ import {
664
668
  selectCuriosityQuestion
665
669
  } from "./chunk-NVKO5YKP.js";
666
670
  import {
667
- planEpisodeWindowsWithFallback
668
- } from "./chunk-T3GIETKV.js";
671
+ EmbeddingFallback
672
+ } from "./chunk-SBRUTD5O.js";
673
+ import {
674
+ createDeepRecallSeedSearch
675
+ } from "./chunk-3X5OPDPF.js";
669
676
  import {
670
677
  runBudgetedDeepRecall
671
678
  } from "./chunk-HXFIILGF.js";
@@ -673,17 +680,18 @@ import {
673
680
  tryDirectAnswer
674
681
  } from "./chunk-OB72KNMF.js";
675
682
  import {
676
- EmbeddingFallback
677
- } from "./chunk-V6JECHY6.js";
683
+ getCueAnchorStoreStatus,
684
+ pruneOrphanCueAnchors
685
+ } from "./chunk-FL3O34XF.js";
678
686
  import {
679
687
  GraphDashboardServer
680
- } from "./chunk-YNDLCWXS.js";
688
+ } from "./chunk-EZ25VE3G.js";
681
689
  import {
682
690
  formatDaySummaryMemories
683
691
  } from "./chunk-7G5NTS7F.js";
684
692
  import {
685
693
  respondDeepRecall
686
- } from "./chunk-VO3HCFSR.js";
694
+ } from "./chunk-GAVFANAB.js";
687
695
  import {
688
696
  DEEP_RECALL_MCP_TOOLS
689
697
  } from "./chunk-HUSTM6PU.js";
@@ -693,37 +701,14 @@ import {
693
701
  import {
694
702
  renderDeepRecallResult
695
703
  } from "./chunk-RF2SMMPP.js";
696
- import {
697
- createDeepRecallSeedSearch
698
- } from "./chunk-3X5OPDPF.js";
699
- import {
700
- CorpusWatermarkCache,
701
- computeServiceCorpusCensus
702
- } from "./chunk-ZKHDDEPF.js";
703
- import {
704
- listNamespaces,
705
- runNamespaceMigration,
706
- verifyNamespaces
707
- } from "./chunk-6Z7BRM7C.js";
708
- import {
709
- NamespaceStorageRouter
710
- } from "./chunk-U5OVNYJX.js";
711
- import {
712
- CrossNamespaceBudget,
713
- toBudgetWarning
714
- } from "./chunk-UFGFMWAD.js";
715
- import {
716
- getCueAnchorStoreStatus,
717
- pruneOrphanCueAnchors
718
- } from "./chunk-FL3O34XF.js";
719
704
  import {
720
705
  refreshConvergedNamespaces
721
- } from "./chunk-XBNGH2FV.js";
706
+ } from "./chunk-JG6AHBJW.js";
722
707
  import {
723
708
  rebuildMemoryProjection,
724
709
  repairMemoryProjection,
725
710
  verifyMemoryProjection
726
- } from "./chunk-KN44QS5F.js";
711
+ } from "./chunk-NOZDET3Q.js";
727
712
  import {
728
713
  buildProposedActions,
729
714
  buildQualityScore,
@@ -732,12 +717,28 @@ import {
732
717
  readMemoryGovernanceRunArtifact,
733
718
  restoreMemoryGovernanceRun,
734
719
  runMemoryGovernance
735
- } from "./chunk-OE35LFBF.js";
720
+ } from "./chunk-VF3EVRUN.js";
736
721
  import {
737
722
  collectNativeKnowledgeChunks,
738
723
  formatNativeKnowledgeSection,
739
724
  searchNativeKnowledge
740
725
  } from "./chunk-2DQ2XREU.js";
726
+ import {
727
+ CorpusWatermarkCache,
728
+ computeServiceCorpusCensus
729
+ } from "./chunk-SRW4IKHM.js";
730
+ import {
731
+ listNamespaces,
732
+ runNamespaceMigration,
733
+ verifyNamespaces
734
+ } from "./chunk-OJJ73HLA.js";
735
+ import {
736
+ NamespaceStorageRouter
737
+ } from "./chunk-MP6V4CLP.js";
738
+ import {
739
+ CrossNamespaceBudget,
740
+ toBudgetWarning
741
+ } from "./chunk-UFGFMWAD.js";
741
742
  import {
742
743
  buildConnectorRowsFromDefinitions,
743
744
  parseConnectorsListOptions,
@@ -747,6 +748,12 @@ import {
747
748
  renderConnectorsRunResult,
748
749
  runConnectorPollOnce
749
750
  } from "./chunk-OKTXM5H4.js";
751
+ import {
752
+ applyCommitmentLedgerLifecycle,
753
+ getCommitmentLedgerStatus,
754
+ recordCommitmentLedgerEntry,
755
+ transitionCommitmentLedgerEntryState
756
+ } from "./chunk-ZAJLJ35W.js";
750
757
  import {
751
758
  GraphIndex,
752
759
  analyzeGraphHealth
@@ -760,16 +767,13 @@ import {
760
767
  import {
761
768
  buildCitationGuidance
762
769
  } from "./chunk-D24OXEPB.js";
763
- import {
764
- applyCommitmentLedgerLifecycle,
765
- getCommitmentLedgerStatus,
766
- recordCommitmentLedgerEntry,
767
- transitionCommitmentLedgerEntryState
768
- } from "./chunk-ZAJLJ35W.js";
769
770
  import {
770
771
  isCapsuleImportArchiveInputError,
771
772
  validateCapsuleImportArchive
772
773
  } from "./chunk-FKBGK3NC.js";
774
+ import {
775
+ defaultCapsulesDir
776
+ } from "./chunk-ZY2MNJR6.js";
773
777
  import {
774
778
  buildConsolidationPrompt,
775
779
  buildExtensionsBlockForConsolidation,
@@ -779,7 +783,7 @@ import {
779
783
  materializeAfterSemanticConsolidation,
780
784
  parseConsolidationResponse,
781
785
  parseOperatorAwareConsolidationResponse
782
- } from "./chunk-PA5FI6A5.js";
786
+ } from "./chunk-JY327EH4.js";
783
787
  import {
784
788
  resolveNamespaceChildRoot
785
789
  } from "./chunk-3UXOZBHV.js";
@@ -791,13 +795,13 @@ import {
791
795
  } from "./chunk-6TBIWIAG.js";
792
796
  import {
793
797
  SmartBuffer
794
- } from "./chunk-TL6QIZT7.js";
798
+ } from "./chunk-66MBMBSH.js";
795
799
  import {
796
800
  ExtractionDeadlineError,
797
801
  ExtractionRunCoordinator,
798
802
  ProviderCircuitBreaker,
799
803
  classifyExtractionOrigin
800
- } from "./chunk-VY3DHUL7.js";
804
+ } from "./chunk-VRWQUUZ7.js";
801
805
  import {
802
806
  ARTIFACT_STATUS_CACHE_TTL_MS,
803
807
  BulkImportBatchPartialFailureError,
@@ -837,7 +841,7 @@ import {
837
841
  throwIfRecallAborted,
838
842
  tokenizeRecallQuery,
839
843
  utcDateKeysForLocalDay
840
- } from "./chunk-HA6V3CLH.js";
844
+ } from "./chunk-JCWI43TO.js";
841
845
  import {
842
846
  inferIntentFromText,
843
847
  intentCompatibilityScore,
@@ -847,9 +851,6 @@ import {
847
851
  import {
848
852
  LocalLlmClient
849
853
  } from "./chunk-AWKD2A73.js";
850
- import {
851
- defaultCapsulesDir
852
- } from "./chunk-ZY2MNJR6.js";
853
854
  import {
854
855
  FileCalendarSource,
855
856
  buildBriefing,
@@ -858,7 +859,7 @@ import {
858
859
  parseBriefingFocus,
859
860
  parseBriefingWindow,
860
861
  validateBriefingFormat
861
- } from "./chunk-WYSCN5TA.js";
862
+ } from "./chunk-K4DBE5MH.js";
862
863
  import {
863
864
  ReplayAdmissionRefusedError,
864
865
  StorageTargetRequiredError
@@ -913,7 +914,7 @@ import {
913
914
  validateCorrectionAction,
914
915
  validateCorrectionRequest,
915
916
  validateRedactionPattern
916
- } from "./chunk-BL545EH7.js";
917
+ } from "./chunk-CFSCKCT5.js";
917
918
  import {
918
919
  compileCorrectionRule,
919
920
  correctionsFilePath,
@@ -930,7 +931,7 @@ import {
930
931
  resolveJournalSource,
931
932
  resolveVaultNotePath,
932
933
  validateRegionName
933
- } from "./chunk-OIGJZHDU.js";
934
+ } from "./chunk-EUL3S3LE.js";
934
935
  import {
935
936
  isCodingKnowledgeFeatureEnabled
936
937
  } from "./chunk-FEHIOYML.js";
@@ -938,13 +939,6 @@ import {
938
939
  applyOutcomePriorScores,
939
940
  outcomePriorBoostActive
940
941
  } from "./chunk-TNRCDMQT.js";
941
- import {
942
- capStateViewPackets,
943
- formatSupersededPrefix,
944
- reconcileStateViewPairs,
945
- resultStateViewKey,
946
- stateViewPacketKeys
947
- } from "./chunk-EH3HNCAM.js";
948
942
  import {
949
943
  buildRecognitionIndex,
950
944
  decideRecognitionTier,
@@ -953,6 +947,13 @@ import {
953
947
  runRecognitionTier,
954
948
  saveRecognitionIndex
955
949
  } from "./chunk-4KQIWY4A.js";
950
+ import {
951
+ capStateViewPackets,
952
+ formatSupersededPrefix,
953
+ reconcileStateViewPairs,
954
+ resultStateViewKey,
955
+ stateViewPacketKeys
956
+ } from "./chunk-EH3HNCAM.js";
956
957
  import {
957
958
  RECALL_NAVIGATION_CONFIG_DEFAULTS,
958
959
  shouldRecordRecallAuthorityHistory
@@ -1026,7 +1027,7 @@ import {
1026
1027
  reconstructFusionInputs,
1027
1028
  selfDeps,
1028
1029
  serializeFusionDay
1029
- } from "./chunk-Y3TA66MZ.js";
1030
+ } from "./chunk-LEH4FVBJ.js";
1030
1031
  import {
1031
1032
  buildRetiredFactTombstoneInputs
1032
1033
  } from "./chunk-QGVCFVX6.js";
@@ -1045,12 +1046,12 @@ import {
1045
1046
  embeddingBacklogExceeds,
1046
1047
  isSearchHealthDegraded,
1047
1048
  namespaceCollectionName
1048
- } from "./chunk-BFDXJHYG.js";
1049
+ } from "./chunk-U3GJUARA.js";
1049
1050
  import {
1050
1051
  createConversationIndexRuntime,
1051
1052
  createSearchBackend,
1052
1053
  isSearchBackendEnabled
1053
- } from "./chunk-J6U6KUMK.js";
1054
+ } from "./chunk-N7IJEGSE.js";
1054
1055
  import {
1055
1056
  NoopSearchBackend
1056
1057
  } from "./chunk-CYEPCZN5.js";
@@ -1175,11 +1176,11 @@ import {
1175
1176
  } from "./chunk-RMMA44HE.js";
1176
1177
  import {
1177
1178
  handleSupportPassportOwnerHttp
1178
- } from "./chunk-T4KY6UYF.js";
1179
+ } from "./chunk-274UY54Z.js";
1179
1180
  import {
1180
1181
  SupportPassportError,
1181
1182
  buildSupportPassportPublicRequestHandler
1182
- } from "./chunk-P3WRNWWM.js";
1183
+ } from "./chunk-UPE7TJWN.js";
1183
1184
  import {
1184
1185
  meetingsBuild,
1185
1186
  meetingsGet,
@@ -1190,15 +1191,79 @@ import {
1190
1191
  wearablesTranscriptMemories,
1191
1192
  wearablesTranscriptSearch
1192
1193
  } from "./chunk-SYOIVK7K.js";
1194
+ import {
1195
+ splitCanonicalWriteRequest
1196
+ } from "./chunk-3PZDG5ZH.js";
1197
+ import {
1198
+ buildWithBriefingLocation,
1199
+ daySummaryAutoOptions,
1200
+ localDayKey,
1201
+ renderDayLocationContext
1202
+ } from "./chunk-4IVRQMZW.js";
1203
+ import {
1204
+ activityDateInTimezone,
1205
+ activityDayWindow,
1206
+ assertValidTimezone,
1207
+ hashActivityBody,
1208
+ isValidActivityDate,
1209
+ timezoneOffsetIso
1210
+ } from "./chunk-353C5UNV.js";
1211
+ import {
1212
+ STRUCTURED_ATTRIBUTE_LIMITS,
1213
+ TAG_LIMITS,
1214
+ buildAccessWriteRequestFingerprint,
1215
+ buildObserveRequestFingerprint,
1216
+ composeMemoryEnvelope,
1217
+ isMemoryCategory
1218
+ } from "./chunk-X26YOFGS.js";
1219
+ import {
1220
+ applyTagFilter,
1221
+ normalizeTags,
1222
+ parseTagMatch
1223
+ } from "./chunk-BT7NVCML.js";
1224
+ import {
1225
+ PROMOTION_CANDIDATES_MCP_TOOLS,
1226
+ computePromotionCandidates,
1227
+ evaluateSubjectGuard,
1228
+ isSharedPromotionTarget,
1229
+ resolveWriteSubject
1230
+ } from "./chunk-TOSPNM4T.js";
1231
+ import {
1232
+ memoryStoreRequestSchema,
1233
+ observeRequestSchema,
1234
+ reapplyCategoryCoercion,
1235
+ recallRequestSchema,
1236
+ retainedCategoryAlias,
1237
+ suggestionSubmitRequestSchema,
1238
+ validateRequest
1239
+ } from "./chunk-DIBOWE53.js";
1240
+ import {
1241
+ exportCapsule
1242
+ } from "./chunk-KQAFEZQX.js";
1243
+ import {
1244
+ CAPSULE_ID_PATTERN
1245
+ } from "./chunk-WEHSQBFR.js";
1246
+ import {
1247
+ buildActionConfidenceInputFromOptions,
1248
+ evaluateActionConfidence,
1249
+ renderActionConfidenceText
1250
+ } from "./chunk-Z2YFLXHU.js";
1251
+ import {
1252
+ buildRetrievedMemoryProvenance
1253
+ } from "./chunk-I4WBNM3M.js";
1254
+ import {
1255
+ keyring_exports,
1256
+ secureStoreDir
1257
+ } from "./chunk-BJMBJZ2Y.js";
1193
1258
  import {
1194
1259
  createOfflineSyncManifestStream
1195
- } from "./chunk-BTY6DUFW.js";
1260
+ } from "./chunk-SU63UQPL.js";
1196
1261
  import {
1197
1262
  peerManifestRevision
1198
- } from "./chunk-M2XR6B6V.js";
1263
+ } from "./chunk-FEUWI5QH.js";
1199
1264
  import {
1200
1265
  offlineSyncStorageForSnapshot
1201
- } from "./chunk-U5I2G4VU.js";
1266
+ } from "./chunk-5WZT6WQW.js";
1202
1267
  import {
1203
1268
  getConfiguredNamespaces,
1204
1269
  resolveNamespaceFromStorageDir,
@@ -1241,6 +1306,42 @@ import {
1241
1306
  import {
1242
1307
  isTombstoneBlockedCaptureWriteLockBusy
1243
1308
  } from "./chunk-YET735EZ.js";
1309
+ import {
1310
+ ContentHashIndex
1311
+ } from "./chunk-HLUHEMN4.js";
1312
+ import {
1313
+ computeContentHash
1314
+ } from "./chunk-5FVVY2EB.js";
1315
+ import {
1316
+ writeFileAtomically
1317
+ } from "./chunk-BTNNL7ZW.js";
1318
+ import {
1319
+ OFFLINE_SYNC_APPLY_MAX_BODY_BYTES,
1320
+ OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES,
1321
+ OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES,
1322
+ applyOfflineSyncChangeset,
1323
+ applyOfflineSyncFileContentChunk,
1324
+ buildOfflineSyncSnapshot,
1325
+ buildOfflineSyncSnapshotForPaths,
1326
+ buildOfflineSyncSnapshotFromBase,
1327
+ normalizeOfflineSyncChangeset,
1328
+ readOfflineSyncFileContentChunk
1329
+ } from "./chunk-OZNBZJ3S.js";
1330
+ import {
1331
+ storageBackedIndexStoreIo
1332
+ } from "./chunk-TAUHAP5J.js";
1333
+ import {
1334
+ compileOfflineSyncExcludeGlobs
1335
+ } from "./chunk-63LFM77Z.js";
1336
+ import {
1337
+ assertIsDirectoryNotSymlink,
1338
+ assertRealpathInsideRoot,
1339
+ validateArchiveRelativePath
1340
+ } from "./chunk-GCGJW34D.js";
1341
+ import {
1342
+ serializeMutations,
1343
+ withHeldFileLock
1344
+ } from "./chunk-EBV6VXKF.js";
1244
1345
  import {
1245
1346
  createRecallCorpusVersionCapture,
1246
1347
  mergeRecallCorpusVersions
@@ -1249,10 +1350,10 @@ import {
1249
1350
  RECALL_WHY_MCP_TOOLS,
1250
1351
  handleRecallWhyHttpQuery,
1251
1352
  handleRecallXrayHttpQuery
1252
- } from "./chunk-4H7TUVWQ.js";
1353
+ } from "./chunk-2VS3DAXE.js";
1253
1354
  import {
1254
1355
  runContradictionScan
1255
- } from "./chunk-TVDJEUV5.js";
1356
+ } from "./chunk-SX4BR26Y.js";
1256
1357
  import {
1257
1358
  isDefaultReviewNamespace,
1258
1359
  listPairs,
@@ -1263,7 +1364,7 @@ import {
1263
1364
  RECALL_DISCLOSURE_LEVELS,
1264
1365
  confidenceTier,
1265
1366
  isRecallDisclosure
1266
- } from "./chunk-3F6COEHZ.js";
1367
+ } from "./chunk-JVNGFQJN.js";
1267
1368
  import {
1268
1369
  extractJsonCandidates
1269
1370
  } from "./chunk-YBA52OKG.js";
@@ -1271,10 +1372,28 @@ import {
1271
1372
  createSupportPassportPrivateFileExclusion,
1272
1373
  excludeSupportPassportPrivateMemories,
1273
1374
  isSupportPassportPrivateMemory
1274
- } from "./chunk-NS7U4ZYU.js";
1375
+ } from "./chunk-TSUSHXBW.js";
1275
1376
  import {
1276
1377
  SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH
1277
- } from "./chunk-AHA5VQGP.js";
1378
+ } from "./chunk-LEII44QG.js";
1379
+ import {
1380
+ normalizeAttributePairs,
1381
+ stripAttributesSuffix
1382
+ } from "./chunk-JDSVLVCG.js";
1383
+ import {
1384
+ sanitizeMemoryContent
1385
+ } from "./chunk-5GKPFL3S.js";
1386
+ import {
1387
+ MEMORY_ID_PATTERN,
1388
+ buildHandleIndexForResults,
1389
+ isHandleToken,
1390
+ parseIdOrHandle,
1391
+ resolveHandle,
1392
+ stripHandles
1393
+ } from "./chunk-JAKIDQB2.js";
1394
+ import {
1395
+ parseFlexibleIsoTimestamp
1396
+ } from "./chunk-P7FMDTKL.js";
1278
1397
  import {
1279
1398
  defaultNamespaceAtFlatRoot,
1280
1399
  memorySearchThroughScope,
@@ -1350,124 +1469,6 @@ import {
1350
1469
  ObserveTranscriptPersister,
1351
1470
  observeTranscriptSessionKey
1352
1471
  } from "./chunk-EAHNSQ7H.js";
1353
- import {
1354
- splitCanonicalWriteRequest
1355
- } from "./chunk-KVCFAWBZ.js";
1356
- import {
1357
- buildWithBriefingLocation,
1358
- daySummaryAutoOptions,
1359
- localDayKey,
1360
- renderDayLocationContext
1361
- } from "./chunk-4IVRQMZW.js";
1362
- import {
1363
- activityDateInTimezone,
1364
- activityDayWindow,
1365
- assertValidTimezone,
1366
- hashActivityBody,
1367
- isValidActivityDate,
1368
- timezoneOffsetIso
1369
- } from "./chunk-353C5UNV.js";
1370
- import {
1371
- STRUCTURED_ATTRIBUTE_LIMITS,
1372
- TAG_LIMITS,
1373
- buildAccessWriteRequestFingerprint,
1374
- buildObserveRequestFingerprint,
1375
- composeMemoryEnvelope,
1376
- isMemoryCategory
1377
- } from "./chunk-X26YOFGS.js";
1378
- import {
1379
- applyTagFilter,
1380
- normalizeTags,
1381
- parseTagMatch
1382
- } from "./chunk-BT7NVCML.js";
1383
- import {
1384
- PROMOTION_CANDIDATES_MCP_TOOLS,
1385
- computePromotionCandidates,
1386
- evaluateSubjectGuard,
1387
- isSharedPromotionTarget,
1388
- resolveWriteSubject
1389
- } from "./chunk-TOSPNM4T.js";
1390
- import {
1391
- memoryStoreRequestSchema,
1392
- observeRequestSchema,
1393
- reapplyCategoryCoercion,
1394
- recallRequestSchema,
1395
- retainedCategoryAlias,
1396
- suggestionSubmitRequestSchema,
1397
- validateRequest
1398
- } from "./chunk-3RW5ZCYO.js";
1399
- import {
1400
- exportCapsule
1401
- } from "./chunk-KQAFEZQX.js";
1402
- import {
1403
- CAPSULE_ID_PATTERN
1404
- } from "./chunk-WEHSQBFR.js";
1405
- import {
1406
- keyring_exports,
1407
- secureStoreDir
1408
- } from "./chunk-BJMBJZ2Y.js";
1409
- import {
1410
- buildActionConfidenceInputFromOptions,
1411
- evaluateActionConfidence,
1412
- renderActionConfidenceText
1413
- } from "./chunk-Z2YFLXHU.js";
1414
- import {
1415
- buildRetrievedMemoryProvenance
1416
- } from "./chunk-I4WBNM3M.js";
1417
- import {
1418
- ContentHashIndex
1419
- } from "./chunk-HLUHEMN4.js";
1420
- import {
1421
- computeContentHash
1422
- } from "./chunk-5FVVY2EB.js";
1423
- import {
1424
- writeFileAtomically
1425
- } from "./chunk-BTNNL7ZW.js";
1426
- import {
1427
- OFFLINE_SYNC_APPLY_MAX_BODY_BYTES,
1428
- OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES,
1429
- OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES,
1430
- applyOfflineSyncChangeset,
1431
- applyOfflineSyncFileContentChunk,
1432
- buildOfflineSyncSnapshot,
1433
- buildOfflineSyncSnapshotForPaths,
1434
- buildOfflineSyncSnapshotFromBase,
1435
- normalizeOfflineSyncChangeset,
1436
- readOfflineSyncFileContentChunk
1437
- } from "./chunk-CLVILSBR.js";
1438
- import {
1439
- storageBackedIndexStoreIo
1440
- } from "./chunk-5BE3FLKL.js";
1441
- import {
1442
- compileOfflineSyncExcludeGlobs
1443
- } from "./chunk-63LFM77Z.js";
1444
- import {
1445
- assertIsDirectoryNotSymlink,
1446
- assertRealpathInsideRoot,
1447
- validateArchiveRelativePath
1448
- } from "./chunk-GCGJW34D.js";
1449
- import {
1450
- serializeMutations,
1451
- withHeldFileLock
1452
- } from "./chunk-EBV6VXKF.js";
1453
- import {
1454
- normalizeAttributePairs,
1455
- stripAttributesSuffix
1456
- } from "./chunk-JDSVLVCG.js";
1457
- import {
1458
- sanitizeMemoryContent
1459
- } from "./chunk-5GKPFL3S.js";
1460
- import {
1461
- MEMORY_ID_PATTERN,
1462
- buildHandleIndexForResults,
1463
- isHandleToken,
1464
- parseIdOrHandle,
1465
- resolveHandle,
1466
- stripHandles
1467
- } from "./chunk-JAKIDQB2.js";
1468
- import {
1469
- parseFlexibleIsoTimestamp
1470
- } from "./chunk-P7FMDTKL.js";
1471
1472
  import {
1472
1473
  MCP_ADMIN_OPS_MIGRATED_OPERATIONS,
1473
1474
  MCP_ADMIN_OPS_TOOLS,
@@ -1500,6 +1501,9 @@ import {
1500
1501
  import {
1501
1502
  maybeHandleLifecycleFlush
1502
1503
  } from "./chunk-2BPPGNAQ.js";
1504
+ import {
1505
+ respondAccessCapabilitiesHttp
1506
+ } from "./chunk-DJSJ4ULL.js";
1503
1507
  import {
1504
1508
  respondOfflineManifestStream,
1505
1509
  respondOfflineSnapshotStream
@@ -1527,9 +1531,6 @@ import {
1527
1531
  import {
1528
1532
  respondBufferAdmissionError
1529
1533
  } from "./chunk-SRDWJPET.js";
1530
- import {
1531
- respondAccessCapabilitiesHttp
1532
- } from "./chunk-DJSJ4ULL.js";
1533
1534
  import {
1534
1535
  abortError,
1535
1536
  isAbortError,
@@ -5007,6 +5008,27 @@ var ExtractionQueueCoordinator = class {
5007
5008
  if (entry.key !== void 0) this.activeKeys.delete(entry.key);
5008
5009
  }
5009
5010
  }
5011
+ /** Test + force-flush observability: register a keyed preempt slot the way
5012
+ * `runEntry` does for a queued task, so callers can exercise the keyed
5013
+ * preemption path without a full queue. */
5014
+ registerPreemptSlot(key) {
5015
+ const slot = {};
5016
+ this.preemptSlots.set(slot, { key });
5017
+ return this.createPreemptHandle(slot);
5018
+ }
5019
+ /** Force-flush-scoped preemption: abort EVERY armed slot whose key matches
5020
+ * `key` and abort nothing when none does. Unlike `preemptRunning` there is
5021
+ * deliberately no newest-slot fallback - a keyed caller (force-flush on
5022
+ * session K) must never take out an unrelated background task just
5023
+ * because K's own extraction is not (yet) armed. */
5024
+ preemptKeyed(key) {
5025
+ for (const state of this.preemptSlots.values()) {
5026
+ if (state.key !== key || state.armed === void 0) continue;
5027
+ const abort = state.armed.abort;
5028
+ state.armed = void 0;
5029
+ abort();
5030
+ }
5031
+ }
5010
5032
  createPreemptHandle(slot) {
5011
5033
  return {
5012
5034
  arm: (abort) => {
@@ -20672,7 +20694,10 @@ function markDuplicateTurns(turns, collapsed, start = 0, end = turns.length) {
20672
20694
  // src/orchestration/extraction-drain.ts
20673
20695
  function chunkFingerprint(chunk) {
20674
20696
  const hash = createHash9("sha256");
20675
- for (const turn of chunk) hash.update(`${turn.role}\0${turn.timestamp}\0${turn.content}`);
20697
+ for (const turn of chunk) {
20698
+ const part = turn.extractionPartOf ? `#${turn.extractionPartOf.part}/${turn.extractionPartOf.of}` : "";
20699
+ hash.update(`${turn.role}\0${turn.timestamp}\0${turn.content}${part}`);
20700
+ }
20676
20701
  return hash.digest("hex");
20677
20702
  }
20678
20703
  var ExtractionDrain = class {
@@ -20702,13 +20727,24 @@ var ExtractionDrain = class {
20702
20727
  }
20703
20728
  return total;
20704
20729
  }
20730
+ /** Failure counts are keyed by buffer key AND chunk fingerprint: with one
20731
+ * slot per key, a sibling chunk's success (count reset to 0) would delete
20732
+ * a failing part's count and it would never reach the drop threshold. */
20705
20733
  failureCount(bufferKey, chunk) {
20706
- const entry = this.failures.get(bufferKey);
20707
- return entry && entry.fingerprint === chunkFingerprint(chunk) ? entry.count : 0;
20734
+ return this.failures.get(this.failureSlot(bufferKey, chunk)) ?? 0;
20708
20735
  }
20709
20736
  setFailureCount(bufferKey, chunk, count) {
20710
- if (count <= 0) this.failures.delete(bufferKey);
20711
- else this.failures.set(bufferKey, { fingerprint: chunkFingerprint(chunk), count });
20737
+ const slot = this.failureSlot(bufferKey, chunk);
20738
+ if (count <= 0) this.failures.delete(slot);
20739
+ else this.failures.set(slot, count);
20740
+ }
20741
+ failureSlot(bufferKey, chunk) {
20742
+ return `${bufferKey}\0${chunkFingerprint(chunk)}`;
20743
+ }
20744
+ clearBufferFailures(bufferKey) {
20745
+ for (const slot of this.failures.keys()) {
20746
+ if (slot.startsWith(`${bufferKey}\0`)) this.failures.delete(slot);
20747
+ }
20712
20748
  }
20713
20749
  /**
20714
20750
  * Run `runExtraction` over the trigger-drain window. When the window outgrows
@@ -20733,9 +20769,21 @@ var ExtractionDrain = class {
20733
20769
  */
20734
20770
  async run(turns, runOptions, preemptable = false, preemptHandle) {
20735
20771
  const budgetChars = this.deps.extractionWindowBudgetChars?.() ?? Number.POSITIVE_INFINITY;
20736
- const collapsed = collapseExactDuplicateTurns(turns);
20772
+ const partBudget = Math.min(budgetChars, this.deps.config.extractionMaxTurnChars);
20773
+ const hasOversized = Number.isFinite(partBudget) && partBudget > 0 && this.chunkable(runOptions, turns, budgetChars) && turns.some((turn) => turn.content.length > partBudget);
20774
+ const collapsed = hasOversized ? {
20775
+ representatives: turns,
20776
+ representativePositions: turns.map((_, index) => index),
20777
+ duplicateFlags: turns.map(() => false),
20778
+ duplicateCount: 0
20779
+ } : collapseExactDuplicateTurns(turns);
20737
20780
  const window = collapsed.duplicateCount > 0 ? markDuplicateTurns(turns, collapsed) : turns;
20738
- const plan = this.chunkPlan(turns, runOptions, budgetChars, collapsed);
20781
+ const plan = this.chunkPlan(turns, runOptions, budgetChars, collapsed, partBudget);
20782
+ if (plan.clampedParts > 0) {
20783
+ log.warn(
20784
+ `buffer[${runOptions.bufferKey}]: clamped ${plan.clampedParts} oversized turns at the part limit; the unemitted tail content stays buffered for the next drain`
20785
+ );
20786
+ }
20739
20787
  if (plan.singleRun) {
20740
20788
  if (collapsed.duplicateCount === 0) return await this.deps.runExtraction(turns, runOptions);
20741
20789
  if (this.windowBelowThreshold(turns, runOptions)) return await this.deps.runExtraction(turns, runOptions);
@@ -20749,19 +20797,33 @@ var ExtractionDrain = class {
20749
20797
  return await this.deps.runExtraction(turns, runOptions);
20750
20798
  }
20751
20799
  const options = collapsed.duplicateCount > 0 ? { ...runOptions, skipCharThreshold: true, skipUserTurnThreshold: true } : runOptions;
20752
- return await this.runChunked(plan.chunks, options, preemptable, preemptHandle);
20800
+ return await this.runChunked(plan.chunks, options, preemptable, preemptHandle, plan.partParents, plan.clampedParents);
20753
20801
  }
20754
20802
  /** Chunking plan for one trigger-drain window. Accepted-capture groups
20755
20803
  * keep their pinned head; a window with duplicates is planned on its
20756
20804
  * representatives and each chunk is then expanded back to its contiguous
20757
20805
  * original span with the duplicates marked. */
20758
- chunkPlan(turns, runOptions, budgetChars, collapsed) {
20806
+ chunkPlan(turns, runOptions, budgetChars, collapsed, partBudget = Number.POSITIVE_INFINITY) {
20759
20807
  const deduped = collapsed !== void 0 && collapsed.duplicateCount > 0;
20760
- const planning = deduped ? collapsed.representatives : turns;
20808
+ const split = deduped || !this.chunkable(runOptions, turns, budgetChars) ? {
20809
+ turns: [...turns],
20810
+ partParents: /* @__PURE__ */ new Map(),
20811
+ clampedParents: /* @__PURE__ */ new Set(),
20812
+ clamped: false
20813
+ } : splitOversizedTurns(turns, partBudget);
20814
+ const planning = deduped ? collapsed.representatives : split.turns;
20761
20815
  const repChunks = this.chunkable(runOptions, turns, budgetChars) ? this.deps.measureRenderedTurns !== void 0 ? this.chunkByRenderedSize(planning, budgetChars) : chunkExtractionWindow(planning, budgetChars) : [];
20762
20816
  const resumed = repChunks.length > 0 && this.qualified.get(runOptions.bufferKey) === chunkFingerprint(repChunks[0].slice(0, 1));
20763
20817
  const chunks = deduped ? this.expandedChunks(turns, collapsed, repChunks) : repChunks;
20764
- return { singleRun: chunks.length <= 1 && !resumed, chunks, resumed };
20818
+ const partParents = split.partParents.size > 0 ? split.partParents : void 0;
20819
+ return {
20820
+ singleRun: chunks.length <= 1 && !resumed && partParents === void 0,
20821
+ chunks,
20822
+ resumed,
20823
+ partParents,
20824
+ clampedParts: split.clampedParents.size,
20825
+ clampedParents: split.clampedParents.size > 0 ? split.clampedParents : void 0
20826
+ };
20765
20827
  }
20766
20828
  /** Each representative chunk expands to a PARTITION slice of the original window:
20767
20829
  * chunk k spans [start_k, start_k+1) where start_0 = 0 and start_k+1 is chunk
@@ -20801,7 +20863,7 @@ var ExtractionDrain = class {
20801
20863
  }
20802
20864
  /** The window qualified as a whole; its chunks must not be re-judged one by
20803
20865
  * one (an assistant-only or short chunk would be cleared unextracted). */
20804
- async runChunked(chunks, runOptions, preemptable, preemptHandle) {
20866
+ async runChunked(chunks, runOptions, preemptable, preemptHandle, partParents, clampedParents) {
20805
20867
  const baseOptions = { ...runOptions, skipCharThreshold: true, skipUserTurnThreshold: true };
20806
20868
  const bufferKey = runOptions.bufferKey;
20807
20869
  const byIdentity = runOptions.clearMatchingTurns === true;
@@ -20823,11 +20885,21 @@ var ExtractionDrain = class {
20823
20885
  result = await this.deps.runExtraction(chunk, chunkOptions);
20824
20886
  } catch (err) {
20825
20887
  this.rethrowChunkAbort(err, preempt, runOptions.abortSignal?.aborted === true);
20826
- aggregate = await this.settleThrownChunk(bufferKey, chunk, failures, dropAfter, err, byIdentity, aggregate);
20888
+ aggregate = await this.settleThrownChunk(
20889
+ bufferKey,
20890
+ chunk,
20891
+ failures,
20892
+ dropAfter,
20893
+ err,
20894
+ byIdentity,
20895
+ aggregate,
20896
+ partParents
20897
+ );
20827
20898
  continue;
20828
20899
  }
20829
20900
  const settled = this.settleVerdict(bufferKey, chunk, result, aggregate);
20830
20901
  if (settled.action === "continue") {
20902
+ await this.clearFinishedPartParents(bufferKey, chunk, partParents, clampedParents);
20831
20903
  aggregate = settled.result;
20832
20904
  continue;
20833
20905
  }
@@ -20839,7 +20911,8 @@ var ExtractionDrain = class {
20839
20911
  dropAfter,
20840
20912
  result: settled.result,
20841
20913
  byIdentity,
20842
- aggregate: settled.aggregate
20914
+ aggregate: settled.aggregate,
20915
+ partParents
20843
20916
  });
20844
20917
  if (failed.action === "continue") {
20845
20918
  aggregate = failed.result;
@@ -20848,6 +20921,7 @@ var ExtractionDrain = class {
20848
20921
  return failed.result;
20849
20922
  }
20850
20923
  this.qualified.delete(bufferKey);
20924
+ this.clearBufferFailures(bufferKey);
20851
20925
  return aggregate ?? { status: "skipped", persistedCount: 0, durableOutputCount: 0 };
20852
20926
  }
20853
20927
  /** retention replaces theirs (retained turns do not pile up across chunks) */
@@ -20881,7 +20955,7 @@ var ExtractionDrain = class {
20881
20955
  * threshold (or on a no-drop drain) rethrow so the window is retained;
20882
20956
  * at the threshold a chunk that keeps throwing is dropped like one that
20883
20957
  * keeps failing, so later chunks are not stuck behind it. */
20884
- async settleThrownChunk(bufferKey, chunk, failures, dropAfter, cause, byIdentity, aggregate) {
20958
+ async settleThrownChunk(bufferKey, chunk, failures, dropAfter, cause, byIdentity, aggregate, partParents) {
20885
20959
  failures += 1;
20886
20960
  if (failures < dropAfter || !this.dropFailedChunks) {
20887
20961
  this.setFailureCount(bufferKey, chunk, failures);
@@ -20893,7 +20967,7 @@ var ExtractionDrain = class {
20893
20967
  persistedCount: 0,
20894
20968
  durableOutputCount: 0
20895
20969
  };
20896
- if (!await this.dropFailedChunk(bufferKey, chunk, dropAfter, thrown, byIdentity)) {
20970
+ if (!await this.dropFailedChunk(bufferKey, chunk, dropAfter, thrown, byIdentity, partParents)) {
20897
20971
  this.setFailureCount(bufferKey, chunk, failures);
20898
20972
  throw cause;
20899
20973
  }
@@ -20919,7 +20993,14 @@ var ExtractionDrain = class {
20919
20993
  async settleFailedChunk(args) {
20920
20994
  const failures = args.failures + 1;
20921
20995
  if (failures >= args.dropAfter && this.dropFailedChunks) {
20922
- if (!await this.dropFailedChunk(args.bufferKey, args.chunk, args.dropAfter, args.result, args.byIdentity)) {
20996
+ if (!await this.dropFailedChunk(
20997
+ args.bufferKey,
20998
+ args.chunk,
20999
+ args.dropAfter,
21000
+ args.result,
21001
+ args.byIdentity,
21002
+ args.partParents
21003
+ )) {
20923
21004
  this.setFailureCount(args.bufferKey, args.chunk, failures);
20924
21005
  return { action: "return", result: mergeDrainResults(args.aggregate, args.result) };
20925
21006
  }
@@ -20946,13 +21027,16 @@ var ExtractionDrain = class {
20946
21027
  }
20947
21028
  /** Side-file copy first (content survives a failed drop), then remove the failing chunk from the buffer. Never throws:
20948
21029
  * the drop must not fail the extraction task that already settled its result. */
20949
- async dropFailedChunk(bufferKey, chunk, dropAfter, result, byIdentity) {
21030
+ async dropFailedChunk(bufferKey, chunk, dropAfter, result, byIdentity, partParents) {
20950
21031
  const reason = `dropped after ${dropAfter} repeated extraction failures (last result: status=${result.status} reason=${result.reason ?? "n/a"})`;
20951
- const copyPath = await this.saveRecoveryCopy(bufferKey, reason, chunk);
21032
+ const dropTurns = partParents === void 0 ? chunk : this.dropSetForParts(chunk, partParents);
21033
+ const copyPath = await this.saveRecoveryCopy(bufferKey, reason, dropTurns);
20952
21034
  if (copyPath === null) return false;
20953
- log.warn(`buffer[${bufferKey}]: dropping ${chunk.length} turns \u2014 ${reason}; copy saved to ${copyPath}`);
21035
+ log.warn(`buffer[${bufferKey}]: dropping ${dropTurns.length} turns \u2014 ${reason}; copy saved to ${copyPath}`);
20954
21036
  try {
20955
- const dropped = await this.deps.buffer.dropExtractionChunk(bufferKey, chunk, { allowNonPrefix: byIdentity });
21037
+ const dropped = await this.deps.buffer.dropExtractionChunk(bufferKey, dropTurns, {
21038
+ allowNonPrefix: byIdentity || partParents !== void 0
21039
+ });
20956
21040
  if (dropped > 0) {
20957
21041
  log.warn(`buffer[${bufferKey}]: removed ${dropped} buffered turns \u2014 ${reason}`);
20958
21042
  return true;
@@ -20978,6 +21062,51 @@ var ExtractionDrain = class {
20978
21062
  return null;
20979
21063
  }
20980
21064
  }
21065
+ /** The buffered identities a part-carrying chunk actually removes on drop:
21066
+ * real turns themselves plus each part copy's parent, once per parent. */
21067
+ dropSetForParts(chunk, partParents) {
21068
+ const seen = /* @__PURE__ */ new Set();
21069
+ const dropTurns = [];
21070
+ for (const turn of chunk) {
21071
+ const target = partParents.get(turn) ?? turn;
21072
+ if (seen.has(target)) continue;
21073
+ seen.add(target);
21074
+ dropTurns.push(target);
21075
+ }
21076
+ return dropTurns;
21077
+ }
21078
+ /** A part's slice never equals its parent's buffered content, so no drain
21079
+ * clears a parent implicitly. When the LAST part of a parent drains, the
21080
+ * whole turn has been extracted and the parent is removed by identity —
21081
+ * non-prefix, since earlier chunks may leave it mid-buffer. */
21082
+ async clearFinishedPartParents(bufferKey, chunk, partParents, clampedParents) {
21083
+ if (partParents === void 0) return;
21084
+ for (const turn of chunk) {
21085
+ const marker = turn.extractionPartOf;
21086
+ if (marker === void 0 || marker.part !== marker.of) continue;
21087
+ const parent = partParents.get(turn);
21088
+ if (parent === void 0) continue;
21089
+ if (clampedParents?.has(parent) === true) {
21090
+ const copyPath = await this.saveRecoveryCopy(
21091
+ bufferKey,
21092
+ "clamped at the per-turn part limit; unemitted tail preserved",
21093
+ [parent]
21094
+ );
21095
+ if (copyPath === null) continue;
21096
+ log.warn(`buffer[${bufferKey}]: clamped turn removed after part extraction; copy saved to ${copyPath}`);
21097
+ }
21098
+ try {
21099
+ const dropped = await this.deps.buffer.dropExtractionChunk(bufferKey, [parent], { allowNonPrefix: true });
21100
+ if (dropped === 0) {
21101
+ log.warn(`buffer[${bufferKey}]: extracted turn's parts drained but its parent no longer matches the buffer`);
21102
+ }
21103
+ } catch (err) {
21104
+ log.warn(
21105
+ `buffer[${bufferKey}]: failed to clear an extracted turn's parent (it stays buffered for retry): ${describeError(err)}`
21106
+ );
21107
+ }
21108
+ }
21109
+ }
20981
21110
  };
20982
21111
 
20983
21112
  // src/orchestration/buffer-drain-gate.ts
@@ -23183,7 +23312,7 @@ var OrchestratorInitCoordinator = class {
23183
23312
  if (signal.aborted || !this.isCurrentStartupEpoch(epoch)) return;
23184
23313
  if (lifecycleCaps.lifecyclePolicy && resolveQmdCapabilities(this.deps.config).qmdTierMigration) {
23185
23314
  try {
23186
- const { runFirstStartMigration } = await import("./first-start-migration-FILJH3RO.js");
23315
+ const { runFirstStartMigration } = await import("./first-start-migration-BPVJ4HJQ.js");
23187
23316
  if (signal.aborted || !this.isCurrentStartupEpoch(epoch)) return;
23188
23317
  const result = await runFirstStartMigration({
23189
23318
  storage: this.deps.storage,
@@ -23207,7 +23336,7 @@ var OrchestratorInitCoordinator = class {
23207
23336
  if (signal.aborted || !this.isCurrentStartupEpoch(epoch)) return;
23208
23337
  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)) {
23209
23338
  try {
23210
- const { startWearablesAutoSync } = await import("./auto-sync-BO5YZKM6.js");
23339
+ const { startWearablesAutoSync } = await import("./auto-sync-PSZJHHXB.js");
23211
23340
  if (signal.aborted || !this.isCurrentStartupEpoch(epoch)) return;
23212
23341
  this.deps.wearablesAutoSyncHandle = startWearablesAutoSync(
23213
23342
  {
@@ -29621,7 +29750,8 @@ ${doc.content}` : doc.content
29621
29750
  registry: this.modelRegistry,
29622
29751
  localExtractionActive: this.config.modelSource !== "gateway" && resolveLocalLlmCapabilities(this.config).localLlm,
29623
29752
  model: this.config.localLlmModel,
29624
- maxContext: this.config.localLlmMaxContext
29753
+ maxContext: this.config.localLlmMaxContext,
29754
+ callMaxChars: this.config.extractionCallMaxChars
29625
29755
  });
29626
29756
  }
29627
29757
  normalizeExtractionFingerprintTurns(turns) {
@@ -39684,7 +39814,7 @@ var EngramAccessHttpServer = class extends ReviewDeckAccessHttpBase {
39684
39814
  if (req.method === "POST" && pathname === "/engram/v1/contradiction-scan") {
39685
39815
  this.enforceTokenOp("contradiction_scan_run");
39686
39816
  const body = await this.readJsonBody(req);
39687
- const { runContradictionScan: runContradictionScan2 } = await import("./contradiction-scan-IBPYGQZF.js");
39817
+ const { runContradictionScan: runContradictionScan2 } = await import("./contradiction-scan-DTQFAW22.js");
39688
39818
  const principal = this.resolveRequestPrincipal(req);
39689
39819
  const result = await runContradictionScan2({
39690
39820
  storage: this.service.storageRef,
@@ -50347,7 +50477,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
50347
50477
  );
50348
50478
  tierCmd.command("list").description("Summarize tier distribution across all memories").option("--json", "Emit machine-readable JSON only").action(async (...args) => {
50349
50479
  const options = args[0] ?? {};
50350
- const { summarizeTiers, formatTierSummaryText } = await import("./tier-stats-FXEUJN73.js");
50480
+ const { summarizeTiers, formatTierSummaryText } = await import("./tier-stats-FLFKN7Y6.js");
50351
50481
  const summary = await summarizeTiers(orchestrator.storage);
50352
50482
  if (reportHasMachineReadableOutput(options)) {
50353
50483
  console.log(JSON.stringify(summary, null, 2));
@@ -50358,7 +50488,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
50358
50488
  tierCmd.command("explain").description("Explain the tier-transition decision for a single memory").argument("<id>", "Memory id to explain").option("--json", "Emit machine-readable JSON only").action(async (...args) => {
50359
50489
  const idArg = typeof args[0] === "string" ? args[0] : "";
50360
50490
  const options = args[1] ?? {};
50361
- const { explainTierForMemory, formatTierExplainText } = await import("./tier-stats-FXEUJN73.js");
50491
+ const { explainTierForMemory, formatTierExplainText } = await import("./tier-stats-FLFKN7Y6.js");
50362
50492
  try {
50363
50493
  const explain = await explainTierForMemory(
50364
50494
  orchestrator.storage,
@@ -53605,7 +53735,7 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
53605
53735
  console.error("--verb is required. Must be one of: keep-a, keep-b, merge, both-valid, needs-more-context");
53606
53736
  process.exit(1);
53607
53737
  }
53608
- const { isValidResolutionVerb: isValidResolutionVerb2, executeResolution: executeResolution2 } = await import("./resolution-G4SLHSEU.js");
53738
+ const { isValidResolutionVerb: isValidResolutionVerb2, executeResolution: executeResolution2 } = await import("./resolution-7XBNQVKU.js");
53609
53739
  if (!isValidResolutionVerb2(verb)) {
53610
53740
  console.error(`Invalid verb: ${verb}. Must be one of: keep-a, keep-b, merge, both-valid, needs-more-context`);
53611
53741
  process.exit(1);
@@ -53637,7 +53767,7 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
53637
53767
  });
53638
53768
  reviewCmd.command("scan").description("Run an on-demand contradiction scan").option("--namespace <ns>", "Namespace to scan").action(async (...args) => {
53639
53769
  const options = args[0] ?? {};
53640
- const { runContradictionScan: runContradictionScan2 } = await import("./contradiction-scan-IBPYGQZF.js");
53770
+ const { runContradictionScan: runContradictionScan2 } = await import("./contradiction-scan-DTQFAW22.js");
53641
53771
  console.log("Running contradiction scan...");
53642
53772
  const result = await runContradictionScan2({
53643
53773
  storage: orchestrator.storage,
@@ -60836,6 +60966,32 @@ async function extractionForceFlush(deps, request, waitForPendingObserveExtracti
60836
60966
  }
60837
60967
  }
60838
60968
 
60969
+ // src/access-extraction-force-flush-preempt.ts
60970
+ function forceFlushPreemptCallback(sessionKey, coordinator) {
60971
+ return () => {
60972
+ if (sessionKey !== void 0) {
60973
+ coordinator?.preemptKeyed?.(sessionKey);
60974
+ return;
60975
+ }
60976
+ coordinator?.preemptRunning?.();
60977
+ };
60978
+ }
60979
+ function forceFlushPreemptCall(deps, request, pending) {
60980
+ return extractionForceFlush(
60981
+ deps,
60982
+ request,
60983
+ (sessionKey, principal, namespace, abortSignal, registerCancellation, scopeHint) => pending.wait(
60984
+ sessionKey,
60985
+ principal,
60986
+ namespace,
60987
+ abortSignal,
60988
+ registerCancellation,
60989
+ scopeHint,
60990
+ forceFlushPreemptCallback(sessionKey, deps.orchestrator.extractionQueueCoordinator)
60991
+ )
60992
+ );
60993
+ }
60994
+
60839
60995
  // src/access-observe-write-surface.ts
60840
60996
  var AccessObserveWriteSurface = class {
60841
60997
  constructor(deps) {
@@ -61403,19 +61559,7 @@ var AccessObserveWriteSurface = class {
61403
61559
  }
61404
61560
  }
61405
61561
  async extractionForceFlush(request) {
61406
- return extractionForceFlush(
61407
- this.deps,
61408
- request,
61409
- (sessionKey, principal, namespace, abortSignal, registerCancellation, scopeHint) => this.pendingObserveExtractions.wait(
61410
- sessionKey,
61411
- principal,
61412
- namespace,
61413
- abortSignal,
61414
- registerCancellation,
61415
- scopeHint,
61416
- () => this.deps.orchestrator.extractionQueueCoordinator?.preemptRunning()
61417
- )
61418
- );
61562
+ return forceFlushPreemptCall(this.deps, request, this.pendingObserveExtractions);
61419
61563
  }
61420
61564
  async workTask(request) {
61421
61565
  const STATUSES = /* @__PURE__ */ new Set(["todo", "in_progress", "blocked", "done", "cancelled"]);
@@ -67327,6 +67471,8 @@ export {
67327
67471
  AccessIdentityContinuitySurface,
67328
67472
  AccessLcmSurface,
67329
67473
  extractionForceFlush,
67474
+ forceFlushPreemptCallback,
67475
+ forceFlushPreemptCall,
67330
67476
  AccessObserveWriteSurface,
67331
67477
  assembleRecallResponse,
67332
67478
  AccessRecallSurface,
@@ -67337,4 +67483,4 @@ export {
67337
67483
  EngramAccessService,
67338
67484
  AccessAdminOpsSurface
67339
67485
  };
67340
- //# sourceMappingURL=chunk-CGEOIR4F.js.map
67486
+ //# sourceMappingURL=chunk-QZ5JZNXN.js.map