@remnic/core 9.54.7 → 9.55.0

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 (600) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +64 -62
  3. package/dist/access-authorization-probe.d.ts +11 -11
  4. package/dist/access-authorization-probe.js +65 -63
  5. package/dist/access-boundary.d.ts +11 -11
  6. package/dist/access-boundary.js +64 -62
  7. package/dist/access-cli.js +141 -138
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-coding-context-resolution.d.ts +1 -1
  10. package/dist/access-extraction-force-flush.d.ts +11 -11
  11. package/dist/access-extraction-force-flush.js +64 -62
  12. package/dist/access-health-types.d.ts +1 -1
  13. package/dist/access-http-lcm-compaction.d.ts +11 -11
  14. package/dist/access-http-lifecycle-flush.d.ts +11 -11
  15. package/dist/access-http-offline-stream.d.ts +11 -11
  16. package/dist/access-http-query.js +64 -62
  17. package/dist/access-http.d.ts +12 -12
  18. package/dist/access-http.js +80 -78
  19. package/dist/access-identity-continuity-surface.d.ts +9 -9
  20. package/dist/access-identity-continuity-surface.js +64 -62
  21. package/dist/access-lcm-surface.d.ts +11 -11
  22. package/dist/access-lcm-surface.js +64 -62
  23. package/dist/access-mcp.d.ts +11 -11
  24. package/dist/access-mcp.js +73 -71
  25. package/dist/access-memory-search-fanout.d.ts +2 -2
  26. package/dist/access-memory-search-fanout.js +3 -3
  27. package/dist/{access-namespace-preflight-CCNn_6NE.d.ts → access-namespace-preflight-Bpt-SYP0.d.ts} +1 -1
  28. package/dist/access-namespace-preflight.d.ts +3 -3
  29. package/dist/access-namespace-preflight.js +64 -62
  30. package/dist/access-observe-write-surface.d.ts +11 -11
  31. package/dist/access-observe-write-surface.js +64 -62
  32. package/dist/access-offline-manifest.d.ts +9 -9
  33. package/dist/access-offline-manifest.js +9 -9
  34. package/dist/access-operations-batch.js +68 -66
  35. package/dist/access-operations.d.ts +14 -14
  36. package/dist/access-operations.js +72 -70
  37. package/dist/access-recall-concurrency.d.ts +11 -11
  38. package/dist/access-recall-concurrency.js +64 -62
  39. package/dist/access-recall-response.d.ts +11 -11
  40. package/dist/access-recall-response.js +64 -62
  41. package/dist/access-recall-surface.d.ts +11 -11
  42. package/dist/access-recall-surface.js +64 -62
  43. package/dist/access-schema.d.ts +88 -88
  44. package/dist/access-schema.js +4 -4
  45. package/dist/{access-service-DK82xdNi.d.ts → access-service-4DO8XMq6.d.ts} +71 -71
  46. package/dist/access-service-helpers.d.ts +11 -11
  47. package/dist/access-service.d.ts +11 -11
  48. package/dist/access-service.js +64 -62
  49. package/dist/access-surface-catalog.d.ts +11 -11
  50. package/dist/access-surface-catalog.js +66 -64
  51. package/dist/access-surface-catalog.js.map +1 -1
  52. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  53. package/dist/action-confidence.d.ts +1 -1
  54. package/dist/active-memory-bridge.d.ts +1 -1
  55. package/dist/active-memory-bridge.js +3 -3
  56. package/dist/active-recall.d.ts +1 -1
  57. package/dist/active-recall.js +4 -2
  58. package/dist/active-recall.js.map +1 -1
  59. package/dist/adapters/index.js +4 -4
  60. package/dist/adapters/registry.js +2 -2
  61. package/dist/ambient-provenance.d.ts +1 -1
  62. package/dist/artifact-search.d.ts +1 -1
  63. package/dist/{auto-sync-NR3GPCOA.js → auto-sync-5HVRCMGZ.js} +3 -3
  64. package/dist/behavior-learner.d.ts +1 -1
  65. package/dist/behavior-learner.js +1 -1
  66. package/dist/behavior-signals.d.ts +1 -1
  67. package/dist/bootstrap.d.ts +9 -9
  68. package/dist/briefing-window.d.ts +36 -0
  69. package/dist/briefing-window.js +9 -0
  70. package/dist/briefing.d.ts +2 -2
  71. package/dist/briefing.js +24 -22
  72. package/dist/buffer-surprise-report.d.ts +1 -1
  73. package/dist/buffer-turn-helpers.d.ts +1 -1
  74. package/dist/buffer.d.ts +2 -2
  75. package/dist/buffer.js +8 -7
  76. package/dist/bulk-import/index.d.ts +3 -3
  77. package/dist/calibration.d.ts +1 -1
  78. package/dist/capabilities.d.ts +8 -8
  79. package/dist/capabilities.js +1 -1
  80. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
  81. package/dist/{catalog-DGFf8mD9.d.ts → catalog-BasnO3Bw.d.ts} +1 -1
  82. package/dist/causal-behavior.d.ts +1 -1
  83. package/dist/causal-behavior.js +2 -2
  84. package/dist/causal-chain.js +2 -2
  85. package/dist/causal-consolidation.d.ts +1 -1
  86. package/dist/causal-consolidation.js +26 -25
  87. package/dist/causal-consolidation.js.map +1 -1
  88. package/dist/causal-retrieval.js +2 -2
  89. package/dist/causal-trajectory-graph.d.ts +1 -1
  90. package/dist/causal-trajectory-graph.js +2 -2
  91. package/dist/causal-trajectory.js +1 -1
  92. package/dist/{chunk-LEPOP46W.js → chunk-227UFSEQ.js} +4 -4
  93. package/dist/{chunk-I6WYQSX4.js → chunk-2NKY7OC6.js} +14 -2
  94. package/dist/chunk-2NKY7OC6.js.map +1 -0
  95. package/dist/{chunk-FTPONF6B.js → chunk-2YREVL4T.js} +2 -2
  96. package/dist/{chunk-PG4QBPVG.js → chunk-3VFVQDZO.js} +8 -4
  97. package/dist/chunk-3VFVQDZO.js.map +1 -0
  98. package/dist/{chunk-KM55SMLG.js → chunk-4KM3V6VS.js} +2 -2
  99. package/dist/{chunk-HAEU3ZW7.js → chunk-4OW2T32G.js} +2 -2
  100. package/dist/{chunk-43SEBY2M.js → chunk-4QFCAKNM.js} +1 -1
  101. package/dist/{chunk-RZQ6W2W4.js → chunk-4THNU7OF.js} +427 -52
  102. package/dist/chunk-4THNU7OF.js.map +1 -0
  103. package/dist/{chunk-76JJSXK7.js → chunk-5QHDXMXP.js} +1 -1
  104. package/dist/chunk-5QHDXMXP.js.map +1 -0
  105. package/dist/{chunk-KFBOPMF6.js → chunk-5ZIWRMZM.js} +5 -5
  106. package/dist/{chunk-GWFSVJ4P.js → chunk-6KTXE6A3.js} +2 -2
  107. package/dist/{chunk-FPLM2TKD.js → chunk-6P2NUVM5.js} +26 -24
  108. package/dist/chunk-6P2NUVM5.js.map +1 -0
  109. package/dist/chunk-6Q3ZTEF6.js +54 -0
  110. package/dist/chunk-6Q3ZTEF6.js.map +1 -0
  111. package/dist/{chunk-GJ776BC2.js → chunk-7NSC4IVA.js} +4 -3
  112. package/dist/{chunk-GJ776BC2.js.map → chunk-7NSC4IVA.js.map} +1 -1
  113. package/dist/{chunk-GN3WRFJY.js → chunk-7PKNOXYB.js} +14 -14
  114. package/dist/{chunk-AHVEHR6K.js → chunk-7ZNJN5WZ.js} +13 -1
  115. package/dist/chunk-7ZNJN5WZ.js.map +1 -0
  116. package/dist/{chunk-RZRUV6N2.js → chunk-ANMIOQPU.js} +2 -2
  117. package/dist/{chunk-RPSYDM6C.js → chunk-BPWZDHFM.js} +2 -2
  118. package/dist/{chunk-CIAI24TQ.js → chunk-BVRREV3N.js} +2 -2
  119. package/dist/{chunk-M4YHAODQ.js → chunk-BWJMBJCY.js} +306 -244
  120. package/dist/chunk-BWJMBJCY.js.map +1 -0
  121. package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
  122. package/dist/{chunk-I3MSGFGD.js → chunk-CKSEJD7K.js} +2 -2
  123. package/dist/{chunk-46SZBVDS.js → chunk-CME347TM.js} +2 -2
  124. package/dist/{chunk-BGLY7EEM.js → chunk-CMRUIKVA.js} +3 -3
  125. package/dist/{chunk-HGJ6NJ4E.js → chunk-D4LVHPOA.js} +2 -2
  126. package/dist/{chunk-YK6BDDHP.js → chunk-DFEODULB.js} +2 -2
  127. package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
  128. package/dist/{chunk-W6FNX2LP.js → chunk-E57E5SCS.js} +2 -2
  129. package/dist/{chunk-M23RF3LJ.js → chunk-ER4BLWI6.js} +2 -2
  130. package/dist/{chunk-QZLDRQ4I.js → chunk-F7M36OG2.js} +5 -5
  131. package/dist/{chunk-D3LBIUWV.js → chunk-FK7T55BA.js} +80 -61
  132. package/dist/{chunk-D3LBIUWV.js.map → chunk-FK7T55BA.js.map} +1 -1
  133. package/dist/{chunk-5FD7JMTX.js → chunk-FONW766A.js} +2 -2
  134. package/dist/{chunk-3TIZPSJC.js → chunk-FR3FNPCJ.js} +3 -3
  135. package/dist/{chunk-G6DFSS6A.js → chunk-GUNIXT36.js} +2 -2
  136. package/dist/{chunk-K2UGPTYY.js → chunk-H6ZXNH5I.js} +2 -2
  137. package/dist/{chunk-BRR5EUTF.js → chunk-HC55YCNK.js} +2 -2
  138. package/dist/{chunk-PT54WISF.js → chunk-HQ2VGCGP.js} +14 -14
  139. package/dist/{chunk-AHZOMHWN.js → chunk-HXXGZ4KV.js} +1 -1
  140. package/dist/{chunk-ZRZVLB7O.js → chunk-HYVBJLEK.js} +5 -5
  141. package/dist/{chunk-W5ZKPI34.js → chunk-IFFW25NG.js} +330 -202
  142. package/dist/chunk-IFFW25NG.js.map +1 -0
  143. package/dist/{chunk-3GD2HFR6.js → chunk-IGWVMA4Y.js} +2 -2
  144. package/dist/{chunk-FONWBCVY.js → chunk-IKT6ZVO7.js} +3 -3
  145. package/dist/{chunk-TO7ZTWJW.js → chunk-ION47U3Z.js} +3 -3
  146. package/dist/{chunk-OCIP6YMD.js → chunk-IXGQP4RZ.js} +3 -3
  147. package/dist/{chunk-UPLZNJKN.js → chunk-JFPZEWY3.js} +3 -3
  148. package/dist/{chunk-SMNYAMJD.js → chunk-JKL53MOY.js} +4 -4
  149. package/dist/{chunk-2FKEIPIT.js → chunk-JOA4Q765.js} +3 -3
  150. package/dist/{chunk-2XRE6FLM.js → chunk-JUOZ62Y7.js} +3 -1
  151. package/dist/chunk-JUOZ62Y7.js.map +1 -0
  152. package/dist/{chunk-MLPTFODV.js → chunk-KHQ57QLJ.js} +4 -4
  153. package/dist/{chunk-NSVDUN76.js → chunk-LCU5R6TQ.js} +8 -3
  154. package/dist/chunk-LCU5R6TQ.js.map +1 -0
  155. package/dist/{chunk-IQ4NVWEF.js → chunk-LYPG7GOO.js} +4 -4
  156. package/dist/{chunk-IQ4NVWEF.js.map → chunk-LYPG7GOO.js.map} +1 -1
  157. package/dist/{chunk-KRTY3ENI.js → chunk-MDVBCPOS.js} +2 -2
  158. package/dist/{chunk-UCTS3DDH.js → chunk-N655QIA2.js} +4 -4
  159. package/dist/{chunk-5NB726GV.js → chunk-NFQB6RJT.js} +3 -3
  160. package/dist/{chunk-UYYW2KPU.js → chunk-NP7FLVZW.js} +2 -2
  161. package/dist/{chunk-CX5SW2EW.js → chunk-NRFU5MVH.js} +4 -4
  162. package/dist/{chunk-NISZQW72.js → chunk-O4TTIMOP.js} +2 -2
  163. package/dist/{chunk-7BD6O7ZV.js → chunk-O54B5YNM.js} +3 -3
  164. package/dist/{chunk-UKYS3NU5.js → chunk-ONCWJBWV.js} +3 -3
  165. package/dist/{chunk-OUKBMQ2O.js → chunk-PD66CVSD.js} +2 -2
  166. package/dist/{chunk-QYN5PXDZ.js → chunk-PPUTUOC3.js} +2 -2
  167. package/dist/{chunk-MIH3CJPN.js → chunk-PSH3VFZ7.js} +4 -4
  168. package/dist/{chunk-MK5VEWCR.js → chunk-QKPDN325.js} +2 -2
  169. package/dist/{chunk-EVWWT3KE.js → chunk-QP2IZTUR.js} +2 -2
  170. package/dist/{chunk-K26NWEOC.js → chunk-QSDPVZPD.js} +5 -5
  171. package/dist/{chunk-S354QO4R.js → chunk-QV7OEHFN.js} +2 -2
  172. package/dist/{chunk-HBUFQRIM.js → chunk-QZR3WT3L.js} +2 -2
  173. package/dist/{chunk-EEAMSNSG.js → chunk-R7TZ2HCS.js} +2 -2
  174. package/dist/{chunk-YXQEKCZM.js → chunk-R7UHWPYI.js} +2 -2
  175. package/dist/{chunk-2QSZNTDO.js → chunk-RKNJBZ55.js} +4 -4
  176. package/dist/{chunk-L6Z5OAS4.js → chunk-RL3EGL7A.js} +2 -2
  177. package/dist/{chunk-QCECHYZL.js → chunk-RVO6TCTU.js} +6 -6
  178. package/dist/{chunk-JYG4OLWH.js → chunk-S6AH7WSF.js} +3 -3
  179. package/dist/{chunk-6CYHUWCO.js → chunk-SFCJCMZQ.js} +5 -5
  180. package/dist/{chunk-V6ERBR7U.js → chunk-T3HC7RJ7.js} +2 -2
  181. package/dist/chunk-T3JQTCCO.js +94 -0
  182. package/dist/chunk-T3JQTCCO.js.map +1 -0
  183. package/dist/{chunk-FFRTNF3L.js → chunk-T6EQPZ6E.js} +4 -4
  184. package/dist/{chunk-FWX7W5PM.js → chunk-TAMY4NKO.js} +2 -2
  185. package/dist/{chunk-7TBXNYLO.js → chunk-TAPFJ3ET.js} +2 -2
  186. package/dist/{chunk-RUNORG2P.js → chunk-TF3LMM5E.js} +6 -11
  187. package/dist/chunk-TF3LMM5E.js.map +1 -0
  188. package/dist/{chunk-ZUKIUXHQ.js → chunk-TFXYQNBH.js} +12 -12
  189. package/dist/{chunk-26ZXBTYN.js → chunk-THACANBI.js} +4 -4
  190. package/dist/{chunk-37DZZFFM.js → chunk-TLVLJSWS.js} +2 -2
  191. package/dist/{chunk-6QPI2ITJ.js → chunk-TVKWT2CY.js} +4 -4
  192. package/dist/{chunk-H7NAZ3UB.js → chunk-U7BMN33M.js} +2 -2
  193. package/dist/chunk-UBCBDJOB.js +22 -0
  194. package/dist/chunk-UBCBDJOB.js.map +1 -0
  195. package/dist/{chunk-XZHE2DEN.js → chunk-UTDMY476.js} +50 -6
  196. package/dist/chunk-UTDMY476.js.map +1 -0
  197. package/dist/{chunk-6LKEUCEM.js → chunk-UXREWVW4.js} +2 -2
  198. package/dist/{chunk-SUPEYLH2.js → chunk-UYCIS6V5.js} +2 -2
  199. package/dist/{chunk-EKTP7MNS.js → chunk-V3IT3XNG.js} +7 -7
  200. package/dist/{chunk-IPLYGWQF.js → chunk-VDX2J7OX.js} +6 -6
  201. package/dist/{chunk-IKP5OYQQ.js → chunk-VWP5DEHU.js} +2 -2
  202. package/dist/{chunk-NQMSEB5D.js → chunk-X5OIPQME.js} +2 -2
  203. package/dist/{chunk-RBII7637.js → chunk-XRPPHIRI.js} +2 -2
  204. package/dist/{chunk-BIJAWZYW.js → chunk-YMOPYG3K.js} +6 -6
  205. package/dist/{cli-BPDUXnAl.d.ts → cli-CQdYilcx.d.ts} +61 -11
  206. package/dist/cli.d.ts +18 -18
  207. package/dist/cli.js +107 -102
  208. package/dist/coding/pre-action-gate.d.ts +1 -1
  209. package/dist/coding/pre-action-gate.js +2 -2
  210. package/dist/compounding/engine.d.ts +2 -2
  211. package/dist/compounding/engine.js +25 -24
  212. package/dist/compounding/preference-consolidator.d.ts +1 -1
  213. package/dist/compression-optimizer.d.ts +1 -1
  214. package/dist/config-security.d.ts +7 -0
  215. package/dist/config-security.js +12 -0
  216. package/dist/config.d.ts +1 -1
  217. package/dist/config.js +4 -2
  218. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  219. package/dist/connectors/codex-materialize-runner.js +23 -22
  220. package/dist/connectors/codex-materialize.d.ts +1 -1
  221. package/dist/connectors/index.d.ts +1 -1
  222. package/dist/connectors/index.js +24 -23
  223. package/dist/consolidation-provenance-check.d.ts +2 -2
  224. package/dist/consolidation-undo.d.ts +2 -2
  225. package/dist/contradiction/index.d.ts +2 -2
  226. package/dist/contradiction/index.js +4 -4
  227. package/dist/{contradiction-scan-JDTBXRGW.js → contradiction-scan-522AYLQC.js} +3 -3
  228. package/dist/converge-config.d.ts +1 -1
  229. package/dist/convergence-refresh.d.ts +2 -2
  230. package/dist/convergence-refresh.js +25 -24
  231. package/dist/conversation-index/backend.d.ts +1 -1
  232. package/dist/conversation-index/backend.js +2 -2
  233. package/dist/conversation-index/chunker.d.ts +1 -1
  234. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  235. package/dist/conversation-index/indexer.d.ts +1 -1
  236. package/dist/conversation-index/search.d.ts +1 -1
  237. package/dist/corpus-watermark.d.ts +1 -1
  238. package/dist/corpus-watermark.js +25 -24
  239. package/dist/day-summary.d.ts +1 -1
  240. package/dist/day-summary.js +2 -2
  241. package/dist/delinearize.d.ts +1 -1
  242. package/dist/dependency-propagation-config.d.ts +1 -1
  243. package/dist/{dependency-propagation-delivery-CzEfB31P.d.ts → dependency-propagation-delivery-C_K_AHcv.d.ts} +1 -1
  244. package/dist/direct-answer-wiring.d.ts +1 -1
  245. package/dist/direct-answer.d.ts +1 -1
  246. package/dist/embedding-fallback.d.ts +1 -1
  247. package/dist/embedding-fallback.js +2 -2
  248. package/dist/enrichment/index.d.ts +1 -1
  249. package/dist/entity-retrieval.d.ts +4 -2
  250. package/dist/entity-retrieval.js +24 -22
  251. package/dist/entity-schema.d.ts +1 -1
  252. package/dist/explicit-capture.d.ts +9 -9
  253. package/dist/explicit-capture.js +6 -6
  254. package/dist/external-wiki-access.d.ts +11 -11
  255. package/dist/external-wiki-access.js +65 -63
  256. package/dist/external-wiki-collection-registration.d.ts +1 -1
  257. package/dist/external-wiki-collection.d.ts +1 -1
  258. package/dist/external-wiki-mcp-tools.d.ts +11 -11
  259. package/dist/extraction-error-classification.d.ts +1 -1
  260. package/dist/extraction-faithfulness.d.ts +1 -1
  261. package/dist/extraction-judge-telemetry.d.ts +1 -1
  262. package/dist/extraction-judge-training.d.ts +1 -1
  263. package/dist/extraction-judge.d.ts +1 -1
  264. package/dist/extraction-liveness.d.ts +1 -1
  265. package/dist/extraction-normalization.d.ts +1 -1
  266. package/dist/extraction-normalization.js +3 -3
  267. package/dist/extraction-prompt.d.ts +1 -1
  268. package/dist/extraction-prompt.js +2 -2
  269. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  270. package/dist/extraction-source-grounding.d.ts +1 -1
  271. package/dist/extraction.d.ts +1 -1
  272. package/dist/extraction.js +38 -37
  273. package/dist/fallback-llm.d.ts +1 -1
  274. package/dist/{first-start-migration-CRZCZAJN.js → first-start-migration-HZ4VPRFQ.js} +2 -2
  275. package/dist/{forget-EHGGJZLX.js → forget-5TWK7CZT.js} +3 -3
  276. package/dist/graph-dashboard-diff.d.ts +1 -1
  277. package/dist/graph-dashboard-key.d.ts +1 -1
  278. package/dist/graph-dashboard-parser.d.ts +1 -1
  279. package/dist/{graph-edge-decay-65KMOJWY.js → graph-edge-decay-ZXGBXNPW.js} +4 -4
  280. package/dist/graph-edge-decay-ZXGBXNPW.js.map +1 -0
  281. package/dist/graph-edge-reinforcement.d.ts +1 -1
  282. package/dist/graph-path-reconstruction.d.ts +1 -1
  283. package/dist/graph-path-scoring.d.ts +1 -1
  284. package/dist/graph-snapshot.d.ts +1 -1
  285. package/dist/graph-snapshot.js +3 -3
  286. package/dist/graph.d.ts +1 -1
  287. package/dist/graph.js +3 -3
  288. package/dist/harmonic-retrieval.js +1 -1
  289. package/dist/importance.d.ts +1 -1
  290. package/dist/importers/index.d.ts +1 -1
  291. package/dist/in-flight-reads.d.ts +1 -1
  292. package/dist/index.d.ts +755 -706
  293. package/dist/index.js +214 -188
  294. package/dist/intent.d.ts +1 -1
  295. package/dist/lcm/engine.d.ts +1 -1
  296. package/dist/lcm/index.d.ts +1 -1
  297. package/dist/lcm/index.js +3 -3
  298. package/dist/lcm/tools.d.ts +1 -1
  299. package/dist/lifecycle.d.ts +1 -1
  300. package/dist/live-connectors-runner.d.ts +1 -1
  301. package/dist/local-llm.d.ts +1 -1
  302. package/dist/local-llm.js +3 -3
  303. package/dist/local-model-endpoint.d.ts +1 -1
  304. package/dist/maintenance/memory-governance.d.ts +1 -1
  305. package/dist/maintenance/memory-governance.js +23 -22
  306. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  307. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +23 -22
  308. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  309. package/dist/maintenance/rebuild-memory-projection.js +24 -23
  310. package/dist/{maintenance-C8aRWfhq.d.ts → maintenance-DdP931i9.d.ts} +3 -3
  311. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  312. package/dist/memory-action-policy.d.ts +1 -1
  313. package/dist/memory-cache.d.ts +1 -1
  314. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  315. package/dist/memory-projection-store.d.ts +1 -1
  316. package/dist/memory-provenance.d.ts +1 -1
  317. package/dist/memory-snapshot.d.ts +1 -1
  318. package/dist/memory-worth-outcomes.d.ts +2 -2
  319. package/dist/models-json.d.ts +1 -1
  320. package/dist/namespaces/migrate.d.ts +3 -3
  321. package/dist/namespaces/migrate.js +24 -23
  322. package/dist/namespaces/principal.d.ts +1 -1
  323. package/dist/namespaces/principal.js +2 -2
  324. package/dist/namespaces/search.d.ts +1 -1
  325. package/dist/namespaces/search.js +8 -8
  326. package/dist/namespaces/storage.d.ts +3 -3
  327. package/dist/namespaces/storage.js +23 -22
  328. package/dist/native-knowledge.d.ts +1 -1
  329. package/dist/offline-sync-impression-drain.d.ts +1 -1
  330. package/dist/offline-sync-impression-drain.js +5 -5
  331. package/dist/operator-doctor-corpus.d.ts +1 -1
  332. package/dist/operator-doctor-corpus.js +26 -25
  333. package/dist/operator-doctor-replica.d.ts +1 -1
  334. package/dist/operator-toolkit.d.ts +3 -3
  335. package/dist/operator-toolkit.js +38 -36
  336. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  337. package/dist/orchestration/compression-guideline-coordinator.js +2 -2
  338. package/dist/orchestration/maintenance.d.ts +4 -4
  339. package/dist/orchestration/maintenance.js +31 -30
  340. package/dist/{orchestrator-D85CzDDY.d.ts → orchestrator-DxUWX7gs.d.ts} +26 -20
  341. package/dist/orchestrator.d.ts +9 -9
  342. package/dist/orchestrator.js +171 -168
  343. package/dist/patterns-cli.d.ts +1 -1
  344. package/dist/{pipeline-DPcUifCO.d.ts → pipeline-BKUMU1vU.d.ts} +1 -1
  345. package/dist/policy-runtime.d.ts +1 -1
  346. package/dist/policy-runtime.js +1 -1
  347. package/dist/proactive-contention.d.ts +1 -1
  348. package/dist/provenance.d.ts +1 -1
  349. package/dist/{public-http-D3GBeII4.d.ts → public-http-Dw0bJhcC.d.ts} +1 -1
  350. package/dist/{qmd-dFCHp1r0.d.ts → qmd-DJP-GLFe.d.ts} +1 -1
  351. package/dist/qmd-preflight.d.ts +2 -2
  352. package/dist/qmd-recall-cache.d.ts +1 -1
  353. package/dist/qmd.d.ts +2 -2
  354. package/dist/qmd.js +4 -4
  355. package/dist/recall-concurrency-config.d.ts +1 -1
  356. package/dist/recall-context-composition.d.ts +11 -1
  357. package/dist/recall-context-composition.js +4 -1
  358. package/dist/recall-disclosure-escalation.d.ts +1 -1
  359. package/dist/recall-explain-renderer.d.ts +1 -1
  360. package/dist/recall-explain-renderer.js +3 -3
  361. package/dist/recall-memory-map.d.ts +1 -1
  362. package/dist/recall-planner-llm.d.ts +1 -1
  363. package/dist/recall-planner-llm.js +3 -3
  364. package/dist/recall-state.d.ts +1 -1
  365. package/dist/recall-tag-filter.d.ts +1 -1
  366. package/dist/recall-timings.d.ts +1 -1
  367. package/dist/recall-xray-cli.d.ts +1 -1
  368. package/dist/recall-xray-cli.js +4 -4
  369. package/dist/recall-xray-renderer.d.ts +1 -1
  370. package/dist/recall-xray-renderer.js +3 -3
  371. package/dist/recall-xray.d.ts +1 -1
  372. package/dist/recall-xray.js +2 -2
  373. package/dist/reconcile/cursor.d.ts +1 -1
  374. package/dist/reconcile/manifest.d.ts +1 -1
  375. package/dist/reconcile/manifest.js +3 -3
  376. package/dist/reconcile/plan.d.ts +1 -1
  377. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  378. package/dist/replay/normalizers/claude.d.ts +1 -1
  379. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  380. package/dist/replay/normalizers/shared.d.ts +1 -1
  381. package/dist/replay/runner.d.ts +1 -1
  382. package/dist/replay/types.d.ts +1 -1
  383. package/dist/replica-divergence.d.ts +1 -1
  384. package/dist/replica-peers-config.d.ts +1 -1
  385. package/dist/{resolution-MMOD5WC4.js → resolution-DKMBPXHI.js} +3 -3
  386. package/dist/resolution-DKMBPXHI.js.map +1 -0
  387. package/dist/resolve-auth-token.d.ts +1 -1
  388. package/dist/resume-bundles.js +5 -3
  389. package/dist/retrieval-agents.d.ts +2 -2
  390. package/dist/retrieval-tiers.d.ts +1 -1
  391. package/dist/routing/engine.d.ts +1 -1
  392. package/dist/routing/store.d.ts +1 -1
  393. package/dist/salvage-envelope.d.ts +1 -1
  394. package/dist/salvage-envelope.js +2 -2
  395. package/dist/schemas.d.ts +138 -138
  396. package/dist/{scope-profiles-DICK7GtN.d.ts → scope-profiles-CaKcnB-6.d.ts} +1 -1
  397. package/dist/search/embed-helper.d.ts +1 -1
  398. package/dist/search/embed-helper.js +2 -2
  399. package/dist/search/factory.d.ts +1 -1
  400. package/dist/search/factory.js +7 -7
  401. package/dist/search/index.d.ts +1 -1
  402. package/dist/search/index.js +7 -7
  403. package/dist/search/lancedb-backend.d.ts +1 -1
  404. package/dist/search/meilisearch-backend.d.ts +1 -1
  405. package/dist/search/noop-backend.d.ts +1 -1
  406. package/dist/search/orama-backend.d.ts +1 -1
  407. package/dist/search/port.d.ts +1 -1
  408. package/dist/search/remote-backend.d.ts +1 -1
  409. package/dist/{semantic-consolidation-BP7NAX0N.d.ts → semantic-consolidation-P0eMWqh-.d.ts} +1 -1
  410. package/dist/semantic-consolidation.d.ts +2 -2
  411. package/dist/semantic-consolidation.js +24 -23
  412. package/dist/semantic-rule-promotion.js +23 -22
  413. package/dist/semantic-rule-verifier.d.ts +1 -1
  414. package/dist/semantic-rule-verifier.js +23 -22
  415. package/dist/{service-DT-pJyda.d.ts → service-D5GQLxq_.d.ts} +2 -2
  416. package/dist/session-observer-bands.d.ts +1 -1
  417. package/dist/session-observer-state.d.ts +1 -1
  418. package/dist/shared-context/manager.d.ts +9 -9
  419. package/dist/shared-context/manager.js +2 -2
  420. package/dist/signal.d.ts +1 -1
  421. package/dist/source-agent-qualifier.d.ts +1 -1
  422. package/dist/source-agent-qualifier.js +31 -30
  423. package/dist/{storage-qOnaJ1Lw.d.ts → storage-DIyil2ll.d.ts} +18 -10
  424. package/dist/storage.d.ts +2 -2
  425. package/dist/storage.js +22 -21
  426. package/dist/summarizer.d.ts +1 -1
  427. package/dist/summarizer.js +4 -4
  428. package/dist/summary-snapshot.d.ts +1 -1
  429. package/dist/support-passport/index.d.ts +14 -14
  430. package/dist/support-passport/index.js +67 -65
  431. package/dist/temporal-supersession.d.ts +2 -2
  432. package/dist/temporal-timeline-recall.d.ts +3 -1
  433. package/dist/temporal-timeline-recall.js +3 -1
  434. package/dist/temporal-validity.d.ts +1 -1
  435. package/dist/threading.d.ts +1 -1
  436. package/dist/tier-migration.d.ts +2 -2
  437. package/dist/tier-routing.d.ts +1 -1
  438. package/dist/{tier-stats-EXYSKSVN.js → tier-stats-7E6OBUSD.js} +2 -2
  439. package/dist/topics.d.ts +1 -1
  440. package/dist/transcript.d.ts +1 -1
  441. package/dist/transfer/autodetect.js +1 -1
  442. package/dist/transfer/backup.js +2 -2
  443. package/dist/transfer/capsule-export.js +3 -3
  444. package/dist/transfer/capsule-import.js +2 -2
  445. package/dist/transfer/types.d.ts +66 -66
  446. package/dist/trust-score-stage.d.ts +1 -1
  447. package/dist/trust-score.d.ts +1 -1
  448. package/dist/{types-ed-SvS2t.d.ts → types-CbXieHKr.d.ts} +15 -3
  449. package/dist/types.d.ts +1 -1
  450. package/dist/types.js +1 -1
  451. package/dist/utility-runtime.d.ts +1 -1
  452. package/dist/verified-recall.js +23 -22
  453. package/dist/write-envelope.d.ts +5 -2
  454. package/dist/write-envelope.js +1 -1
  455. package/package.json +2 -2
  456. package/src/bitemporal-frontmatter.test.ts +20 -1
  457. package/src/briefing-window.ts +27 -0
  458. package/src/briefing.test.ts +29 -0
  459. package/src/briefing.ts +2 -9
  460. package/src/capabilities.test.ts +2 -0
  461. package/src/capabilities.ts +17 -17
  462. package/src/cli.ts +14 -0
  463. package/src/config-security.ts +131 -0
  464. package/src/config.test.ts +61 -0
  465. package/src/config.ts +2 -1
  466. package/src/entity-retrieval.ts +31 -24
  467. package/src/index.ts +4 -6
  468. package/src/maintenance/memory-governance.ts +1 -0
  469. package/src/orchestration/conversation-index-coordinator.ts +13 -2
  470. package/src/orchestration/extraction-injection-gate.ts +154 -0
  471. package/src/orchestration/extraction-origin-context.ts +90 -0
  472. package/src/orchestration/extraction-persist.ts +66 -64
  473. package/src/orchestration/extraction-run.ts +4 -2
  474. package/src/orchestration/extraction-security.test.ts +271 -0
  475. package/src/orchestration/graph-recall-coordinator.ts +2 -0
  476. package/src/orchestration/namespace-read-fanout.ts +1 -0
  477. package/src/orchestration/qmd-result-resolver.ts +1 -0
  478. package/src/orchestration/recall-internal.ts +17 -11
  479. package/src/orchestration/recall-result-formatter.ts +35 -6
  480. package/src/orchestration/recall-search-pipeline.ts +3 -5
  481. package/src/orchestration/recall-search-prefilter.ts +1 -0
  482. package/src/orchestrator.ts +2 -1
  483. package/src/procedural/procedure-recall.ts +11 -1
  484. package/src/recall-authority-fence.test.ts +180 -0
  485. package/src/recall-context-composition.ts +28 -0
  486. package/src/security/audit-memory-cli.ts +42 -0
  487. package/src/security/audit-memory.test.ts +252 -0
  488. package/src/security/audit-memory.ts +318 -0
  489. package/src/security/injection-screen.test.ts +77 -0
  490. package/src/security/injection-screen.ts +158 -0
  491. package/src/security/origin-authority.test.ts +61 -0
  492. package/src/security/origin-authority.ts +88 -0
  493. package/src/security/types.ts +14 -0
  494. package/src/semantic-rule-promotion.ts +1 -1
  495. package/src/storage/memory-read-store.ts +1 -0
  496. package/src/storage/windowed-memory-read.ts +109 -0
  497. package/src/storage.ts +17 -15
  498. package/src/temporal-timeline-recall.test.ts +18 -0
  499. package/src/temporal-timeline-recall.ts +12 -1
  500. package/src/testing/subjects/windowed-memory-read.test.ts +146 -0
  501. package/src/types.ts +4 -4
  502. package/src/write-envelope.test.ts +1 -0
  503. package/src/write-envelope.ts +9 -0
  504. package/dist/chunk-2XRE6FLM.js.map +0 -1
  505. package/dist/chunk-76JJSXK7.js.map +0 -1
  506. package/dist/chunk-AHVEHR6K.js.map +0 -1
  507. package/dist/chunk-FPLM2TKD.js.map +0 -1
  508. package/dist/chunk-I6WYQSX4.js.map +0 -1
  509. package/dist/chunk-M4YHAODQ.js.map +0 -1
  510. package/dist/chunk-NSVDUN76.js.map +0 -1
  511. package/dist/chunk-PG4QBPVG.js.map +0 -1
  512. package/dist/chunk-RUNORG2P.js.map +0 -1
  513. package/dist/chunk-RZQ6W2W4.js.map +0 -1
  514. package/dist/chunk-W5ZKPI34.js.map +0 -1
  515. package/dist/chunk-XZHE2DEN.js.map +0 -1
  516. /package/dist/{auto-sync-NR3GPCOA.js.map → auto-sync-5HVRCMGZ.js.map} +0 -0
  517. /package/dist/{capsule-crypto-7FJQINUR.js.map → briefing-window.js.map} +0 -0
  518. /package/dist/{contradiction-scan-JDTBXRGW.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
  519. /package/dist/{chunk-LEPOP46W.js.map → chunk-227UFSEQ.js.map} +0 -0
  520. /package/dist/{chunk-FTPONF6B.js.map → chunk-2YREVL4T.js.map} +0 -0
  521. /package/dist/{chunk-KM55SMLG.js.map → chunk-4KM3V6VS.js.map} +0 -0
  522. /package/dist/{chunk-HAEU3ZW7.js.map → chunk-4OW2T32G.js.map} +0 -0
  523. /package/dist/{chunk-43SEBY2M.js.map → chunk-4QFCAKNM.js.map} +0 -0
  524. /package/dist/{chunk-KFBOPMF6.js.map → chunk-5ZIWRMZM.js.map} +0 -0
  525. /package/dist/{chunk-GWFSVJ4P.js.map → chunk-6KTXE6A3.js.map} +0 -0
  526. /package/dist/{chunk-GN3WRFJY.js.map → chunk-7PKNOXYB.js.map} +0 -0
  527. /package/dist/{chunk-RZRUV6N2.js.map → chunk-ANMIOQPU.js.map} +0 -0
  528. /package/dist/{chunk-RPSYDM6C.js.map → chunk-BPWZDHFM.js.map} +0 -0
  529. /package/dist/{chunk-CIAI24TQ.js.map → chunk-BVRREV3N.js.map} +0 -0
  530. /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
  531. /package/dist/{chunk-I3MSGFGD.js.map → chunk-CKSEJD7K.js.map} +0 -0
  532. /package/dist/{chunk-46SZBVDS.js.map → chunk-CME347TM.js.map} +0 -0
  533. /package/dist/{chunk-BGLY7EEM.js.map → chunk-CMRUIKVA.js.map} +0 -0
  534. /package/dist/{chunk-HGJ6NJ4E.js.map → chunk-D4LVHPOA.js.map} +0 -0
  535. /package/dist/{chunk-YK6BDDHP.js.map → chunk-DFEODULB.js.map} +0 -0
  536. /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
  537. /package/dist/{chunk-W6FNX2LP.js.map → chunk-E57E5SCS.js.map} +0 -0
  538. /package/dist/{chunk-M23RF3LJ.js.map → chunk-ER4BLWI6.js.map} +0 -0
  539. /package/dist/{chunk-QZLDRQ4I.js.map → chunk-F7M36OG2.js.map} +0 -0
  540. /package/dist/{chunk-5FD7JMTX.js.map → chunk-FONW766A.js.map} +0 -0
  541. /package/dist/{chunk-3TIZPSJC.js.map → chunk-FR3FNPCJ.js.map} +0 -0
  542. /package/dist/{chunk-G6DFSS6A.js.map → chunk-GUNIXT36.js.map} +0 -0
  543. /package/dist/{chunk-K2UGPTYY.js.map → chunk-H6ZXNH5I.js.map} +0 -0
  544. /package/dist/{chunk-BRR5EUTF.js.map → chunk-HC55YCNK.js.map} +0 -0
  545. /package/dist/{chunk-PT54WISF.js.map → chunk-HQ2VGCGP.js.map} +0 -0
  546. /package/dist/{chunk-AHZOMHWN.js.map → chunk-HXXGZ4KV.js.map} +0 -0
  547. /package/dist/{chunk-ZRZVLB7O.js.map → chunk-HYVBJLEK.js.map} +0 -0
  548. /package/dist/{chunk-3GD2HFR6.js.map → chunk-IGWVMA4Y.js.map} +0 -0
  549. /package/dist/{chunk-FONWBCVY.js.map → chunk-IKT6ZVO7.js.map} +0 -0
  550. /package/dist/{chunk-TO7ZTWJW.js.map → chunk-ION47U3Z.js.map} +0 -0
  551. /package/dist/{chunk-OCIP6YMD.js.map → chunk-IXGQP4RZ.js.map} +0 -0
  552. /package/dist/{chunk-UPLZNJKN.js.map → chunk-JFPZEWY3.js.map} +0 -0
  553. /package/dist/{chunk-SMNYAMJD.js.map → chunk-JKL53MOY.js.map} +0 -0
  554. /package/dist/{chunk-2FKEIPIT.js.map → chunk-JOA4Q765.js.map} +0 -0
  555. /package/dist/{chunk-MLPTFODV.js.map → chunk-KHQ57QLJ.js.map} +0 -0
  556. /package/dist/{chunk-KRTY3ENI.js.map → chunk-MDVBCPOS.js.map} +0 -0
  557. /package/dist/{chunk-UCTS3DDH.js.map → chunk-N655QIA2.js.map} +0 -0
  558. /package/dist/{chunk-5NB726GV.js.map → chunk-NFQB6RJT.js.map} +0 -0
  559. /package/dist/{chunk-UYYW2KPU.js.map → chunk-NP7FLVZW.js.map} +0 -0
  560. /package/dist/{chunk-CX5SW2EW.js.map → chunk-NRFU5MVH.js.map} +0 -0
  561. /package/dist/{chunk-NISZQW72.js.map → chunk-O4TTIMOP.js.map} +0 -0
  562. /package/dist/{chunk-7BD6O7ZV.js.map → chunk-O54B5YNM.js.map} +0 -0
  563. /package/dist/{chunk-UKYS3NU5.js.map → chunk-ONCWJBWV.js.map} +0 -0
  564. /package/dist/{chunk-OUKBMQ2O.js.map → chunk-PD66CVSD.js.map} +0 -0
  565. /package/dist/{chunk-QYN5PXDZ.js.map → chunk-PPUTUOC3.js.map} +0 -0
  566. /package/dist/{chunk-MIH3CJPN.js.map → chunk-PSH3VFZ7.js.map} +0 -0
  567. /package/dist/{chunk-MK5VEWCR.js.map → chunk-QKPDN325.js.map} +0 -0
  568. /package/dist/{chunk-EVWWT3KE.js.map → chunk-QP2IZTUR.js.map} +0 -0
  569. /package/dist/{chunk-K26NWEOC.js.map → chunk-QSDPVZPD.js.map} +0 -0
  570. /package/dist/{chunk-S354QO4R.js.map → chunk-QV7OEHFN.js.map} +0 -0
  571. /package/dist/{chunk-HBUFQRIM.js.map → chunk-QZR3WT3L.js.map} +0 -0
  572. /package/dist/{chunk-EEAMSNSG.js.map → chunk-R7TZ2HCS.js.map} +0 -0
  573. /package/dist/{chunk-YXQEKCZM.js.map → chunk-R7UHWPYI.js.map} +0 -0
  574. /package/dist/{chunk-2QSZNTDO.js.map → chunk-RKNJBZ55.js.map} +0 -0
  575. /package/dist/{chunk-L6Z5OAS4.js.map → chunk-RL3EGL7A.js.map} +0 -0
  576. /package/dist/{chunk-QCECHYZL.js.map → chunk-RVO6TCTU.js.map} +0 -0
  577. /package/dist/{chunk-JYG4OLWH.js.map → chunk-S6AH7WSF.js.map} +0 -0
  578. /package/dist/{chunk-6CYHUWCO.js.map → chunk-SFCJCMZQ.js.map} +0 -0
  579. /package/dist/{chunk-V6ERBR7U.js.map → chunk-T3HC7RJ7.js.map} +0 -0
  580. /package/dist/{chunk-FFRTNF3L.js.map → chunk-T6EQPZ6E.js.map} +0 -0
  581. /package/dist/{chunk-FWX7W5PM.js.map → chunk-TAMY4NKO.js.map} +0 -0
  582. /package/dist/{chunk-7TBXNYLO.js.map → chunk-TAPFJ3ET.js.map} +0 -0
  583. /package/dist/{chunk-ZUKIUXHQ.js.map → chunk-TFXYQNBH.js.map} +0 -0
  584. /package/dist/{chunk-26ZXBTYN.js.map → chunk-THACANBI.js.map} +0 -0
  585. /package/dist/{chunk-37DZZFFM.js.map → chunk-TLVLJSWS.js.map} +0 -0
  586. /package/dist/{chunk-6QPI2ITJ.js.map → chunk-TVKWT2CY.js.map} +0 -0
  587. /package/dist/{chunk-H7NAZ3UB.js.map → chunk-U7BMN33M.js.map} +0 -0
  588. /package/dist/{chunk-6LKEUCEM.js.map → chunk-UXREWVW4.js.map} +0 -0
  589. /package/dist/{chunk-SUPEYLH2.js.map → chunk-UYCIS6V5.js.map} +0 -0
  590. /package/dist/{chunk-EKTP7MNS.js.map → chunk-V3IT3XNG.js.map} +0 -0
  591. /package/dist/{chunk-IPLYGWQF.js.map → chunk-VDX2J7OX.js.map} +0 -0
  592. /package/dist/{chunk-IKP5OYQQ.js.map → chunk-VWP5DEHU.js.map} +0 -0
  593. /package/dist/{chunk-NQMSEB5D.js.map → chunk-X5OIPQME.js.map} +0 -0
  594. /package/dist/{chunk-RBII7637.js.map → chunk-XRPPHIRI.js.map} +0 -0
  595. /package/dist/{chunk-BIJAWZYW.js.map → chunk-YMOPYG3K.js.map} +0 -0
  596. /package/dist/{graph-edge-decay-65KMOJWY.js.map → config-security.js.map} +0 -0
  597. /package/dist/{resolution-MMOD5WC4.js.map → contradiction-scan-522AYLQC.js.map} +0 -0
  598. /package/dist/{first-start-migration-CRZCZAJN.js.map → first-start-migration-HZ4VPRFQ.js.map} +0 -0
  599. /package/dist/{forget-EHGGJZLX.js.map → forget-5TWK7CZT.js.map} +0 -0
  600. /package/dist/{tier-stats-EXYSKSVN.js.map → tier-stats-7E6OBUSD.js.map} +0 -0
@@ -6,41 +6,44 @@ import {
6
6
  loadSyncState,
7
7
  syncWearableSource,
8
8
  wearableSourceLabel
9
- } from "./chunk-L6Z5OAS4.js";
9
+ } from "./chunk-RL3EGL7A.js";
10
+ import {
11
+ CompressionGuidelineCoordinator
12
+ } from "./chunk-UXREWVW4.js";
10
13
  import {
11
14
  ActivityStore,
12
15
  MaintenanceScheduler
13
- } from "./chunk-K26NWEOC.js";
16
+ } from "./chunk-QSDPVZPD.js";
14
17
  import {
15
18
  runPeerProfileReasoner
16
19
  } from "./chunk-I74SUMNI.js";
