@remnic/core 9.39.0 → 9.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/dist/access-admin-ops-surface.d.ts +10 -10
  2. package/dist/access-admin-ops-surface.js +13 -12
  3. package/dist/access-authorization-probe.d.ts +10 -10
  4. package/dist/access-authorization-probe.js +14 -13
  5. package/dist/access-boundary.d.ts +10 -10
  6. package/dist/access-boundary.js +13 -12
  7. package/dist/access-cli.js +35 -34
  8. package/dist/access-cli.js.map +1 -1
  9. package/dist/access-extraction-force-flush.d.ts +10 -10
  10. package/dist/access-extraction-force-flush.js +13 -12
  11. package/dist/access-health-types.d.ts +1 -1
  12. package/dist/access-http-lcm-compaction.d.ts +10 -10
  13. package/dist/access-http-lifecycle-flush.d.ts +10 -10
  14. package/dist/access-http.d.ts +10 -10
  15. package/dist/access-http.js +18 -17
  16. package/dist/access-identity-continuity-surface.d.ts +8 -8
  17. package/dist/access-identity-continuity-surface.js +13 -12
  18. package/dist/access-lcm-surface.d.ts +10 -10
  19. package/dist/access-lcm-surface.js +13 -12
  20. package/dist/access-mcp.d.ts +10 -10
  21. package/dist/access-mcp.js +16 -15
  22. package/dist/access-memory-search-fanout.d.ts +2 -2
  23. package/dist/{access-namespace-preflight-CWyL4Zai.d.ts → access-namespace-preflight-47dOyty9.d.ts} +1 -1
  24. package/dist/access-namespace-preflight.d.ts +3 -3
  25. package/dist/access-namespace-preflight.js +13 -12
  26. package/dist/access-observe-write-surface.d.ts +10 -10
  27. package/dist/access-observe-write-surface.js +13 -12
  28. package/dist/access-operations-batch.js +14 -13
  29. package/dist/access-operations.d.ts +13 -13
  30. package/dist/access-operations.js +15 -14
  31. package/dist/access-recall-concurrency.d.ts +10 -10
  32. package/dist/access-recall-concurrency.js +13 -12
  33. package/dist/access-recall-response.d.ts +10 -10
  34. package/dist/access-recall-response.js +13 -12
  35. package/dist/access-recall-surface.d.ts +10 -10
  36. package/dist/access-recall-surface.js +13 -12
  37. package/dist/access-schema.d.ts +84 -84
  38. package/dist/{access-service-C6QuKBCG.d.ts → access-service-D1BkxwSf.d.ts} +7 -7
  39. package/dist/access-service-helpers.d.ts +10 -10
  40. package/dist/access-service.d.ts +10 -10
  41. package/dist/access-service.js +13 -12
  42. package/dist/access-surface-catalog.d.ts +10 -10
  43. package/dist/access-wearables-meetings-surface.d.ts +3 -3
  44. package/dist/action-confidence.d.ts +1 -1
  45. package/dist/active-memory-bridge.d.ts +1 -1
  46. package/dist/active-recall.d.ts +1 -1
  47. package/dist/active-recall.js +2 -2
  48. package/dist/behavior-learner.d.ts +1 -1
  49. package/dist/behavior-signals.d.ts +1 -1
  50. package/dist/bootstrap.d.ts +8 -8
  51. package/dist/briefing.d.ts +2 -2
  52. package/dist/briefing.js +3 -3
  53. package/dist/buffer-surprise-report.d.ts +1 -1
  54. package/dist/buffer-turn-helpers.d.ts +1 -1
  55. package/dist/buffer.d.ts +2 -2
  56. package/dist/bulk-import/index.d.ts +3 -3
  57. package/dist/calibration.d.ts +1 -1
  58. package/dist/capabilities.d.ts +1 -1
  59. package/dist/{catalog-Du4bpZWM.d.ts → catalog-DPQynQZG.d.ts} +1 -1
  60. package/dist/causal-behavior.d.ts +1 -1
  61. package/dist/causal-consolidation.d.ts +1 -1
  62. package/dist/causal-consolidation.js +4 -4
  63. package/dist/causal-trajectory-graph.d.ts +1 -1
  64. package/dist/{chunk-AVGTOOYP.js → chunk-3C2TGBDB.js} +2 -2
  65. package/dist/{chunk-443XCR34.js → chunk-3SG4FGDV.js} +53 -41
  66. package/dist/chunk-3SG4FGDV.js.map +1 -0
  67. package/dist/{chunk-MHCRASVK.js → chunk-5N26WBPQ.js} +2 -2
  68. package/dist/{chunk-CMFUYOYB.js → chunk-5TOV3D6U.js} +2 -2
  69. package/dist/{chunk-SHTPVI47.js → chunk-6GIMMNVK.js} +3 -3
  70. package/dist/{chunk-5JUYBWJD.js → chunk-6I2C3EOH.js} +18 -18
  71. package/dist/chunk-7VIB7PAE.js +142 -0
  72. package/dist/chunk-7VIB7PAE.js.map +1 -0
  73. package/dist/{chunk-CNZLKQEL.js → chunk-AXUU7SG3.js} +2 -2
  74. package/dist/{chunk-7ERHAARG.js → chunk-BI6RE2ZS.js} +2 -2
  75. package/dist/{chunk-GYGXKATH.js → chunk-CQ5MR2HQ.js} +16 -12
  76. package/dist/chunk-CQ5MR2HQ.js.map +1 -0
  77. package/dist/{chunk-CYM2PHLB.js → chunk-CWPDM66T.js} +8 -7
  78. package/dist/chunk-CWPDM66T.js.map +1 -0
  79. package/dist/{chunk-UGAZILZG.js → chunk-F2KMAFEB.js} +2 -2
  80. package/dist/{chunk-G57BGHQ2.js → chunk-FHEJ22B7.js} +11 -5
  81. package/dist/chunk-FHEJ22B7.js.map +1 -0
  82. package/dist/{chunk-DMT2RGAZ.js → chunk-FXGLFGIG.js} +3 -3
  83. package/dist/{chunk-6BNE62PM.js → chunk-GDC4INBF.js} +2 -2
  84. package/dist/{chunk-HXDWZFNP.js → chunk-GSL47NPM.js} +1 -1
  85. package/dist/chunk-GSL47NPM.js.map +1 -0
  86. package/dist/{chunk-DJH35IVS.js → chunk-JDXDA5OO.js} +2 -2
  87. package/dist/{chunk-ZBDORYWM.js → chunk-KPJQTSRJ.js} +2 -2
  88. package/dist/{chunk-CPD6C6K6.js → chunk-KXGN6G2Y.js} +3 -3
  89. package/dist/chunk-KXGN6G2Y.js.map +1 -0
  90. package/dist/{chunk-F5EVTFQK.js → chunk-MSXWUXFE.js} +2 -2
  91. package/dist/{chunk-XSPD6KQL.js → chunk-MVW234LO.js} +2 -2
  92. package/dist/{chunk-5TRIAPT4.js → chunk-NHRNYJPJ.js} +4 -4
  93. package/dist/{chunk-VGK33D3K.js → chunk-OEXKYYVH.js} +2 -2
  94. package/dist/{chunk-VK33JSBR.js → chunk-OYFDEJZB.js} +23 -6
  95. package/dist/chunk-OYFDEJZB.js.map +1 -0
  96. package/dist/{chunk-JKTHT4KX.js → chunk-PWKZV4A3.js} +3 -3
  97. package/dist/{chunk-BVJIAIB3.js → chunk-Q4XL7LJW.js} +32 -11
  98. package/dist/chunk-Q4XL7LJW.js.map +1 -0
  99. package/dist/{chunk-AL73FWSS.js → chunk-QY66HJ4X.js} +2 -2
  100. package/dist/{chunk-KWU6MAD4.js → chunk-R4Q7CQGZ.js} +2 -2
  101. package/dist/{chunk-IB26HVAJ.js → chunk-TM72UOX2.js} +3 -3
  102. package/dist/chunk-TM72UOX2.js.map +1 -0
  103. package/dist/{chunk-MYXWPG5O.js → chunk-TXBU7YDV.js} +2 -2
  104. package/dist/{chunk-KJP2R5MJ.js → chunk-UGCUVLOL.js} +25 -21
  105. package/dist/chunk-UGCUVLOL.js.map +1 -0
  106. package/dist/{chunk-7OCTH7AJ.js → chunk-UQVGDEAJ.js} +2 -2
  107. package/dist/{chunk-VQTRSX4R.js → chunk-WGCTFGLW.js} +2 -2
  108. package/dist/{chunk-4CSTEPFA.js → chunk-XRWVXPEM.js} +2 -2
  109. package/dist/{chunk-ENLZOWYK.js → chunk-ZERSIPFC.js} +2 -2
  110. package/dist/{cli-ClXRCu08.d.ts → cli-IUhV-lmk.d.ts} +5 -5
  111. package/dist/cli.d.ts +12 -12
  112. package/dist/cli.js +30 -29
  113. package/dist/compounding/engine.d.ts +2 -2
  114. package/dist/compounding/engine.js +3 -3
  115. package/dist/compounding/preference-consolidator.d.ts +1 -1
  116. package/dist/compression-optimizer.d.ts +1 -1
  117. package/dist/config.d.ts +1 -1
  118. package/dist/config.js +2 -2
  119. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  120. package/dist/connectors/codex-materialize-runner.js +3 -3
  121. package/dist/connectors/codex-materialize.d.ts +1 -1
  122. package/dist/connectors/index.d.ts +1 -1
  123. package/dist/connectors/index.js +3 -3
  124. package/dist/consolidation-provenance-check.d.ts +2 -2
  125. package/dist/consolidation-undo.d.ts +2 -2
  126. package/dist/contradiction/index.d.ts +2 -2
  127. package/dist/conversation-index/backend.d.ts +1 -1
  128. package/dist/conversation-index/chunker.d.ts +1 -1
  129. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  130. package/dist/conversation-index/indexer.d.ts +1 -1
  131. package/dist/conversation-index/search.d.ts +1 -1
  132. package/dist/corpus-watermark.d.ts +7 -1
  133. package/dist/corpus-watermark.js +5 -5
  134. package/dist/day-summary.d.ts +1 -1
  135. package/dist/delinearize.d.ts +1 -1
  136. package/dist/direct-answer-wiring.d.ts +1 -1
  137. package/dist/direct-answer.d.ts +1 -1
  138. package/dist/embedding-fallback.d.ts +1 -1
  139. package/dist/enrichment/index.d.ts +1 -1
  140. package/dist/entity-retrieval.d.ts +2 -2
  141. package/dist/entity-retrieval.js +3 -3
  142. package/dist/entity-schema.d.ts +1 -1
  143. package/dist/explicit-capture.d.ts +8 -8
  144. package/dist/extraction-error-classification.d.ts +1 -1
  145. package/dist/extraction-faithfulness.d.ts +1 -1
  146. package/dist/extraction-judge-telemetry.d.ts +1 -1
  147. package/dist/extraction-judge-training.d.ts +1 -1
  148. package/dist/extraction-judge.d.ts +1 -1
  149. package/dist/extraction-liveness.d.ts +1 -1
  150. package/dist/extraction-liveness.js +3 -1
  151. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  152. package/dist/extraction-source-grounding.d.ts +1 -1
  153. package/dist/extraction.d.ts +1 -1
  154. package/dist/extraction.js +3 -3
  155. package/dist/fallback-llm.d.ts +1 -1
  156. package/dist/graph-dashboard-diff.d.ts +1 -1
  157. package/dist/graph-dashboard-key.d.ts +1 -1
  158. package/dist/graph-dashboard-parser.d.ts +1 -1
  159. package/dist/graph-edge-reinforcement.d.ts +1 -1
  160. package/dist/graph-snapshot.d.ts +1 -1
  161. package/dist/graph.d.ts +1 -1
  162. package/dist/importance.d.ts +1 -1
  163. package/dist/importers/index.d.ts +1 -1
  164. package/dist/in-flight-reads.d.ts +1 -1
  165. package/dist/index.d.ts +407 -407
  166. package/dist/index.js +35 -34
  167. package/dist/intent.d.ts +1 -1
  168. package/dist/lcm/engine.d.ts +1 -1
  169. package/dist/lcm/index.d.ts +1 -1
  170. package/dist/lcm/tools.d.ts +1 -1
  171. package/dist/lifecycle.d.ts +1 -1
  172. package/dist/live-connectors-runner.d.ts +1 -1
  173. package/dist/local-llm.d.ts +1 -1
  174. package/dist/local-model-endpoint.d.ts +1 -1
  175. package/dist/maintenance/memory-governance.d.ts +1 -1
  176. package/dist/maintenance/memory-governance.js +3 -3
  177. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  178. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
  179. package/dist/maintenance/rebuild-memory-projection.d.ts +2 -2
  180. package/dist/maintenance/rebuild-memory-projection.js +4 -4
  181. package/dist/{maintenance-Dsvprbod.d.ts → maintenance-DVBLXkFw.d.ts} +3 -3
  182. package/dist/mcp-memory-inspector-app.d.ts +10 -10
  183. package/dist/memory-action-policy.d.ts +1 -1
  184. package/dist/memory-cache.d.ts +1 -1
  185. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  186. package/dist/memory-projection-store.d.ts +1 -1
  187. package/dist/memory-provenance.d.ts +1 -1
  188. package/dist/memory-worth-outcomes.d.ts +2 -2
  189. package/dist/models-json.d.ts +1 -1
  190. package/dist/namespaces/migrate.d.ts +4 -3
  191. package/dist/namespaces/migrate.js +4 -4
  192. package/dist/namespaces/principal.d.ts +1 -1
  193. package/dist/namespaces/search.d.ts +1 -1
  194. package/dist/namespaces/storage.d.ts +3 -3
  195. package/dist/namespaces/storage.js +3 -3
  196. package/dist/native-knowledge.d.ts +1 -1
  197. package/dist/offline-sync-impression-drain.d.ts +1 -1
  198. package/dist/operator-doctor-corpus.d.ts +1 -1
  199. package/dist/operator-doctor-corpus.js +6 -6
  200. package/dist/operator-doctor-replica.d.ts +1 -1
  201. package/dist/operator-toolkit.d.ts +5 -4
  202. package/dist/operator-toolkit.js +12 -11
  203. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  204. package/dist/orchestration/maintenance.d.ts +4 -4
  205. package/dist/orchestration/maintenance.js +8 -8
  206. package/dist/{orchestrator-CEhod0MJ.d.ts → orchestrator-fYTncnLy.d.ts} +7 -7
  207. package/dist/orchestrator.d.ts +8 -8
  208. package/dist/orchestrator.js +35 -34
  209. package/dist/patterns-cli.d.ts +1 -1
  210. package/dist/{pipeline-DSLWFeHz.d.ts → pipeline-Cs76XC-p.d.ts} +1 -1
  211. package/dist/policy-runtime.d.ts +1 -1
  212. package/dist/proactive-contention.d.ts +1 -1
  213. package/dist/provenance.d.ts +1 -1
  214. package/dist/{qmd-BSDGyr0H.d.ts → qmd-WJwvBgiF.d.ts} +1 -1
  215. package/dist/qmd-preflight.d.ts +2 -2
  216. package/dist/qmd-recall-cache.d.ts +1 -1
  217. package/dist/qmd.d.ts +2 -2
  218. package/dist/recall-concurrency-config.d.ts +1 -1
  219. package/dist/recall-disclosure-escalation.d.ts +1 -1
  220. package/dist/recall-explain-renderer.d.ts +1 -1
  221. package/dist/recall-explain-renderer.js +3 -3
  222. package/dist/recall-memory-map.d.ts +1 -1
  223. package/dist/recall-planner-llm.d.ts +1 -1
  224. package/dist/recall-state.d.ts +1 -1
  225. package/dist/recall-tag-filter.d.ts +1 -1
  226. package/dist/recall-timings.d.ts +1 -1
  227. package/dist/recall-xray-cli.d.ts +1 -1
  228. package/dist/recall-xray-cli.js +4 -4
  229. package/dist/recall-xray-renderer.d.ts +1 -1
  230. package/dist/recall-xray-renderer.js +3 -3
  231. package/dist/recall-xray.d.ts +1 -1
  232. package/dist/recall-xray.js +2 -2
  233. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  234. package/dist/replay/normalizers/claude.d.ts +1 -1
  235. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  236. package/dist/replay/normalizers/shared.d.ts +1 -1
  237. package/dist/replay/runner.d.ts +1 -1
  238. package/dist/replay/types.d.ts +1 -1
  239. package/dist/replica-divergence.d.ts +1 -1
  240. package/dist/replica-peers-config.d.ts +1 -1
  241. package/dist/resolve-auth-token.d.ts +1 -1
  242. package/dist/resume-bundles.js +3 -3
  243. package/dist/retrieval-agents.d.ts +2 -2
  244. package/dist/retrieval-tiers.d.ts +1 -1
  245. package/dist/routing/engine.d.ts +1 -1
  246. package/dist/routing/store.d.ts +1 -1
  247. package/dist/salvage-envelope.d.ts +1 -1
  248. package/dist/schemas.d.ts +76 -76
  249. package/dist/{scope-profiles-C4zY-a2K.d.ts → scope-profiles-CQ0NAleS.d.ts} +1 -1
  250. package/dist/search/embed-helper.d.ts +1 -1
  251. package/dist/search/factory.d.ts +1 -1
  252. package/dist/search/index.d.ts +1 -1
  253. package/dist/search/lancedb-backend.d.ts +1 -1
  254. package/dist/search/meilisearch-backend.d.ts +1 -1
  255. package/dist/search/noop-backend.d.ts +1 -1
  256. package/dist/search/orama-backend.d.ts +1 -1
  257. package/dist/search/port.d.ts +1 -1
  258. package/dist/search/remote-backend.d.ts +1 -1
  259. package/dist/{semantic-consolidation-ChKRYpRO.d.ts → semantic-consolidation-BWxOBMtz.d.ts} +1 -1
  260. package/dist/semantic-consolidation.d.ts +2 -2
  261. package/dist/semantic-consolidation.js +4 -4
  262. package/dist/semantic-rule-promotion.js +3 -3
  263. package/dist/semantic-rule-verifier.d.ts +1 -1
  264. package/dist/semantic-rule-verifier.js +3 -3
  265. package/dist/{service-BlOfGid8.d.ts → service-CLuMO-pa.d.ts} +2 -2
  266. package/dist/session-observer-bands.d.ts +1 -1
  267. package/dist/session-observer-state.d.ts +1 -1
  268. package/dist/shared-context/manager.d.ts +9 -9
  269. package/dist/signal.d.ts +1 -1
  270. package/dist/source-agent-qualifier.d.ts +1 -1
  271. package/dist/source-agent-qualifier.js +3 -3
  272. package/dist/{storage-CNKZocJF.d.ts → storage-Blr71GpS.d.ts} +1 -1
  273. package/dist/storage.d.ts +2 -2
  274. package/dist/storage.js +2 -2
  275. package/dist/summarizer.d.ts +1 -1
  276. package/dist/summary-snapshot.d.ts +1 -1
  277. package/dist/temporal-supersession.d.ts +2 -2
  278. package/dist/temporal-timeline-recall.d.ts +1 -1
  279. package/dist/temporal-validity.d.ts +1 -1
  280. package/dist/threading.d.ts +1 -1
  281. package/dist/tier-migration.d.ts +2 -2
  282. package/dist/tier-routing.d.ts +1 -1
  283. package/dist/topics.d.ts +1 -1
  284. package/dist/transcript.d.ts +1 -1
  285. package/dist/transfer/types.d.ts +66 -66
  286. package/dist/trust-score-stage.d.ts +1 -1
  287. package/dist/trust-score.d.ts +1 -1
  288. package/dist/{types-5398p7Zm.d.ts → types-CqWwMPr_.d.ts} +42 -66
  289. package/dist/types.d.ts +1 -1
  290. package/dist/types.js +1 -1
  291. package/dist/utility-runtime.d.ts +1 -1
  292. package/dist/verified-recall.js +3 -3
  293. package/dist/write-envelope.d.ts +1 -1
  294. package/package.json +2 -2
  295. package/src/access-http.test.ts +62 -2
  296. package/src/access-http.ts +2 -1
  297. package/src/access-service-health.test.ts +39 -17
  298. package/src/access-service.ts +25 -3
  299. package/src/access-surface-catalog.test.ts +1 -0
  300. package/src/cli.ts +3 -3
  301. package/src/config.test.ts +4 -0
  302. package/src/config.ts +1 -5
  303. package/src/corpus-watermark.test.ts +16 -0
  304. package/src/corpus-watermark.ts +28 -5
  305. package/src/extraction-liveness.test.ts +81 -19
  306. package/src/extraction-liveness.ts +96 -98
  307. package/src/extraction-watermark.test.ts +290 -0
  308. package/src/namespaces/migrate.ts +10 -2
  309. package/src/operator-doctor-corpus.test.ts +7 -0
  310. package/src/operator-doctor-corpus.ts +1 -1
  311. package/src/operator-toolkit.ts +8 -8
  312. package/src/orchestration/extraction-watermark.ts +188 -0
  313. package/src/types.ts +1 -7
  314. package/dist/chunk-443XCR34.js.map +0 -1
  315. package/dist/chunk-BVJIAIB3.js.map +0 -1
  316. package/dist/chunk-CPD6C6K6.js.map +0 -1
  317. package/dist/chunk-CYM2PHLB.js.map +0 -1
  318. package/dist/chunk-G57BGHQ2.js.map +0 -1
  319. package/dist/chunk-GYGXKATH.js.map +0 -1
  320. package/dist/chunk-HXDWZFNP.js.map +0 -1
  321. package/dist/chunk-IB26HVAJ.js.map +0 -1
  322. package/dist/chunk-KJP2R5MJ.js.map +0 -1
  323. package/dist/chunk-VK33JSBR.js.map +0 -1
  324. /package/dist/{chunk-AVGTOOYP.js.map → chunk-3C2TGBDB.js.map} +0 -0
  325. /package/dist/{chunk-MHCRASVK.js.map → chunk-5N26WBPQ.js.map} +0 -0
  326. /package/dist/{chunk-CMFUYOYB.js.map → chunk-5TOV3D6U.js.map} +0 -0
  327. /package/dist/{chunk-SHTPVI47.js.map → chunk-6GIMMNVK.js.map} +0 -0
  328. /package/dist/{chunk-5JUYBWJD.js.map → chunk-6I2C3EOH.js.map} +0 -0
  329. /package/dist/{chunk-CNZLKQEL.js.map → chunk-AXUU7SG3.js.map} +0 -0
  330. /package/dist/{chunk-7ERHAARG.js.map → chunk-BI6RE2ZS.js.map} +0 -0
  331. /package/dist/{chunk-UGAZILZG.js.map → chunk-F2KMAFEB.js.map} +0 -0
  332. /package/dist/{chunk-DMT2RGAZ.js.map → chunk-FXGLFGIG.js.map} +0 -0
  333. /package/dist/{chunk-6BNE62PM.js.map → chunk-GDC4INBF.js.map} +0 -0
  334. /package/dist/{chunk-DJH35IVS.js.map → chunk-JDXDA5OO.js.map} +0 -0
  335. /package/dist/{chunk-ZBDORYWM.js.map → chunk-KPJQTSRJ.js.map} +0 -0
  336. /package/dist/{chunk-F5EVTFQK.js.map → chunk-MSXWUXFE.js.map} +0 -0
  337. /package/dist/{chunk-XSPD6KQL.js.map → chunk-MVW234LO.js.map} +0 -0
  338. /package/dist/{chunk-5TRIAPT4.js.map → chunk-NHRNYJPJ.js.map} +0 -0
  339. /package/dist/{chunk-VGK33D3K.js.map → chunk-OEXKYYVH.js.map} +0 -0
  340. /package/dist/{chunk-JKTHT4KX.js.map → chunk-PWKZV4A3.js.map} +0 -0
  341. /package/dist/{chunk-AL73FWSS.js.map → chunk-QY66HJ4X.js.map} +0 -0
  342. /package/dist/{chunk-KWU6MAD4.js.map → chunk-R4Q7CQGZ.js.map} +0 -0
  343. /package/dist/{chunk-MYXWPG5O.js.map → chunk-TXBU7YDV.js.map} +0 -0
  344. /package/dist/{chunk-7OCTH7AJ.js.map → chunk-UQVGDEAJ.js.map} +0 -0
  345. /package/dist/{chunk-VQTRSX4R.js.map → chunk-WGCTFGLW.js.map} +0 -0
  346. /package/dist/{chunk-4CSTEPFA.js.map → chunk-XRWVXPEM.js.map} +0 -0
  347. /package/dist/{chunk-ENLZOWYK.js.map → chunk-ZERSIPFC.js.map} +0 -0
