@remnic/core 9.69.50 → 9.69.51

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 (271) hide show
  1. package/dist/access-admin-ops-surface.js +30 -30
  2. package/dist/access-audit.d.ts +1 -0
  3. package/dist/access-audit.js +2 -2
  4. package/dist/access-authorization-probe.js +31 -31
  5. package/dist/access-boundary.js +30 -30
  6. package/dist/access-cli.js +84 -83
  7. package/dist/access-cli.js.map +1 -1
  8. package/dist/access-extraction-force-flush.js +30 -30
  9. package/dist/access-http-briefing.js +31 -31
  10. package/dist/access-http-query.js +32 -32
  11. package/dist/access-http.js +50 -50
  12. package/dist/access-identity-continuity-surface.js +30 -30
  13. package/dist/access-lcm-surface.js +30 -30
  14. package/dist/access-mcp-output-schemas.js +1 -1
  15. package/dist/access-mcp.js +41 -41
  16. package/dist/access-namespace-preflight.js +30 -30
  17. package/dist/access-observe-write-category.js +5 -5
  18. package/dist/access-observe-write-surface.js +30 -30
  19. package/dist/access-operations-batch.js +32 -32
  20. package/dist/access-operations.js +39 -39
  21. package/dist/access-recall-concurrency.js +30 -30
  22. package/dist/access-recall-response.js +30 -30
  23. package/dist/access-recall-surface.d.ts +1 -1
  24. package/dist/access-recall-surface.js +30 -30
  25. package/dist/access-schema.js +4 -4
  26. package/dist/access-service.js +30 -30
  27. package/dist/access-surface-catalog.js +32 -32
  28. package/dist/active-recall.js +2 -2
  29. package/dist/briefing.js +5 -5
  30. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
  31. package/dist/causal-consolidation.js +6 -6
  32. package/dist/{chunk-BHI5ILU5.js → chunk-25HSEIEM.js} +2 -2
  33. package/dist/{chunk-3RZB7TYL.js → chunk-2EICZYIG.js} +2 -2
  34. package/dist/{chunk-2IVHOQRY.js → chunk-2ERLN25A.js} +2 -2
  35. package/dist/{chunk-OQZYHCWM.js → chunk-2G2CVN2T.js} +27 -26
  36. package/dist/{chunk-OQZYHCWM.js.map → chunk-2G2CVN2T.js.map} +1 -1
  37. package/dist/{chunk-PPNFKQ6D.js → chunk-2SZBCM2S.js} +2 -2
  38. package/dist/{chunk-E73SVGJA.js → chunk-33SX6K3N.js} +2 -2
  39. package/dist/{chunk-D6WX5FEF.js → chunk-3QZRSEAM.js} +2 -2
  40. package/dist/{chunk-LBLXEFWK.js → chunk-4MN27537.js} +1 -1
  41. package/dist/chunk-4MN27537.js.map +1 -0
  42. package/dist/{chunk-LR7KUQ2W.js → chunk-6HCJWCA4.js} +5 -5
  43. package/dist/chunk-6VITOSPL.js +69 -0
  44. package/dist/chunk-6VITOSPL.js.map +1 -0
  45. package/dist/{chunk-EZV43XBD.js → chunk-6Z4OLQUO.js} +2 -2
  46. package/dist/{chunk-JTPAXDSX.js → chunk-6ZMIASYT.js} +2 -2
  47. package/dist/{chunk-UD6W67JM.js → chunk-72AV2H3R.js} +76 -25
  48. package/dist/chunk-72AV2H3R.js.map +1 -0
  49. package/dist/{chunk-DNO6QWCB.js → chunk-7TTOX6NW.js} +2 -2
  50. package/dist/{chunk-OP5IBPHP.js → chunk-A33DLYNY.js} +2 -2
  51. package/dist/{chunk-3MIZ2EKQ.js → chunk-AH3OIMS7.js} +2 -2
  52. package/dist/{chunk-TZ44E732.js → chunk-AIVRD66I.js} +2 -2
  53. package/dist/{chunk-IST6MBYC.js → chunk-BMAYH7F4.js} +473 -329
  54. package/dist/chunk-BMAYH7F4.js.map +1 -0
  55. package/dist/{chunk-XTMABIFW.js → chunk-BULK6DGB.js} +2 -2
  56. package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
  57. package/dist/{chunk-PMLFPVYJ.js → chunk-CKBA2MWS.js} +2 -2
  58. package/dist/{chunk-TVVEYCNW.js → chunk-DAOMWGO2.js} +2 -2
  59. package/dist/{chunk-E64HBW7M.js → chunk-DLXBMXIB.js} +2 -2
  60. package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
  61. package/dist/{chunk-MQMZO23A.js → chunk-DQSVGTKB.js} +2 -2
  62. package/dist/{chunk-X6B2QWXW.js → chunk-DX63RFDJ.js} +2 -2
  63. package/dist/{chunk-OLJYDGGP.js → chunk-EBJL6HGR.js} +4 -4
  64. package/dist/{chunk-KOEDSRF5.js → chunk-ETNC6TT6.js} +2 -2
  65. package/dist/{chunk-SRMBMMTK.js → chunk-HEKWNWNL.js} +3 -3
  66. package/dist/{chunk-UI6R2YUB.js → chunk-IGDEKECC.js} +1 -1
  67. package/dist/{chunk-MECKA6G2.js → chunk-ISA5U5AP.js} +2 -2
  68. package/dist/{chunk-ZUNYFDI4.js → chunk-JGPG5UHM.js} +2 -2
  69. package/dist/{chunk-C3PKRFZ4.js → chunk-JXSOB3SA.js} +2 -2
  70. package/dist/{chunk-56C7OO3N.js → chunk-KAPYPTPS.js} +15 -15
  71. package/dist/{chunk-W6V7JN2E.js → chunk-KBHDV7P3.js} +3 -3
  72. package/dist/{chunk-F5V7KRQS.js → chunk-LIAKZGOY.js} +2 -2
  73. package/dist/{chunk-A7GQBJP5.js → chunk-LVFI5LG7.js} +7 -7
  74. package/dist/{chunk-QSP4Y73Q.js → chunk-LX7KIJQF.js} +2 -2
  75. package/dist/{chunk-ECLY4NZA.js → chunk-LZI6FWZW.js} +7 -1
  76. package/dist/chunk-LZI6FWZW.js.map +1 -0
  77. package/dist/{chunk-4PXFLDMJ.js → chunk-MNF6PTNL.js} +2 -2
  78. package/dist/{chunk-BOTSR5S3.js → chunk-MYDA2GA2.js} +2 -2
  79. package/dist/{chunk-4SDO74N2.js → chunk-NROI5XMG.js} +2 -2
  80. package/dist/{chunk-IYHHCSF6.js → chunk-NVW5ISEJ.js} +32 -32
  81. package/dist/{chunk-AL7OLBL7.js → chunk-NXSNFPYI.js} +2 -2
  82. package/dist/{chunk-D7QX26FF.js → chunk-O4JFBEUL.js} +2 -2
  83. package/dist/{chunk-PA5EOTRR.js → chunk-OIK3YL2P.js} +3 -3
  84. package/dist/{chunk-JOP7W24J.js → chunk-PLJ2MQFT.js} +4 -4
  85. package/dist/{chunk-HRCWDO6S.js → chunk-PYTSGD5M.js} +2 -2
  86. package/dist/{chunk-VBRS7Z3O.js → chunk-Q6OC4UUT.js} +2 -2
  87. package/dist/{chunk-4FWNMN5R.js → chunk-QRSC37NC.js} +5 -5
  88. package/dist/{chunk-D2XUSZ24.js → chunk-RIP2AOZW.js} +2 -2
  89. package/dist/{chunk-ZBAQMSEY.js → chunk-SCM4VYJW.js} +2 -2
  90. package/dist/{chunk-6525YIYL.js → chunk-SMI2G3MA.js} +3 -3
  91. package/dist/{chunk-DH536WT2.js → chunk-ST7FDKZT.js} +12 -2
  92. package/dist/chunk-ST7FDKZT.js.map +1 -0
  93. package/dist/{chunk-AYGWJ2UK.js → chunk-SZ75IB2T.js} +2 -2
  94. package/dist/{chunk-42BV46XS.js → chunk-T73ZC7C5.js} +2 -2
  95. package/dist/{chunk-3SI3FFTW.js → chunk-TNFDWJRS.js} +2 -2
  96. package/dist/{chunk-3UQIS2GC.js → chunk-TTFJQ5B5.js} +2 -2
  97. package/dist/{chunk-QZDUNK6V.js → chunk-UP3226JC.js} +6 -6
  98. package/dist/{chunk-IPLYGWQF.js → chunk-VDX2J7OX.js} +6 -6
  99. package/dist/{chunk-QXQCPNKA.js → chunk-VLR4S5GF.js} +7 -7
  100. package/dist/{chunk-ZHXSOMYH.js → chunk-VVX5PZFS.js} +2 -2
  101. package/dist/{chunk-HS75MCQF.js → chunk-WUUGE7QC.js} +4 -4
  102. package/dist/{chunk-MVMNEU65.js → chunk-X25NTN3W.js} +2 -2
  103. package/dist/{chunk-IC3PM3YO.js → chunk-XFXVIXDI.js} +2 -2
  104. package/dist/{chunk-ML5FW2RO.js → chunk-XHDQQ2TT.js} +2 -2
  105. package/dist/{chunk-XUKUMBP3.js → chunk-XRUOO7OT.js} +2 -2
  106. package/dist/{chunk-WVI43D54.js → chunk-YEIKOBOW.js} +15 -2
  107. package/dist/chunk-YEIKOBOW.js.map +1 -0
  108. package/dist/{chunk-AYP2FZFA.js → chunk-YIIW2OH2.js} +2 -2
  109. package/dist/{chunk-FO6IK4IF.js → chunk-YJJMJH6J.js} +8 -8
  110. package/dist/cli.js +68 -68
  111. package/dist/coding/export-okf-codegraph.js +4 -4
  112. package/dist/compounding/engine.js +5 -5
  113. package/dist/config.js +2 -2
  114. package/dist/connectors/codex-materialize-runner.js +5 -5
  115. package/dist/connectors/index.js +5 -5
  116. package/dist/convergence-refresh.js +7 -7
  117. package/dist/corpus-watermark.js +7 -7
  118. package/dist/deep-recall-http-glue.js +5 -5
  119. package/dist/deep-recall.js +2 -2
  120. package/dist/directory-sidecars.d.ts +28 -2
  121. package/dist/directory-sidecars.js +9 -1
  122. package/dist/entity-retrieval.js +5 -5
  123. package/dist/external-wiki-access.js +31 -31
  124. package/dist/extraction.js +5 -5
  125. package/dist/harmonic-retrieval.js +1 -1
  126. package/dist/index.d.ts +2 -0
  127. package/dist/index.js +98 -88
  128. package/dist/lcm/engine.js +3 -3
  129. package/dist/lcm/index.js +8 -8
  130. package/dist/location/index.js +7 -7
  131. package/dist/maintenance/memory-governance.js +5 -5
  132. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +5 -5
  133. package/dist/maintenance/rebuild-memory-projection.js +6 -6
  134. package/dist/memory-browse-operations.js +31 -31
  135. package/dist/memory-browse.js +3 -3
  136. package/dist/namespaces/migrate.js +6 -6
  137. package/dist/namespaces/search.js +3 -3
  138. package/dist/namespaces/storage.js +5 -5
  139. package/dist/operator-doctor-corpus.js +8 -8
  140. package/dist/operator-toolkit.js +15 -15
  141. package/dist/orchestration/maintenance.js +13 -13
  142. package/dist/orchestrator.js +84 -83
  143. package/dist/recall-audit-anomaly.d.ts +1 -0
  144. package/dist/recall-audit.d.ts +4 -0
  145. package/dist/recall-audit.js +1 -1
  146. package/dist/recall-composition-decision.d.ts +41 -0
  147. package/dist/recall-composition-decision.js +17 -0
  148. package/dist/recall-composition-decision.js.map +1 -0
  149. package/dist/recall-explain-renderer.d.ts +1 -0
  150. package/dist/recall-explain-renderer.js +2 -2
  151. package/dist/recall-navigation-operations.js +31 -31
  152. package/dist/recall-navigation-renderer.d.ts +1 -0
  153. package/dist/recall-navigation.d.ts +1 -0
  154. package/dist/recall-navigation.js +30 -30
  155. package/dist/recall-state-view-admission.js +3 -3
  156. package/dist/recall-tag-filter.d.ts +1 -0
  157. package/dist/recall-xray-cli.d.ts +1 -0
  158. package/dist/recall-xray-cli.js +3 -3
  159. package/dist/recall-xray-renderer.d.ts +1 -0
  160. package/dist/recall-xray-renderer.js +2 -2
  161. package/dist/recall-xray.d.ts +9 -0
  162. package/dist/recall-xray.js +1 -1
  163. package/dist/resume-bundles.js +3 -3
  164. package/dist/search/factory.js +2 -2
  165. package/dist/search/index.js +4 -4
  166. package/dist/semantic-consolidation.js +6 -6
  167. package/dist/semantic-rule-promotion.js +5 -5
  168. package/dist/semantic-rule-verifier.js +5 -5
  169. package/dist/source-agent-qualifier.js +5 -5
  170. package/dist/standup/build.js +5 -5
  171. package/dist/storage.js +4 -4
  172. package/dist/support-passport/index.js +33 -33
  173. package/dist/transfer/autodetect.js +1 -1
  174. package/dist/transfer/backup.js +2 -2
  175. package/dist/transfer/capsule-export.js +3 -3
  176. package/dist/transfer/capsule-import.js +2 -2
  177. package/dist/transfer/export-okf.js +5 -5
  178. package/dist/verified-recall.js +5 -5
  179. package/dist/who-knows-cli.js +6 -6
  180. package/dist/who-knows.js +5 -5
  181. package/package.json +2 -2
  182. package/src/access-mcp-output-schemas.ts +14 -1
  183. package/src/access-recall-response.ts +3 -0
  184. package/src/directory-sidecars.test.ts +119 -0
  185. package/src/directory-sidecars.ts +110 -25
  186. package/src/experience/session-experience-recall.test.ts +228 -0
  187. package/src/experience/session-experience-recall.ts +60 -0
  188. package/src/index.ts +1 -0
  189. package/src/orchestration/recall-entry.ts +16 -2
  190. package/src/orchestration/recall-internal.ts +21 -18
  191. package/src/orchestration/recall-recognition-search.test.ts +290 -0
  192. package/src/orchestration/recall-recognition-search.ts +160 -0
  193. package/src/procedural/procedure-recall.ts +14 -3
  194. package/src/recall-audit.test.ts +34 -0
  195. package/src/recall-audit.ts +4 -0
  196. package/src/recall-composition-decision.test.ts +134 -0
  197. package/src/recall-composition-decision.ts +113 -0
  198. package/src/recall-xray-renderer.test.ts +17 -0
  199. package/src/recall-xray-renderer.ts +10 -0
  200. package/src/recall-xray.test.ts +28 -0
  201. package/src/recall-xray.ts +15 -0
  202. package/src/testing/subjects/recall-recognition-tier.test.ts +106 -0
  203. package/dist/chunk-DH536WT2.js.map +0 -1
  204. package/dist/chunk-ECLY4NZA.js.map +0 -1
  205. package/dist/chunk-IST6MBYC.js.map +0 -1
  206. package/dist/chunk-LBLXEFWK.js.map +0 -1
  207. package/dist/chunk-UD6W67JM.js.map +0 -1
  208. package/dist/chunk-WVI43D54.js.map +0 -1
  209. /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
  210. /package/dist/{chunk-BHI5ILU5.js.map → chunk-25HSEIEM.js.map} +0 -0
  211. /package/dist/{chunk-3RZB7TYL.js.map → chunk-2EICZYIG.js.map} +0 -0
  212. /package/dist/{chunk-2IVHOQRY.js.map → chunk-2ERLN25A.js.map} +0 -0
  213. /package/dist/{chunk-PPNFKQ6D.js.map → chunk-2SZBCM2S.js.map} +0 -0
  214. /package/dist/{chunk-E73SVGJA.js.map → chunk-33SX6K3N.js.map} +0 -0
  215. /package/dist/{chunk-D6WX5FEF.js.map → chunk-3QZRSEAM.js.map} +0 -0
  216. /package/dist/{chunk-LR7KUQ2W.js.map → chunk-6HCJWCA4.js.map} +0 -0
  217. /package/dist/{chunk-EZV43XBD.js.map → chunk-6Z4OLQUO.js.map} +0 -0
  218. /package/dist/{chunk-JTPAXDSX.js.map → chunk-6ZMIASYT.js.map} +0 -0
  219. /package/dist/{chunk-DNO6QWCB.js.map → chunk-7TTOX6NW.js.map} +0 -0
  220. /package/dist/{chunk-OP5IBPHP.js.map → chunk-A33DLYNY.js.map} +0 -0
  221. /package/dist/{chunk-3MIZ2EKQ.js.map → chunk-AH3OIMS7.js.map} +0 -0
  222. /package/dist/{chunk-TZ44E732.js.map → chunk-AIVRD66I.js.map} +0 -0
  223. /package/dist/{chunk-XTMABIFW.js.map → chunk-BULK6DGB.js.map} +0 -0
  224. /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
  225. /package/dist/{chunk-PMLFPVYJ.js.map → chunk-CKBA2MWS.js.map} +0 -0
  226. /package/dist/{chunk-TVVEYCNW.js.map → chunk-DAOMWGO2.js.map} +0 -0
  227. /package/dist/{chunk-E64HBW7M.js.map → chunk-DLXBMXIB.js.map} +0 -0
  228. /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
  229. /package/dist/{chunk-MQMZO23A.js.map → chunk-DQSVGTKB.js.map} +0 -0
  230. /package/dist/{chunk-X6B2QWXW.js.map → chunk-DX63RFDJ.js.map} +0 -0
  231. /package/dist/{chunk-OLJYDGGP.js.map → chunk-EBJL6HGR.js.map} +0 -0
  232. /package/dist/{chunk-KOEDSRF5.js.map → chunk-ETNC6TT6.js.map} +0 -0
  233. /package/dist/{chunk-SRMBMMTK.js.map → chunk-HEKWNWNL.js.map} +0 -0
  234. /package/dist/{chunk-UI6R2YUB.js.map → chunk-IGDEKECC.js.map} +0 -0
  235. /package/dist/{chunk-MECKA6G2.js.map → chunk-ISA5U5AP.js.map} +0 -0
  236. /package/dist/{chunk-ZUNYFDI4.js.map → chunk-JGPG5UHM.js.map} +0 -0
  237. /package/dist/{chunk-C3PKRFZ4.js.map → chunk-JXSOB3SA.js.map} +0 -0
  238. /package/dist/{chunk-56C7OO3N.js.map → chunk-KAPYPTPS.js.map} +0 -0
  239. /package/dist/{chunk-W6V7JN2E.js.map → chunk-KBHDV7P3.js.map} +0 -0
  240. /package/dist/{chunk-F5V7KRQS.js.map → chunk-LIAKZGOY.js.map} +0 -0
  241. /package/dist/{chunk-A7GQBJP5.js.map → chunk-LVFI5LG7.js.map} +0 -0
  242. /package/dist/{chunk-QSP4Y73Q.js.map → chunk-LX7KIJQF.js.map} +0 -0
  243. /package/dist/{chunk-4PXFLDMJ.js.map → chunk-MNF6PTNL.js.map} +0 -0
  244. /package/dist/{chunk-BOTSR5S3.js.map → chunk-MYDA2GA2.js.map} +0 -0
  245. /package/dist/{chunk-4SDO74N2.js.map → chunk-NROI5XMG.js.map} +0 -0
  246. /package/dist/{chunk-IYHHCSF6.js.map → chunk-NVW5ISEJ.js.map} +0 -0
  247. /package/dist/{chunk-AL7OLBL7.js.map → chunk-NXSNFPYI.js.map} +0 -0
  248. /package/dist/{chunk-D7QX26FF.js.map → chunk-O4JFBEUL.js.map} +0 -0
  249. /package/dist/{chunk-PA5EOTRR.js.map → chunk-OIK3YL2P.js.map} +0 -0
  250. /package/dist/{chunk-JOP7W24J.js.map → chunk-PLJ2MQFT.js.map} +0 -0
  251. /package/dist/{chunk-HRCWDO6S.js.map → chunk-PYTSGD5M.js.map} +0 -0
  252. /package/dist/{chunk-VBRS7Z3O.js.map → chunk-Q6OC4UUT.js.map} +0 -0
  253. /package/dist/{chunk-4FWNMN5R.js.map → chunk-QRSC37NC.js.map} +0 -0
  254. /package/dist/{chunk-D2XUSZ24.js.map → chunk-RIP2AOZW.js.map} +0 -0
  255. /package/dist/{chunk-ZBAQMSEY.js.map → chunk-SCM4VYJW.js.map} +0 -0
  256. /package/dist/{chunk-6525YIYL.js.map → chunk-SMI2G3MA.js.map} +0 -0
  257. /package/dist/{chunk-AYGWJ2UK.js.map → chunk-SZ75IB2T.js.map} +0 -0
  258. /package/dist/{chunk-42BV46XS.js.map → chunk-T73ZC7C5.js.map} +0 -0
  259. /package/dist/{chunk-3SI3FFTW.js.map → chunk-TNFDWJRS.js.map} +0 -0
  260. /package/dist/{chunk-3UQIS2GC.js.map → chunk-TTFJQ5B5.js.map} +0 -0
  261. /package/dist/{chunk-QZDUNK6V.js.map → chunk-UP3226JC.js.map} +0 -0
  262. /package/dist/{chunk-IPLYGWQF.js.map → chunk-VDX2J7OX.js.map} +0 -0
  263. /package/dist/{chunk-QXQCPNKA.js.map → chunk-VLR4S5GF.js.map} +0 -0
  264. /package/dist/{chunk-ZHXSOMYH.js.map → chunk-VVX5PZFS.js.map} +0 -0
  265. /package/dist/{chunk-HS75MCQF.js.map → chunk-WUUGE7QC.js.map} +0 -0
  266. /package/dist/{chunk-MVMNEU65.js.map → chunk-X25NTN3W.js.map} +0 -0
  267. /package/dist/{chunk-IC3PM3YO.js.map → chunk-XFXVIXDI.js.map} +0 -0
  268. /package/dist/{chunk-ML5FW2RO.js.map → chunk-XHDQQ2TT.js.map} +0 -0
  269. /package/dist/{chunk-XUKUMBP3.js.map → chunk-XRUOO7OT.js.map} +0 -0
  270. /package/dist/{chunk-AYP2FZFA.js.map → chunk-YIIW2OH2.js.map} +0 -0
  271. /package/dist/{chunk-FO6IK4IF.js.map → chunk-YJJMJH6J.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  getOperation,
4
4
  operationRequiresAuthorizedNamespace,
5
5
  operationUsesPrincipalNamespace
6
- } from "./chunk-OQZYHCWM.js";
6
+ } from "./chunk-2G2CVN2T.js";
7
7
  import {
8
8
  assertOperationAuthorizationAllowed
9
9
  } from "./chunk-MZWSOLMT.js";