17
20
  import {
18
21
  migrateFromEngram
19
22
  } from "./chunk-7HYPN2GC.js";
20
- import {
21
- CompressionGuidelineCoordinator
22
- } from "./chunk-6LKEUCEM.js";
23
23
  import {
24
24
  LcmEngine
25
25
  } from "./chunk-Z54EM5YZ.js";
26
- import {
27
- chunkTranscriptEntries
28
- } from "./chunk-TECVW3JP.js";
29
26
  import {
30
27
  cleanupConversationChunks
31
28
  } from "./chunk-C5JF6EZ7.js";
32
29
  import {
33
30
  CompoundingEngine,
34
31
  defaultTierMigrationCycleBudget
35
- } from "./chunk-ZRZVLB7O.js";
32
+ } from "./chunk-HYVBJLEK.js";
36
33
  import {
37
34
  SharedContextManager
38
- } from "./chunk-M23RF3LJ.js";
35
+ } from "./chunk-ER4BLWI6.js";
36
+ import {
37
+ chunkTranscriptEntries
38
+ } from "./chunk-TECVW3JP.js";
39
39
  import {
40
40
  applyUtilityPromotionRuntimePolicy,
41
41
  applyUtilityRankingRuntimeDelta,
42
42
  loadUtilityRuntimeValues
43
43
  } from "./chunk-SEF4IOFE.js";
