@remnic/core 10.0.37 → 10.0.39

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 (440) hide show
  1. package/dist/access-admin-ops-surface.js +76 -76
  2. package/dist/access-audit.js +2 -2
  3. package/dist/access-authorization-probe.js +77 -77
  4. package/dist/access-boundary.js +76 -76
  5. package/dist/access-citation-namespace.js +2 -2
  6. package/dist/access-cli.js +165 -164
  7. package/dist/access-cli.js.map +1 -1
  8. package/dist/access-extraction-force-flush.js +76 -76
  9. package/dist/access-http-briefing.js +77 -77
  10. package/dist/access-http-query.js +78 -78
  11. package/dist/access-http.js +101 -101
  12. package/dist/access-identity-continuity-surface.js +76 -76
  13. package/dist/access-lcm-surface.js +76 -76
  14. package/dist/access-mcp.js +90 -90
  15. package/dist/access-namespace-preflight.js +76 -76
  16. package/dist/access-observe-write-category.js +15 -15
  17. package/dist/access-observe-write-surface.js +76 -76
  18. package/dist/access-offline-manifest.js +12 -12
  19. package/dist/access-operations-batch.js +80 -80
  20. package/dist/access-operations.js +87 -87
  21. package/dist/access-recall-concurrency.js +76 -76
  22. package/dist/access-recall-diagnostics.js +2 -2
  23. package/dist/access-recall-response.js +76 -76
  24. package/dist/access-recall-surface.js +76 -76
  25. package/dist/access-schema.js +10 -10
  26. package/dist/access-service.js +76 -76
  27. package/dist/access-surface-catalog.js +78 -78
  28. package/dist/active-recall.js +31 -31
  29. package/dist/adapters/index.js +4 -4
  30. package/dist/adapters/registry.js +2 -2
  31. package/dist/{auto-sync-R3XGJL5I.js → auto-sync-BNCBMU6H.js} +9 -9
  32. package/dist/briefing.js +21 -21
  33. package/dist/buffer-types.d.ts +59 -0
  34. package/dist/buffer-types.d.ts.map +1 -0
  35. package/dist/buffer-types.js +1 -0
  36. package/dist/buffer.d.ts +14 -22
  37. package/dist/buffer.d.ts.map +1 -1
  38. package/dist/buffer.js +11 -11
  39. package/dist/calibration.js +3 -3
  40. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-GWVG7LGC.js} +2 -2
  41. package/dist/causal-behavior.js +2 -2
  42. package/dist/causal-chain.js +2 -2
  43. package/dist/causal-consolidation.js +24 -24
  44. package/dist/causal-retrieval.js +2 -2
  45. package/dist/causal-trajectory-graph.js +2 -2
  46. package/dist/causal-trajectory.js +1 -1
  47. package/dist/{chunk-MH3LC7KB.js → chunk-22YJQTPN.js} +2 -2
  48. package/dist/{chunk-MKE5DP3S.js → chunk-23ZMQONL.js} +2 -2
  49. package/dist/{chunk-MGXFJOUR.js → chunk-2AV2U2SZ.js} +4 -4
  50. package/dist/{chunk-HJ3UTGIW.js → chunk-2JNBPOZ2.js} +3 -3
  51. package/dist/{chunk-EEOYF3IB.js → chunk-3RJDYZJE.js} +2 -2
  52. package/dist/{chunk-FBAHBFT5.js → chunk-4HJ2QK32.js} +2 -2
  53. package/dist/{chunk-UXXVOA4D.js → chunk-4LLV2N3R.js} +3 -3
  54. package/dist/{chunk-P5CUEB2Q.js → chunk-4QLKVZH6.js} +8 -8
  55. package/dist/{chunk-2RJO7VS4.js → chunk-4UT2NUAC.js} +2 -2
  56. package/dist/{chunk-R6TCM47S.js → chunk-5KZNWERU.js} +156 -143
  57. package/dist/chunk-5KZNWERU.js.map +1 -0
  58. package/dist/{chunk-MNDHKZZQ.js → chunk-5Q6CR65T.js} +2 -2
  59. package/dist/{chunk-XTBEXZFN.js → chunk-5SF7JOJB.js} +4 -4
  60. package/dist/{chunk-BQ6DGL6A.js → chunk-64WHWIPL.js} +2 -2
  61. package/dist/{chunk-TVIGN3XZ.js → chunk-6FRFVIKC.js} +10 -10
  62. package/dist/{chunk-A23DPFFI.js → chunk-6ITNEPJO.js} +2 -2
  63. package/dist/{chunk-UFBIOF7C.js → chunk-6X3J4NLZ.js} +10 -5
  64. package/dist/chunk-6X3J4NLZ.js.map +1 -0
  65. package/dist/{chunk-G6PPA4TH.js → chunk-6Z2ZWBOV.js} +6 -6
  66. package/dist/{chunk-QEGE5QCL.js → chunk-7IANFJ24.js} +58 -58
  67. package/dist/{chunk-PSQ2P2T3.js → chunk-7XZ7TOLQ.js} +3 -3
  68. package/dist/{chunk-Z5AQZRHF.js → chunk-AER3HD3B.js} +2 -2
  69. package/dist/{chunk-BPBUUGAO.js → chunk-ANV373S5.js} +2 -2
  70. package/dist/{chunk-GMMZ45C4.js → chunk-AVVCPA7U.js} +6 -8
  71. package/dist/chunk-AVVCPA7U.js.map +1 -0
  72. package/dist/{chunk-LSSCMZQ2.js → chunk-B3I2QQU7.js} +3 -3
  73. package/dist/{chunk-NSQSOLCE.js → chunk-B7VKRCAG.js} +2 -2
  74. package/dist/{chunk-HXFIILGF.js → chunk-BFPF5N3H.js} +4 -4
  75. package/dist/{chunk-KQAFEZQX.js → chunk-BUKK5SWA.js} +2 -2
  76. package/dist/{chunk-RBC4GIZU.js → chunk-BUKZ7MTN.js} +2 -2
  77. package/dist/{chunk-FO5AFCRI.js → chunk-CR72WZ3M.js} +9 -9
  78. package/dist/{chunk-YC2C67F7.js → chunk-CRXGQRNA.js} +3 -3
  79. package/dist/{chunk-WRDFYSUC.js → chunk-CZVNOTLR.js} +2 -2
  80. package/dist/{chunk-VPO53QMG.js → chunk-D6DOLQYK.js} +2 -2
  81. package/dist/{chunk-HRT2SJPC.js → chunk-E3NBMTTX.js} +2 -2
  82. package/dist/{chunk-HIMXDRSQ.js → chunk-E5IEI2MR.js} +2 -2
  83. package/dist/{chunk-Z2T5BPOZ.js → chunk-EIYJK7OD.js} +2 -2
  84. package/dist/{chunk-FRAL3EU4.js → chunk-EKPRLTAE.js} +2 -2
  85. package/dist/{chunk-EVVCE7S2.js → chunk-EKR6OO4P.js} +2 -2
  86. package/dist/{chunk-TYGLV6ZG.js → chunk-EYGOM6AI.js} +2 -2
  87. package/dist/{chunk-TYGLV6ZG.js.map → chunk-EYGOM6AI.js.map} +1 -1
  88. package/dist/{chunk-6R6CU3MR.js → chunk-F2IU6A2L.js} +57 -57
  89. package/dist/{chunk-FL6SLVAJ.js → chunk-FAKRTS3Y.js} +3 -3
  90. package/dist/{chunk-64IO6ZEE.js → chunk-FC3ZFEXF.js} +2 -2
  91. package/dist/{chunk-YGYT7S3G.js → chunk-FJ264QBP.js} +31 -9
  92. package/dist/chunk-FJ264QBP.js.map +1 -0
  93. package/dist/{chunk-DGBWPSM6.js → chunk-FLDXEJFX.js} +2 -2
  94. package/dist/{chunk-JH4FCVWJ.js → chunk-G6OFEGUR.js} +2 -2
  95. package/dist/{chunk-Z5QWUR3Y.js → chunk-GCW7UT5I.js} +2 -2
  96. package/dist/{chunk-ULUX6Q7R.js → chunk-GE5ZNDLE.js} +4 -4
  97. package/dist/{chunk-U4JXQCJ3.js → chunk-GLB6VV3J.js} +2 -2
  98. package/dist/{chunk-RWWYBE7E.js → chunk-GPVGAHXL.js} +3 -3
  99. package/dist/{chunk-3BPMYMPX.js → chunk-GSBSGT43.js} +2 -2
  100. package/dist/{chunk-645WOU5I.js → chunk-H7BZBSP6.js} +4 -4
  101. package/dist/{chunk-GFYFKXWZ.js → chunk-HUDPXTXW.js} +2 -2
  102. package/dist/{chunk-L2JQSG5M.js → chunk-I7TR2OCU.js} +2 -2
  103. package/dist/{chunk-HKEK27M4.js → chunk-IAOW2L6K.js} +2 -2
  104. package/dist/{chunk-STM4T335.js → chunk-IJH6METJ.js} +2 -2
  105. package/dist/{chunk-WADPRAZE.js → chunk-IZRNMXZC.js} +2 -2
  106. package/dist/{chunk-JWTUJVIF.js → chunk-JGS55BAS.js} +53 -2
  107. package/dist/chunk-JGS55BAS.js.map +1 -0
  108. package/dist/{chunk-LAQS5HYU.js → chunk-JM6U3SAE.js} +2 -2
  109. package/dist/{chunk-74AY3S7U.js → chunk-JNLYHJG7.js} +4 -4
  110. package/dist/{chunk-7ZBANI3M.js → chunk-JOOGPZJE.js} +2 -2
  111. package/dist/{chunk-V5RJCXLG.js → chunk-JORSMFL6.js} +6 -6
  112. package/dist/{chunk-VKTP3TZB.js → chunk-JQCP5QW3.js} +4 -4
  113. package/dist/{chunk-LRJKHXU4.js → chunk-JRTKYFFY.js} +2 -2
  114. package/dist/{chunk-UMFBHYPW.js → chunk-JT3IXJIL.js} +13 -13
  115. package/dist/{chunk-S53WZWGL.js → chunk-JZFJZLJY.js} +2 -2
  116. package/dist/{chunk-6QOL4G76.js → chunk-KQXRVELF.js} +2 -2
  117. package/dist/{chunk-USOXPN5H.js → chunk-L74NWAD4.js} +2 -2
  118. package/dist/{chunk-Y6Y3TRBN.js → chunk-LJXBFVI2.js} +4 -4
  119. package/dist/{chunk-3L5WH6CV.js → chunk-LPD6I2U6.js} +2 -2
  120. package/dist/{chunk-LDXS746V.js → chunk-LR7RW4T6.js} +3 -3
  121. package/dist/{chunk-FZVZYU5C.js → chunk-LXN737FX.js} +2 -2
  122. package/dist/{chunk-5U3NUHMA.js → chunk-MD3W2H3G.js} +301 -98
  123. package/dist/chunk-MD3W2H3G.js.map +1 -0
  124. package/dist/{chunk-ARFT6ZBE.js → chunk-MGYZENUY.js} +2 -2
  125. package/dist/{chunk-YQ6SLFNZ.js → chunk-MPJDQC4G.js} +3 -3
  126. package/dist/{chunk-5UWP5X3T.js → chunk-NJ2DZYEK.js} +2 -2
  127. package/dist/{chunk-MBMT5FUQ.js → chunk-O2O4FDAH.js} +2 -2
  128. package/dist/{chunk-GCVUBVEN.js → chunk-ODJ2HRFW.js} +10 -10
  129. package/dist/{chunk-2NLLXCJG.js → chunk-OWHERGF2.js} +2 -2
  130. package/dist/{chunk-I73ZSORJ.js → chunk-OXSTKCYK.js} +4 -4
  131. package/dist/{chunk-CNQQNYJ2.js → chunk-P3YUEPSQ.js} +2 -2
  132. package/dist/{chunk-A6PKEU7T.js → chunk-PARM6OYL.js} +1 -1
  133. package/dist/chunk-PARM6OYL.js.map +1 -0
  134. package/dist/{chunk-TPKB7T6Z.js → chunk-Q6UZREJK.js} +2 -2
  135. package/dist/{chunk-UJDTXWMT.js → chunk-QIMGULGN.js} +2 -2
  136. package/dist/{chunk-E24RUQEN.js → chunk-QNIYL5SK.js} +2 -2
  137. package/dist/{chunk-KOY25HUB.js → chunk-QYAXMXOB.js} +2 -2
  138. package/dist/{chunk-CU7WDDPV.js → chunk-RIAKNXZB.js} +4 -4
  139. package/dist/{chunk-UQWA5QDT.js → chunk-RO2NNWR5.js} +3 -3
  140. package/dist/{chunk-AYXRK264.js → chunk-RROFIAYI.js} +9 -9
  141. package/dist/{chunk-L46Y5FPE.js → chunk-RUAIO5UA.js} +2 -2
  142. package/dist/{chunk-QIC7YZ3D.js → chunk-RWW5KPIY.js} +18 -18
  143. package/dist/{chunk-E5PVMB3I.js → chunk-SDXBR5QO.js} +2 -2
  144. package/dist/{chunk-WSLNC5AL.js → chunk-SJHFU52W.js} +8 -8
  145. package/dist/{chunk-7PG7QBWD.js → chunk-SRPGA6WN.js} +2 -2
  146. package/dist/{chunk-CUWOSRCS.js → chunk-SUKPM6DV.js} +2 -2
  147. package/dist/{chunk-BBDASWNT.js → chunk-TJ5YGCPV.js} +81 -76
  148. package/dist/chunk-TJ5YGCPV.js.map +1 -0
  149. package/dist/{chunk-G2SRB62M.js → chunk-TTQYX7VU.js} +2 -2
  150. package/dist/{chunk-TDCR6PQL.js → chunk-TWRPWJJT.js} +2 -2
  151. package/dist/{chunk-KC5SVCUJ.js → chunk-U66CTIF5.js} +2 -2
  152. package/dist/{chunk-D2AKUKAQ.js → chunk-UIK3U36O.js} +2 -2
  153. package/dist/{chunk-XLEP7SS3.js → chunk-UMSH4I3E.js} +2 -2
  154. package/dist/{chunk-X7Y7WX73.js → chunk-UVYI6VIX.js} +1 -1
  155. package/dist/{chunk-LHBOFROT.js → chunk-V2XMG7GM.js} +2 -2
  156. package/dist/chunk-VA3GNAWQ.js +58 -0
  157. package/dist/chunk-VA3GNAWQ.js.map +1 -0
  158. package/dist/{chunk-NQOM6PHO.js → chunk-VCOCOBUS.js} +6 -6
  159. package/dist/{chunk-4P4VLPGB.js → chunk-VECRSYQG.js} +1 -1
  160. package/dist/{chunk-ID2PLENW.js → chunk-VHBGJAYC.js} +2 -2
  161. package/dist/{chunk-RVYXSS3Q.js → chunk-VIS23B6O.js} +8 -8
  162. package/dist/{chunk-NMKETOAX.js → chunk-VSHWPOUB.js} +2 -2
  163. package/dist/{chunk-UBN5AOLT.js → chunk-W5EO4USJ.js} +2 -2
  164. package/dist/{chunk-Y7427SL7.js → chunk-WCGJK4NQ.js} +4 -4
  165. package/dist/{chunk-CCYXCT4B.js → chunk-WQYS47G4.js} +2 -2
  166. package/dist/{chunk-JH2ALMPR.js → chunk-WR5POHQ3.js} +2 -2
  167. package/dist/{chunk-DK5VMJL3.js → chunk-WT2VVYBM.js} +2 -2
  168. package/dist/{chunk-EHIKY2IA.js → chunk-WU5WTCH5.js} +2 -2
  169. package/dist/{chunk-QKXPOLQD.js → chunk-WUBGMV3G.js} +6 -6
  170. package/dist/{chunk-O6YJI5VX.js → chunk-WUL6LDJ4.js} +2 -2
  171. package/dist/{chunk-5EILJ6W2.js → chunk-WXPBDEMW.js} +2 -2
  172. package/dist/{chunk-U7HJBODU.js → chunk-XKTHJHSQ.js} +5 -5
  173. package/dist/{chunk-JFI3ATK4.js → chunk-XMYWYJM2.js} +2 -2
  174. package/dist/{chunk-64S6X4IU.js → chunk-XTN54NML.js} +4 -4
  175. package/dist/{chunk-VGFNTY3Y.js → chunk-YFXRLRKP.js} +2 -2
  176. package/dist/{chunk-DAOMWGO2.js → chunk-ZX5N5D6M.js} +4 -4
  177. package/dist/{chunk-PTRPOJ7U.js → chunk-ZXFKG7VZ.js} +2 -2
  178. package/dist/cli.js +124 -124
  179. package/dist/coding/export-okf-codegraph.js +22 -22
  180. package/dist/coding/pre-action-gate.js +2 -2
  181. package/dist/compounding/engine.js +23 -23
  182. package/dist/config.d.ts.map +1 -1
  183. package/dist/config.js +31 -31
  184. package/dist/connectors/codex-materialize-runner.js +21 -21
  185. package/dist/connectors/index.js +21 -21
  186. package/dist/contradiction/index.js +5 -5
  187. package/dist/convergence-refresh.js +23 -23
  188. package/dist/corpus-watermark.js +23 -23
  189. package/dist/deep-recall-http-glue.js +11 -11
  190. package/dist/deep-recall-policy-llm.js +2 -2
  191. package/dist/deep-recall.js +2 -2
  192. package/dist/entity-retrieval.js +22 -22
  193. package/dist/event-order-recall.js +2 -2
  194. package/dist/explicit-capture.js +6 -6
  195. package/dist/external-wiki-access.js +77 -77
  196. package/dist/extraction-faithfulness.js +2 -2
  197. package/dist/extraction-judge.d.ts +42 -2
  198. package/dist/extraction-judge.d.ts.map +1 -1
  199. package/dist/extraction-judge.js +12 -2
  200. package/dist/extraction-window-drain.d.ts +48 -0
  201. package/dist/extraction-window-drain.d.ts.map +1 -0
  202. package/dist/extraction-window-drain.js +14 -0
  203. package/dist/extraction.js +29 -29
  204. package/dist/fallback-llm.d.ts +1 -0
  205. package/dist/fallback-llm.d.ts.map +1 -1
  206. package/dist/fallback-llm.js +1 -1
  207. package/dist/{graph-edge-decay-2BZTY2IM.js → graph-edge-decay-3HVLMT6U.js} +5 -5
  208. package/dist/graph-edge-decay-3HVLMT6U.js.map +1 -0
  209. package/dist/graph-jsonl.js +3 -3
  210. package/dist/graph-snapshot.js +3 -3
  211. package/dist/graph.js +4 -4
  212. package/dist/harmonic-retrieval.js +22 -22
  213. package/dist/harmonic-source-lookup.js +2 -2
  214. package/dist/index.js +212 -211
  215. package/dist/lcm/engine.js +2 -2
  216. package/dist/lcm/index.js +7 -7
  217. package/dist/local-llm.js +2 -2
  218. package/dist/location/index.js +24 -24
  219. package/dist/maintenance/memory-governance.js +21 -21
  220. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +21 -21
  221. package/dist/maintenance/rebuild-memory-projection-runner.js +23 -23
  222. package/dist/maintenance/rebuild-memory-projection.js +22 -22
  223. package/dist/memory-browse-operations.js +77 -77
  224. package/dist/memory-browse.js +6 -6
  225. package/dist/memory-subject.js +3 -3
  226. package/dist/namespaces/migrate.js +22 -22
  227. package/dist/namespaces/search.js +7 -7
  228. package/dist/namespaces/storage.js +21 -21
  229. package/dist/offline-sync-changeset-generations.js +3 -3
  230. package/dist/offline-sync-embedding-generation.js +2 -2
  231. package/dist/offline-sync-file-io.js +2 -2
  232. package/dist/offline-sync-impression-drain.js +3 -3
  233. package/dist/offline-sync-snapshot-stream.js +8 -8
  234. package/dist/offline-sync-upload-staging.js +3 -3
  235. package/dist/offline-sync.js +9 -9
  236. package/dist/operator-doctor-corpus.js +24 -24
  237. package/dist/operator-toolkit.js +42 -42
  238. package/dist/orchestration/extraction-drain.d.ts +90 -0
  239. package/dist/orchestration/extraction-drain.d.ts.map +1 -0
  240. package/dist/orchestration/extraction-run-helpers.d.ts +3 -0
  241. package/dist/orchestration/extraction-run-helpers.d.ts.map +1 -1
  242. package/dist/orchestration/extraction-run.d.ts +4 -1
  243. package/dist/orchestration/extraction-run.d.ts.map +1 -1
  244. package/dist/orchestration/maintenance.js +35 -35
  245. package/dist/orchestration/turn-ingestion.d.ts +3 -0
  246. package/dist/orchestration/turn-ingestion.d.ts.map +1 -1
  247. package/dist/orchestrator.d.ts +8 -0
  248. package/dist/orchestrator.d.ts.map +1 -1
  249. package/dist/orchestrator.js +165 -164
  250. package/dist/qmd.js +5 -5
  251. package/dist/recall-explain-renderer.js +3 -3
  252. package/dist/recall-navigate-access.js +2 -2
  253. package/dist/recall-navigate-disclosure.js +2 -2
  254. package/dist/recall-navigate.js +2 -2
  255. package/dist/recall-navigation-operations.js +77 -77
  256. package/dist/recall-navigation.js +76 -76
  257. package/dist/recall-planner-llm.js +1 -1
  258. package/dist/recall-state-view-admission.js +6 -6
  259. package/dist/recall-why-service.js +6 -6
  260. package/dist/recall-xray-cli.js +4 -4
  261. package/dist/recall-xray-renderer.js +3 -3
  262. package/dist/recall-xray.js +2 -2
  263. package/dist/reconcile/manifest.js +3 -3
  264. package/dist/{resolution-4ZEQPXUZ.js → resolution-NNYG37YB.js} +6 -6
  265. package/dist/resolution-NNYG37YB.js.map +1 -0
  266. package/dist/resume-bundles.js +32 -32
  267. package/dist/retrieval-agents.js +2 -2
  268. package/dist/salvage-envelope.js +5 -5
  269. package/dist/search/factory.js +6 -6
  270. package/dist/search/index.js +10 -10
  271. package/dist/secure-store/index.js +2 -2
  272. package/dist/semantic-consolidation.js +22 -22
  273. package/dist/semantic-rule-promotion.js +21 -21
  274. package/dist/semantic-rule-verifier.js +21 -21
  275. package/dist/source-agent-qualifier.js +25 -25
  276. package/dist/standup/build.js +21 -21
  277. package/dist/storage/dropped-extraction-chunk.d.ts +8 -0
  278. package/dist/storage/dropped-extraction-chunk.d.ts.map +1 -0
  279. package/dist/storage.d.ts +1 -0
  280. package/dist/storage.d.ts.map +1 -1
  281. package/dist/storage.js +20 -20
  282. package/dist/subject-config.js +4 -4
  283. package/dist/summarizer.js +4 -4
  284. package/dist/support-passport/index.js +79 -79
  285. package/dist/transfer/backup.js +2 -2
  286. package/dist/transfer/capsule-export.js +2 -2
  287. package/dist/transfer/capsule-import.js +2 -2
  288. package/dist/transfer/export-okf.js +22 -22
  289. package/dist/types.d.ts +19 -0
  290. package/dist/types.d.ts.map +1 -1
  291. package/dist/types.js +1 -1
  292. package/dist/verified-recall.js +21 -21
  293. package/dist/who-knows-cli.js +22 -22
  294. package/dist/who-knows.js +21 -21
  295. package/dist/write-envelope.js +4 -4
  296. package/package.json +2 -2
  297. package/src/buffer-drop-extraction-chunk.test.ts +196 -0
  298. package/src/buffer-types.ts +65 -0
  299. package/src/buffer.ts +60 -62
  300. package/src/config.test.ts +16 -0
  301. package/src/config.ts +22 -0
  302. package/src/extraction-judge-chain.test.ts +298 -2
  303. package/src/extraction-judge.ts +147 -82
  304. package/src/extraction-window-drain.test.ts +123 -0
  305. package/src/extraction-window-drain.ts +110 -0
  306. package/src/fallback-llm.test.ts +94 -0
  307. package/src/fallback-llm.ts +7 -7
  308. package/src/orchestration/extraction-drain.ts +261 -0
  309. package/src/orchestration/extraction-run-helpers.ts +8 -0
  310. package/src/orchestration/extraction-run.ts +5 -4
  311. package/src/orchestration/turn-ingestion.ts +9 -5
  312. package/src/orchestrator.ts +21 -0
  313. package/src/secure-store/secure-fs.ts +3 -1
  314. package/src/storage/dropped-extraction-chunk.ts +27 -0
  315. package/src/storage-dropped-chunk-filenames.test.ts +30 -0
  316. package/src/storage.ts +6 -7
  317. package/src/types.ts +19 -0
  318. package/dist/chunk-5U3NUHMA.js.map +0 -1
  319. package/dist/chunk-A6PKEU7T.js.map +0 -1
  320. package/dist/chunk-BBDASWNT.js.map +0 -1
  321. package/dist/chunk-GMMZ45C4.js.map +0 -1
  322. package/dist/chunk-JWTUJVIF.js.map +0 -1
  323. package/dist/chunk-R6TCM47S.js.map +0 -1
  324. package/dist/chunk-UFBIOF7C.js.map +0 -1
  325. package/dist/chunk-YGYT7S3G.js.map +0 -1
  326. /package/dist/{auto-sync-R3XGJL5I.js.map → auto-sync-BNCBMU6H.js.map} +0 -0
  327. /package/dist/{capsule-crypto-7FJQINUR.js.map → buffer-types.js.map} +0 -0
  328. /package/dist/{graph-edge-decay-2BZTY2IM.js.map → capsule-crypto-GWVG7LGC.js.map} +0 -0
  329. /package/dist/{chunk-MH3LC7KB.js.map → chunk-22YJQTPN.js.map} +0 -0
  330. /package/dist/{chunk-MKE5DP3S.js.map → chunk-23ZMQONL.js.map} +0 -0
  331. /package/dist/{chunk-MGXFJOUR.js.map → chunk-2AV2U2SZ.js.map} +0 -0
  332. /package/dist/{chunk-HJ3UTGIW.js.map → chunk-2JNBPOZ2.js.map} +0 -0
  333. /package/dist/{chunk-EEOYF3IB.js.map → chunk-3RJDYZJE.js.map} +0 -0
  334. /package/dist/{chunk-FBAHBFT5.js.map → chunk-4HJ2QK32.js.map} +0 -0
  335. /package/dist/{chunk-UXXVOA4D.js.map → chunk-4LLV2N3R.js.map} +0 -0
  336. /package/dist/{chunk-P5CUEB2Q.js.map → chunk-4QLKVZH6.js.map} +0 -0
  337. /package/dist/{chunk-2RJO7VS4.js.map → chunk-4UT2NUAC.js.map} +0 -0
  338. /package/dist/{chunk-MNDHKZZQ.js.map → chunk-5Q6CR65T.js.map} +0 -0
  339. /package/dist/{chunk-XTBEXZFN.js.map → chunk-5SF7JOJB.js.map} +0 -0
  340. /package/dist/{chunk-BQ6DGL6A.js.map → chunk-64WHWIPL.js.map} +0 -0
  341. /package/dist/{chunk-TVIGN3XZ.js.map → chunk-6FRFVIKC.js.map} +0 -0
  342. /package/dist/{chunk-A23DPFFI.js.map → chunk-6ITNEPJO.js.map} +0 -0
  343. /package/dist/{chunk-G6PPA4TH.js.map → chunk-6Z2ZWBOV.js.map} +0 -0
  344. /package/dist/{chunk-QEGE5QCL.js.map → chunk-7IANFJ24.js.map} +0 -0
  345. /package/dist/{chunk-PSQ2P2T3.js.map → chunk-7XZ7TOLQ.js.map} +0 -0
  346. /package/dist/{chunk-Z5AQZRHF.js.map → chunk-AER3HD3B.js.map} +0 -0
  347. /package/dist/{chunk-BPBUUGAO.js.map → chunk-ANV373S5.js.map} +0 -0
  348. /package/dist/{chunk-LSSCMZQ2.js.map → chunk-B3I2QQU7.js.map} +0 -0
  349. /package/dist/{chunk-NSQSOLCE.js.map → chunk-B7VKRCAG.js.map} +0 -0
  350. /package/dist/{chunk-HXFIILGF.js.map → chunk-BFPF5N3H.js.map} +0 -0
  351. /package/dist/{chunk-KQAFEZQX.js.map → chunk-BUKK5SWA.js.map} +0 -0
  352. /package/dist/{chunk-RBC4GIZU.js.map → chunk-BUKZ7MTN.js.map} +0 -0
  353. /package/dist/{chunk-FO5AFCRI.js.map → chunk-CR72WZ3M.js.map} +0 -0
  354. /package/dist/{chunk-YC2C67F7.js.map → chunk-CRXGQRNA.js.map} +0 -0
  355. /package/dist/{chunk-WRDFYSUC.js.map → chunk-CZVNOTLR.js.map} +0 -0
  356. /package/dist/{chunk-VPO53QMG.js.map → chunk-D6DOLQYK.js.map} +0 -0
  357. /package/dist/{chunk-HRT2SJPC.js.map → chunk-E3NBMTTX.js.map} +0 -0
  358. /package/dist/{chunk-HIMXDRSQ.js.map → chunk-E5IEI2MR.js.map} +0 -0
  359. /package/dist/{chunk-Z2T5BPOZ.js.map → chunk-EIYJK7OD.js.map} +0 -0
  360. /package/dist/{chunk-FRAL3EU4.js.map → chunk-EKPRLTAE.js.map} +0 -0
  361. /package/dist/{chunk-EVVCE7S2.js.map → chunk-EKR6OO4P.js.map} +0 -0
  362. /package/dist/{chunk-6R6CU3MR.js.map → chunk-F2IU6A2L.js.map} +0 -0
  363. /package/dist/{chunk-FL6SLVAJ.js.map → chunk-FAKRTS3Y.js.map} +0 -0
  364. /package/dist/{chunk-64IO6ZEE.js.map → chunk-FC3ZFEXF.js.map} +0 -0
  365. /package/dist/{chunk-DGBWPSM6.js.map → chunk-FLDXEJFX.js.map} +0 -0
  366. /package/dist/{chunk-JH4FCVWJ.js.map → chunk-G6OFEGUR.js.map} +0 -0
  367. /package/dist/{chunk-Z5QWUR3Y.js.map → chunk-GCW7UT5I.js.map} +0 -0
  368. /package/dist/{chunk-ULUX6Q7R.js.map → chunk-GE5ZNDLE.js.map} +0 -0
  369. /package/dist/{chunk-U4JXQCJ3.js.map → chunk-GLB6VV3J.js.map} +0 -0
  370. /package/dist/{chunk-RWWYBE7E.js.map → chunk-GPVGAHXL.js.map} +0 -0
  371. /package/dist/{chunk-3BPMYMPX.js.map → chunk-GSBSGT43.js.map} +0 -0
  372. /package/dist/{chunk-645WOU5I.js.map → chunk-H7BZBSP6.js.map} +0 -0
  373. /package/dist/{chunk-GFYFKXWZ.js.map → chunk-HUDPXTXW.js.map} +0 -0
  374. /package/dist/{chunk-L2JQSG5M.js.map → chunk-I7TR2OCU.js.map} +0 -0
  375. /package/dist/{chunk-HKEK27M4.js.map → chunk-IAOW2L6K.js.map} +0 -0
  376. /package/dist/{chunk-STM4T335.js.map → chunk-IJH6METJ.js.map} +0 -0
  377. /package/dist/{chunk-WADPRAZE.js.map → chunk-IZRNMXZC.js.map} +0 -0
  378. /package/dist/{chunk-LAQS5HYU.js.map → chunk-JM6U3SAE.js.map} +0 -0
  379. /package/dist/{chunk-74AY3S7U.js.map → chunk-JNLYHJG7.js.map} +0 -0
  380. /package/dist/{chunk-7ZBANI3M.js.map → chunk-JOOGPZJE.js.map} +0 -0
  381. /package/dist/{chunk-V5RJCXLG.js.map → chunk-JORSMFL6.js.map} +0 -0
  382. /package/dist/{chunk-VKTP3TZB.js.map → chunk-JQCP5QW3.js.map} +0 -0
  383. /package/dist/{chunk-LRJKHXU4.js.map → chunk-JRTKYFFY.js.map} +0 -0
  384. /package/dist/{chunk-UMFBHYPW.js.map → chunk-JT3IXJIL.js.map} +0 -0
  385. /package/dist/{chunk-S53WZWGL.js.map → chunk-JZFJZLJY.js.map} +0 -0
  386. /package/dist/{chunk-6QOL4G76.js.map → chunk-KQXRVELF.js.map} +0 -0
  387. /package/dist/{chunk-USOXPN5H.js.map → chunk-L74NWAD4.js.map} +0 -0
  388. /package/dist/{chunk-Y6Y3TRBN.js.map → chunk-LJXBFVI2.js.map} +0 -0
  389. /package/dist/{chunk-3L5WH6CV.js.map → chunk-LPD6I2U6.js.map} +0 -0
  390. /package/dist/{chunk-LDXS746V.js.map → chunk-LR7RW4T6.js.map} +0 -0
  391. /package/dist/{chunk-FZVZYU5C.js.map → chunk-LXN737FX.js.map} +0 -0
  392. /package/dist/{chunk-ARFT6ZBE.js.map → chunk-MGYZENUY.js.map} +0 -0
  393. /package/dist/{chunk-YQ6SLFNZ.js.map → chunk-MPJDQC4G.js.map} +0 -0
  394. /package/dist/{chunk-5UWP5X3T.js.map → chunk-NJ2DZYEK.js.map} +0 -0
  395. /package/dist/{chunk-MBMT5FUQ.js.map → chunk-O2O4FDAH.js.map} +0 -0
  396. /package/dist/{chunk-GCVUBVEN.js.map → chunk-ODJ2HRFW.js.map} +0 -0
  397. /package/dist/{chunk-2NLLXCJG.js.map → chunk-OWHERGF2.js.map} +0 -0
  398. /package/dist/{chunk-I73ZSORJ.js.map → chunk-OXSTKCYK.js.map} +0 -0
  399. /package/dist/{chunk-CNQQNYJ2.js.map → chunk-P3YUEPSQ.js.map} +0 -0
  400. /package/dist/{chunk-TPKB7T6Z.js.map → chunk-Q6UZREJK.js.map} +0 -0
  401. /package/dist/{chunk-UJDTXWMT.js.map → chunk-QIMGULGN.js.map} +0 -0
  402. /package/dist/{chunk-E24RUQEN.js.map → chunk-QNIYL5SK.js.map} +0 -0
  403. /package/dist/{chunk-KOY25HUB.js.map → chunk-QYAXMXOB.js.map} +0 -0
  404. /package/dist/{chunk-CU7WDDPV.js.map → chunk-RIAKNXZB.js.map} +0 -0
  405. /package/dist/{chunk-UQWA5QDT.js.map → chunk-RO2NNWR5.js.map} +0 -0
  406. /package/dist/{chunk-AYXRK264.js.map → chunk-RROFIAYI.js.map} +0 -0
  407. /package/dist/{chunk-L46Y5FPE.js.map → chunk-RUAIO5UA.js.map} +0 -0
  408. /package/dist/{chunk-QIC7YZ3D.js.map → chunk-RWW5KPIY.js.map} +0 -0
  409. /package/dist/{chunk-E5PVMB3I.js.map → chunk-SDXBR5QO.js.map} +0 -0
  410. /package/dist/{chunk-WSLNC5AL.js.map → chunk-SJHFU52W.js.map} +0 -0
  411. /package/dist/{chunk-7PG7QBWD.js.map → chunk-SRPGA6WN.js.map} +0 -0
  412. /package/dist/{chunk-CUWOSRCS.js.map → chunk-SUKPM6DV.js.map} +0 -0
  413. /package/dist/{chunk-G2SRB62M.js.map → chunk-TTQYX7VU.js.map} +0 -0
  414. /package/dist/{chunk-TDCR6PQL.js.map → chunk-TWRPWJJT.js.map} +0 -0
  415. /package/dist/{chunk-KC5SVCUJ.js.map → chunk-U66CTIF5.js.map} +0 -0
  416. /package/dist/{chunk-D2AKUKAQ.js.map → chunk-UIK3U36O.js.map} +0 -0
  417. /package/dist/{chunk-XLEP7SS3.js.map → chunk-UMSH4I3E.js.map} +0 -0
  418. /package/dist/{chunk-X7Y7WX73.js.map → chunk-UVYI6VIX.js.map} +0 -0
  419. /package/dist/{chunk-LHBOFROT.js.map → chunk-V2XMG7GM.js.map} +0 -0
  420. /package/dist/{chunk-NQOM6PHO.js.map → chunk-VCOCOBUS.js.map} +0 -0
  421. /package/dist/{chunk-4P4VLPGB.js.map → chunk-VECRSYQG.js.map} +0 -0
  422. /package/dist/{chunk-ID2PLENW.js.map → chunk-VHBGJAYC.js.map} +0 -0
  423. /package/dist/{chunk-RVYXSS3Q.js.map → chunk-VIS23B6O.js.map} +0 -0
  424. /package/dist/{chunk-NMKETOAX.js.map → chunk-VSHWPOUB.js.map} +0 -0
  425. /package/dist/{chunk-UBN5AOLT.js.map → chunk-W5EO4USJ.js.map} +0 -0
  426. /package/dist/{chunk-Y7427SL7.js.map → chunk-WCGJK4NQ.js.map} +0 -0
  427. /package/dist/{chunk-CCYXCT4B.js.map → chunk-WQYS47G4.js.map} +0 -0
  428. /package/dist/{chunk-JH2ALMPR.js.map → chunk-WR5POHQ3.js.map} +0 -0
  429. /package/dist/{chunk-DK5VMJL3.js.map → chunk-WT2VVYBM.js.map} +0 -0
  430. /package/dist/{chunk-EHIKY2IA.js.map → chunk-WU5WTCH5.js.map} +0 -0
  431. /package/dist/{chunk-QKXPOLQD.js.map → chunk-WUBGMV3G.js.map} +0 -0
  432. /package/dist/{chunk-O6YJI5VX.js.map → chunk-WUL6LDJ4.js.map} +0 -0
  433. /package/dist/{chunk-5EILJ6W2.js.map → chunk-WXPBDEMW.js.map} +0 -0
  434. /package/dist/{chunk-U7HJBODU.js.map → chunk-XKTHJHSQ.js.map} +0 -0
  435. /package/dist/{chunk-JFI3ATK4.js.map → chunk-XMYWYJM2.js.map} +0 -0
  436. /package/dist/{chunk-64S6X4IU.js.map → chunk-XTN54NML.js.map} +0 -0
  437. /package/dist/{chunk-VGFNTY3Y.js.map → chunk-YFXRLRKP.js.map} +0 -0
  438. /package/dist/{chunk-DAOMWGO2.js.map → chunk-ZX5N5D6M.js.map} +0 -0
  439. /package/dist/{chunk-PTRPOJ7U.js.map → chunk-ZXFKG7VZ.js.map} +0 -0
  440. /package/dist/{resolution-4ZEQPXUZ.js.map → extraction-window-drain.js.map} +0 -0