@@ -60,4 +60,4 @@ export {
60
60
  authorizationProbeNamespaces,
61
61
  authorizationProbeRequiresPrincipalNamespace
62
62
  };
63
- //# sourceMappingURL=chunk-XTMABIFW.js.map
63
+ //# sourceMappingURL=chunk-BULK6DGB.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-765K3SAT.js";
4
4
  import {
5
5
  encryptCapsuleFile
6
- } from "./chunk-X7Y7WX73.js";
6
+ } from "./chunk-DQEMWVMT.js";
7
7
  import {
8
8
  computeTransferOutputRel,
9
9
  isTransferPathExcluded
@@ -109,4 +109,4 @@ async function enforceRetention(outDirAbs, retentionDays) {
109
109
  export {
110
110
  backupMemoryDir
111
111
  };
112
- //# sourceMappingURL=chunk-2NLLXCJG.js.map
112
+ //# sourceMappingURL=chunk-BXLOS5AJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveCorpusNamespaceRoots
3
- } from "./chunk-ZUNYFDI4.js";
3
+ } from "./chunk-JGPG5UHM.js";
4
4
  import {
5
5
  capabilityAllowsNamespace
6
6
  } from "./chunk-MZWSOLMT.js";
@@ -200,4 +200,4 @@ async function readAggregateExtractionWatermark(options) {
200
200
  export {
201
201
  readAggregateExtractionWatermark
202
202
  };
203
- //# sourceMappingURL=chunk-PMLFPVYJ.js.map
203
+ //# sourceMappingURL=chunk-CKBA2MWS.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RFYAYKTD.js";
4
4
  import {
5
5
  appendRecallAuditEntry
6
- } from "./chunk-LBLXEFWK.js";
6
+ } from "./chunk-4MN27537.js";
7
7
 