@@ -20,26 +20,26 @@ declare const ExportManifestV1Schema: z.ZodObject<{
20
20
  bytes: number;
21
21
  }>, "many">;
22
22
  }, "strip", z.ZodTypeAny, {
23
- schemaVersion: 1;
23
+ format: "openclaw-engram-export";
24
24
  createdAt: string;
25
+ pluginVersion: string;
25
26
  files: {
26
27
  path: string;
27
28
  sha256: string;
28
29
  bytes: number;
29
30
  }[];
30
- format: "openclaw-engram-export";
31
- pluginVersion: string;
31
+ schemaVersion: 1;
32
32
  includesTranscripts: boolean;
33
33
  }, {
34
- schemaVersion: 1;
34
+ format: "openclaw-engram-export";
35
35
  createdAt: string;
36
+ pluginVersion: string;
36
37
  files: {
37
38
  path: string;
38
39
  sha256: string;
39
40
  bytes: number;
40
41
  }[];
41
- format: "openclaw-engram-export";
42
- pluginVersion: string;
42
+ schemaVersion: 1;
43
43
  includesTranscripts: boolean;
44
44
  }>;
45
45
  type ExportManifestV1 = z.infer<typeof ExportManifestV1Schema>;
@@ -75,26 +75,26 @@ declare const ExportBundleV1Schema: z.ZodObject<{
75
75
  bytes: number;
76
76
  }>, "many">;