@@ -27,7 +27,7 @@ import {
27
27
  MAGIC_HEADER_SIZE,
28
28
  SecureStoreLockedError,
29
29
  isEncryptedFile
30
- } from "./chunk-TYGLV6ZG.js";
30
+ } from "./chunk-EYGOM6AI.js";
31
31
  import {
32
32
  ensureContainedSpillDir,
33
33
  listContainedSpillFiles
@@ -774,4 +774,4 @@ export {
774
774
  drainPendingLifecycleLedgerForSync,
775
775
  drainPendingLifecycleForSyncOrThrow
776
776
  };
777
- //# sourceMappingURL=chunk-UJDTXWMT.js.map
777
+ //# sourceMappingURL=chunk-QIMGULGN.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  PROMOTION_CANDIDATES_DEFAULT_MIN_ACCESS,
7
7
  isSubjectGuardMode
8
- } from "./chunk-E5PVMB3I.js";
8
+ } from "./chunk-SDXBR5QO.js";
9
9
 
10
10
  // src/subject-config.ts
11
11
  function assertObjectBlock(value, key, shape) {
@@ -52,4 +52,4 @@ function parseSubjectRuntimeConfig(cfg) {
52
52
  export {
53
53
  parseSubjectRuntimeConfig
54
54
  };
55
- //# sourceMappingURL=chunk-E24RUQEN.js.map
55
+ //# sourceMappingURL=chunk-QNIYL5SK.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-7RJUVTVF.js";
13
13
  import {
14
14
  ContentHashIndex
15
- } from "./chunk-UBN5AOLT.js";
15
+ } from "./chunk-W5EO4USJ.js";
16
16
  import {
17
17
  computeLegacyContentHash,
18
18
  normalizeLegacyContent
@@ -348,4 +348,4 @@ export {
348
348
  buildReconcileManifest,
349
349
  collapseActiveFactDuplicates
350
350
  };
351
- //# sourceMappingURL=chunk-KOY25HUB.js.map
351
+ //# sourceMappingURL=chunk-QYAXMXOB.js.map
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  listMemoryGovernanceRuns,
9
9
  readMemoryGovernanceRunArtifact
10
- } from "./chunk-NSQSOLCE.js";
10
+ } from "./chunk-B7VKRCAG.js";
11
11
  import {
12
12
  StorageManager
13
- } from "./chunk-R6TCM47S.js";
13
+ } from "./chunk-5KZNWERU.js";
14
14
  import {
15
15
  normalizeProjectionPreview,
16
16
  normalizeProjectionTags
@@ -21,7 +21,7 @@ import {
21
21
  readProjectedGovernanceRows,
22
22
  readProjectedNativeKnowledgeRows,
23
23
  writeProjectionMetaHighWater
24
- } from "./chunk-UJDTXWMT.js";
24
+ } from "./chunk-QIMGULGN.js";
25
25
  import {
26
26
  MEMORY_LIFECYCLE_EVENT_SORT_ORDER,
27
27
  buildLifecycleEventsForMemory,
@@ -1156,4 +1156,4 @@ export {
1156
1156
  verifyMemoryProjection,
1157
1157
  repairMemoryProjection
1158
1158
  };
1159
- //# sourceMappingURL=chunk-CU7WDDPV.js.map
1159
+ //# sourceMappingURL=chunk-RIAKNXZB.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamespaceStorageRouter
3
- } from "./chunk-FBAHBFT5.js";
3
+ } from "./chunk-4HJ2QK32.js";
4
4
  import {
5
5
  namespaceCollectionName
6
- } from "./chunk-LHBOFROT.js";
6
+ } from "./chunk-V2XMG7GM.js";
7
7
  import {
8
8
  isSafeRouteNamespace
9
9
  } from "./chunk-PCXDUHQH.js";