8
8
  // src/access-audit.ts
9
9
  var AccessAuditAdapter = class {
@@ -62,4 +62,4 @@ var AccessAuditAdapter = class {
62
62
  export {
63
63
  AccessAuditAdapter
64
64
  };
65
- //# sourceMappingURL=chunk-TVVEYCNW.js.map
65
+ //# sourceMappingURL=chunk-DAOMWGO2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isGenericRecallExcludedPath
3
- } from "./chunk-2IVHOQRY.js";
3
+ } from "./chunk-2ERLN25A.js";
4
4
  import {
5
5
  normalizeProjectionPreview
6
6
  } from "./chunk-SCU65EZI.js";
@@ -209,4 +209,4 @@ export {
209
209
  browsePatternMatches,
210
210
  runMemoryBrowse
211
211
  };
212
- //# sourceMappingURL=chunk-E64HBW7M.js.map
212
+ //# sourceMappingURL=chunk-DLXBMXIB.js.map
@@ -246,4 +246,4 @@ export {
246
246
  decryptCapsuleFile,
247
247
  decryptCapsuleFileInMemory
248
248
  };
249
- //# sourceMappingURL=chunk-X7Y7WX73.js.map
249
+ //# sourceMappingURL=chunk-DQEMWVMT.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7T4TOGMS.js";
4
4
  import {
5
5
  defineOperation
6
- } from "./chunk-OQZYHCWM.js";
6
+ } from "./chunk-2G2CVN2T.js";
7
7
 
8
8
  // src/external-wiki-access.ts
9
9
  import { z } from "zod";