44
+ import {
45
+ CODEX_THREAD_KEY_PREFIX
46
+ } from "./chunk-4EX5WZ4M.js";
44
47
  import {
45
48
  TierMigrationExecutor
46
49
  } from "./chunk-YRFAYOFQ.js";
@@ -53,22 +56,23 @@ import {
53
56
  import {
54
57
  extractTopics
55
58
  } from "./chunk-UHGBNIOS.js";
56
- import {
57
- buildTemporalTimelineRecallSection
58
- } from "./chunk-I6WYQSX4.js";
59
- import {
60
- CODEX_THREAD_KEY_PREFIX
61
- } from "./chunk-4EX5WZ4M.js";
62
- import {
63
- HourlySummarizer
64
- } from "./chunk-2FKEIPIT.js";
65
59
  import {
66
60
  buildTargetedFactRecallSection,
67
61
  shouldRecallTargetedFactEvidence
68
62
  } from "./chunk-T67LUYCR.js";
63
+ import {
64
+ buildTemporalTimelineRecallSection
65
+ } from "./chunk-2NKY7OC6.js";
66
+ import {
67
+ HourlySummarizer
68
+ } from "./chunk-JOA4Q765.js";
69
69
  import {
70
70
  SessionObserverState
71
71
  } from "./chunk-QFN4U7AG.js";
72
+ import {
73
+ buildResponseGuidanceRecallSection,
74
+ shouldRecallResponseGuidance
75
+ } from "./chunk-6TCXIRP5.js";
72
76
  import {
73
77
  mergeWithAgentResults,
74
78
  runDirectAgent,
@@ -93,6 +97,9 @@ import {
93
97
  import {
94
98
  applyRuntimeRetrievalPolicy
95
99
  } from "./chunk-5IZL4DCV.js";
100
+ import {
101
+ findUnresolvedEntityRefs
102
+ } from "./chunk-X7XN6YU4.js";
96
103
  import {
97
104
  RelevanceStore
98
105
  } from "./chunk-KATEWTQJ.js";
@@ -101,19 +108,12 @@ import {
101
108
  reorderByRankedKeys,
102
109
  rerankLocalOrNoop
103
110
  } from "./chunk-LUDXM7MD.js";
104
- import {
105
- buildResponseGuidanceRecallSection,
106
- shouldRecallResponseGuidance
107
- } from "./chunk-6TCXIRP5.js";
108
111
  import {
109
112
  LastRecallStore,
110
113
  RecallHandleHistoryStore,
111
114
  TierMigrationStatusStore,
112
115
  clampGraphRecallExpandedEntries
113
116
  } from "./chunk-PRDJMOST.js";
114
- import {
115
- findUnresolvedEntityRefs
116
- } from "./chunk-X7XN6YU4.js";
117
117
  import {
118
118
  dedupeResultsByNamespace,
119
119
  hasMemoryForResult,
@@ -144,12 +144,6 @@ import {
144
144
  import {
145
145
  runLiveConnectorsOnce
146
146
  } from "./chunk-HTIIXNJQ.js";
147
- import {
148
- classifyMemoryKind
149
- } from "./chunk-YAZNBMNF.js";
150
- import {
151
- scoreEvidencePathDetail
152
- } from "./chunk-XXSOVESA.js";
153
147
  import {
154
148
  deriveHarmonicRecords,
155
149
  harmonicEntityReferenceMatches,
@@ -158,18 +152,24 @@ import {
158
152
  persistHarmonicRecords
159
153
  } from "./chunk-5WQMORU5.js";
160
154
  import {
161
- buildFocusedListRecallSection,
162
- shouldRecallFocusedListEvidence
163
- } from "./chunk-OH7QLI6W.js";
155
+ classifyMemoryKind
156
+ } from "./chunk-YAZNBMNF.js";
157
+ import {
158
+ scoreEvidencePathDetail
159
+ } from "./chunk-XXSOVESA.js";
164
160
  import {
165
161
  ExtractionEngine
166
- } from "./chunk-GN3WRFJY.js";
162
+ } from "./chunk-7PKNOXYB.js";
167
163
  import {
168
164
  parseMemoryActionEligibilityContext
169
165
  } from "./chunk-WFLBP5GC.js";
170
166
  import {
171
167
  ModelRegistry
172
168
  } from "./chunk-WLZYGLJ4.js";
169
+ import {
170
+ buildFocusedListRecallSection,
171
+ shouldRecallFocusedListEvidence
172
+ } from "./chunk-OH7QLI6W.js";
173
173
  import {
174
174
  recordJudgeTrainingPair
175
175
  } from "./chunk-PWFCHOB3.js";
@@ -180,6 +180,10 @@ import {
180
180
  judgeFactDurability,
181
181
  validateProcedureExtraction
182
182
  } from "./chunk-TWTUGCTY.js";
183
+ import {
184
+ pickFactEventTimeAnchor,
185
+ resolveFactEventTime
186
+ } from "./chunk-IAIPNEHD.js";
183
187
  import {
184
188
  buildExplicitCueRecallSection
185
189
  } from "./chunk-TVIVY7KU.js";
@@ -187,33 +191,30 @@ import {
187
191
  buildEntityRecallSection,
188
192
  entityRecentTranscriptLookbackHours,
189
193
  readRecentEntityTranscriptEntries
190
- } from "./chunk-FPLM2TKD.js";
194
+ } from "./chunk-6P2NUVM5.js";
191
195
  import {
192
196
  buildEventOrderRecallSection,
193
197
  shouldRecallEventOrderEvidence
194
198
  } from "./chunk-DEOYTFA6.js";
195
199
  import {
196
- pickFactEventTimeAnchor,
197
- resolveFactEventTime
198
- } from "./chunk-IAIPNEHD.js";
200
+ formatDaySummaryMemories
201
+ } from "./chunk-BPWZDHFM.js";
199
202
  import {
200
203
  tryDirectAnswer
201
204
  } from "./chunk-CSOYVTRX.js";
202
205
  import {
203
206
  EmbeddingFallback
204
- } from "./chunk-YK6BDDHP.js";
207
+ } from "./chunk-DFEODULB.js";
205
208
  import {
206
209
  refreshConvergedNamespaces
207
- } from "./chunk-IKP5OYQQ.js";
208
- import {
209
- formatDaySummaryMemories
210
- } from "./chunk-RPSYDM6C.js";
210
+ } from "./chunk-VWP5DEHU.js";
211
211
  import {
212
212
  builtInConnectorPackageSpecifier,
213
213
  ensureBuiltInWearableConnectors,
214
214
  getWearableConnector,
215
- listWearableConnectors
216
- } from "./chunk-RZQ6W2W4.js";
215
+ listWearableConnectors,
216
+ screenCandidateFact
217
+ } from "./chunk-4THNU7OF.js";
217
218
  import {
218
219
  RoutingRulesStore
219
220
  } from "./chunk-XL24QQ63.js";