@@ -213,4 +213,4 @@ export {
213
213
  verifyNamespaces,
214
214
  runNamespaceMigration
215
215
  };
216
- //# sourceMappingURL=chunk-UQWA5QDT.js.map
216
+ //# sourceMappingURL=chunk-RO2NNWR5.js.map
@@ -1,14 +1,6 @@
1
- import {
2
- EMPTY_QMD_STATUS,
3
- embedQmdFiles,
4
- fetchQmdStatus
5
- } from "./chunk-IUM3VSHI.js";
6
1
  import {
7
2
  resolveEnsureCollectionArgs
8
3
  } from "./chunk-G26YNEOC.js";
9
- import {
10
- QmdDaemonSession
11
- } from "./chunk-VILPVT4S.js";
12
4
  import {
13
5
  createInflightJoiner
14
6
  } from "./chunk-AF2XMJKD.js";
@@ -25,6 +17,14 @@ import {
25
17
  qmdVersionToString,
26
18
  resolveQmdCapabilities
27
19
  } from "./chunk-OR42ZI54.js";
20
+ import {
21
+ EMPTY_QMD_STATUS,
22
+ embedQmdFiles,
23
+ fetchQmdStatus
24
+ } from "./chunk-IUM3VSHI.js";
25
+ import {
26
+ QmdDaemonSession
27
+ } from "./chunk-VILPVT4S.js";
28
28
  import {
29
29
  clearQmdResultCaches,
30
30
  getCachedQmdSearch,
@@ -2028,4 +2028,4 @@ export {
2028
2028
  sharedDaemonSessionCountForTest,
2029
2029
  QmdClient
2030
2030
  };
2031
- //# sourceMappingURL=chunk-AYXRK264.js.map
2031
+ //# sourceMappingURL=chunk-RROFIAYI.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-ZAJLJ35W.js";
12
12
  import {
13
13
  parseConfig
14
- } from "./chunk-YGYT7S3G.js";
14
+ } from "./chunk-FJ264QBP.js";
15
15
  import {
16
16
  resolveObjectiveStateStoreDir,
17
17
  validateObjectiveStateSnapshot
@@ -268,4 +268,4 @@ export {
268
268
  recordResumeBundle,
269
269
  getResumeBundleStatus
270
270
  };
271
- //# sourceMappingURL=chunk-L46Y5FPE.js.map
271
+ //# sourceMappingURL=chunk-RUAIO5UA.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-V7IZKJI3.js";
4
4
  import {
5
5
  AdapterRegistry
6
- } from "./chunk-64S6X4IU.js";
6
+ } from "./chunk-XTN54NML.js";
7
7
  import {
8
8
  WriteRateLimiter
9
9
  } from "./chunk-TB6CBZ5V.js";