@@ -26,4 +26,4 @@ var externalWikiSearchOperation = defineOperation({
26
26
  export {
27
27
  externalWikiSearchOperation
28
28
  };
29
- //# sourceMappingURL=chunk-MQMZO23A.js.map
29
+ //# sourceMappingURL=chunk-DQSVGTKB.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SupportPassportError,
3
3
  getOperation
4
- } from "./chunk-OQZYHCWM.js";
4
+ } from "./chunk-2G2CVN2T.js";
5
5
  import {
6
6
  abortError,
7
7
  isAbortError
@@ -499,4 +499,4 @@ export {
499
499
  buildSupportPassportPublicRequestHandler,
500
500
  composeSupportPassportExternalRequestHandlers
501
501
  };
502
- //# sourceMappingURL=chunk-X6B2QWXW.js.map
502
+ //# sourceMappingURL=chunk-DX63RFDJ.js.map
@@ -16,14 +16,14 @@ import {
16
16
  normalizeActionIntent,
17
17
  sanitizePayloadString
18
18
  } from "./chunk-IWO6QXWJ.js";
19
+ import {
20
+ parseSubjectRuntimeConfig
21
+ } from "./chunk-WIKO4SCR.js";
19
22
  import {
20
23
  parseRecallStandingBlock,
21
24
  parseStandingBlockFreshDays,
22
25
  parseStandingBlockMaxChars
23
26
  } from "./chunk-LI4APB6M.js";
24
- import {
25
- parseSubjectRuntimeConfig
26
- } from "./chunk-WIKO4SCR.js";
27
27
  import {
28
28
  cloneDefaultSessionObserverBands
29
29
  } from "./chunk-Z5LAYHGJ.js";
@@ -4852,4 +4852,4 @@ export {
4852
4852
  VALID_MEMORY_CATEGORIES,
4853
4853
  parseConfig
4854
4854
  };
4855
- //# sourceMappingURL=chunk-OLJYDGGP.js.map
4855
+ //# sourceMappingURL=chunk-EBJL6HGR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseEntityFile
3
- } from "./chunk-D2XUSZ24.js";
3
+ } from "./chunk-RIP2AOZW.js";
4
4
  import {
5
5
  inferMemoryStatus
6
6
  } from "./chunk-7RJUVTVF.js";
@@ -253,4 +253,4 @@ export {
253
253
  WHO_KNOWS_MCP_TOOLS,
254
254
  handleWhoKnowsHttpQuery
255
255
  };
256
- //# sourceMappingURL=chunk-KOEDSRF5.js.map
256
+ //# sourceMappingURL=chunk-ETNC6TT6.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  hasMemoryData
3
- } from "./chunk-JTPAXDSX.js";
3
+ } from "./chunk-6ZMIASYT.js";
4
4
  import {
5
5
  resolveNamespaceStorageRoot
6
- } from "./chunk-42BV46XS.js";
6
+ } from "./chunk-T73ZC7C5.js";
7
7
  import {
8
8
  getConfiguredNamespaces
9
9
  } from "./chunk-OQQXGYMX.js";
@@ -724,4 +724,4 @@ export {
724
724
  runNamespaceMaintenancePlan,
725
725
  runNamespaceMaintenanceBatchPlan
726
726
  };
727
- //# sourceMappingURL=chunk-SRMBMMTK.js.map
727
+ //# sourceMappingURL=chunk-HEKWNWNL.js.map
@@ -318,4 +318,4 @@ export {
318
318
  readProjectedHarmonicGraph,
319
319
  searchHarmonicRetrieval
320
320
  };
321
- //# sourceMappingURL=chunk-UI6R2YUB.js.map
321
+ //# sourceMappingURL=chunk-IGDEKECC.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-PIWFNPQT.js";
8
8
  import {
9
9
  StorageManager
10
- } from "./chunk-D2XUSZ24.js";
10
+ } from "./chunk-RIP2AOZW.js";
11
11
  import {
12
12
  projectProceduresToSkills
13
13
  } from "./chunk-236PXYG7.js";
@@ -134,4 +134,4 @@ export {
134
134
  runCodexMaterialize,
135
135
  runPostConsolidationMaterialize
136
136
  };
137
- //# sourceMappingURL=chunk-MECKA6G2.js.map
137
+ //# sourceMappingURL=chunk-ISA5U5AP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  listNamespaces
3
- } from "./chunk-6525YIYL.js";
3
+ } from "./chunk-SMI2G3MA.js";
4
4
  import {
5
5
  capabilityAllowsNamespace
6
6
  } from "./chunk-MZWSOLMT.js";
@@ -282,4 +282,4 @@ export {
282
282
  computeServiceCorpusWatermarks,
283
283
  computeServiceCorpusCensus
284
284
  };
285
- //# sourceMappingURL=chunk-ZUNYFDI4.js.map
285
+ //# sourceMappingURL=chunk-JGPG5UHM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseFrontmatter
3
- } from "./chunk-D2XUSZ24.js";
3
+ } from "./chunk-RIP2AOZW.js";
4
4
  import {
5
5
  activityDigestPath,
6
6
  isValidActivityDate
@@ -199,4 +199,4 @@ export {
199
199
  buildStandup,
200
200
  standupHelp
201
201
  };
202
- //# sourceMappingURL=chunk-C3PKRFZ4.js.map
202
+ //# sourceMappingURL=chunk-JXSOB3SA.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  WearablesInputError
3
3
  } from "./chunk-V7IZKJI3.js";
4
- import {
5
- AdapterRegistry
6
- } from "./chunk-Q4AUIFUA.js";
7
4
  import {
8
5
  WriteRateLimiter
9
6
  } from "./chunk-TB6CBZ5V.js";
7
+ import {
8
+ AdapterRegistry
9
+ } from "./chunk-Q4AUIFUA.js";
10
10
  import {
11
11
  maybeRespondRecallNavigation
12
12
  } from "./chunk-QZ4U67KO.js";
@@ -18,13 +18,13 @@ import {
18
18
  } from "./chunk-3HSRWJTC.js";
19
19
  import {
20
20
  respondDeepRecall
21
- } from "./chunk-3UQIS2GC.js";
21
+ } from "./chunk-TTFJQ5B5.js";
22
22
  import {
23
23
  handleSupportPassportOwnerHttp
24
- } from "./chunk-ML5FW2RO.js";
24
+ } from "./chunk-XHDQQ2TT.js";
25
25
  import {
26
26
  buildSupportPassportPublicRequestHandler
27
- } from "./chunk-X6B2QWXW.js";
27
+ } from "./chunk-DX63RFDJ.js";
28
28
  import {
29
29
  handleMcpGetSse
30
30
  } from "./chunk-SRT6SHVZ.js";
@@ -37,10 +37,10 @@ import {
37
37
  processChatMessage,
38
38
  sessionBelongsToPrincipal,
39
39
  subscribeChatTranscript
40
- } from "./chunk-4FWNMN5R.js";
40
+ } from "./chunk-QRSC37NC.js";
41
41
  import {
42
42
  RelayMissionStoreError
43
- } from "./chunk-QZDUNK6V.js";
43
+ } from "./chunk-UP3226JC.js";
44
44
  import {
45
45
  executeResolution,
46
46
  isValidResolutionVerb
@@ -62,10 +62,10 @@ import {
62
62
  optionalNamespaceKindQueryParam,
63
63
  optionalQueryString,
64
64
  positiveIntQueryParam
65
- } from "./chunk-EZV43XBD.js";
65
+ } from "./chunk-6Z4OLQUO.js";
66
66
  import {
67
67
  respondBriefingHttp
68
- } from "./chunk-QSP4Y73Q.js";
68
+ } from "./chunk-LX7KIJQF.js";
69
69
  import {
70
70
  maybeHandleLifecycleFlush
71
71
  } from "./chunk-TIDEL77O.js";
@@ -76,14 +76,14 @@ import {
76
76
  authorizationProbeNamespaces,
77
77
  authorizationProbeRequiresPrincipalNamespace,
78
78
  probeOperationAuthorization
79
- } from "./chunk-XTMABIFW.js";
79
+ } from "./chunk-BULK6DGB.js";
80
80
  import {
81
81
  getOperation,
82
82
  resolveQueryNamespaceWritablePreflight
83
- } from "./chunk-OQZYHCWM.js";
83
+ } from "./chunk-2G2CVN2T.js";
84
84
  import {
85
85
  handleWhoKnowsHttpQuery
86
- } from "./chunk-KOEDSRF5.js";
86
+ } from "./chunk-ETNC6TT6.js";
87
87
  import {
88
88
  isTrustZoneName
89
89
  } from "./chunk-ROBHL3GL.js";
@@ -98,7 +98,7 @@ import {
98
98
  } from "./chunk-QLK3SL7Q.js";
99
99
  import {
100
100
  validateRequest
101
- } from "./chunk-AYP2FZFA.js";
101
+ } from "./chunk-YIIW2OH2.js";
102
102
  import {
103
103
  peerManifestRevision
104
104
  } from "./chunk-S3YM4SZQ.js";
@@ -3599,4 +3599,4 @@ export {
3599
3599
  resolveDefaultAdminConsolePublicDir,
3600
3600
  EngramAccessHttpServer
3601
3601
  };
3602
- //# sourceMappingURL=chunk-56C7OO3N.js.map
3602
+ //# sourceMappingURL=chunk-KAPYPTPS.js.map
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  listMemoryGovernanceRuns,
9
9
  readMemoryGovernanceRunArtifact