@@ -223,14 +224,14 @@ import {
223
224
  import {
224
225
  compareVerifiedEpisodeResults,
225
226
  searchVerifiedEpisodes
226
- } from "./chunk-5FD7JMTX.js";
227
+ } from "./chunk-FONW766A.js";
227
228
  import {
228
229
  ThreadingManager
229
230
  } from "./chunk-OJP3N7UK.js";
230
231
  import {
231
232
  compareVerifiedSemanticRuleResults,
232
233
  searchVerifiedSemanticRules
233
- } from "./chunk-FWX7W5PM.js";
234
+ } from "./chunk-TAMY4NKO.js";
234
235
  import {
235
236
  searchWorkProductLedgerEntries
236
237
  } from "./chunk-WT6UL3UA.js";
@@ -243,14 +244,14 @@ import {
243
244
  import {
244
245
  runNamespaceMaintenanceFanout,
245
246
  summarizeNamespaceMaintenanceHealth
246
- } from "./chunk-ZUKIUXHQ.js";
247
+ } from "./chunk-TFXYQNBH.js";
247
248
  import {
248
249
  NamespaceCatalog,
249
250
  planNamespaceMaintenance
250
- } from "./chunk-FFRTNF3L.js";
251
+ } from "./chunk-T6EQPZ6E.js";
251
252
  import {
252
253
  searchHarmonicRetrieval
253
- } from "./chunk-43SEBY2M.js";
254
+ } from "./chunk-4QFCAKNM.js";
254
255
  import {
255
256
  isAboveImportanceThreshold,
256
257
  scoreImportance
@@ -273,6 +274,9 @@ import {
273
274
  import {
274
275
  applyCommitmentLedgerLifecycle
275
276
  } from "./chunk-NOB2T2FC.js";
277
+ import {
278
+ SmartBuffer
279
+ } from "./chunk-N655QIA2.js";
276
280
  import {
277
281
  buildConsolidationPrompt,
278
282
  buildExtensionsBlockForConsolidation,
@@ -282,10 +286,13 @@ import {
282
286
  materializeAfterSemanticConsolidation,
283
287
  parseConsolidationResponse,
284
288
  parseOperatorAwareConsolidationResponse
285
- } from "./chunk-UKYS3NU5.js";
289
+ } from "./chunk-ONCWJBWV.js";
286
290
  import {
287
291
  BootstrapEngine
288
292
  } from "./chunk-MYVPLJOO.js";
293
+ import {
294
+ isDisagreementPrompt
295
+ } from "./chunk-H3FZVNRN.js";
289
296
  import {
290
297
  BoxBuilder
291
298
  } from "./chunk-B7RWBZXW.js";
@@ -295,15 +302,9 @@ import {
295
302
  import {
296
303
  chunkContent
297
304
  } from "./chunk-UQ7RN5HK.js";
298
- import {
299
- SmartBuffer
300
- } from "./chunk-UCTS3DDH.js";
301
- import {
302
- isDisagreementPrompt
303
- } from "./chunk-H3FZVNRN.js";
304
305
  import {
305
306
  detectMeetings
306
- } from "./chunk-PG4QBPVG.js";
307
+ } from "./chunk-3VFVQDZO.js";
307
308
  import {
308
309
  compileCorrectionRule,
309
310
  correctionsFilePath,
@@ -328,7 +329,7 @@ import {
328
329
  } from "./chunk-KD3QD3A5.js";
329
330
  import {
330
331
  MeetingsInputError
331
- } from "./chunk-PT54WISF.js";
332
+ } from "./chunk-HQ2VGCGP.js";
332
333
  import {
333
334
  WearablesInputError,
334
335
  describeErrorForOperator
@@ -349,17 +350,13 @@ import {
349
350
  filterRecallCandidates,
350
351
  isGenericRecallExcludedPath,
351
352
  isTopLevelArchivePath
352
- } from "./chunk-D3LBIUWV.js";
353
+ } from "./chunk-FK7T55BA.js";
353
354
  import {
354
355
  importCapsule
355
- } from "./chunk-QYN5PXDZ.js";
356
+ } from "./chunk-PPUTUOC3.js";
356
357
  import {
357
358
  isCodingGraphInstalled
358
359
  } from "./chunk-VQ7B2Q6M.js";
359
- import {
360
- listTrustZoneRecords,
361
- searchTrustZoneRecords
362
- } from "./chunk-KQS72GCR.js";
363
360
  import {
364
361
  applyTrustScoreStage,
365
362
  buildTrustSignalsForRerank,
@@ -368,47 +365,99 @@ import {
368
365
  trustResultKey
369
366
  } from "./chunk-GNVZQ5JN.js";
370
367
  import {
371
- buildXraySnapshot
372
- } from "./chunk-MK5VEWCR.js";
368
+ listTrustZoneRecords,
369
+ searchTrustZoneRecords
370
+ } from "./chunk-KQS72GCR.js";
373
371
  import {
374
- boundRecallContextComposition,
375
- composeRecallContext,
376
- contextBudgetForFooter,
377
- formatCuriosityFooter,
378
- selectCuriosityQuestion
379
- } from "./chunk-AHVEHR6K.js";
372
+ buildXraySnapshot
373
+ } from "./chunk-QKPDN325.js";
380
374
  import {
381
375
  objectiveStateStoreOverrideForNamespace,
382
376
  searchObjectiveStateSnapshots
383
377
  } from "./chunk-HTP6XRUI.js";