77
77
  }, "strip", z.ZodTypeAny, {
78
- schemaVersion: 1;
78
+ format: "openclaw-engram-export";
79
79
  createdAt: string;
80
+ pluginVersion: string;
80
81
  files: {
81
82
  path: string;
82
83
  sha256: string;
83
84
  bytes: number;
84
85
  }[];
85
- format: "openclaw-engram-export";
86
- pluginVersion: string;
86
+ schemaVersion: 1;
87
87
  includesTranscripts: boolean;
88
88
  }, {
89
- schemaVersion: 1;
89
+ format: "openclaw-engram-export";
90
90
  createdAt: string;
91
+ pluginVersion: string;
91
92
  files: {
92
93
  path: string;
93
94
  sha256: string;
94
95
  bytes: number;
95
96
  }[];
96
- format: "openclaw-engram-export";
97
- pluginVersion: string;
97
+ schemaVersion: 1;
98
98
  includesTranscripts: boolean;
99
99
  }>;
100
100
  records: z.ZodArray<z.ZodObject<{
@@ -109,15 +109,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
109
109
  }>, "many">;
110
110
  }, "strip", z.ZodTypeAny, {
111
111
  manifest: {
112
- schemaVersion: 1;
112
+ format: "openclaw-engram-export";
113
113
  createdAt: string;
114
+ pluginVersion: string;
114
115
  files: {
115
116
  path: string;
116
117
  sha256: string;
117
118
  bytes: number;
118
119
  }[];
119
- format: "openclaw-engram-export";
120
- pluginVersion: string;
120
+ schemaVersion: 1;
121
121
  includesTranscripts: boolean;
122
122
  };
123
123
  records: {
@@ -126,15 +126,15 @@ declare const ExportBundleV1Schema: z.ZodObject<{
126
126
  }[];
127
127
  }, {
128
128
  manifest: {
129
- schemaVersion: 1;
129
+ format: "openclaw-engram-export";
130
130
  createdAt: string;
131
+ pluginVersion: string;
131
132
  files: {
132
133
  path: string;
133
134
  sha256: string;
134
135
  bytes: number;
135
136
  }[];
136
- format: "openclaw-engram-export";
137
- pluginVersion: string;
137
+ schemaVersion: 1;
138
138
  includesTranscripts: boolean;
139
139
  };
140
140
  records: {
@@ -313,16 +313,16 @@ declare const CapsuleBlockSchema: z.ZodObject<{
313
313
  peerProfiles: boolean;
314
314
  }>;
315
315
  }, "strip", z.ZodTypeAny, {
316
- schemaVersion: string;
317
316
  includes: {
318
317
  procedural: boolean;
319
318
  taxonomy: boolean;
320
319
  identityAnchors: boolean;
321
320
  peerProfiles: boolean;
322
321
  };
322
+ description: string;
323
323
  id: string;
324
+ schemaVersion: string;
324
325
  version: string;
325
- description: string;
326
326
  parentCapsule: string | null;
327
327
  parent: {
328
328
  version: string;
@@ -334,16 +334,16 @@ declare const CapsuleBlockSchema: z.ZodObject<{
334
334
  directAnswerEnabled: boolean;
335
335
  };
336
336
  }, {
337
- schemaVersion: string;
338
337
  includes: {
339
338
  procedural: boolean;
340
339
  taxonomy: boolean;
341
340
  identityAnchors: boolean;
342
341
  peerProfiles: boolean;
343
342
  };
343
+ description: string;
344
344
  id: string;
345
+ schemaVersion: string;
345
346
  version: string;
346
- description: string;
347
347
  parentCapsule: string | null;
348
348
  retrievalPolicy: {
349
349
  tierWeights: Record<string, number>;
@@ -464,16 +464,16 @@ declare const ExportManifestV2Schema: z.ZodObject<{
464
464
  peerProfiles: boolean;
465
465
  }>;
466
466
  }, "strip", z.ZodTypeAny, {
467
- schemaVersion: string;
468
467
  includes: {
469
468
  procedural: boolean;
470
469
  taxonomy: boolean;
471
470
  identityAnchors: boolean;
472
471
  peerProfiles: boolean;
473
472
  };
473
+ description: string;
474
474
  id: string;
475
+ schemaVersion: string;
475
476
  version: string;
476
- description: string;
477
477
  parentCapsule: string | null;
478
478
  parent: {
479
479
  version: string;
@@ -485,16 +485,16 @@ declare const ExportManifestV2Schema: z.ZodObject<{
485
485
  directAnswerEnabled: boolean;
486
486
  };
487
487
  }, {
488
- schemaVersion: string;
489
488
  includes: {
490
489
  procedural: boolean;
491
490
  taxonomy: boolean;
492
491
  identityAnchors: boolean;
493
492
  peerProfiles: boolean;
494
493
  };
494
+ description: string;
495
495
  id: string;
496
+ schemaVersion: string;
496
497
  version: string;
497
- description: string;
498
498
  parentCapsule: string | null;
499
499
  retrievalPolicy: {
500
500
  tierWeights: Record<string, number>;
@@ -507,27 +507,25 @@ declare const ExportManifestV2Schema: z.ZodObject<{
507
507
  } | null | undefined;
508
508
  }>;
509
509
  }, "strip", z.ZodTypeAny, {
510
- schemaVersion: 2;
510
+ format: "openclaw-engram-export";
511
511
  createdAt: string;
512
+ pluginVersion: string;
512
513
  files: {
513
514
  path: string;
514
515
  sha256: string;
515
516
  bytes: number;
516
517
  }[];
517
- format: "openclaw-engram-export";
518
- pluginVersion: string;
519
- includesTranscripts: boolean;
520
518
  capsule: {
521
- schemaVersion: string;
522
519
  includes: {
523
520
  procedural: boolean;
524
521
  taxonomy: boolean;
525
522
  identityAnchors: boolean;
526
523
  peerProfiles: boolean;
527
524
  };
525
+ description: string;
528
526
  id: string;
527
+ schemaVersion: string;
529
528
  version: string;
530
- description: string;
531
529
  parentCapsule: string | null;
532
530
  parent: {
533
531
  version: string;
@@ -539,28 +537,28 @@ declare const ExportManifestV2Schema: z.ZodObject<{
539
537
  directAnswerEnabled: boolean;
540
538
  };
541
539
  };
542
- }, {
543
540
  schemaVersion: 2;
541
+ includesTranscripts: boolean;
542
+ }, {
543
+ format: "openclaw-engram-export";
544
544
  createdAt: string;
545
+ pluginVersion: string;
545
546
  files: {
546
547
  path: string;
547
548
  sha256: string;
548
549
  bytes: number;
549
550
  }[];
550
- format: "openclaw-engram-export";
551
- pluginVersion: string;
552
- includesTranscripts: boolean;
553
551
  capsule: {
554
- schemaVersion: string;
555
552
  includes: {
556
553
  procedural: boolean;
557
554
  taxonomy: boolean;
558
555
  identityAnchors: boolean;
559
556
  peerProfiles: boolean;
560
557
  };
558
+ description: string;
561
559
  id: string;
560
+ schemaVersion: string;
562
561
  version: string;
563
- description: string;
564
562
  parentCapsule: string | null;
565
563
  retrievalPolicy: {
566
564
  tierWeights: Record<string, number>;
@@ -572,6 +570,8 @@ declare const ExportManifestV2Schema: z.ZodObject<{
572
570
  forkRoot: string;
573
571
  } | null | undefined;
574
572
  };
573
+ schemaVersion: 2;
574
+ includesTranscripts: boolean;
575
575
  }>;
576
576
  type ExportManifestV2 = z.infer<typeof ExportManifestV2Schema>;
577
577
  declare const ExportBundleV2Schema: z.ZodObject<{
@@ -683,16 +683,16 @@ declare const ExportBundleV2Schema: z.ZodObject<{
683
683
  peerProfiles: boolean;
684
684
  }>;
685
685
  }, "strip", z.ZodTypeAny, {
686
- schemaVersion: string;
687
686
  includes: {
688
687
  procedural: boolean;
689
688
  taxonomy: boolean;
690
689
  identityAnchors: boolean;
691
690
  peerProfiles: boolean;
692
691
  };
692
+ description: string;
693
693
  id: string;
694
+ schemaVersion: string;
694
695
  version: string;
695
- description: string;
696
696
  parentCapsule: string | null;
697
697
  parent: {
698
698
  version: string;
@@ -704,16 +704,16 @@ declare const ExportBundleV2Schema: z.ZodObject<{
704
704
  directAnswerEnabled: boolean;
705
705
  };
706
706
  }, {
707
- schemaVersion: string;
708
707
  includes: {
709
708
  procedural: boolean;
710
709
  taxonomy: boolean;
711
710
  identityAnchors: boolean;
712
711
  peerProfiles: boolean;
713
712
  };
713
+ description: string;
714
714
  id: string;
715
+ schemaVersion: string;
715
716
  version: string;
716
- description: string;
717
717
  parentCapsule: string | null;
718
718
  retrievalPolicy: {
719
719
  tierWeights: Record<string, number>;
@@ -726,27 +726,25 @@ declare const ExportBundleV2Schema: z.ZodObject<{
726
726
  } | null | undefined;
727
727
  }>;
728
728
  }, "strip", z.ZodTypeAny, {
729
- schemaVersion: 2;
729
+ format: "openclaw-engram-export";
730
730
  createdAt: string;
731
+ pluginVersion: string;
731
732
  files: {
732
733
  path: string;
733
734
  sha256: string;
734
735
  bytes: number;
735
736
  }[];
736
- format: "openclaw-engram-export";
737
- pluginVersion: string;
738
- includesTranscripts: boolean;
739
737
  capsule: {
740
- schemaVersion: string;
741
738
  includes: {
742
739
  procedural: boolean;
743
740
  taxonomy: boolean;
744
741
  identityAnchors: boolean;
745
742
  peerProfiles: boolean;
746
743
  };
744
+ description: string;
747
745
  id: string;
746
+ schemaVersion: string;
748
747
  version: string;
749
- description: string;
750
748
  parentCapsule: string | null;
751
749
  parent: {
752
750
  version: string;
@@ -758,28 +756,28 @@ declare const ExportBundleV2Schema: z.ZodObject<{
758
756
  directAnswerEnabled: boolean;
759
757
  };
760
758
  };
761
- }, {
762
759
  schemaVersion: 2;
760
+ includesTranscripts: boolean;
761
+ }, {
762
+ format: "openclaw-engram-export";
763
763
  createdAt: string;
764
+ pluginVersion: string;
764
765
  files: {
765
766
  path: string;
766
767
  sha256: string;
767
768
  bytes: number;
768
769
  }[];
769
- format: "openclaw-engram-export";
770
- pluginVersion: string;
771
- includesTranscripts: boolean;
772
770
  capsule: {
773
- schemaVersion: string;
774
771
  includes: {
775
772
  procedural: boolean;
776
773
  taxonomy: boolean;
777
774
  identityAnchors: boolean;
778
775
  peerProfiles: boolean;
779
776
  };
777
+ description: string;
780
778
  id: string;
779
+ schemaVersion: string;
781
780
  version: string;
782
- description: string;
783
781
  parentCapsule: string | null;
784
782
  retrievalPolicy: {
785
783
  tierWeights: Record<string, number>;
@@ -791,6 +789,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
791
789
  forkRoot: string;
792
790
  } | null | undefined;
793
791
  };
792
+ schemaVersion: 2;
793
+ includesTranscripts: boolean;
794
794
  }>;
795
795
  records: z.ZodArray<z.ZodObject<{
796
796
  path: z.ZodString;
@@ -804,27 +804,25 @@ declare const ExportBundleV2Schema: z.ZodObject<{
804
804
  }>, "many">;
805
805
  }, "strip", z.ZodTypeAny, {
806
806
  manifest: {
807
- schemaVersion: 2;
807
+ format: "openclaw-engram-export";
808
808
  createdAt: string;
809
+ pluginVersion: string;
809
810
  files: {
810
811
  path: string;
811
812
  sha256: string;
812
813
  bytes: number;
813
814
  }[];
814
- format: "openclaw-engram-export";
815
- pluginVersion: string;
816
- includesTranscripts: boolean;
817
815
  capsule: {
818
- schemaVersion: string;
819
816
  includes: {
820
817
  procedural: boolean;
821
818
  taxonomy: boolean;
822
819
  identityAnchors: boolean;
823
820
  peerProfiles: boolean;
824
821
  };
822
+ description: string;
825
823
  id: string;
824
+ schemaVersion: string;
826
825
  version: string;
827
- description: string;
828
826
  parentCapsule: string | null;
829
827
  parent: {
830
828
  version: string;
@@ -836,6 +834,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
836
834
  directAnswerEnabled: boolean;
837
835
  };
838
836
  };
837
+ schemaVersion: 2;
838
+ includesTranscripts: boolean;
839
839
  };
840
840
  records: {
841
841
  content: string;
@@ -843,27 +843,25 @@ declare const ExportBundleV2Schema: z.ZodObject<{
843
843
  }[];
844
844
  }, {
845
845
  manifest: {
846
- schemaVersion: 2;
846
+ format: "openclaw-engram-export";
847
847
  createdAt: string;
848
+ pluginVersion: string;
848
849
  files: {
849
850
  path: string;
850
851
  sha256: string;
851
852
  bytes: number;
852
853
  }[];
853
- format: "openclaw-engram-export";
854
- pluginVersion: string;
855
- includesTranscripts: boolean;
856
854
  capsule: {
857
- schemaVersion: string;
858
855
  includes: {
859
856
  procedural: boolean;
860
857
  taxonomy: boolean;
861
858
  identityAnchors: boolean;
862
859
  peerProfiles: boolean;
863
860
  };
861
+ description: string;
864
862
  id: string;
863
+ schemaVersion: string;
865
864
  version: string;
866
- description: string;
867
865
  parentCapsule: string | null;
868
866
  retrievalPolicy: {
869
867
  tierWeights: Record<string, number>;
@@ -875,6 +873,8 @@ declare const ExportBundleV2Schema: z.ZodObject<{
875
873
  forkRoot: string;
876
874
  } | null | undefined;
877
875
  };
876
+ schemaVersion: 2;
877
+ includesTranscripts: boolean;
878
878
  };
879
879
  records: {
880
880
  content: string;
@@ -1,4 +1,4 @@
1
- import { F as FaithfulnessFrontmatter, O as ProvenanceSource, U as TrustWeights, Q as QmdSearchResult } from './types-5398p7Zm.js';
1
+ import { F as FaithfulnessFrontmatter, O as ProvenanceSource, U as TrustWeights, Q as QmdSearchResult } from './types-CqWwMPr_.js';
2
2
  import { TrustScoreResult, TrustSignals, TrustBand, TrustScoreComponent } from './trust-score.js';
3
3
  import './message-parts/index.js';
4
4
  import './bounded-jsonl-state.js';
@@ -1,4 +1,4 @@
1
- import { U as TrustWeights } from './types-5398p7Zm.js';
1
+ import { U as TrustWeights } from './types-CqWwMPr_.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -977,23 +977,31 @@ interface ExtractionBufferSnapshot {
977
977
  interface ExtractionBufferSource {
978
978
  getBufferSnapshot(): Promise<ExtractionBufferSnapshot>;
979
979
  }
980
+ interface ExtractionRootStats {
981
+ extractionCount?: number;
982
+ lastConsolidationAt?: string | null;
983
+ }
984
+ interface ExtractionWatermarkRead {
985
+ lastExtractionAt: string | null;
986
+ readFailed: boolean;
987
+ readError?: string;
988
+ pending?: boolean;
989
+ rootStats?: ExtractionRootStats;
990
+ }
991
+ type ExtractionWatermarkOrStorage = ExtractionWatermarkRead | {
992
+ readMetadata(): Promise<{
993
+ lastExtractionAt?: string | null;
994
+ } | null>;
995
+ } | {
996
+ loadMeta(): Promise<{
997
+ lastExtractionAt?: string | null;
998
+ }>;
999
+ };
1000
+ declare function coerceExtractionWatermark(watermark: ExtractionWatermarkOrStorage): Promise<ExtractionWatermarkRead>;
980
1001
  /**
981
- * The liveness payload surfaced on `/health.extraction` and in the doctor/stats
982
- * details.
983
- *
984
- * DAEMON-SCOPED SIGNAL: a daemon exposes a single extraction verdict; the
985
- * last-extraction watermark is read from the daemon's default/root store, so
986
- * `/health` returns the same `extraction` block for every namespace argument.
987
- *
988
- * KNOWN LIMITATION (issue #2159): extraction stamps `lastExtractionAt` on the
989
- * PER-NAMESPACE store (`storageFor(selfNamespace)`), so this watermark reflects
990
- * only extraction that stamped the root store (default-namespace work). On a
991
- * single-namespace deployment (the common case) the watermark and buffer share
992
- * one scope and the verdict is exact. On a multi-namespace deployment the verdict
993
- * is NOT guaranteed correct for work isolated to a non-default namespace: it can
994
- * over-report `degraded` (the default namespace idle while another is extracting)
995
- * or miss a stall confined to a non-default namespace. Aggregating the watermark
996
- * across namespace stores is tracked in #2159.
1002
+ * The daemon-scoped liveness payload surfaced on `/health.extraction` and in
1003
+ * doctor/stats details. Its watermark is the maximum successful extraction
1004
+ * across every distinct namespace store, matching the daemon-wide buffer scope.
997
1005
  */
998
1006
  interface ExtractionLivenessStatus {
999
1007
  lastExtractionAt: string | null;
@@ -1002,17 +1010,8 @@ interface ExtractionLivenessStatus {
1002
1010
  oldestBufferedTurnAgeMs: number | null;
1003
1011
  degraded: boolean;
1004
1012
  degradedReason: string | null;
1005
- /**
1006
- * Scope of the last-extraction watermark: `root-store` today (read from the
1007
- * daemon's default/root store only), `aggregate` once it is resolved across
1008
- * every namespace store (#2159). A monitor can alert on
1009
- * `watermarkScope !== "aggregate"` while namespaces are enabled instead of
1010
- * trusting a number that may be wrong in either direction.
1011
- */
1012
- watermarkScope: "root-store" | "aggregate";
1013
- }
1014
- interface ExtractionLivenessStorageLike {
1015
- loadMeta(): Promise<Pick<MetaState, "lastExtractionAt">>;
1013
+ watermarkPending?: boolean;
1014
+ watermarkScope: "aggregate";
1016
1015
  }
1017
1016
  interface ExtractionLivenessOrchestratorLike {
1018
1017
  config: Pick<PluginConfig, "extractionLiveness">;
@@ -1048,17 +1047,16 @@ declare function evaluateExtractionLiveness(input: {
1048
1047
  nowMs: number;
1049
1048
  metaReadFailed?: boolean;
1050
1049
  metaReadError?: string;
1051
- watermarkScope?: "root-store" | "aggregate";
1050
+ watermarkPending?: boolean;
1052
1051
  }): ExtractionLivenessStatus;
1053
1052
  /**
1054
- * Gather the liveness status from a meta store (last-extraction watermark) and
1055
- * an optional buffer (backlog). A read failure on EITHER side is captured and
1056
- * surfaced as a DEGRADED status with a distinct reason (§22) rather than being
1057
- * swallowed into a healthy-looking verdict; no failure path throws.
1053
+ * Gather the liveness status from an aggregate watermark read and an optional
1054
+ * buffer. A read failure on either side is surfaced as a degraded status with a
1055
+ * distinct reason rather than swallowed into a healthy-looking verdict.
1058
1056
  */
1059
1057
  declare function gatherExtractionLivenessStatus(input: {
1060
1058
  config: ExtractionLivenessConfig;
1061
- storage: ExtractionLivenessStorageLike;
1059
+ watermark: ExtractionWatermarkOrStorage;
1062
1060
  buffer: ExtractionBufferSource | undefined;
1063
1061
  nowMs: number;
1064
1062
  }): Promise<ExtractionLivenessStatus>;
@@ -1089,38 +1087,22 @@ declare function resolveExtractionLivenessConfig(block: {
1089
1087
  staleWindowMs?: unknown;
1090
1088
  } | undefined): ExtractionLivenessConfig;
1091
1089
  /**
1092
- * Compute the liveness status for the authenticated `/health` payload and emit
1093
- * the throttled aggregated WARN.
1094
- *
1095
- * The watermark is read from the daemon's default/root store (`orchestrator.storage`),
1096
- * which is why `/health` returns the same `extraction` block for any namespace
1097
- * argument. KNOWN LIMITATION (issue #2159): extraction writes `lastExtractionAt`
1098
- * per-namespace, so this watermark reflects only default-namespace extraction and
1099
- * the verdict is exact only for a single-namespace daemon (see
1100
- * `ExtractionLivenessStatus`).
1090
+ * Compute the daemon-wide liveness status for the authenticated `/health`
1091
+ * payload and emit the throttled aggregate warning.
1101
1092
  */
1102
- declare function computeExtractionLivenessStatus(orchestrator: ExtractionLivenessOrchestratorLike & {
1103
- storage: ExtractionLivenessStorageLike;
1104
- }, throttle?: ExtractionLivenessWarnThrottle, nowMs?: number): Promise<ExtractionLivenessStatus>;
1093
+ declare function computeExtractionLivenessStatus(orchestrator: ExtractionLivenessOrchestratorLike, watermark: ExtractionWatermarkOrStorage, throttle?: ExtractionLivenessWarnThrottle, nowMs?: number): Promise<ExtractionLivenessStatus>;
1105
1094
  /**
1106
1095
  * `remnic doctor` check for extraction-pipeline liveness. Status `warn` when
1107
1096
  * degraded (with a remediation hint), `ok` otherwise.
1108
1097
  */
1109
- declare function summarizeExtractionLiveness(config: Pick<PluginConfig, "extractionLiveness">, storage: ExtractionLivenessStorageLike, buffer?: ExtractionBufferSource, nowMs?: number): Promise<OperatorDoctorCheck>;
1110
- /** Meta fields the `remnic stats` view renders directly, beyond the liveness watermark. */
1111
- type ExtractionStatsMeta = Pick<MetaState, "extractionCount" | "lastExtractionAt" | "lastConsolidationAt">;
1098
+ declare function summarizeExtractionLiveness(config: Pick<PluginConfig, "extractionLiveness">, watermark: ExtractionWatermarkOrStorage, buffer?: ExtractionBufferSource, nowMs?: number): Promise<OperatorDoctorCheck>;
1112
1099
  /**
1113
- * Lines for `remnic stats`: extraction watermark, buffer backlog, and the
1114
- * liveness verdict so dashboards can alert on a stalled pipeline. The meta
1115
- * watermark is loaded HERE (not by the caller) so a meta-read failure surfaces
1116
- * as an explicit DEGRADED verdict plus "unavailable" counts (§22) instead of
1117
- * crashing the whole `stats` command.
1100
+ * Lines for `remnic stats`: the aggregate extraction watermark, root metadata
1101
+ * counters, buffer backlog, and liveness verdict. Root counter failures render
1102
+ * those counters unavailable; the injected aggregate read alone determines
1103
+ * watermark liveness so stats cannot diverge from health and doctor.
1118
1104
  */
1119
- declare function renderExtractionLivenessStats(orchestrator: ExtractionLivenessOrchestratorLike & {
1120
- storage: {
1121
- loadMeta(): Promise<ExtractionStatsMeta>;
1122
- };
1123
- }, nowMs?: number): Promise<string[]>;
1105
+ declare function renderExtractionLivenessStats(orchestrator: ExtractionLivenessOrchestratorLike, watermark: ExtractionWatermarkRead, nowMs?: number): Promise<string[]>;
1124
1106
 
1125
1107
  /**
1126
1108
  * `replicaPeers` config surface (issue #2149) — types + parser.
@@ -2373,13 +2355,7 @@ interface PluginConfig extends BoundedJsonlStateConfig {
2373
2355
  /** OpenClaw bridge mode (#2120): `"embedded"` (default) or `"delegate"`. */
2374
2356
  bridgeMode: string;
2375
2357
  codexCompat: CodexCompatConfig;
2376
- /**
2377
- * When true (default), the extraction prompt instructs the LLM to classify
2378
- * each fact as `"project"` or `"global"` scope. Global-scoped facts are
2379
- * promoted to the shared namespace so they are visible across all projects.
2380
- * When false, all facts go to whatever namespace the session is in (pre-
2381
- * scope-classification behavior). Rule 30: configuration gate.
2382
- */
2358
+ /** When true (default), LLM classifies facts as `"project"` or `"global"` scope for promotion across projects. */
2383
2359
  extractionScopeClassificationEnabled: boolean;
2384
2360
  /** Enable the LLM-as-judge fact-worthiness gate on extracted facts. Default false (opt-in). */
2385
2361
  extractionJudgeEnabled: boolean;
@@ -4696,4 +4672,4 @@ interface HourlySummary {
4696
4672
  generatedAt: string;
4697
4673
  }
4698
4674
 
4699
- export { type ExtractionFailureClass as $, type AgentPersonaModelConfig as A, type BriefingSections as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ExtractionResult as J, type ConsolidationResult as K, type LiveConnectorsConfig as L, type MemoryFile as M, type DaySummaryResult as N, type ProvenanceSource as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallPlanMode as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type TrustWeights as U, type ConversationThread as V, type LifecycleState as W, type VerificationState as X, type PolicyClass as Y, type ReplicaPeersConfig as Z, type ReplicaPeerConfig as _, type DreamsRunResult as a, type WearableSourceStatus as a$, type ImportanceLevel as a0, type ActiveRecallChatType as a1, type ActiveRecallQueryMode as a2, type ActiveRecallPromptStyle as a3, type ActiveRecallThinking as a4, type ActiveRecallModelFallbackPolicy as a5, type BehaviorSignalEvent as a6, type BufferSurpriseEvent as a7, type ImportTurn as a8, type BulkImportOptions as a9, type QmdSearchExplain as aA, type ActivitySnapshot as aB, type ActivityConfig as aC, type ActivitySourceConfig as aD, type ActivitySourceClient as aE, type FusedWearableConversation as aF, type FusedDayMeta as aG, type FusedDayFile as aH, type MeetingRecord as aI, type MeetingDetectionSource as aJ, type FusedMeeting as aK, type EntityTimelineEntry as aL, type MemoryLink as aM, type BufferState as aN, type MetaState as aO, type FileHygieneConfig as aP, type EntityRelationship as aQ, type EntityActivityEntry as aR, type AccessTrackingEntry as aS, type MemorySummary as aT, type WearableConversation as aU, type WearableSourceSettings as aV, type WearableNativeMemory as aW, type WearableMemoryMode as aX, type WearableSourceConnector as aY, type WearablesConfig as aZ, type WearableSyncSummary as a_, type BulkImportSource as aa, type BulkImportResult as ab, type CompressionGuidelineOptimizerEventCounts as ac, type CompressionGuidelineOptimizerActionSummary as ad, type CompressionGuidelineOptimizerRuleUpdate as ae, type MemoryActionType as af, type MemoryActionEvent as ag, type CompressionGuidelineOptimizerState as ah, type EntityMention as ai, type EntitySchemaDefinition as aj, type EntitySchemaSectionDefinition as ak, type EntityStructuredSection as al, type ProvenanceConfig as am, type ImportanceScore as an, type MemoryIntent as ao, type MemoryActionEligibilityContext as ap, type MemoryActionPolicyResult as aq, type MemoryLifecycleEventType as ar, type MemoryLifecycleStateSummary as as, type ModelProviderConfig as at, type NativeKnowledgeConfig as au, type ExtractionBufferSource as av, summarizeExtractionLiveness as aw, type RetrievalTier as ax, type SignalScanResult as ay, type TopicScore as az, type RecallDisclosure as b, type ExtractionLivenessConfig as b$, type WearableDayTranscript as b0, type WearableCorrectionRule as b1, type MeetingBuildInput as b2, type MeetingsConfig as b3, type MeetingsDetectionInput as b4, type FusionConversationInput as b5, type MeetingActivitySnapshot as b6, type DetectedMeeting as b7, type CodingContext as b8, type DreamsStatusResult as b9, type BulkImportSourceAdapter as bA, type CodexCompatConfig as bB, DEFAULT_RECALL_DISCLOSURE as bC, type DisagreementKind as bD, type ExtractedFact as bE, type FusedContribution as bF, type FusedConversationProvenance as bG, type FusedSegmentProvenance as bH, type FusionSegmentInput as bI, type ImportSourceRole as bJ, type ImportTurnValidationIssue as bK, type MeetingScreenContextEvent as bL, type MeetingSummaryMode as bM, type MemoryActionEligibilitySource as bN, type MemoryObservation as bO, type MemoryScope as bP, RECALL_DISCLOSURE_LEVELS as bQ, type SegmentPickReason as bR, type WearableAuthCheck as bS, type WearableFetchOptions as bT, type WearableFetchPage as bU, type WearableNativeMemoryPage as bV, type WearableTranscriptSegment as bW, isImportRole as bX, isRecallDisclosure as bY, parseIsoTimestamp as bZ, validateImportTurn as b_, type RecallSectionConfig as ba, type BootstrapOptions as bb, type BootstrapResult as bc, type ConsolidationObservation as bd, type CodingModeConfig as be, type FusedSpeaker as bf, type FusedSegment as bg, type FusedDisagreement as bh, type FusionOptions as bi, type FusionDayResult as bj, type CodingKnowledgeConfig as bk, type WearableCleanupSettings as bl, type WearableFusionConfig as bm, type WearableDayTranscriptMeta as bn, type ActivityDayMeta as bo, type ActivityDayDigest as bp, type ActivitySourceCheck as bq, type ActivitySnapshotPage as br, type MeetingsDetectionConfig as bs, type MeetingAudioWindow as bt, type MeetingAppSpan as bu, type ActivityExtractionMode as bv, type BriefingConfig as bw, type BriefingOpenCommitment as bx, type BriefingWindow as by, type BulkImportError as bz, type RecallTierExplain as c, type MemoryActionPolicyDecision as c$, ExtractionLivenessWarnThrottle as c0, computeExtractionLivenessStatus as c1, evaluateExtractionLiveness as c2, formatAgeMs as c3, gatherExtractionLivenessStatus as c4, parseExtractionLivenessConfig as c5, renderExtractionLivenessStats as c6, resolveExtractionLivenessConfig as c7, parseReplicaPeersConfig as c8, resolveReplicaPeersConfig as c9, type ConsolidationAction as cA, type ConsolidationItem as cB, type ContradictionScanConfig as cC, type CronConversationRecallMode as cD, type CronRecallMode as cE, type DreamingConfig as cF, type DreamingNarrativePromptStyle as cG, type DreamsDeepSleepConfig as cH, type DreamsLightSleepConfig as cI, type DreamsPhaseStatus as cJ, type DreamsPhasesConfig as cK, type DreamsRemConfig as cL, type EngramTraceEvent as cM, type ExtractedProcedureStep as cN, type ExtractedQuestion as cO, type ExtractedReasoningTrace as cP, type ExtractedReasoningTraceStep as cQ, type ExtractedRelationship as cR, type ExtractionPassSource as cS, type GitHubLiveConnectorConfig as cT, type GmailLiveConnectorConfig as cU, type GoogleDriveLiveConnectorConfig as cV, type HeartbeatConfig as cW, type HeartbeatDetectionMode as cX, type LlmTraceCallback as cY, type LlmTraceEvent as cZ, type MemoryActionOutcome as c_, type BufferTurnOwner as ca, ProbeTimeoutError as cb, bufferTurnArrayIsSuffixOfSnapshot as cc, bufferTurnArraysEqual as cd, bufferTurnsEqual as ce, copyBufferTurn as cf, describeError as cg, liveTurnsFromExtractionSnapshot as ch, matchingQueuedExtractionPrefixLength as ci, probeWithTimeout as cj, type AgentAccessHttpConfig as ck, type AgentDefaultsConfig as cl, type AgentPersona as cm, type BehaviorLoopAdjustment as cn, type BehaviorSignalDirection as co, type BehaviorSignalType as cp, type BriefingCalendarSourceError as cq, type BufferEntryState as cr, type ChatConfig as cs, type CodexCliReasoningEffort as ct, type CodexCompactionFlushMode as cu, type CodexConnectorConfig as cv, type CodingGraphLspConfig as cw, type CompressionGuidelineActivationState as cx, type CompressionGuidelineOptimizerSourceWindow as cy, type ConfidenceTier as cz, type BriefingFollowup as d, type MemoryActionStatus as d0, type MemoryLinkType as d1, type MemoryOsPresetName as d2, type ModelApi as d3, type ModelDefinitionConfig as d4, type ModelProviderAuthMode as d5, type NamespacePolicy as d6, type NativeKnowledgeFolderRuleConfig as d7, type NativeKnowledgeObsidianVaultConfig as d8, type NativeKnowledgeOpenClawWorkspaceConfig as d9, type NotionLiveConnectorConfig as da, type PrincipalFromSessionKeyMode as db, type PrincipalRule as dc, type ProceduralConfig as dd, type QuestionEntry as de, type ReasoningEffort as df, type RecallPipelineConfig as dg, type RecallTraceEvent as dh, type RelevanceFeedback as di, SPECULATIVE_TTL_DAYS as dj, type ScopeProfileAutoPromoteConfig as dk, type ScopeProfileTeamProjectConfig as dl, type ScopeTeamConfig as dm, type ScoredEntity as dn, type SemanticChunkingConfigShape as dp, type SignalLevel as dq, type SlotBehaviorConfig as dr, type SlotMismatchMode as ds, type TriggerMode as dt, confidenceTier as du, type BriefingFocus as e, type CalendarEvent as f, type BriefingActiveThread as g, type BriefingResult as h, type BriefingRecentEntity as i, type BufferTurn as j, type ExtractionBufferSnapshot as k, type MemoryFrontmatter as l, type Checkpoint as m, type SourceConnectorProvenance as n, type ScopeProfileConfig as o, type ScopeProfileLayerId as p, type ScopeProfilePromotionTarget as q, type BehaviorLoopPolicyState as r, type SecretRef as s, type AgentAccessAuthToken as t, type ExtractionLivenessStatus as u, type MemoryCategory as v, type CaptureMode as w, type MemoryStatus as x, type MemoryProjectionCurrentState as y, type MemoryLifecycleEvent as z };
4675
+ export { type ExtractionFailureClass as $, type AgentPersonaModelConfig as A, type BriefingSections as B, type CalendarSource as C, type DreamsPhase as D, type EntityFile as E, type FaithfulnessFrontmatter as F, type GatewayConfig as G, type HourlySummary as H, type IdentityInjectionMode as I, type ExtractionResult as J, type ConsolidationResult as K, type LiveConnectorsConfig as L, type MemoryFile as M, type DaySummaryResult as N, type ProvenanceSource as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallPlanMode as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type TrustWeights as U, type ConversationThread as V, type LifecycleState as W, type VerificationState as X, type PolicyClass as Y, type ReplicaPeersConfig as Z, type ReplicaPeerConfig as _, type DreamsRunResult as a, type WearableSourceStatus as a$, type ImportanceLevel as a0, type ActiveRecallChatType as a1, type ActiveRecallQueryMode as a2, type ActiveRecallPromptStyle as a3, type ActiveRecallThinking as a4, type ActiveRecallModelFallbackPolicy as a5, type BehaviorSignalEvent as a6, type BufferSurpriseEvent as a7, type ImportTurn as a8, type BulkImportOptions as a9, type TopicScore as aA, type QmdSearchExplain as aB, type ActivitySnapshot as aC, type ActivityConfig as aD, type ActivitySourceConfig as aE, type ActivitySourceClient as aF, type FusedWearableConversation as aG, type FusedDayMeta as aH, type FusedDayFile as aI, type MeetingRecord as aJ, type MeetingDetectionSource as aK, type FusedMeeting as aL, type EntityTimelineEntry as aM, type MemoryLink as aN, type BufferState as aO, type FileHygieneConfig as aP, type EntityRelationship as aQ, type EntityActivityEntry as aR, type AccessTrackingEntry as aS, type MemorySummary as aT, type WearableConversation as aU, type WearableSourceSettings as aV, type WearableNativeMemory as aW, type WearableMemoryMode as aX, type WearableSourceConnector as aY, type WearablesConfig as aZ, type WearableSyncSummary as a_, type BulkImportSource as aa, type BulkImportResult as ab, type CompressionGuidelineOptimizerEventCounts as ac, type CompressionGuidelineOptimizerActionSummary as ad, type CompressionGuidelineOptimizerRuleUpdate as ae, type MemoryActionType as af, type MemoryActionEvent as ag, type CompressionGuidelineOptimizerState as ah, type EntityMention as ai, type EntitySchemaDefinition as aj, type EntitySchemaSectionDefinition as ak, type EntityStructuredSection as al, type ProvenanceConfig as am, type ImportanceScore as an, type MemoryIntent as ao, type MemoryActionEligibilityContext as ap, type MemoryActionPolicyResult as aq, type MemoryLifecycleEventType as ar, type MemoryLifecycleStateSummary as as, type ModelProviderConfig as at, type NativeKnowledgeConfig as au, type ExtractionBufferSource as av, type MetaState as aw, summarizeExtractionLiveness as ax, type RetrievalTier as ay, type SignalScanResult as az, type RecallDisclosure as b, type ExtractionLivenessConfig as b$, type WearableDayTranscript as b0, type WearableCorrectionRule as b1, type MeetingBuildInput as b2, type MeetingsConfig as b3, type MeetingsDetectionInput as b4, type FusionConversationInput as b5, type MeetingActivitySnapshot as b6, type DetectedMeeting as b7, type CodingContext as b8, type DreamsStatusResult as b9, type BulkImportSourceAdapter as bA, type CodexCompatConfig as bB, DEFAULT_RECALL_DISCLOSURE as bC, type DisagreementKind as bD, type ExtractedFact as bE, type FusedContribution as bF, type FusedConversationProvenance as bG, type FusedSegmentProvenance as bH, type FusionSegmentInput as bI, type ImportSourceRole as bJ, type ImportTurnValidationIssue as bK, type MeetingScreenContextEvent as bL, type MeetingSummaryMode as bM, type MemoryActionEligibilitySource as bN, type MemoryObservation as bO, type MemoryScope as bP, RECALL_DISCLOSURE_LEVELS as bQ, type SegmentPickReason as bR, type WearableAuthCheck as bS, type WearableFetchOptions as bT, type WearableFetchPage as bU, type WearableNativeMemoryPage as bV, type WearableTranscriptSegment as bW, isImportRole as bX, isRecallDisclosure as bY, parseIsoTimestamp as bZ, validateImportTurn as b_, type RecallSectionConfig as ba, type BootstrapOptions as bb, type BootstrapResult as bc, type ConsolidationObservation as bd, type CodingModeConfig as be, type FusedSpeaker as bf, type FusedSegment as bg, type FusedDisagreement as bh, type FusionOptions as bi, type FusionDayResult as bj, type CodingKnowledgeConfig as bk, type WearableCleanupSettings as bl, type WearableFusionConfig as bm, type WearableDayTranscriptMeta as bn, type ActivityDayMeta as bo, type ActivityDayDigest as bp, type ActivitySourceCheck as bq, type ActivitySnapshotPage as br, type MeetingsDetectionConfig as bs, type MeetingAudioWindow as bt, type MeetingAppSpan as bu, type ActivityExtractionMode as bv, type BriefingConfig as bw, type BriefingOpenCommitment as bx, type BriefingWindow as by, type BulkImportError as bz, type RecallTierExplain as c, type HeartbeatDetectionMode as c$, ExtractionLivenessWarnThrottle as c0, type ExtractionRootStats as c1, type ExtractionWatermarkOrStorage as c2, type ExtractionWatermarkRead as c3, coerceExtractionWatermark as c4, computeExtractionLivenessStatus as c5, evaluateExtractionLiveness as c6, formatAgeMs as c7, gatherExtractionLivenessStatus as c8, parseExtractionLivenessConfig as c9, type CodingGraphLspConfig as cA, type CompressionGuidelineActivationState as cB, type CompressionGuidelineOptimizerSourceWindow as cC, type ConfidenceTier as cD, type ConsolidationAction as cE, type ConsolidationItem as cF, type ContradictionScanConfig as cG, type CronConversationRecallMode as cH, type CronRecallMode as cI, type DreamingConfig as cJ, type DreamingNarrativePromptStyle as cK, type DreamsDeepSleepConfig as cL, type DreamsLightSleepConfig as cM, type DreamsPhaseStatus as cN, type DreamsPhasesConfig as cO, type DreamsRemConfig as cP, type EngramTraceEvent as cQ, type ExtractedProcedureStep as cR, type ExtractedQuestion as cS, type ExtractedReasoningTrace as cT, type ExtractedReasoningTraceStep as cU, type ExtractedRelationship as cV, type ExtractionPassSource as cW, type GitHubLiveConnectorConfig as cX, type GmailLiveConnectorConfig as cY, type GoogleDriveLiveConnectorConfig as cZ, type HeartbeatConfig as c_, renderExtractionLivenessStats as ca, resolveExtractionLivenessConfig as cb, parseReplicaPeersConfig as cc, resolveReplicaPeersConfig as cd, type BufferTurnOwner as ce, ProbeTimeoutError as cf, bufferTurnArrayIsSuffixOfSnapshot as cg, bufferTurnArraysEqual as ch, bufferTurnsEqual as ci, copyBufferTurn as cj, describeError as ck, liveTurnsFromExtractionSnapshot as cl, matchingQueuedExtractionPrefixLength as cm, probeWithTimeout as cn, type AgentAccessHttpConfig as co, type AgentDefaultsConfig as cp, type AgentPersona as cq, type BehaviorLoopAdjustment as cr, type BehaviorSignalDirection as cs, type BehaviorSignalType as ct, type BriefingCalendarSourceError as cu, type BufferEntryState as cv, type ChatConfig as cw, type CodexCliReasoningEffort as cx, type CodexCompactionFlushMode as cy, type CodexConnectorConfig as cz, type BriefingFollowup as d, type LlmTraceCallback as d0, type LlmTraceEvent as d1, type MemoryActionOutcome as d2, type MemoryActionPolicyDecision as d3, type MemoryActionStatus as d4, type MemoryLinkType as d5, type MemoryOsPresetName as d6, type ModelApi as d7, type ModelDefinitionConfig as d8, type ModelProviderAuthMode as d9, type NamespacePolicy as da, type NativeKnowledgeFolderRuleConfig as db, type NativeKnowledgeObsidianVaultConfig as dc, type NativeKnowledgeOpenClawWorkspaceConfig as dd, type NotionLiveConnectorConfig as de, type PrincipalFromSessionKeyMode as df, type PrincipalRule as dg, type ProceduralConfig as dh, type QuestionEntry as di, type ReasoningEffort as dj, type RecallPipelineConfig as dk, type RecallTraceEvent as dl, type RelevanceFeedback as dm, SPECULATIVE_TTL_DAYS as dn, type ScopeProfileAutoPromoteConfig as dp, type ScopeProfileTeamProjectConfig as dq, type ScopeTeamConfig as dr, type ScoredEntity as ds, type SemanticChunkingConfigShape as dt, type SignalLevel as du, type SlotBehaviorConfig as dv, type SlotMismatchMode as dw, type TriggerMode as dx, confidenceTier as dy, type BriefingFocus as e, type CalendarEvent as f, type BriefingActiveThread as g, type BriefingResult as h, type BriefingRecentEntity as i, type BufferTurn as j, type ExtractionBufferSnapshot as k, type MemoryFrontmatter as l, type Checkpoint as m, type SourceConnectorProvenance as n, type ScopeProfileConfig as o, type ScopeProfileLayerId as p, type ScopeProfilePromotionTarget as q, type BehaviorLoopPolicyState as r, type SecretRef as s, type AgentAccessAuthToken as t, type ExtractionLivenessStatus as u, type MemoryCategory as v, type CaptureMode as w, type MemoryStatus as x, type MemoryProjectionCurrentState as y, type MemoryLifecycleEvent as z };