10
- } from "./chunk-D7QX26FF.js";
10
+ } from "./chunk-O4JFBEUL.js";
11
11
  import {
12
12
  StorageManager
13
- } from "./chunk-D2XUSZ24.js";
13
+ } from "./chunk-RIP2AOZW.js";
14
14
  import {
15
15
  normalizeProjectionPreview,
16
16
  normalizeProjectionTags
@@ -1005,4 +1005,4 @@ export {
1005
1005
  verifyMemoryProjection,
1006
1006
  repairMemoryProjection
1007
1007
  };
1008
- //# sourceMappingURL=chunk-W6V7JN2E.js.map
1008
+ //# sourceMappingURL=chunk-KBHDV7P3.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  canonicalCategoryForAlias,
3
3
  categoryAliasCoercion
4
- } from "./chunk-AYP2FZFA.js";
4
+ } from "./chunk-YIIW2OH2.js";
5
5
 
6
6
  // src/access-observe-write-category.ts
7
7
  function splitCanonicalWriteRequest(request) {
@@ -22,4 +22,4 @@ function splitCanonicalWriteRequest(request) {
22
22
  export {
23
23
  splitCanonicalWriteRequest
24
24
  };
25
- //# sourceMappingURL=chunk-F5V7KRQS.js.map
25
+ //# sourceMappingURL=chunk-LIAKZGOY.js.map
@@ -1,3 +1,9 @@
1
+ import {
2
+ LcmSummarizer
3
+ } from "./chunk-KOLJJN5G.js";
4
+ import {
5
+ LcmArchive
6
+ } from "./chunk-WVP2I6C5.js";
1
7
  import {
2
8
  LcmDag
3
9
  } from "./chunk-7N4KAIGN.js";
@@ -11,12 +17,6 @@ import {
11
17
  ensureLcmStateDir,
12
18
  openLcmDatabase
13
19
  } from "./chunk-DDA47TES.js";
14
- import {
15
- LcmSummarizer
16
- } from "./chunk-KOLJJN5G.js";
17
- import {
18
- LcmArchive
19
- } from "./chunk-WVP2I6C5.js";
20
20
  import {
21
21
  nativeBindingRecoveryHint
22
22
  } from "./chunk-LD72P4YS.js";
@@ -573,4 +573,4 @@ export {
573
573
  extractLcmConfig,
574
574
  LcmEngine
575
575
  };
576
- //# sourceMappingURL=chunk-A7GQBJP5.js.map
576
+ //# sourceMappingURL=chunk-LVFI5LG7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getOperation
3
- } from "./chunk-OQZYHCWM.js";
3
+ } from "./chunk-2G2CVN2T.js";
4
4
  import {
5
5
  EngramAccessInputError
6
6
  } from "./chunk-2Z24E5W2.js";