@@ -18,13 +18,13 @@ import {
18
18
  } from "./chunk-3HSRWJTC.js";
19
19
  import {
20
20
  respondDeepRecall
21
- } from "./chunk-EEOYF3IB.js";
21
+ } from "./chunk-3RJDYZJE.js";
22
22
  import {
23
23
  handleSupportPassportOwnerHttp
24
- } from "./chunk-BPBUUGAO.js";
24
+ } from "./chunk-ANV373S5.js";
25
25
  import {
26
26
  buildSupportPassportPublicRequestHandler
27
- } from "./chunk-PTRPOJ7U.js";
27
+ } from "./chunk-ZXFKG7VZ.js";
28
28
  import {
29
29
  handleMcpGetSse
30
30
  } from "./chunk-SRT6SHVZ.js";
@@ -37,18 +37,18 @@ import {
37
37
  processChatMessage,
38
38
  sessionBelongsToPrincipal,
39
39
  subscribeChatTranscript
40
- } from "./chunk-FO5AFCRI.js";
40
+ } from "./chunk-CR72WZ3M.js";
41
41
  import {
42
42
  handleRecallWhyHttpQuery,
43
43
  handleRecallXrayHttpQuery
44
- } from "./chunk-64IO6ZEE.js";
44
+ } from "./chunk-FC3ZFEXF.js";
45
45
  import {
46
46
  RelayMissionStoreError
47
- } from "./chunk-V5RJCXLG.js";
47
+ } from "./chunk-JORSMFL6.js";
48
48
  import {
49
49
  executeResolution,
50
50
  isValidResolutionVerb
51
- } from "./chunk-FRAL3EU4.js";
51
+ } from "./chunk-EKPRLTAE.js";
52
52
  import {
53
53
  toDottedRemnicName
54
54
  } from "./chunk-ZQUVBZI4.js";