384
- import {
385
- contentMatchesRedactionRules,
386
- loadRedactionRules
387
- } from "./chunk-LTHVM4XN.js";
388
378
  import {
389
379
  ProfilingCollector
390
380
  } from "./chunk-NLE6TSLG.js";
391
381
  import {
392
382
  LocalLlmClient
393
- } from "./chunk-KFBOPMF6.js";
383
+ } from "./chunk-5ZIWRMZM.js";
394
384
  import {
395
385
  buildProcedurePersistBody
396
386
  } from "./chunk-QDW3E4RD.js";
387
+ import {
388
+ contentMatchesRedactionRules,
389
+ loadRedactionRules
390
+ } from "./chunk-LTHVM4XN.js";
397
391
  import {
398
392
  shouldSkipImplicitExtraction
399
- } from "./chunk-SMNYAMJD.js";
393
+ } from "./chunk-JKL53MOY.js";
400
394
  import {
401
- NamespaceStorageRouter
402
- } from "./chunk-UPLZNJKN.js";
395
+ boundRecallContextComposition,
396
+ composeRecallContext,
397
+ contextBudgetForFooter,
398
+ formatCuriosityFooter,
399
+ renderAuthorityBoundContent,
400
+ selectCuriosityQuestion
401
+ } from "./chunk-7ZNJN5WZ.js";
403
402
  import {
404
- searchCausalTrajectories
405
- } from "./chunk-AHZOMHWN.js";
403
+ NamespaceStorageRouter
404
+ } from "./chunk-JFPZEWY3.js";
406
405
  import {
407
406
  GraphIndex
408
- } from "./chunk-BIJAWZYW.js";
407
+ } from "./chunk-YMOPYG3K.js";
408
+ import {
409
+ BulkImportBatchPartialFailureError,
410
+ COMPACTION_SIGNAL_MAX_AGE_MS,
411
+ ExtractionDeadlineError,
412
+ ExtractionRunCoordinator,
413
+ abortRecallError,
414
+ appendMemoryToGraphContext,
415
+ applyQueryAwareCandidateFilter,
416
+ buildMemoryPathById,
417
+ buildQmdIntentHint,
418
+ classifyExtractionOrigin,
419
+ computeArtifactCandidateFetchLimit,
420
+ computeArtifactRecallLimit,
421
+ computeQmdHybridFetchLimit,
422
+ defaultWorkspaceDir,
423
+ filterHourlySummaryMarkdownForLocalDay,
424
+ formatDateInTimeZone,
425
+ isActivityDigestPath,
426
+ lifecycleRecallScoreAdjustment,
427
+ mapRecallSourceToXrayServedBy,
428
+ mergeArtifactRecallCandidates,
429
+ normalizeIanaTimeZone,
430
+ parseFiniteDate,
431
+ parseGraphRecallRankedResults,
432
+ parseMemoryIntentSnapshot,
433
+ parseQmdRecallResults,
434
+ qmdStartupCollectionCheckWithTimeout,
435
+ raceRecallAbort,
436
+ resolvePersistedMemoryRelativePath,
437
+ resolveRecallModeDecision,
438
+ resolveRecallModeDecisionAsync,
439
+ resolveRecentThreadMemoryPaths,
440
+ sanitizeSessionKeyForFilename,
441
+ shouldFilterLifecycleRecallCandidate,
442
+ splitTurnsBySourceValidAt,
443
+ summarizeGraphShadowComparison,
444
+ targetSourceValidAtSortMs,
445
+ throwIfRecallAborted,
446
+ tokenizeRecallQuery,
447
+ utcDateKeysForLocalDay
448
+ } from "./chunk-UTDMY476.js";
449
+ import {
450
+ inferIntentFromText,
451
+ intentCompatibilityScore,
452
+ isTaskInitiationIntent,
453
+ planRecallMode
454
+ } from "./chunk-PD6O7AXF.js";
455
+ import {
456
+ searchCausalTrajectories
457
+ } from "./chunk-HXXGZ4KV.js";
409
458
  import {
410
459
  buildChainFollowupGenerator
411
- } from "./chunk-RUNORG2P.js";
460
+ } from "./chunk-TF3LMM5E.js";
412
461
  import {
413
462
  QmdResultResolver,
414
463
  StorageManager,
@@ -427,10 +476,7 @@ import {
427
476
  reconstructFusionInputs,
428
477
  selfDeps,
429
478
  serializeFusionDay
430
- } from "./chunk-M4YHAODQ.js";
431
- import {
432
- buildRetiredFactTombstoneInputs
433
- } from "./chunk-MLPTFODV.js";
479
+ } from "./chunk-BWJMBJCY.js";
434
480
  import {
435
481
  bodyIsEscaped,
436
482
  decodeTranscriptBody,
@@ -441,15 +487,18 @@ import {
441
487
  saveSpeakerRegistry,
442
488
  speakerRegistryKey
443
489
  } from "./chunk-UHVXE24Y.js";
490
+ import {
491
+ buildRetiredFactTombstoneInputs
492
+ } from "./chunk-KHQ57QLJ.js";
444
493
  import {
445
494
  NamespaceSearchRouter,
446
495
  namespaceCollectionName
447
- } from "./chunk-TO7ZTWJW.js";
496
+ } from "./chunk-ION47U3Z.js";
448
497
  import {
449
498
  createConversationIndexRuntime,
450
499
  createSearchBackend,
451
500
  isSearchBackendEnabled
452
- } from "./chunk-QZLDRQ4I.js";
501
+ } from "./chunk-F7M36OG2.js";
453
502
  import {
454
503
  NoopSearchBackend
455
504
  } from "./chunk-CYEPCZN5.js";