@@ -21,4 +21,4 @@ async function respondBriefingHttp(options) {
21
21
  export {
22
22
  respondBriefingHttp
23
23
  };
24
- //# sourceMappingURL=chunk-QSP4Y73Q.js.map
24
+ //# sourceMappingURL=chunk-LX7KIJQF.js.map
@@ -69,6 +69,12 @@ function buildXraySnapshot(input) {
69
69
  if (peerProfileInjection !== void 0) {
70
70
  out.peerProfileInjection = peerProfileInjection;
71
71
  }
72
+ if (input.degradation && typeof input.degradation === "object") {
73
+ out.degradation = { ...input.degradation };
74
+ if (input.degradation.budget) {
75
+ out.degradation.budget = { ...input.degradation.budget };
76
+ }
77
+ }
72
78
  return out;
73
79
  }
74
80
  var RecallXrayBuilder = class {
@@ -306,4 +312,4 @@ export {
306
312
  RecallXrayBuilder,
307
313
  summarizeDisclosureTokens
308
314
  };
309
- //# sourceMappingURL=chunk-ECLY4NZA.js.map
315
+ //# sourceMappingURL=chunk-LZI6FWZW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/recall-xray.ts"],"sourcesContent":["/**\n * Recall X-ray snapshot schema (issue #570, PR 1).\n *\n * The X-ray surface is the unified, per-result attribution document that\n * merges the tier that served each memory, its score decomposition, any\n * graph path, an audit entry id, and the exact filter/eligibility ladder\n * that either admitted or rejected each candidate. This file defines the\n * schema and an in-memory builder + builder-state helper.\n *\n * Scope for PR 1 (this slice):\n * - Types only + pure builder functions (no IO, no rendering).\n * - Orchestrator plumbing captures a snapshot when the caller passes\n * `xrayCapture: true`. No behavior change when the flag is absent.\n * - NO new public surfaces here — CLI/HTTP/MCP land in later slices.\n *\n * The shared renderer lands in PR 2 at `recall-xray-renderer.ts`. Do not\n * fork formatting logic into other surfaces; extend the renderer.\n */\n\nimport { randomUUID } from \"node:crypto\";\n\nimport { normalizeRetrievedMemoryProvenance, type RetrievedMemoryProvenance } from \"./memory-provenance.js\";\nimport { estimateTokenCount } from \"./token-estimate.js\";\nimport type { RecallDisclosure, RecallTierExplain } from \"./types.js\";\nimport type { StateLabel } from \"./recall-state-view.js\";\nimport { isRecallDisclosure } from \"./types.js\";\nimport type { RecallContextDegradation } from \"./recall-context-composition.js\";\n\n/**\n * Estimate token cost of a payload for X-ray disclosure accounting.\n */\nexport function estimateRecallTokens(text: string | null | undefined): number {\n if (typeof text !== \"string\" || text.length === 0) return 0;\n return estimateTokenCount(text);\n}\n\n/**\n * Aggregated per-disclosure token spend summary, computed by the\n * renderer from a snapshot's results. Non-negative integers.\n */\nexport interface RecallXrayDisclosureSummary {\n chunk: { count: number; estimatedTokens: number };\n section: { count: number; estimatedTokens: number };\n raw: { count: number; estimatedTokens: number };\n /** Number of results without a recorded disclosure level. */\n unspecified: { count: number; estimatedTokens: number };\n}\n\n/**\n * Which retrieval source produced a given result. This is the X-ray\n * tier ladder called out in issue #570 and is *distinct* from the\n * `RetrievalTier` enum (which describes issue #518's tier-explain\n * block). Keeping the sets separate lets the two observability\n * surfaces evolve without conflating their vocabularies:\n *\n * - `RetrievalTier` — direct-answer eligibility ladder.\n * - `RecallXrayServedBy` — which source materialized each result.\n */\nexport type RecallXrayServedBy =\n | \"direct-answer\"\n | \"hybrid\"\n | \"graph\"\n | \"recent-scan\"\n | \"procedural\"\n | \"review-context\"\n | \"lcm-file-parts\"\n | \"lcm-tool-parts\";\n\nexport const RECALL_XRAY_SERVED_BY_VALUES: readonly RecallXrayServedBy[] = [\n \"direct-answer\",\n \"hybrid\",\n \"graph\",\n \"recent-scan\",\n \"procedural\",\n \"review-context\",\n \"lcm-file-parts\",\n \"lcm-tool-parts\",\n] as const;\n\nexport function isRecallXrayServedBy(\n value: unknown,\n): value is RecallXrayServedBy {\n return (\n typeof value === \"string\" &&\n (RECALL_XRAY_SERVED_BY_VALUES as readonly string[]).includes(value)\n );\n}\n\n/**\n * Score decomposition for a single X-ray result.\n *\n * All fields are optional because different tiers populate different\n * terms: `hybrid` reports vector + bm25 + mmr penalty, `direct-answer`\n * reports importance + tier prior, etc. The only guaranteed field is\n * `final`, which is the post-combination score used for ordering.\n */\nexport interface RecallXrayScoreDecomposition {\n vector?: number;\n bm25?: number;\n importance?: number;\n mmrPenalty?: number;\n tierPrior?: number;\n /** Additive boost from `reinforcement_count` frontmatter (issue #687 PR 3/4). */\n reinforcementBoost?: number;\n final: number;\n}\n\n/**\n * Per-result breakdown inside an X-ray snapshot.\n */\nexport interface RecallXrayResult {\n memoryId: string;\n path: string;\n servedBy: RecallXrayServedBy;\n scoreDecomposition: RecallXrayScoreDecomposition;\n graphPath?: string[];\n /**\n * Issue #681 PR 3/3 — per-edge confidence values aligned with\n * `graphPath`. When present, `graphEdgeConfidences[i]` is the\n * confidence of the edge between `graphPath[i]` and `graphPath[i+1]`,\n * so the array length is one less than `graphPath`. Legacy edges\n * without a recorded confidence render as `1.0`. Operators use this\n * to attribute floor-pruning and PageRank ranking decisions back to\n * specific edges. The renderer drops the line when the array is\n * empty or absent so legacy snapshots round-trip cleanly.\n */\n graphEdgeConfidences?: number[];\n /** Graph activation node ids recorded for path-scoring provenance. */\n pathNodeIds?: string[];\n /** True when a graph path penalty was applied. */\n pathPenaltyApplied?: boolean;\n auditEntryId?: string;\n /** Human-readable list of filters the candidate *passed*. */\n admittedBy: string[];\n /**\n * First filter that *would have* rejected the candidate, or undefined\n * when the candidate was admitted without a rejection trace. When\n * present, `admittedBy` may still contain filters the candidate passed\n * before the rejecting gate; consumers should render both.\n */\n rejectedBy?: string;\n /**\n * Disclosure depth used to render this result's payload (issue #677\n * PR 3/4). Mirrors the per-result disclosure already exposed in the\n * recall response so X-ray consumers can attribute token spend to\n * the depth that produced it.\n */\n disclosure?: RecallDisclosure;\n /**\n * Estimated token cost of the rendered payload at the chosen\n * disclosure depth. Non-negative integer. Computed by callers via\n * `estimateRecallTokens(text)`; the renderer aggregates these into\n * a per-disclosure summary so operators can see where their budget\n * went.\n */\n estimatedTokens?: number;\n /**\n * Free-form tags from the memory's YAML frontmatter (issue #689 PR 3/3).\n * Populated by the X-ray capture path when the caller passes a `tags`\n * filter so per-result tags are available alongside the filter trace\n * in `snapshot.filters`. Also populated without a filter when the\n * orchestrator decorates results via `xrayCapture: true` so all X-ray\n * consumers can inspect memory labels without a separate storage read.\n * Absent (not `[]`) when the frontmatter has no tags or the memory\n * could not be read.\n */\n tags?: string[];\n /**\n * Per-result memory provenance and safety context. Populated by recall\n * capture when the memory frontmatter was already loaded by retrieval.\n */\n provenance?: RetrievedMemoryProvenance;\n /**\n * Claim-level provenance span (issue #1575 PR 3). The first source excerpt\n * backing this memory, surfaced so X-ray consumers can see the literal\n * utterance each fact derives from alongside retrieval provenance. Absent\n * when the memory carries no source spans (legacy or `provenance: \"none\"`).\n */\n sourceSpan?: {\n /** Verbatim quote excerpt (capped at write time by `provenance.maxQuoteChars`). */\n quote: string;\n /** ISO timestamp of the source turn. */\n observedAt: string;\n /** Coarse strength tag from the frontmatter. */\n provenance: \"verified\" | \"unverified\" | \"none\";\n };\n /**\n * Issue #1577 — per-result trust score, band, and components from the\n * unified TrustScore recall stage. Present when `trustScoreEnabled` is on.\n * Quarantined items appear here with `quarantined: true` and a reason so\n * exclusion never looks like \"no result\" (rule 34).\n */\n trust?: {\n score: number;\n band: \"high\" | \"medium\" | \"low\" | \"quarantine\";\n components: Record<string, { value: number; weight: number }>;\n multiplier: number;\n quarantined: boolean;\n quarantineReason?: string;\n };\n /**\n * #1952 — recall state-view label for this result (`current`,\n * `historical`, or `transition`). Present only when state views were\n * active for the recall AND the result was annotated at the inject\n * seam; absent otherwise, so legacy snapshots round-trip unchanged.\n */\n stateView?: StateLabel;\n}\n\n/**\n * Trace entry for a filter the orchestrator evaluated during recall.\n * Captures the name of the filter, how many candidates it saw, and how\n * many it let through. Used by X-ray consumers to render the filter\n * ladder above the per-result breakdown.\n */\nexport interface RecallFilterTrace {\n name: string;\n considered: number;\n admitted: number;\n /** Optional human-readable reason for any rejections. */\n reason?: string;\n}\n\n/**\n * Peer-profile injection annotation (issue #679 completion).\n *\n * When `peerProfileRecallEnabled` is true and a peer is registered for\n * the session, the orchestrator injects a `## Peer Profile` section into\n * the recall context. This annotation records which peer was injected and\n * how many profile fields were included so operators can correlate\n * retrieval quality with peer-context enrichment.\n *\n * `null` means no peer profile was injected (peer not registered, feature\n * disabled, or peer has no profile fields).\n */\nexport interface RecallXrayPeerProfileInjection {\n /** The peer id whose profile was injected. */\n peerId: string;\n /**\n * Number of profile fields included after the `peerProfileRecallMaxFields`\n * cap was applied. Zero means the profile existed but had no fields.\n */\n fieldsInjected: number;\n}\n\n/**\n * The unified X-ray snapshot. CLI, HTTP, and MCP surfaces all render\n * this same shape through the shared renderer (CLAUDE.md rule 22).\n */\nexport interface RecallXraySnapshot {\n /** Stable v1 tag so downstream consumers can version-gate their parsers. */\n schemaVersion: \"1\";\n query: string;\n /** UUID minted per capture; unique across snapshots within a process. */\n snapshotId: string;\n /** Epoch milliseconds the snapshot was captured. */\n capturedAt: number;\n /**\n * Tier-explain block from issue #518, carried verbatim when present.\n * `null` means direct-answer tier did not run (disabled, or another\n * tier served the query).\n */\n tierExplain: RecallTierExplain | null;\n results: RecallXrayResult[];\n appliedResultLimit: number;\n appliedResults: RecallXrayResult[];\n headroomResults: RecallXrayResult[];\n filters: RecallFilterTrace[];\n /**\n * Character budget accounting for the final assembled recall payload.\n * `used` is the rendered-context length; `chars` is the cap. Both are\n * non-negative integers in `[0, 2**31)`.\n */\n budget: { chars: number; used: number };\n /** Optional session-scope fields carried for downstream filtering. */\n sessionKey?: string;\n namespace?: string;\n traceId?: string;\n /**\n * Peer-profile injection metadata (issue #679 completion).\n * Non-null when `peerProfileRecallEnabled` is true and a peer profile\n * was successfully injected into this recall's context. `null` (or\n * absent) means no peer profile was injected.\n */\n peerProfileInjection?: RecallXrayPeerProfileInjection | null;\n /**\n * Injected-context degradation (#2972). Absent on a healthy recall so\n * the snapshot stays byte-stable. Budget warnings ride here, never\n * in the injected text.\n */\n degradation?: RecallContextDegradation;\n}\n\n// ─── Builder ──────────────────────────────────────────────────────────────\n\nexport interface BuildXraySnapshotInput {\n query: string;\n tierExplain?: RecallTierExplain | null;\n results?: RecallXrayResult[];\n appliedResultLimit?: number;\n appliedResults?: RecallXrayResult[];\n headroomResults?: RecallXrayResult[];\n filters?: RecallFilterTrace[];\n budget?: { chars?: number; used?: number };\n sessionKey?: string;\n namespace?: string;\n traceId?: string;\n /** Peer-profile injection metadata (issue #679 completion). */\n peerProfileInjection?: RecallXrayPeerProfileInjection | null;\n /** Injected-context degradation (#2972). Omit on a healthy recall. */\n degradation?: RecallContextDegradation;\n /** Optional injected timestamp for deterministic tests. */\n now?: () => number;\n /** Optional injected id generator for deterministic tests. */\n snapshotIdGenerator?: () => string;\n}\n\n/**\n * Build a `RecallXraySnapshot` from explicit input fields. Pure\n * function; safe to call from anywhere. All array/object inputs are\n * shallow-copied so caller mutation after build cannot tear the\n * returned snapshot.\n */\nexport function buildXraySnapshot(\n input: BuildXraySnapshotInput,\n): RecallXraySnapshot {\n const now = input.now ?? Date.now;\n const snapshotIdGenerator = input.snapshotIdGenerator ?? randomUUID;\n\n const results = Array.isArray(input.results)\n ? input.results.map(cloneResult)\n : [];\n const appliedResults = Array.isArray(input.appliedResults)\n ? input.appliedResults.map(cloneResult)\n : [];\n const headroomResults = Array.isArray(input.headroomResults)\n ? input.headroomResults.map(cloneResult)\n : [];\n const filters = Array.isArray(input.filters)\n ? input.filters.map(cloneFilter)\n : [];\n\n const budgetChars = nonNegativeInt(input.budget?.chars);\n const budgetUsed = nonNegativeInt(input.budget?.used);\n\n const tierExplain =\n input.tierExplain && typeof input.tierExplain === \"object\"\n ? cloneTierExplain(input.tierExplain)\n : null;\n\n // Peer-profile injection annotation (issue #679 completion).\n // Deep-copy via structuredClone so the caller can't mutate the snapshot\n // after build. Accept null explicitly (no injection) or a valid object.\n let peerProfileInjection: RecallXrayPeerProfileInjection | null | undefined;\n if (input.peerProfileInjection && typeof input.peerProfileInjection === \"object\") {\n const raw = input.peerProfileInjection;\n const peerId = nonEmptyString(raw.peerId);\n if (peerId !== undefined) {\n peerProfileInjection = {\n peerId,\n fieldsInjected: nonNegativeInt(raw.fieldsInjected),\n };\n }\n } else if (input.peerProfileInjection === null) {\n peerProfileInjection = null;\n }\n\n const out: RecallXraySnapshot = {\n schemaVersion: \"1\",\n query: typeof input.query === \"string\" ? input.query : \"\",\n snapshotId: snapshotIdGenerator(),\n capturedAt: now(),\n tierExplain,\n results,\n appliedResultLimit: nonNegativeInt(input.appliedResultLimit),\n appliedResults,\n headroomResults,\n filters,\n budget: { chars: budgetChars, used: budgetUsed },\n sessionKey: nonEmptyString(input.sessionKey),\n namespace: nonEmptyString(input.namespace),\n traceId: nonEmptyString(input.traceId),\n };\n if (peerProfileInjection !== undefined) {\n out.peerProfileInjection = peerProfileInjection;\n }\n if (input.degradation && typeof input.degradation === \"object\") {\n out.degradation = { ...input.degradation };\n if (input.degradation.budget) {\n out.degradation.budget = { ...input.degradation.budget };\n }\n }\n return out;\n}\n\n/**\n * Mutable builder used by the orchestrator to accumulate X-ray fields\n * as recall progresses. Call `build()` to get the finalized\n * immutable-ish snapshot. All inputs are validated at insert time so\n * a malformed entry cannot poison the snapshot later.\n */\nexport class RecallXrayBuilder {\n private readonly query: string;\n private readonly sessionKey: string | undefined;\n private namespace: string | undefined;\n private traceId: string | undefined;\n private tierExplain: RecallTierExplain | null = null;\n private readonly results: RecallXrayResult[] = [];\n private readonly filters: RecallFilterTrace[] = [];\n private budgetChars = 0;\n private budgetUsed = 0;\n private peerProfileInjection: RecallXrayPeerProfileInjection | null | undefined;\n\n constructor(opts: {\n query: string;\n sessionKey?: string;\n namespace?: string;\n traceId?: string;\n }) {\n this.query = typeof opts.query === \"string\" ? opts.query : \"\";\n this.sessionKey = nonEmptyString(opts.sessionKey);\n this.namespace = nonEmptyString(opts.namespace);\n this.traceId = nonEmptyString(opts.traceId);\n }\n\n setNamespace(namespace: string | undefined): void {\n this.namespace = nonEmptyString(namespace);\n }\n\n setTraceId(traceId: string | undefined): void {\n this.traceId = nonEmptyString(traceId);\n }\n\n setTierExplain(tierExplain: RecallTierExplain | null | undefined): void {\n this.tierExplain =\n tierExplain && typeof tierExplain === \"object\"\n ? cloneTierExplain(tierExplain)\n : null;\n }\n\n setBudget(budget: { chars?: number; used?: number }): void {\n this.budgetChars = nonNegativeInt(budget.chars);\n this.budgetUsed = nonNegativeInt(budget.used);\n }\n\n /**\n * Record peer-profile injection metadata for this recall snapshot\n * (issue #679 completion). Pass `null` to explicitly record that no\n * injection happened (feature enabled but no peer / no profile fields).\n */\n setPeerProfileInjection(\n injection: RecallXrayPeerProfileInjection | null,\n ): void {\n this.peerProfileInjection = injection;\n }\n\n recordResult(result: RecallXrayResult): void {\n this.results.push(cloneResult(result));\n }\n\n recordFilter(filter: RecallFilterTrace): void {\n this.filters.push(cloneFilter(filter));\n }\n\n build(opts: {\n now?: () => number;\n snapshotIdGenerator?: () => string;\n } = {}): RecallXraySnapshot {\n return buildXraySnapshot({\n query: this.query,\n tierExplain: this.tierExplain,\n results: this.results,\n filters: this.filters,\n budget: { chars: this.budgetChars, used: this.budgetUsed },\n sessionKey: this.sessionKey,\n namespace: this.namespace,\n traceId: this.traceId,\n peerProfileInjection: this.peerProfileInjection,\n now: opts.now,\n snapshotIdGenerator: opts.snapshotIdGenerator,\n });\n }\n}\n\n// ─── Internals ────────────────────────────────────────────────────────────\n\nfunction cloneResult(result: RecallXrayResult): RecallXrayResult {\n if (!result || typeof result !== \"object\") {\n throw new TypeError(\"RecallXrayResult must be an object\");\n }\n if (!isRecallXrayServedBy(result.servedBy)) {\n throw new TypeError(\n `RecallXrayResult.servedBy must be one of ${RECALL_XRAY_SERVED_BY_VALUES.join(\n \", \",\n )}; got ${JSON.stringify(result.servedBy)}`,\n );\n }\n const memoryId = typeof result.memoryId === \"string\" ? result.memoryId : \"\";\n const path = typeof result.path === \"string\" ? result.path : \"\";\n const admittedBy = Array.isArray(result.admittedBy)\n ? result.admittedBy.filter((x): x is string => typeof x === \"string\")\n : [];\n const graphPath = Array.isArray(result.graphPath)\n ? result.graphPath.filter((x): x is string => typeof x === \"string\")\n : undefined;\n // Issue #681 PR 3/3 — per-edge confidences alongside graph path.\n // Each entry is clamped into [0, 1]; the array is rejected wholesale\n // when alignment cannot be verified so downstream surfaces can rely\n // on `graphEdgeConfidences[i]` describing the edge between\n // `graphPath[i]` and `graphPath[i+1]`.\n //\n // Cursor review (#735): the input array length MUST match\n // `graphPath.length - 1` *before* any per-element filtering. The\n // earlier implementation skipped non-finite entries via `continue`\n // and then length-checked the cleaned array — that would silently\n // shift surviving values to earlier positions. Example: input\n // `[0.5, NaN, 0.7]` for a 3-edge path would collapse to\n // `[0.5, 0.7]`, length-check would pass against `expected = 2`, and\n // the renderer would mis-attribute `0.7` to edge B→C when it really\n // came from edge C→D. Reject on either size mismatch or any\n // non-finite entry so misalignment is impossible.\n let graphEdgeConfidences: number[] | undefined;\n if (Array.isArray(result.graphEdgeConfidences) && graphPath && graphPath.length > 1) {\n const expected = graphPath.length - 1;\n const raw = result.graphEdgeConfidences;\n if (raw.length === expected) {\n const cleaned: number[] = [];\n let allFinite = true;\n for (const value of raw) {\n if (typeof value !== \"number\" || !Number.isFinite(value)) {\n allFinite = false;\n break;\n }\n cleaned.push(Math.min(1, Math.max(0, value)));\n }\n if (allFinite) {\n graphEdgeConfidences = cleaned;\n }\n }\n }\n const pathNodeIds = Array.isArray(result.pathNodeIds)\n ? result.pathNodeIds.filter((x): x is string => typeof x === \"string\")\n : undefined;\n const pathPenaltyApplied =\n typeof result.pathPenaltyApplied === \"boolean\"\n ? result.pathPenaltyApplied\n : undefined;\n const stateView =\n result.stateView === \"current\" || result.stateView === \"historical\" || result.stateView === \"transition\"\n ? result.stateView\n : undefined;\n const auditEntryId = nonEmptyString(result.auditEntryId);\n const rejectedBy = nonEmptyString(result.rejectedBy);\n const scoreDecomposition = cloneScoreDecomposition(result.scoreDecomposition);\n const out: RecallXrayResult = {\n memoryId,\n path,\n servedBy: result.servedBy,\n scoreDecomposition,\n admittedBy,\n };\n if (graphPath !== undefined) out.graphPath = graphPath;\n if (graphEdgeConfidences !== undefined) {\n out.graphEdgeConfidences = graphEdgeConfidences;\n }\n if (pathNodeIds !== undefined) out.pathNodeIds = pathNodeIds;\n if (pathPenaltyApplied !== undefined) out.pathPenaltyApplied = pathPenaltyApplied;\n if (stateView !== undefined) out.stateView = stateView;\n if (auditEntryId !== undefined) out.auditEntryId = auditEntryId;\n if (rejectedBy !== undefined) out.rejectedBy = rejectedBy;\n // Disclosure + token telemetry (issue #677 PR 3/4). Only attach when\n // present and well-formed; unknown disclosure values are dropped so a\n // bad caller can't poison downstream renderers. Uses the shared\n // `isRecallDisclosure` guard so adding a fourth disclosure level\n // requires touching only `types.ts`.\n if (isRecallDisclosure(result.disclosure)) {\n out.disclosure = result.disclosure;\n }\n if (\n typeof result.estimatedTokens === \"number\" &&\n Number.isFinite(result.estimatedTokens) &&\n result.estimatedTokens >= 0\n ) {\n out.estimatedTokens = Math.floor(result.estimatedTokens);\n }\n // Tags from frontmatter (issue #689 PR 3/3). Normalize identically to\n // the recall-surface path: trim and drop empty strings so consumers can\n // compare tags directly without a secondary normalization step.\n if (Array.isArray(result.tags)) {\n const cleanedTags = result.tags\n .filter((t): t is string => typeof t === \"string\")\n .map((t) => t.trim())\n .filter((t) => t.length > 0);\n if (cleanedTags.length > 0) {\n out.tags = cleanedTags;\n }\n }\n const provenance = normalizeRetrievedMemoryProvenance(result.provenance);\n if (provenance !== undefined) {\n out.provenance = provenance;\n }\n // Claim-level provenance span (#1575 PR 3). Deep-copy the three scalar\n // fields so the snapshot returned by getLastXraySnapshot is independent\n // of the caller's object (matches the structuredClone contract).\n const ss = result.sourceSpan;\n if (\n ss &&\n typeof ss.quote === \"string\" &&\n typeof ss.observedAt === \"string\" &&\n (ss.provenance === \"verified\" ||\n ss.provenance === \"unverified\" ||\n ss.provenance === \"none\")\n ) {\n out.sourceSpan = {\n quote: ss.quote,\n observedAt: ss.observedAt,\n provenance: ss.provenance,\n };\n }\n // Issue #1577 — preserve the trust projection through the clone so\n // getLastXraySnapshot surfaces trust score/band/quarantine reason (review\n // Oqg_o: cloneResult was silently dropping the field). Deep-copy the scalar +\n // record fields so the snapshot is independent of the caller's object,\n // matching the structuredClone contract used for every other field above.\n if (result.trust) {\n const t = result.trust;\n const components: Record<string, { value: number; weight: number }> = {};\n for (const [k, v] of Object.entries(t.components)) {\n components[k] = { value: v.value, weight: v.weight };\n }\n out.trust = {\n score: t.score,\n band: t.band,\n components,\n multiplier: t.multiplier,\n quarantined: t.quarantined,\n ...(t.quarantineReason ? { quarantineReason: t.quarantineReason } : {}),\n };\n }\n return out;\n}\n\n/**\n * Summarize per-disclosure token spend across an X-ray snapshot's\n * results. Pure helper — used by the markdown renderer to print a\n * \"per-disclosure token spend\" line and exposed for tests / surfaces.\n */\nexport function summarizeDisclosureTokens(\n results: ReadonlyArray<Pick<RecallXrayResult, \"disclosure\" | \"estimatedTokens\">>,\n): RecallXrayDisclosureSummary {\n const summary: RecallXrayDisclosureSummary = {\n chunk: { count: 0, estimatedTokens: 0 },\n section: { count: 0, estimatedTokens: 0 },\n raw: { count: 0, estimatedTokens: 0 },\n unspecified: { count: 0, estimatedTokens: 0 },\n };\n for (const result of results) {\n const tokens =\n typeof result.estimatedTokens === \"number\" &&\n Number.isFinite(result.estimatedTokens) &&\n result.estimatedTokens >= 0\n ? Math.floor(result.estimatedTokens)\n : 0;\n const bucket = isRecallDisclosure(result.disclosure)\n ? result.disclosure\n : \"unspecified\";\n summary[bucket].count += 1;\n summary[bucket].estimatedTokens += tokens;\n }\n return summary;\n}\n\nfunction cloneFilter(filter: RecallFilterTrace): RecallFilterTrace {\n if (!filter || typeof filter !== \"object\") {\n throw new TypeError(\"RecallFilterTrace must be an object\");\n }\n const out: RecallFilterTrace = {\n name: typeof filter.name === \"string\" ? filter.name : \"\",\n considered: nonNegativeInt(filter.considered),\n admitted: nonNegativeInt(filter.admitted),\n };\n const reason = nonEmptyString(filter.reason);\n if (reason !== undefined) out.reason = reason;\n return out;\n}\n\nfunction cloneScoreDecomposition(\n value: RecallXrayScoreDecomposition | undefined,\n): RecallXrayScoreDecomposition {\n if (!value || typeof value !== \"object\") {\n return { final: 0 };\n }\n const out: RecallXrayScoreDecomposition = {\n final: finiteNumber(value.final) ?? 0,\n };\n const vector = finiteNumber(value.vector);\n if (vector !== undefined) out.vector = vector;\n const bm25 = finiteNumber(value.bm25);\n if (bm25 !== undefined) out.bm25 = bm25;\n const importance = finiteNumber(value.importance);\n if (importance !== undefined) out.importance = importance;\n const mmrPenalty = finiteNumber(value.mmrPenalty);\n if (mmrPenalty !== undefined) out.mmrPenalty = mmrPenalty;\n const tierPrior = finiteNumber(value.tierPrior);\n if (tierPrior !== undefined) out.tierPrior = tierPrior;\n const reinforcementBoost = finiteNumber(value.reinforcementBoost);\n if (reinforcementBoost !== undefined && reinforcementBoost > 0) {\n out.reinforcementBoost = reinforcementBoost;\n }\n return out;\n}\n\nfunction cloneTierExplain(tierExplain: RecallTierExplain): RecallTierExplain {\n // Use structuredClone so future RecallTierExplain additions do not\n // silently share references through hand-enumerated fields. The\n // payload is JSON-shaped.\n return structuredClone(tierExplain);\n}\n\nfunction nonNegativeInt(value: unknown): number {\n if (typeof value !== \"number\" || !Number.isFinite(value)) return 0;\n if (value <= 0) return 0;\n return Math.floor(value);\n}\n\nfunction finiteNumber(value: unknown): number | undefined {\n if (typeof value !== \"number\" || !Number.isFinite(value)) return undefined;\n return value;\n}\n\nfunction nonEmptyString(value: unknown): string | undefined {\n if (typeof value !== \"string\") return undefined;\n const trimmed = value.trim();\n if (trimmed.length === 0) return undefined;\n return trimmed;\n}\n"],"mappings":";;;;;;;;;;;AAmBA,SAAS,kBAAkB;AAYpB,SAAS,qBAAqB,MAAyC;AAC5E,MAAI,OAAO,SAAS,YAAY,KAAK,WAAW,EAAG,QAAO;AAC1D,SAAO,mBAAmB,IAAI;AAChC;AAkCO,IAAM,+BAA8D;AAAA,EACzE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,SAAS,qBACd,OAC6B;AAC7B,SACE,OAAO,UAAU,YAChB,6BAAmD,SAAS,KAAK;AAEtE;AA6OO,SAAS,kBACd,OACoB;AACpB,QAAM,MAAM,MAAM,OAAO,KAAK;AAC9B,QAAM,sBAAsB,MAAM,uBAAuB;AAEzD,QAAM,UAAU,MAAM,QAAQ,MAAM,OAAO,IACvC,MAAM,QAAQ,IAAI,WAAW,IAC7B,CAAC;AACL,QAAM,iBAAiB,MAAM,QAAQ,MAAM,cAAc,IACrD,MAAM,eAAe,IAAI,WAAW,IACpC,CAAC;AACL,QAAM,kBAAkB,MAAM,QAAQ,MAAM,eAAe,IACvD,MAAM,gBAAgB,IAAI,WAAW,IACrC,CAAC;AACL,QAAM,UAAU,MAAM,QAAQ,MAAM,OAAO,IACvC,MAAM,QAAQ,IAAI,WAAW,IAC7B,CAAC;AAEL,QAAM,cAAc,eAAe,MAAM,QAAQ,KAAK;AACtD,QAAM,aAAa,eAAe,MAAM,QAAQ,IAAI;AAEpD,QAAM,cACJ,MAAM,eAAe,OAAO,MAAM,gBAAgB,WAC9C,iBAAiB,MAAM,WAAW,IAClC;AAKN,MAAI;AACJ,MAAI,MAAM,wBAAwB,OAAO,MAAM,yBAAyB,UAAU;AAChF,UAAM,MAAM,MAAM;AAClB,UAAM,SAAS,eAAe,IAAI,MAAM;AACxC,QAAI,WAAW,QAAW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C3B,MAAI,QAAQ,WAAW,EAAG,QAAO;AACjC,SAAO;AACT;","names":[]}
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS,
3
3
  SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES
4
- } from "./chunk-OQZYHCWM.js";
4
+ } from "./chunk-2G2CVN2T.js";
5
5
  import {
6
6
  SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH
7
7
  } from "./chunk-PWPIERBM.js";