@@ -61,10 +61,10 @@ import {
61
61
  optionalNamespaceKindQueryParam,
62
62
  optionalQueryString,
63
63
  positiveIntQueryParam
64
- } from "./chunk-CCYXCT4B.js";
64
+ } from "./chunk-WQYS47G4.js";
65
65
  import {
66
66
  respondBriefingHttp
67
- } from "./chunk-EVVCE7S2.js";
67
+ } from "./chunk-EKR6OO4P.js";
68
68
  import {
69
69
  maybeHandleLifecycleFlush
70
70
  } from "./chunk-2BPPGNAQ.js";
@@ -75,14 +75,14 @@ import {
75
75
  authorizationProbeNamespaces,
76
76
  authorizationProbeRequiresPrincipalNamespace,
77
77
  probeOperationAuthorization
78
- } from "./chunk-5UWP5X3T.js";
78
+ } from "./chunk-NJ2DZYEK.js";
79
79
  import {
80
80
  getOperation,
81
81
  resolveQueryNamespaceWritablePreflight
82
- } from "./chunk-QEGE5QCL.js";
82
+ } from "./chunk-7IANFJ24.js";
83
83
  import {
84
84
  handleWhoKnowsHttpQuery
85
- } from "./chunk-DK5VMJL3.js";
85
+ } from "./chunk-WT2VVYBM.js";
86
86
  import {
87
87
  isTrustZoneName
88
88
  } from "./chunk-JWX2Q6HS.js";