@@ -463,7 +512,7 @@ import {
463
512
  } from "./chunk-S2V7RUCL.js";
464
513
  import {
465
514
  confidenceTier
466
- } from "./chunk-76JJSXK7.js";
515
+ } from "./chunk-5QHDXMXP.js";
467
516
  import {
468
517
  lintWorkspaceFiles,
469
518
  rotateMarkdownFileToArchive
@@ -477,7 +526,7 @@ import {
477
526
  TAG_LIMITS,
478
527
  composeMemoryEnvelope,
479
528
  isMemoryCategory
480
- } from "./chunk-NSVDUN76.js";
529
+ } from "./chunk-LCU5R6TQ.js";
481
530
  import {
482
531
  normalizeTags
483
532
  } from "./chunk-BT7NVCML.js";
@@ -510,62 +559,16 @@ import {
510
559
  isValidAsOf,
511
560
  isValidityExpiredNow
512
561
  } from "./chunk-6CIAGZ6X.js";
513
- import {
514
- FallbackLlmClient,
515
- fallbackLlmRuntimeContextFromConfig,
516
- gatewayTaskChainOptions
517
- } from "./chunk-UW5NPZJ2.js";
518
- import {
519
- BulkImportBatchPartialFailureError,
520
- COMPACTION_SIGNAL_MAX_AGE_MS,
521
- ExtractionDeadlineError,
522
- ExtractionRunCoordinator,
523
- abortRecallError,
524
- appendMemoryToGraphContext,
525
- applyQueryAwareCandidateFilter,
526
- buildMemoryPathById,
527
- buildQmdIntentHint,
528
- computeArtifactCandidateFetchLimit,
529
- computeArtifactRecallLimit,
530
- computeQmdHybridFetchLimit,
531
- defaultWorkspaceDir,
532
- filterHourlySummaryMarkdownForLocalDay,
533
- formatDateInTimeZone,
534
- isActivityDigestPath,
535
- lifecycleRecallScoreAdjustment,
536
- mapRecallSourceToXrayServedBy,
537
- mergeArtifactRecallCandidates,
538
- normalizeIanaTimeZone,
539
- parseFiniteDate,
540
- parseGraphRecallRankedResults,
541
- parseMemoryIntentSnapshot,
542
- parseQmdRecallResults,
543
- qmdStartupCollectionCheckWithTimeout,
544
- raceRecallAbort,
545
- resolvePersistedMemoryRelativePath,
546
- resolveRecallModeDecision,
547
- resolveRecallModeDecisionAsync,
548
- resolveRecentThreadMemoryPaths,
549
- sanitizeSessionKeyForFilename,
550
- shouldFilterLifecycleRecallCandidate,
551
- splitTurnsBySourceValidAt,
552
- summarizeGraphShadowComparison,
553
- targetSourceValidAtSortMs,
554
- throwIfRecallAborted,
555
- tokenizeRecallQuery,
556
- utcDateKeysForLocalDay
557
- } from "./chunk-XZHE2DEN.js";
558
- import {
559
- inferIntentFromText,
560
- intentCompatibilityScore,
561
- isTaskInitiationIntent,
562
- planRecallMode
563
- } from "./chunk-PD6O7AXF.js";
564
562
  import {
565
563
  buildQmdRecallCacheKey,
566
564
  getCachedQmdRecall,
567
565
  setCachedQmdRecall
568
566
  } from "./chunk-42JKGUFJ.js";
567
+ import {
568
+ FallbackLlmClient,
569
+ fallbackLlmRuntimeContextFromConfig,
570
+ gatewayTaskChainOptions
571
+ } from "./chunk-UW5NPZJ2.js";
569
572
  import {
570
573
  assertExternalWikiRootOutsideMemoryDirCanonical
571
574
  } from "./chunk-JV3C2MNQ.js";
@@ -576,13 +579,13 @@ import {
576
579
  createBoundedCoreSectionRunner,
577
580
  createRecallSectionMetricRecorder
578
581
  } from "./chunk-4O4TKIXQ.js";
579
- import {
580
- normalizeRecallTokenSet
581
- } from "./chunk-ZBJMUXZH.js";
582
582
  import {
583
583
  decideLifecycleTransition,
584
584
  resolveLifecycleState
585
585
  } from "./chunk-TBBDFYXW.js";
586
+ import {
587
+ normalizeRecallTokenSet
588
+ } from "./chunk-ZBJMUXZH.js";
586
589
  import {
587
590
  CAPSULE_ID_PATTERN
588
591
  } from "./chunk-WEHSQBFR.js";
@@ -597,7 +600,7 @@ import {
597
600
  getConfiguredNamespaces,
598
601
  resolveNamespaceFromStorageDir,
599
602
  resolveScopePlan
600
- } from "./chunk-6QPI2ITJ.js";
603
+ } from "./chunk-TVKWT2CY.js";
601
604
  import {
602
605
  attachCitation,
603
606
  hasCitationForTemplate,
@@ -613,7 +616,7 @@ import {
613
616
  } from "./chunk-7RJUVTVF.js";
614
617
  import {
615
618
  ContentHashIndex
616
- } from "./chunk-CX5SW2EW.js";
619
+ } from "./chunk-NRFU5MVH.js";
617
620
  import {
618
621
  excludeSupportPassportPrivateMemories,
619
622
  isSupportPassportPrivateMemory
@@ -644,7 +647,7 @@ import {
644
647
  canReadNamespace,
645
648
  defaultNamespaceForPrincipal,
646
649
  resolvePrincipal
647
- } from "./chunk-3GD2HFR6.js";
650
+ } from "./chunk-IGWVMA4Y.js";
648
651
  import {
649
652
  isSafeRouteNamespace,
650
653
  selectRouteRule
@@ -670,7 +673,7 @@ import {
670
673
  resolveRecallEnhancementCapabilities,
671
674
  resolveSecurityCapabilities,
672
675
  resolveUtilityLearningCapabilities
673
- } from "./chunk-2XRE6FLM.js";
676
+ } from "./chunk-JUOZ62Y7.js";
674
677
  import {
675
678
  resolveCodingNamespaceOverlay
676
679
  } from "./chunk-J2WC5LF4.js";
@@ -1806,12 +1809,14 @@ import { readdir } from "fs/promises";
1806
1809
  import path3 from "path";