@@ -343,4 +343,4 @@ export {
343
343
  parseSupportPassportModelJob,
344
344
  SupportPassportModelBridge
345
345
  };
346
- //# sourceMappingURL=chunk-4PXFLDMJ.js.map
346
+ //# sourceMappingURL=chunk-MNF6PTNL.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StorageManager
3
- } from "./chunk-D2XUSZ24.js";
3
+ } from "./chunk-RIP2AOZW.js";
4
4
  import {
5
5
  getCachedRuleMemories,
6
6
  setCachedRuleMemories
@@ -119,4 +119,4 @@ export {
119
119
  compareVerifiedSemanticRuleResults,
120
120
  searchVerifiedSemanticRules
121
121
  };
122
- //# sourceMappingURL=chunk-BOTSR5S3.js.map
122
+ //# sourceMappingURL=chunk-MYDA2GA2.js.map
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-IHOXK2I6.js";
24
24
  import {
25
25
  compareEntityTimestamps
26
- } from "./chunk-D2XUSZ24.js";
26
+ } from "./chunk-RIP2AOZW.js";
27
27
  import {
28
28
  normalizeEntityName
29
29
  } from "./chunk-YXZG5TVN.js";
@@ -918,4 +918,4 @@ export {
918
918
  entityIndexVersion,
919
919
  entityRecentTranscriptLookbackHours
920
920
  };
921
- //# sourceMappingURL=chunk-4SDO74N2.js.map
921
+ //# sourceMappingURL=chunk-NROI5XMG.js.map