@@ -99,13 +99,13 @@ import {
99
99
  } from "./chunk-CTVWELNK.js";
100
100
  import {
101
101
  isRecallDisclosure
102
- } from "./chunk-A6PKEU7T.js";
102
+ } from "./chunk-PARM6OYL.js";
103
103
  import {
104
104
  validateRequest
105
- } from "./chunk-YC2C67F7.js";
105
+ } from "./chunk-CRXGQRNA.js";
106
106
  import {
107
107
  peerManifestRevision
108
- } from "./chunk-KOY25HUB.js";
108
+ } from "./chunk-QYAXMXOB.js";
109
109
  import {
110
110
  assertOperationAllowed,
111
111
  capabilityAllowsOp,
@@ -117,7 +117,7 @@ import {
117
117
  OFFLINE_SYNC_APPLY_MAX_BODY_BYTES,
118
118
  OFFLINE_SYNC_FILE_CONTENT_MAX_CHUNK_BYTES,
119
119
  OFFLINE_SYNC_SNAPSHOT_BASE_MAX_BODY_BYTES
120
- } from "./chunk-TVIGN3XZ.js";
120
+ } from "./chunk-6FRFVIKC.js";
121
121
  import {
122
122
  resolveNamespaceCapabilities
123
123
  } from "./chunk-C5LWPYS3.js";
@@ -3565,4 +3565,4 @@ export {
3565
3565
  resolveDefaultAdminConsolePublicDir,
3566
3566
  EngramAccessHttpServer
3567
3567
  };
3568
- //# sourceMappingURL=chunk-QIC7YZ3D.js.map
3568
+ //# sourceMappingURL=chunk-RWW5KPIY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ContentHashIndex
3
- } from "./chunk-UBN5AOLT.js";
3
+ } from "./chunk-W5EO4USJ.js";
4
4
  import {
5
5
  sanitizeMemoryContent
6
6
  } from "./chunk-5GKPFL3S.js";
@@ -164,4 +164,4 @@ export {
164
164
  PROMOTION_CANDIDATES_MCP_TOOLS,
165
165
  backfillMemorySubjects
166
166
  };
167
- //# sourceMappingURL=chunk-E5PVMB3I.js.map
167
+ //# sourceMappingURL=chunk-SDXBR5QO.js.map
@@ -1,14 +1,14 @@
1
+ import {
2
+ runGraphEdgeDecayMaintenanceAcrossNamespaces
3
+ } from "./chunk-2JNBPOZ2.js";
1
4
  import {
2
5
  normalizeDreamsStatusWindowHours
3
6
  } from "./chunk-PQM3B54K.js";
4
- import {
5
- runGraphEdgeDecayMaintenanceAcrossNamespaces
6
- } from "./chunk-HJ3UTGIW.js";
7
7
  import {
8
8
  executeResolution,
9
9
  isValidResolutionVerb,
10
10
  runPreferenceDriftScan
11
- } from "./chunk-FRAL3EU4.js";
11
+ } from "./chunk-EKPRLTAE.js";
12
12
  import {
13
13
  getRecallTimingStatus,
14
14
  isRecallTimingsOperator
@@ -21,13 +21,13 @@ import {
21
21
  defineOperation,
22
22
  parseNamespacePreflightWriteOp,
23
23
  resolveAuthorizedNamespaceWritablePreflight
24
- } from "./chunk-QEGE5QCL.js";
24
+ } from "./chunk-7IANFJ24.js";
25
25
  import {
26
26
  parseSharedWriteOutputControls
27
27
  } from "./chunk-IFBSZGW3.js";
28
28
  import {
29
29
  validateBriefingFormat
30
- } from "./chunk-S53WZWGL.js";
30
+ } from "./chunk-JZFJZLJY.js";
31
31
  import {
32
32
  parseDeepRecallMaxSteps
33
33
  } from "./chunk-A7AISUJI.js";