1807
1810
  var ConversationIndexCoordinator = class {
1808
1811
  config;
1812
+ originAuthorityEnabled;
1809
1813
  getTranscript;
1810
1814
  getBackend;
1811
1815
  indexDir;
1812
1816
  lastUpdateAtMs = /* @__PURE__ */ new Map();
1813
1817
  constructor(options) {
1814
1818
  this.config = options.config;
1819
+ this.originAuthorityEnabled = resolveSecurityCapabilities(this.config).originAuthority;
1815
1820
  this.getTranscript = options.getTranscript;
1816
1821
  this.getBackend = options.getBackend;
1817
1822
  this.indexDir = options.indexDir;
@@ -1831,10 +1836,18 @@ var ConversationIndexCoordinator = class {
1831
1836
  let used = 0;
1832
1837
  for (const r of results) {
1833
1838
  if (!r?.snippet) continue;
1839
+ const body = renderAuthorityBoundContent(
1840
+ r.snippet.trim(),
1841
+ void 0,
1842
+ {
1843
+ enabled: this.originAuthorityEnabled,
1844
+ untrustedOrigins: this.config.untrustedOrigins
1845
+ }
1846
+ );
1834
1847
  const chunk = `### ${r.path}
1835
1848
  Score: ${r.score.toFixed(3)}
1836
1849
 
1837
- ${r.snippet.trim()}
1850
+ ${body}
1838
1851
  `;
1839
1852
  if (used + chunk.length > maxChars) break;
1840
1853
  lines.push(chunk);
@@ -4425,6 +4438,77 @@ ${texts.map((t, i) => `[${i + 1}] ${t}`).join("\n\n")}`;
4425
4438
  }
4426
4439
  };
4427
4440
 
4441
+ // src/orchestration/extraction-injection-gate.ts
4442
+ function serializeInjectionScreenCandidate(candidate) {
4443
+ const body = candidate.category === "procedure" ? buildProcedurePersistBody(candidate.content, candidate.procedureSteps) : candidate.content;
4444
+ const attrs = Object.fromEntries(
4445
+ Object.entries(candidate.structuredAttributes ?? {}).flatMap(([key, value]) => {
4446
+ if (typeof value === "string") return [[key, value]];
4447
+ if (typeof value === "number" || typeof value === "boolean") return [[key, String(value)]];
4448
+ return [];
4449
+ })
4450
+ );
4451
+ return Object.keys(attrs).length > 0 ? `${body}
4452
+ [Attributes: ${normalizeAttributePairs(attrs)}]` : body;
4453
+ }
4454
+ function evaluateInjectionScreen(candidate, enabled) {
4455
+ if (!enabled) return { tags: [] };
4456
+ const content = typeof candidate === "string" ? candidate : serializeInjectionScreenCandidate(candidate);
4457
+ const result = screenCandidateFact(content);
4458
+ return {
4459
+ status: result.quarantine === true ? "pending_review" : void 0,
4460
+ tags: result.quarantine === true ? result.findings.map((finding) => `injection-screen:${finding.rule}`) : []
4461
+ };
4462
+ }
4463
+ function withholdScreenedStrings(values, enabled) {
4464
+ const kept = [];
4465
+ const withheldRules = [];
4466
+ for (const value of values) {
4467
+ if (typeof value !== "string") continue;
4468
+ if (!enabled) {
4469
+ kept.push(value);
4470
+ continue;
4471
+ }
4472
+ const screened = screenCandidateFact(value);
4473
+ if (screened.quarantine) {
4474
+ withheldRules.push(...screened.findings.map((finding) => `injection-screen:${finding.rule}`));
4475
+ } else {
4476
+ kept.push(value);
4477
+ }
4478
+ }
4479
+ return { kept, withheldRules };
4480
+ }
4481
+ function screenEntityForIndex(entity, enabled) {
4482
+ const record = entity;
4483
+ const name = record?.name;
4484
+ const type = record?.type;
4485
+ if (typeof name !== "string" || !name.trim() || typeof type !== "string" || !type.trim()) return null;
4486
+ const nameScreen = withholdScreenedStrings([name], enabled);
4487
+ const factScreen = withholdScreenedStrings(Array.isArray(record?.facts) ? record.facts : [], enabled);
4488
+ const rawSections = Array.isArray(record?.structuredSections) ? record.structuredSections : void 0;
4489
+ const sectionScreens = enabled && rawSections ? rawSections.map((section) => ({ section, screen: withholdScreenedStrings(section?.facts ?? [], true) })) : void 0;
4490
+ return {
4491
+ name,
4492
+ type,
4493
+ source: typeof record?.source === "string" ? record.source : "extraction",
4494
+ facts: factScreen.kept,
4495
+ ...sectionScreens ? { structuredSections: sectionScreens.map(({ section, screen }) => ({ ...section, facts: screen.kept })) } : rawSections ? { structuredSections: rawSections } : {},
4496
+ withheldRules: [
4497
+ ...nameScreen.withheldRules,
4498
+ ...factScreen.withheldRules,
4499
+ ...(sectionScreens ?? []).flatMap(({ screen }) => screen.withheldRules)
4500
+ ],
4501
+ withheld: nameScreen.withheldRules.length > 0
4502
+ };
4503
+ }
4504
+ function screenPersistStrings(values, enabled) {
4505
+ const screen = withholdScreenedStrings(values, enabled);
4506
+ return {
4507
+ kept: screen.kept,
4508
+ ...screen.withheldRules.length > 0 ? { warning: `injection screen withheld ${values.length - screen.kept.length} candidate(s) [${screen.withheldRules.join(", ")}]` } : {}
4509
+ };
4510
+ }
4511
+
4428
4512
  // src/orchestration/extraction-envelope.ts
4429
4513
  function composeSalvagedExtractionEnvelope(input, ctx) {
4430
4514
  const envelope = composeMemoryEnvelope(input, ctx, { salvage: true });
@@ -4844,6 +4928,7 @@ var ExtractionPersistCoordinator = class {
4844
4928
  );
4845
4929
  const namespacesEnabled = resolveNamespaceCapabilities(this.deps.config).namespaces;
4846
4930
  const sourceConnector = sourceContext?.sourceConnector;
4931
+ const origin = classifyExtractionOrigin(sourceContext);
4847
4932
  const promoteMemoryToProfileTargets = async (options) => {
4848
4933
  if (!scopeProfileWritePlan || !profileAutoPromotionAllows(scopeProfileWritePlan, options.category, options.confidence))
4849
4934
  return;
@@ -4864,6 +4949,7 @@ var ExtractionPersistCoordinator = class {
4864
4949
  {
4865
4950
  content: citedContent,
4866
4951
  category: options.category,
4952
+ origin,
4867
4953
  confidence: options.confidence,
4868
4954
  tags: withReservedMarkerTag(options.tags, `${target.target}-promotion`),
4869
4955
  entityRef: options.entityRef,
@@ -5005,6 +5091,7 @@ var ExtractionPersistCoordinator = class {
5005
5091
  {
5006
5092
  content: citedContent,
5007
5093
  category: options.category,
5094
+ origin,
5008
5095
  confidence: options.confidence,
5009
5096
  tags: withReservedMarkerTag(options.tags, "shared-promotion"),
5010
5097
  entityRef: options.entityRef,
@@ -5579,6 +5666,7 @@ var ExtractionPersistCoordinator = class {
5579
5666
  entityRef: fact.entityRef,
5580
5667
  validAt: biTemporal?.validFrom ?? sourceContext?.validAt
5581
5668
  };
5669
+ const { status: injectionScreenStatus, tags: injectionScreenTags } = evaluateInjectionScreen({ content: fact.content, category: writeCategory, structuredAttributes: fact.structuredAttributes, procedureSteps: fact.procedureSteps }, resolveSecurityCapabilities(this.deps.config).injectionScreen);
5582
5670
  try {
5583
5671
  const redactionRules = await redactionRulesFor(sourceStorageDir, targetStorage.dir);
5584
5672
  const redactionCandidate = fact.content + (fact.structuredAttributes ? " " + JSON.stringify(fact.structuredAttributes) : "") + (fact.procedureSteps ? " " + fact.procedureSteps.map((s) => `${s.intent} ${s.expectedOutcome ?? ""} ${s.toolCall ? `${s.toolCall.kind} ${s.toolCall.signature}` : ""}`.trim()).join(" ") : "");
@@ -5635,7 +5723,7 @@ var ExtractionPersistCoordinator = class {
5635
5723
  exactDuplicate = false;
5636
5724
  }
5637
5725
  }
5638
- if (exactDuplicate) {
5726
+ if (exactDuplicate && injectionScreenStatus !== "pending_review") {
5639
5727
  if (biTemporal && writeCategory === "fact" && (biTemporal.validUntil || biTemporal.validFrom)) {
5640
5728
  const fr = faithfulnessResultsByFactIndex?.get(factLoopIndex);
5641
5729
  const faithfulnessWouldPending = faithfulnessMode === "enforce" && fr?.ok === true && (fr.verdict === "unsupported" || fr.verdict === "contradicted");
@@ -5679,11 +5767,11 @@ var ExtractionPersistCoordinator = class {
5679
5767
  dedupedCount++;
5680
5768
  continue;
5681
5769
  }
5682
- if (writeCategory === "procedure" && this.deps.config.procedural?.enabled !== true) {
5770
+ if (writeCategory === "procedure" && this.deps.config.procedural?.enabled !== true && injectionScreenStatus !== "pending_review") {
5683
5771
  log.debug("persistExtraction: skip procedure memory (procedural.enabled is false)");
5684
5772
  continue;
5685
5773
  }
5686
- if (!isAboveImportanceThreshold(
5774
+ if (injectionScreenStatus !== "pending_review" && !isAboveImportanceThreshold(
5687
5775
  importance.level,
5688
5776
  this.deps.config.extractionMinImportanceLevel
5689
5777
  )) {
@@ -5695,7 +5783,7 @@ var ExtractionPersistCoordinator = class {
5695
5783
  );
5696
5784
  continue;
5697
5785
  }
5698
- if (judgeVerdictsByFactIndex) {
5786
+ if (judgeVerdictsByFactIndex && injectionScreenStatus !== "pending_review") {
5699
5787
  const verdict = judgeVerdictsByFactIndex.get(factLoopIndex);
5700
5788
  if (verdict && !verdict.durable) {
5701
5789
  const verdictKind = getVerdictKind(verdict);
@@ -5718,7 +5806,7 @@ var ExtractionPersistCoordinator = class {
5718
5806
  }
5719
5807
  }
5720
5808
  }
5721
- if (writeCategory === "procedure") {
5809
+ if (writeCategory === "procedure" && injectionScreenStatus !== "pending_review") {
5722
5810
  const procGate = validateProcedureExtraction({
5723
5811
  content: fact.content,
5724
5812
  procedureSteps: fact.procedureSteps
@@ -5738,9 +5826,9 @@ var ExtractionPersistCoordinator = class {
5738
5826
  this.deps.getFaithfulnessCounters()
5739
5827
  );
5740
5828
  const requireSpansPendingStatus = this.deps.config.provenance?.requireSpans === true && fact.requireSpansPending === true ? "pending_review" : void 0;
5741
- const faithfulnessEnforceStatus = faithfulnessGateStatus ?? requireSpansPendingStatus;
5829
+ const faithfulnessEnforceStatus = faithfulnessGateStatus ?? requireSpansPendingStatus ?? injectionScreenStatus;
5742
5830
  let pendingSemanticSkip = null;
5743
- if (resolvePipelineProcessingCapabilities(this.deps.config).semanticDedup) {
5831
+ if (resolvePipelineProcessingCapabilities(this.deps.config).semanticDedup && injectionScreenStatus !== "pending_review") {
5744
5832
  let semanticDecision;
5745
5833
  if (batchBackendUnavailable) {
5746
5834
  semanticDecision = { action: "keep", reason: "backend_unavailable" };
@@ -5856,8 +5944,9 @@ var ExtractionPersistCoordinator = class {
5856
5944
  {
5857
5945
  content: citedChunkedContent,
5858
5946
  category: writeCategory,
5947
+ origin,
5859
5948
  confidence: fact.confidence,
5860
- tags: withReservedMarkerTag(fact.tags, "chunked"),
5949
+ tags: withReservedMarkerTag([...fact.tags, ...injectionScreenTags], "chunked"),
5861
5950
  entityRef: fact.entityRef,
5862
5951
  structuredAttributes: fact.structuredAttributes,
5863
5952
  validAt: biTemporal ? biTemporal.validFrom : sourceContext?.validAt,
@@ -5948,6 +6037,7 @@ var ExtractionPersistCoordinator = class {
5948
6037
  ...fact.sources && fact.sources.length > 0 ? { sources: fact.sources } : {},
5949
6038
  ...fact.provenance ? { provenance: fact.provenance } : {},
5950
6039
  ...extractionSourceConnector ? { sourceConnector: extractionSourceConnector } : {},
6040
+ ...origin ? { origin } : {},
5951
6041
  ...factToolScoped ? { toolScoped: true } : {}
5952
6042
  }
5953
6043
  );
@@ -6050,6 +6140,7 @@ var ExtractionPersistCoordinator = class {
6050
6140
  intentActionType: inferredIntent?.actionType,
6051
6141
  intentEntityTypes: inferredIntent?.entityTypes,
6052
6142
  ...extractionSourceConnector ? { sourceConnector: extractionSourceConnector } : {},
6143
+ ...origin ? { origin } : {},
6053
6144
  ...factToolScoped ? { toolScoped: true } : {}
6054
6145
  });
6055
6146
  }
@@ -6123,8 +6214,9 @@ var ExtractionPersistCoordinator = class {
6123
6214
  {
6124
6215
  content: citedFactContent,
6125
6216
  category: writeCategory,
6217
+ origin,
6126
6218
  confidence: fact.confidence,
6127
- tags: fact.tags,
6219
+ tags: [...fact.tags, ...injectionScreenTags],
6128
6220
  entityRef: typeof fact.entityRef === "string" ? fact.entityRef : void 0,
6129
6221
  structuredAttributes: fact.structuredAttributes,
6130
6222
  validAt: biTemporal ? biTemporal.validFrom : sourceContext?.validAt,
@@ -6293,6 +6385,7 @@ var ExtractionPersistCoordinator = class {
6293
6385
  intentActionType: inferredIntent?.actionType,
6294
6386
  intentEntityTypes: inferredIntent?.entityTypes,
6295
6387
  ...extractionSourceConnector ? { sourceConnector: extractionSourceConnector } : {},
6388
+ ...origin ? { origin } : {},
6296
6389
  ...factToolScoped ? { toolScoped: true } : {}
6297
6390
  });
6298
6391
  }
@@ -6324,20 +6417,19 @@ var ExtractionPersistCoordinator = class {
6324
6417
  durableNonFactTouchRecorded = true;
6325
6418
  touchBaseNonFactNamespace();
6326
6419
  };
6420
+ const entityScreenOn = resolveSecurityCapabilities(this.deps.config).injectionScreen;
6327
6421
  for (const entity of entities) {
6328
6422
  try {
6329
- const name = entity?.name;
6330
- const type = entity?.type;
6331
- if (typeof name !== "string" || !name.trim() || typeof type !== "string" || !type.trim()) {
6332
- continue;
6333
- }
6334
- const safeFacts = Array.isArray(entity?.facts) ? entity.facts.filter((f) => typeof f === "string") : [];
6335
- const id = await storage.writeEntity(name, type, safeFacts, {
6336
- source: typeof entity?.source === "string" ? entity.source : "extraction",
6423
+ const screened = screenEntityForIndex(entity, entityScreenOn);
6424
+ if (!screened) continue;
6425
+ if (screened.withheldRules.length > 0) log.warn(`persistExtraction: injection screen withheld ${screened.withheldRules.length} entity field(s) for "${screened.name}" [${screened.withheldRules.join(", ")}]`);
6426
+ if (screened.withheld) continue;
6427
+ const id = await storage.writeEntity(screened.name, screened.type, screened.facts, {
6428
+ source: screened.source,
6337
6429
  timestamp: sourceContext?.validAt,
6338
6430
  sessionKey: sourceContext?.sessionKey,
6339
6431
  principal: sourceContext?.principal,
6340
- structuredSections: Array.isArray(entity?.structuredSections) ? entity.structuredSections : void 0
6432
+ structuredSections: screened.structuredSections
6341
6433
  });
6342
6434
  if (id) {
6343
6435
  trackPersistedId(storage, id);
@@ -6350,16 +6442,22 @@ var ExtractionPersistCoordinator = class {
6350
6442
  if (resolveRecallEnhancementCapabilities(this.deps.config).entityRelationships && Array.isArray(result.relationships)) {
6351
6443
  for (const rel of result.relationships.slice(0, 5)) {
6352
6444
  if (!rel.source || !rel.target || !rel.label) continue;
6445
+ const relScreen = screenPersistStrings([
6446
+ `${rel.source}
6447
+ ${rel.label}
6448
+ ${rel.target}`,
6449
+ `${rel.target}
6450
+ ${rel.label} (reverse)
6451
+ ${rel.source}`
6452
+ ], entityScreenOn);
6453
+ if (relScreen.warning) {
6454
+ log.warn(`persistExtraction(relationship): ${relScreen.warning}`);
6455
+ continue;
6456
+ }
6353
6457
  try {
6354
- await storage.addEntityRelationship(rel.source, {
6355
- target: rel.target,
6356
- label: rel.label
6357
- });
6458
+ await storage.addEntityRelationship(rel.source, { target: rel.target, label: rel.label });
6358
6459
  recordDurableNonFactWrite();
6359
- await storage.addEntityRelationship(rel.target, {
6360
- target: rel.source,
6361
- label: `${rel.label} (reverse)`
6362
- });
6460
+ await storage.addEntityRelationship(rel.target, { target: rel.source, label: `${rel.label} (reverse)` });
6363
6461
  recordDurableNonFactWrite();
6364
6462
  } catch (err) {
6365
6463
  log.debug(`relationship persist failed: ${err}`);
@@ -6384,11 +6482,19 @@ var ExtractionPersistCoordinator = class {
6384
6482
  }
6385
6483
  }
6386
6484
  }
6387
- if (profileUpdates.length > 0) {
6388
- await storage.appendToProfile(profileUpdates);
6485
+ const profileScreen = screenPersistStrings(profileUpdates, entityScreenOn);
6486
+ if (profileScreen.warning) log.warn(`persistExtraction(profile): ${profileScreen.warning}`);
6487
+ if (profileScreen.kept.length > 0) {
6488
+ await storage.appendToProfile(profileScreen.kept);
6389
6489
  recordDurableNonFactWrite();
6390
6490
  }
6391
6491
  for (const q of questions) {
6492
+ const qScreen = screenPersistStrings([`${q.question}
6493
+ ${q.context ?? ""}`], entityScreenOn);
6494
+ if (qScreen.warning) {
6495
+ log.warn(`persistExtraction(question): ${qScreen.warning}`);
6496
+ continue;
6497
+ }
6392
6498
  const id = await storage.writeQuestion(q.question, q.context, q.priority);
6393
6499
  if (id) {
6394
6500
  trackPersistedId(storage, id);
@@ -6396,11 +6502,15 @@ var ExtractionPersistCoordinator = class {
6396
6502
  }
6397
6503
  }
6398
6504
  if (resolveRecallEnhancementCapabilities(this.deps.config).identity && result.identityReflection) {
6399
- try {
6400
- await storage.appendIdentityReflection(result.identityReflection);
6401
- recordDurableNonFactWrite();
6402
- } catch (err) {
6403
- log.debug(`identity reflection write failed: ${err}`);
6505
+ const idScreen = screenPersistStrings([result.identityReflection], entityScreenOn);
6506
+ if (idScreen.warning) log.warn(`persistExtraction(identity): ${idScreen.warning}`);
6507
+ else {
6508
+ try {
6509
+ await storage.appendIdentityReflection(result.identityReflection);
6510
+ recordDurableNonFactWrite();
6511
+ } catch (err) {
6512
+ log.debug(`identity reflection write failed: ${err}`);
6513
+ }
6404
6514
  }
6405
6515
  }
6406
6516
  if (durableNonFactWritten) {
@@ -7989,7 +8099,8 @@ var GraphRecallCoordinator = class {
7989
8099
  path: memory.path,
7990
8100
  namespace,
7991
8101
  snippet: memory.content.slice(0, 400),
7992
- score
8102
+ score,
8103
+ ...memory.frontmatter.origin !== void 0 ? { origin: memory.frontmatter.origin } : {}
7993
8104
  });
7994
8105
  expandedPaths.push({
7995
8106
  path: memory.path,
@@ -8089,6 +8200,7 @@ var GraphRecallCoordinator = class {
8089
8200
  namespace,
8090
8201
  snippet: memory.content.slice(0, 400),
8091
8202
  score,
8203
+ ...memory.frontmatter.origin !== void 0 ? { origin: memory.frontmatter.origin } : {},
8092
8204
  pathPenaltyApplied: pathScoreDetail.pathPenaltyApplied,
8093
8205
  ...config.graphPathScoring.includePathInProvenance && candidate.activationPath ? { pathNodeIds: candidate.activationPath.nodeIds } : {}
8094
8206
  },
@@ -8221,14 +8333,19 @@ async function buildProcedureRecallSection(storage, prompt, config, options) {
8221
8333
  (m) => m.frontmatter.category === "procedure" && isActiveMemoryStatus(m.frontmatter.status) && (options?.partitionToolScoped !== true || canRecallToolScopedMemory(m.frontmatter, options.requestingConnector))
8222
8334
  ).map((m) => ({ m, score: scoreProcedureForPrompt(m, trimmed, queryIntent) })).filter((x) => x.score > 0.04).sort((a, b) => b.score - a.score).slice(0, maxN);
8223
8335
  if (scored.length === 0) return null;
8336
+ const security = resolveSecurityCapabilities(config);
8224
8337
  const blocks = scored.map(({ m, score }) => {
8225
8338
  const id = m.frontmatter.id;
8226
8339
  const flat = m.content.replace(/\s+/g, " ").trim();
8227
8340
  const preview = flat.slice(0, 320);
8228
8341
  const suffix = flat.length > 320 ? "\u2026" : "";
8342
+ const body = renderAuthorityBoundContent(`${preview}${suffix}`, m.frontmatter.origin, {
8343
+ enabled: security.originAuthority,
8344
+ untrustedOrigins: config.untrustedOrigins
8345
+ });
8229
8346
  return `### ${id} (match ${score.toFixed(2)})
8230
8347
 
8231
- ${preview}${suffix}`;
8348
+ ${body}`;
8232
8349
  });
8233
8350
  return `## Relevant procedures
8234
8351
 
@@ -8391,8 +8508,10 @@ function resolveCompositeProfileStorage(options) {
8391
8508
  var RecallInternalCoordinator = class {
8392
8509
  constructor(deps) {
8393
8510
  this.deps = deps;
8511
+ this.securityCapabilities = resolveSecurityCapabilities(deps.config);
8394
8512
  }
8395
8513
  deps;
8514
+ securityCapabilities;
8396
8515
  async recallInternal(prompt, sessionKey, options = {}, caps = resolveCapabilities(this.deps.config), graphCaps = resolveGraphConstructionCapabilities(this.deps.config), lifecycleCaps = resolveMemoryLifecycleCapabilities(this.deps.config)) {
8397
8516
  const recallStart = Date.now();
8398
8517
  const backendDegradations = [];
@@ -9003,6 +9122,8 @@ ${lines.join("\n\n")}`;
9003
9122
  maxRelatedEntities,
9004
9123
  maxChars,
9005
9124
  transcriptEntries,
9125
+ originAuthorityEnabled: this.securityCapabilities.originAuthority,
9126
+ untrustedOrigins: this.deps.config.untrustedOrigins,
9006
9127
  abortSignal: sectionSignal
9007
9128
  }).catch((err) => {
9008
9129
  if (isAbortError(err)) throw err;
@@ -10783,7 +10904,9 @@ ${formatted}`;
10783
10904
  items: timelineItems,
10784
10905
  query: retrievalQuery,
10785
10906
  maxChars: eventOrderMaxChars,
10786
- maxItems
10907
+ maxItems,
10908
+ originAuthorityEnabled: this.securityCapabilities.originAuthority,
10909
+ untrustedOrigins: this.deps.config.untrustedOrigins
10787
10910
  });
10788
10911
  }
10789
10912
  if (!eventOrderSection && this.deps.lcmEngine?.enabled) {
@@ -10862,11 +10985,8 @@ ${profile}`
10862
10985
  );
10863
10986
  }
10864
10987
  if (kiResult?.result) {
10865
- this.deps.appendRecallSection(
10866
- sectionBuckets,
10867
- "knowledge-index",
10868
- kiResult.result
10869
- );
10988
+ const kiBody = this.securityCapabilities.originAuthority ? renderAuthorityBoundContent(kiResult.result, void 0, { enabled: true, untrustedOrigins: this.deps.config.untrustedOrigins }) : kiResult.result;
10989
+ this.deps.appendRecallSection(sectionBuckets, "knowledge-index", kiBody);
10870
10990
  log.debug(
10871
10991
  `Knowledge Index: ${kiResult.result.split("\n").length - 4} entities, ${kiResult.result.length} chars${kiResult.cached ? " (cached)" : ""}`
10872
10992
  );
@@ -10887,7 +11007,11 @@ ${profile}`
10887
11007
  const artifactType = a.frontmatter.artifactType ?? "fact";
10888
11008
  const createdRaw = typeof a.frontmatter.created === "string" ? a.frontmatter.created : "";
10889
11009
  const created = createdRaw ? createdRaw.slice(0, 19).replace("T", " ") : "unknown-time";
10890
- return `- [${artifactType}] "${this.deps.truncateArtifactForRecall(a.content)}" (${created})`;
11010
+ const content = renderAuthorityBoundContent(this.deps.truncateArtifactForRecall(a.content), a.frontmatter.origin, {
11011
+ enabled: this.securityCapabilities.originAuthority,
11012
+ untrustedOrigins: this.deps.config.untrustedOrigins
11013
+ });
11014
+ return `- [${artifactType}] "${content}" (${created})`;
10891
11015
  });
10892
11016
  this.deps.appendRecallSection(
10893
11017
  sectionBuckets,
@@ -11728,7 +11852,8 @@ ${tmtNode.summary}`
11728
11852
  path: m.path,
11729
11853
  namespace: this.deps.namespaceFromPath(m.path),
11730
11854
  snippet: m.content,
11731
- score: 1 - i / Math.max(recentSorted.length, 1)
11855
+ score: 1 - i / Math.max(recentSorted.length, 1),
11856
+ origin: m.frontmatter.origin
11732
11857
  })
11733
11858
  );
11734
11859
  const boostedRecent = (await this.deps.boostSearchResults(
@@ -12512,7 +12637,8 @@ async function searchEmbeddingFallback(deps, query, limit) {
12512
12637
  docid: hit.id,
12513
12638
  path: fullPath,
12514
12639
  score: hit.score,
12515
- snippet: memory.content.slice(0, 400).replace(/\n/g, " ")
12640
+ snippet: memory.content.slice(0, 400).replace(/\n/g, " "),
12641
+ origin: memory.frontmatter.origin
12516
12642
  });
12517
12643
  }
12518
12644
  return results;
@@ -13217,7 +13343,8 @@ var RecallSearchPipelineCoordinator = class {
13217
13343
  }
13218
13344
  filtered.push({
13219
13345
  ...r,
13220
- sourceConnector: memory ? memory.frontmatter.sourceConnector : void 0
13346
+ sourceConnector: memory ? memory.frontmatter.sourceConnector : void 0,
13347
+ origin: memory ? memory.frontmatter.origin : void 0
13221
13348
  });
13222
13349
  }
13223
13350
  if (connectorPartitionFilteredCount > 0) {
@@ -15021,7 +15148,7 @@ var OrchestratorInitCoordinator = class {
15021
15148
  if (signal.aborted) return;
15022
15149
  if (lifecycleCaps.lifecyclePolicy && resolveQmdCapabilities(this.deps.config).qmdTierMigration) {
15023
15150
  try {
15024
- const { runFirstStartMigration } = await import("./first-start-migration-CRZCZAJN.js");
15151
+ const { runFirstStartMigration } = await import("./first-start-migration-HZ4VPRFQ.js");
15025
15152
  const result = await runFirstStartMigration({
15026
15153
  storage: this.deps.storage,
15027
15154
  config: this.deps.config,
@@ -15044,7 +15171,7 @@ var OrchestratorInitCoordinator = class {
15044
15171
  if (signal.aborted) return;
15045
15172
  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)) {
15046
15173
  try {
15047
- const { startWearablesAutoSync } = await import("./auto-sync-NR3GPCOA.js");
15174
+ const { startWearablesAutoSync } = await import("./auto-sync-5HVRCMGZ.js");
15048
15175
  if (signal.aborted) return;
15049
15176
  this.deps.wearablesAutoSyncHandle = startWearablesAutoSync(
15050
15177
  {
@@ -18370,6 +18497,7 @@ var NamespaceReadFanoutCoordinator = class {
18370
18497
  path: memory.path,
18371
18498
  score,
18372
18499
  snippet: memory.content.slice(0, 400).replace(/\n/g, " "),
18500
+ origin: memory.frontmatter.origin,
18373
18501
  transport: "scoped_prefilter"
18374
18502
  });
18375
18503
  }
@@ -26999,4 +27127,4 @@ export {
26999
27127
  blendGraphExpandedRecallScore,
27000
27128
  Orchestrator
27001
27129
  };
27002
- //# sourceMappingURL=chunk-W5ZKPI34.js.map
27130
+ //# sourceMappingURL=chunk-IFFW25NG.js.map