@@ -44,7 +44,7 @@ import {
44
44
  recallRequestSchema,
45
45
  retainedCategoryAlias,
46
46
  suggestionSubmitRequestSchema
47
- } from "./chunk-YC2C67F7.js";
47
+ } from "./chunk-CRXGQRNA.js";
48
48
  import {
49
49
  enforceNamespaceAllowList,
50
50
  tokenCapabilityStore
@@ -603,4 +603,4 @@ defineOperation({ name: "graph_events", description: "SSE graph events.", schema
603
603
  defineOperation({ name: "chat_message", description: "Chat message.", schema: strictSchema({ message: S.str, chatSessionId: S.str }), handler: async (_i, _ctx) => ({ result: { ok: true } }) });
604
604
  defineOperation({ name: "chat_events", description: "SSE chat events.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { stream: "sse" } }) });
605
605
  defineOperation({ name: "adapters_status", description: "Adapter registry metadata (issue #1850 round 5). Marker op: the HTTP transport builds the response from its own adapterRegistry, but the op still must be registered so it appears in listRegisteredOperations and enforceTokenOp can gate it for scoped tokens.", schema: strictSchema({}), handler: async (_i, _ctx) => ({ result: { ok: true } }) });
606
- //# sourceMappingURL=chunk-WSLNC5AL.js.map
606
+ //# sourceMappingURL=chunk-SJHFU52W.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  resolveDefaultNamespaceRoot,
3
3
  resolveNamespaceStorageRoot
4
- } from "./chunk-FBAHBFT5.js";
4
+ } from "./chunk-4HJ2QK32.js";
5
5
  import {
6
6
  MutationSerializer,
7
7
  withHeldFileLock
@@ -1473,4 +1473,4 @@ export {
1473
1473
  isNamespaceKind,
1474
1474
  NamespaceCatalog
1475
1475
  };
1476
- //# sourceMappingURL=chunk-7PG7QBWD.js.map
1476
+ //# sourceMappingURL=chunk-SRPGA6WN.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  MAGIC_HEADER_SIZE,
12
12
  isEncryptedFile
13
- } from "./chunk-TYGLV6ZG.js";
13
+ } from "./chunk-EYGOM6AI.js";
14
14
 
15
15
  // src/offline-sync-file-io.ts
16
16
  import { createHash } from "crypto";
@@ -108,4 +108,4 @@ export {
108
108
  assertOfflineSyncMtimeMs,
109
109
  setSafeFileMtime
110
110
  };
111
- //# sourceMappingURL=chunk-CUWOSRCS.js.map
111
+ //# sourceMappingURL=chunk-SUKPM6DV.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-QDW3E4RD.js";
7
7
  import {
8
8
  gatewayTaskChainOptions
9
- } from "./chunk-GMMZ45C4.js";
9
+ } from "./chunk-AVVCPA7U.js";
10
10
  import {
11
11
  extractJsonCandidates
12
12
  } from "./chunk-YBA52OKG.js";
@@ -58,48 +58,41 @@ var JUDGE_SYSTEM_PROMPT = `You are a memory curator evaluating whether extracted
58
58
 
59
59
  A fact is **durable** if it will still be useful 30+ days from now and is relevant across multiple sessions, not just the current task.
60
60
 
61
- Return one of three verdicts per candidate:
61
+ The user message is a JSON array of candidates: [{"index": 0, "text": "...", "category": "...", "confidence": 0.5}, ...].
62
62
 
63
- ACCEPT \u2014 the fact is durable, persist it:
64
- - Personal preferences, identities, or relationships
65
- - Decisions with rationale that affect future work
66
- - Corrections to previously held beliefs
67
- - Principles, rules, or constraints the user wants respected
68
- - Stable facts about projects, tools, or workflows
69
- - Commitments, deadlines, or obligations
63
+ Verdicts:
64
+ - "accept" \u2014 durable. Personal preferences, identities, relationships; decisions with rationale that affect future work; corrections to previously held beliefs; principles, rules, or constraints the user wants respected; stable facts about projects, tools, or workflows; commitments, deadlines, or obligations.
65
+ - "reject" \u2014 not durable. Transient task details ("currently debugging line 42"); ephemeral state ("the build is running now"); routine operations ("ran npm install"); conversational filler; anything stale within hours; step-by-step instructions for a one-time task.
66
+ - "defer" \u2014 MIGHT be durable but the candidate alone cannot say: ambiguous referents ("he said they'd follow up"), in-progress statements that may become durable once completed, future commitments with unclear subject or timeline. Defer is NOT a soft reject: use it only when another turn of context would genuinely change the verdict; when torn between accept and reject, lean accept \u2014 losing a useful fact is worse than keeping a marginal one.
70
67
 
71
- REJECT \u2014 the fact is not durable, drop it:
72
- - Transient task details ("currently debugging line 42")
73
- - Ephemeral state ("the build is running now")
74
- - Routine operations ("ran npm install")
75
- - Conversational filler or acknowledgements
76
- - Information that will be stale within hours
77
- - Step-by-step instructions for a one-time task
78
-
79
- DEFER \u2014 the fact MIGHT be durable but needs more context to decide. The candidate will be re-evaluated on a later extraction pass with fresh context; if it cannot be resolved within a small number of re-evaluations it will be rejected.
80
- - Ambiguous referents ("he said they'd follow up on it")
81
- - Partial or in-progress statements that might become durable once completed
82
- - Future-tense commitments whose subject or timeline is unclear
83
- - Facts whose durability hinges on context not present in the candidate text
84
-
85
- Do NOT use defer as a soft reject. Reject facts you are confident are transient. Only defer when another turn of context would genuinely change the verdict.
86
-
87
- Return a JSON array of objects with these fields:
88
- - index: number (the candidate index)
89
- - kind: string \u2014 one of "accept", "reject", "defer"
90
- - reason: string (brief explanation, under 80 characters)
91
-
92
- You may also include durable (boolean) for backwards compatibility: true for accept, false for reject or defer. If kind is omitted, durable determines the verdict.
68
+ Reply with a JSON object with a single "verdicts" key, exactly one object per input candidate:
69
+ {"verdicts": [{"index": <candidate index>, "kind": "accept" | "reject" | "defer"}]}
93
70
 
94
71
  Rules:
95
- 1. Return exactly one verdict per input candidate, matched by index.
96
- 2. When in doubt between accept and reject, lean toward accept \u2014 false negatives (losing a useful fact) are worse than false positives (keeping a marginal one).
97
- 3. Use defer only when another turn of context would genuinely change the verdict.
98
- 4. Output valid JSON only. No markdown fences, no commentary.
72
+ 1. The top level must be one object {"verdicts": [...]} \u2014 JSON mode rejects a bare top-level array.
73
+ 2. Copy each object's "index" from the input candidate. One object per candidate, exactly.
74
+ 3. No other fields \u2014 no "reason", no "durable", no commentary.
75
+ 4. Output valid JSON only. No markdown fences.
99
76
  5. ${OUTPUT_LANGUAGE_POLICY}
100
77
 
101
78
  Example output:
102
- [{"index": 0, "kind": "accept", "durable": true, "reason": "Stable personal preference"}, {"index": 1, "kind": "reject", "durable": false, "reason": "Ephemeral build status"}, {"index": 2, "kind": "defer", "durable": false, "reason": "Ambiguous pronoun"}]`;
79
+ {"verdicts": [{"index": 0, "kind": "accept"}, {"index": 1, "kind": "reject"}, {"index": 2, "kind": "defer"}]}`;
80
+ var JUDGE_TOKENS_PER_CANDIDATE = 24;
81
+ var MAX_JUDGE_TOKENS = 2048;
82
+ var JUDGE_REASONING_HEADROOM_TOKENS = 1024;
83
+ var MAX_JUDGE_BATCH = Math.floor(MAX_JUDGE_TOKENS / JUDGE_TOKENS_PER_CANDIDATE);
84
+ function judgeMaxTokens(batchSize) {
85
+ return Math.min(MAX_JUDGE_TOKENS, Math.max(64, batchSize * JUDGE_TOKENS_PER_CANDIDATE));
86
+ }
87
+ function buildJudgeRequest(entries) {
88
+ return {
89
+ messages: [
90
+ { role: "system", content: JUDGE_SYSTEM_PROMPT },
91
+ { role: "user", content: JSON.stringify(entries) }
92
+ ],
93
+ maxTokens: judgeMaxTokens(entries.length)
94
+ };
95
+ }
103
96
  var VERDICT_CACHE_MAX_SIZE = 1e4;
104
97
  var defaultVerdictCache = /* @__PURE__ */ new Map();
105
98
  var defaultDeferCounts = /* @__PURE__ */ new Map();
@@ -238,32 +231,30 @@ async function judgeFactDurability(candidates, config, localLlm, fallbackLlm, ca
238
231
  deferredCappedToReject
239
232
  };
240
233
  }
241
- const batchSize = config.extractionJudgeBatchSize;
234
+ const batchSize = Math.min(config.extractionJudgeBatchSize, MAX_JUDGE_BATCH);
235
+ const deferredThisCall = /* @__PURE__ */ new Set();
236
+ const priorDefersSeen = /* @__PURE__ */ new Map();
242
237
  for (let batchStart = 0; batchStart < pendingIndices.length; batchStart += batchSize) {
243
238
  const batchIndices = pendingIndices.slice(batchStart, batchStart + batchSize);
244
- const batchPayload = batchIndices.map((idx) => ({
245
- index: idx,
246
- text: candidates[idx].text,
247
- category: candidates[idx].category,
248
- confidence: candidates[idx].confidence
249
- }));
250
- const userPrompt = JSON.stringify(batchPayload);
239
+ const request = buildJudgeRequest(
240
+ batchIndices.map((idx) => ({
241
+ index: idx,
242
+ text: candidates[idx].text,
243
+ category: candidates[idx].category,
244
+ confidence: candidates[idx].confidence
245
+ }))
246
+ );
251
247
  try {
252
- const llmResponse = await callJudgeLlm(
253
- userPrompt,
254
- config,
255
- localLlm,
256
- fallbackLlm
257
- );
248
+ const llmResponse = await callJudgeLlm(request, config, localLlm, fallbackLlm);
258
249
  if (llmResponse) {
259
250
  const parsed = parseJudgeResponse(llmResponse, batchIndices);
260
- const deferredThisBatch = /* @__PURE__ */ new Set();
261
251
  for (const [idx, rawVerdict] of parsed.entries()) {
262
252
  const c = candidates[idx];
263
253
  const key = cacheKey(c.text, c.category);
264
254
  let verdict = rawVerdict;
265
255
  let source = "llm";
266
- const priorDefers = deferCountMap.get(key) ?? 0;
256
+ if (!priorDefersSeen.has(key)) priorDefersSeen.set(key, deferCountMap.get(key) ?? 0);
257
+ const priorDefers = priorDefersSeen.get(key) ?? 0;
267
258
  if (getVerdictKind(verdict) === "defer") {
268
259
  if (priorDefers >= deferCap) {
269
260
  verdict = {
@@ -272,15 +263,15 @@ async function judgeFactDurability(candidates, config, localLlm, fallbackLlm, ca
272
263
  kind: "reject"
273
264
  };
274
265
  source = "llm-cap-rejected";
275
- if (!deferredThisBatch.has(key)) {
266
+ if (!deferredThisCall.has(key)) {
276
267
  deferCountMap.delete(key);
277
268
  deferredCappedToReject++;
278
- deferredThisBatch.add(key);
269
+ deferredThisCall.add(key);
279
270
  }
280
- } else if (!deferredThisBatch.has(key)) {
271
+ } else if (!deferredThisCall.has(key)) {
281
272
  deferCountMap.set(key, priorDefers + 1);
282
273
  deferred++;
283
- deferredThisBatch.add(key);
274
+ deferredThisCall.add(key);
284
275
  if (deferCountMap.size > DEFER_COUNT_MAX_SIZE) {
285
276
  const drop = Math.floor(deferCountMap.size / 2);
286
277
  let dropped = 0;
@@ -293,6 +284,8 @@ async function judgeFactDurability(candidates, config, localLlm, fallbackLlm, ca
293
284
  }
294
285
  } else {
295
286
  deferCountMap.delete(key);
287
+ priorDefersSeen.set(key, 0);
288
+ deferredThisCall.delete(key);
296
289
  }
297
290
  verdicts.set(idx, verdict);
298
291
  judged++;
@@ -321,6 +314,8 @@ async function judgeFactDurability(candidates, config, localLlm, fallbackLlm, ca
321
314
  const hash = cacheKey(c.text, c.category);
322
315
  const priorDefers = deferCountMap.get(hash) ?? 0;
323
316
  deferCountMap.delete(hash);
317
+ priorDefersSeen.set(hash, 0);
318
+ deferredThisCall.delete(hash);
324
319
  const v = {
325
320
  durable: true,
326
321
  reason: "Approved by default (judge unavailable or parse error)"
@@ -348,11 +343,8 @@ async function judgeFactDurability(candidates, config, localLlm, fallbackLlm, ca
348
343
  deferredCappedToReject
349
344
  };
350
345
  }
351
- async function callJudgeLlm(userPrompt, config, localLlm, fallbackLlm) {
352
- const messages = [
353
- { role: "system", content: JUDGE_SYSTEM_PROMPT },
354
- { role: "user", content: userPrompt }
355
- ];
346
+ async function callJudgeLlm(request, config, localLlm, fallbackLlm) {
347
+ const { messages, maxTokens } = request;
356
348
  const modelOverride = config.extractionJudgeModel || void 0;
357
349
  const skipLocal = config.modelSource === "gateway";
358
350
  const gatewayChain = gatewayTaskChainOptions(config);
@@ -360,9 +352,14 @@ async function callJudgeLlm(userPrompt, config, localLlm, fallbackLlm) {
360
352
  try {
361
353
  const result = await localLlm.chatCompletion(messages, {
362
354
  temperature: 0.1,
363
- maxTokens: 2048,
355
+ maxTokens,
356
+ // A verdict needs no reasoning: keep a thinking-capable model from spending the compact budget on it.
357
+ disableThinking: true,
364
358
  responseFormat: { type: "json_object" },
365
- timeoutMs: 1500,
359
+ timeoutMs: config.extractionJudgeTimeoutMs,
360
+ // The client applies timeoutMs per attempt and retries an abort once:
361
+ // one deadline signal bounds the whole call to the configured time.
362
+ signal: AbortSignal.timeout(config.extractionJudgeTimeoutMs),
366
363
  operation: "extraction-judge",
367
364
  ...modelOverride ? { model: modelOverride } : {}
368
365
  });
@@ -381,8 +378,9 @@ async function callJudgeLlm(userPrompt, config, localLlm, fallbackLlm) {
381
378
  messages,
382
379
  {
383
380
  temperature: 0.1,
384
- maxTokens: 2048,
385
- timeoutMs: 1500,
381
+ maxTokens,
382
+ reasoningHeadroomTokens: JUDGE_REASONING_HEADROOM_TOKENS,
383
+ timeoutMs: config.extractionJudgeTimeoutMs,
386
384
  ...modelOverride ? { model: modelOverride } : {},
387
385
  ...gatewayChain
388
386
  }
@@ -398,6 +396,15 @@ async function callJudgeLlm(userPrompt, config, localLlm, fallbackLlm) {
398
396
  }
399
397
  return null;
400
398
  }
399
+ function unwrapJudgeEnvelope(parsed) {
400
+ if (!parsed || Array.isArray(parsed)) return null;
401
+ if (Array.isArray(parsed.verdicts)) return parsed.verdicts;
402
+ if (Number.isInteger(parsed.index)) return [parsed];
403
+ for (const v of Object.values(parsed)) {
404
+ if (Array.isArray(v)) return v;
405
+ }
406
+ return null;
407
+ }
401
408
  function parseJudgeResponse(raw, expectedIndices) {
402
409
  const result = /* @__PURE__ */ new Map();
403
410
  const expectedSet = new Set(expectedIndices);
@@ -412,19 +419,12 @@ function parseJudgeResponse(raw, expectedIndices) {
412
419
  }
413
420
  }
414
421
  if (!Array.isArray(parsed)) {
415
- if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) {
416
- const values = Object.values(parsed);
417
- for (const v of values) {
418
- if (Array.isArray(v)) {
419
- parsed = v;
420
- break;
421
- }
422
- }
423
- }
424
- if (!Array.isArray(parsed)) {
422
+ const unwrapped = unwrapJudgeEnvelope(parsed);
423
+ if (unwrapped === null) {
425
424
  log.debug("extraction-judge: response is not an array, cannot parse");
426
425
  return result;
427
426
  }
427
+ parsed = unwrapped;
428
428
  }
429
429
  for (const item of parsed) {
430
430
  if (typeof item !== "object" || item === null || typeof item.index !== "number") {
@@ -484,6 +484,11 @@ export {
484
484
  isValidCachedVerdict,
485
485
  normalizeCachedVerdict,
486
486
  JUDGE_SYSTEM_PROMPT,
487
+ MAX_JUDGE_TOKENS,
488
+ JUDGE_REASONING_HEADROOM_TOKENS,
489
+ MAX_JUDGE_BATCH,
490
+ judgeMaxTokens,
491
+ buildJudgeRequest,
487
492
  validateProcedureExtraction,
488
493
  judgeFactDurability,
489
494
  clearVerdictCache,
@@ -491,4 +496,4 @@ export {
491
496
  createVerdictCache,
492
497
  createDeferCountMap
493
498
  };
494
- //# sourceMappingURL=chunk-BBDASWNT.js.map
499
+ //# sourceMappingURL=chunk-TJ5YGCPV.js.map