@remnic/core 9.29.1 → 9.30.1

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 (358) hide show
  1. package/dist/access-admin-ops-surface.d.ts +11 -11
  2. package/dist/access-admin-ops-surface.js +19 -18
  3. package/dist/access-authorization-probe.d.ts +11 -11
  4. package/dist/access-authorization-probe.js +20 -19
  5. package/dist/access-boundary.d.ts +11 -11
  6. package/dist/access-boundary.js +19 -18
  7. package/dist/access-citation-namespace.js +2 -2
  8. package/dist/access-cli.js +45 -44
  9. package/dist/access-cli.js.map +1 -1
  10. package/dist/access-health-types.d.ts +1 -1
  11. package/dist/access-http-lcm-compaction.d.ts +11 -11
  12. package/dist/access-http.d.ts +11 -11
  13. package/dist/access-http.js +25 -24
  14. package/dist/access-identity-continuity-surface.d.ts +8 -8
  15. package/dist/access-identity-continuity-surface.js +19 -18
  16. package/dist/access-lcm-surface.d.ts +10 -10
  17. package/dist/access-lcm-surface.js +19 -18
  18. package/dist/access-mcp.d.ts +11 -11
  19. package/dist/access-mcp.js +23 -22
  20. package/dist/access-memory-search-fanout.d.ts +2 -2
  21. package/dist/{access-namespace-preflight-DCXBkDp0.d.ts → access-namespace-preflight-VfXssvoI.d.ts} +1 -1
  22. package/dist/access-namespace-preflight.d.ts +3 -3
  23. package/dist/access-namespace-preflight.js +19 -18
  24. package/dist/access-observe-write-surface.d.ts +10 -10
  25. package/dist/access-observe-write-surface.js +19 -18
  26. package/dist/access-operations-batch.js +20 -19
  27. package/dist/access-operations.d.ts +11 -11
  28. package/dist/access-operations.js +22 -21
  29. package/dist/access-recall-concurrency.d.ts +11 -11
  30. package/dist/access-recall-concurrency.js +19 -18
  31. package/dist/access-recall-response.d.ts +10 -10
  32. package/dist/access-recall-response.js +19 -18
  33. package/dist/access-recall-surface.d.ts +10 -10
  34. package/dist/access-recall-surface.js +19 -18
  35. package/dist/access-schema.js +3 -3
  36. package/dist/{access-service-DvPW_M5j.d.ts → access-service-B5RwVsTV.d.ts} +7 -7
  37. package/dist/access-service.d.ts +11 -11
  38. package/dist/access-service.js +19 -18
  39. package/dist/access-surface-catalog.d.ts +11 -11
  40. package/dist/access-wearables-meetings-surface.d.ts +4 -3
  41. package/dist/action-confidence.d.ts +1 -1
  42. package/dist/active-memory-bridge.d.ts +1 -1
  43. package/dist/active-recall.d.ts +1 -1
  44. package/dist/active-recall.js +3 -3
  45. package/dist/behavior-learner.d.ts +1 -1
  46. package/dist/behavior-signals.d.ts +1 -1
  47. package/dist/bootstrap.d.ts +8 -8
  48. package/dist/briefing.d.ts +3 -2
  49. package/dist/briefing.js +10 -9
  50. package/dist/buffer-surprise-report.d.ts +1 -1
  51. package/dist/buffer.d.ts +3 -2
  52. package/dist/bulk-import/index.d.ts +3 -3
  53. package/dist/calibration.d.ts +1 -1
  54. package/dist/capabilities.d.ts +1 -1
  55. package/dist/{catalog-BIVgftWu.d.ts → catalog-V7inUQdp.d.ts} +1 -1
  56. package/dist/causal-behavior.d.ts +1 -1
  57. package/dist/causal-consolidation.d.ts +1 -1
  58. package/dist/causal-consolidation.js +11 -10
  59. package/dist/causal-consolidation.js.map +1 -1
  60. package/dist/causal-trajectory-graph.d.ts +1 -1
  61. package/dist/{chunk-FZRQZW4H.js → chunk-2EUVEDF5.js} +2 -2
  62. package/dist/{chunk-PBUZNGMX.js → chunk-4WKA6I65.js} +20 -20
  63. package/dist/{chunk-PBUZNGMX.js.map → chunk-4WKA6I65.js.map} +1 -1
  64. package/dist/{chunk-AIK5W3IW.js → chunk-5TFP4CUL.js} +68 -2
  65. package/dist/chunk-5TFP4CUL.js.map +1 -0
  66. package/dist/{chunk-3JNDOAQ2.js → chunk-5W4ZLBEZ.js} +9 -9
  67. package/dist/{chunk-5ZCUDWD4.js → chunk-62U4J2GN.js} +2 -2
  68. package/dist/{chunk-IGPEJVBY.js → chunk-66772WBP.js} +2 -2
  69. package/dist/{chunk-EP5BVCRI.js → chunk-6BNE62PM.js} +2 -2
  70. package/dist/{chunk-AAP5T6QG.js → chunk-6DNMUYEE.js} +2 -2
  71. package/dist/{chunk-35DL7IOI.js → chunk-6FUPCJUL.js} +7 -7
  72. package/dist/{chunk-JP3YPDAW.js → chunk-6U7F52DE.js} +19 -19
  73. package/dist/{chunk-E4OCKU67.js → chunk-7XC2HX75.js} +2 -2
  74. package/dist/{chunk-OVRQLAYR.js → chunk-AZ5BTEKX.js} +2 -2
  75. package/dist/{chunk-2AXMQWCN.js → chunk-CZRYLSSW.js} +3 -3
  76. package/dist/chunk-FBUE6PD3.js +1769 -0
  77. package/dist/chunk-FBUE6PD3.js.map +1 -0
  78. package/dist/{chunk-PTSNLEXK.js → chunk-FDAMS4PK.js} +2 -2
  79. package/dist/{chunk-WL5EBRDH.js → chunk-FFAZ2XFU.js} +9 -8
  80. package/dist/chunk-FFAZ2XFU.js.map +1 -0
  81. package/dist/{chunk-2GXM5N5A.js → chunk-GIBMDSJ2.js} +2 -2
  82. package/dist/{chunk-E5OBR6CJ.js → chunk-H5CPS5JP.js} +3 -3
  83. package/dist/{chunk-2D7FEUCK.js → chunk-I5NLEENJ.js} +2 -2
  84. package/dist/{chunk-DRBXHRXE.js → chunk-IB26HVAJ.js} +2 -2
  85. package/dist/{chunk-QDKK63Y7.js → chunk-IC6CBHCA.js} +3 -3
  86. package/dist/{chunk-IAEAFLF2.js → chunk-JCBWCYEJ.js} +2 -2
  87. package/dist/{chunk-3PDOVUHC.js → chunk-KXB4VXHY.js} +2 -2
  88. package/dist/{chunk-WU7TTVOD.js → chunk-LBOD4U5B.js} +7 -7
  89. package/dist/{chunk-UBKEQOTD.js → chunk-LGHKJABJ.js} +3 -3
  90. package/dist/{chunk-VSURVXKY.js → chunk-M3C2V3PV.js} +10 -10
  91. package/dist/{chunk-OFHFH655.js → chunk-MJCGLM25.js} +8 -8
  92. package/dist/{chunk-OYJKSZIQ.js → chunk-NHWB6HG2.js} +2 -2
  93. package/dist/{chunk-TC3VNKGX.js → chunk-NM2WP3B7.js} +4 -4
  94. package/dist/{chunk-GAWOEQEQ.js → chunk-P5PXWTW7.js} +2 -2
  95. package/dist/chunk-PH3ZWL3W.js +786 -0
  96. package/dist/chunk-PH3ZWL3W.js.map +1 -0
  97. package/dist/{chunk-2QMKMVHH.js → chunk-QNWXCJ76.js} +2 -2
  98. package/dist/{chunk-JMQUBRV6.js → chunk-RGIWINDN.js} +340 -771
  99. package/dist/chunk-RGIWINDN.js.map +1 -0
  100. package/dist/{chunk-WRFBW2TT.js → chunk-SPJXKAVF.js} +3 -3
  101. package/dist/{chunk-HKJCMOT6.js → chunk-TH2LSRMG.js} +2 -2
  102. package/dist/{chunk-CW4AGY3G.js → chunk-VI2JQPNQ.js} +2 -2
  103. package/dist/{chunk-OP6F6L3S.js → chunk-W5EG6LE3.js} +2 -2
  104. package/dist/{chunk-DEBHXHJR.js → chunk-WIPEXG6R.js} +2 -2
  105. package/dist/{chunk-SH6YO3LT.js → chunk-WVO4G37W.js} +2 -2
  106. package/dist/{chunk-FUYEVEX7.js → chunk-YNQBRLC5.js} +24 -22
  107. package/dist/chunk-YNQBRLC5.js.map +1 -0
  108. package/dist/{chunk-7L45JFPW.js → chunk-YTQNQ4KB.js} +14 -14
  109. package/dist/{chunk-PKRIQL3V.js → chunk-YTSNAUXN.js} +2 -2
  110. package/dist/{chunk-5QDRGWT2.js → chunk-ZPSVBSOF.js} +4 -4
  111. package/dist/{cli-CxoSOiG0.d.ts → cli-C4GbETPC.d.ts} +5 -5
  112. package/dist/cli.d.ts +13 -13
  113. package/dist/cli.js +36 -35
  114. package/dist/compounding/engine.d.ts +3 -2
  115. package/dist/compounding/engine.js +10 -9
  116. package/dist/compounding/preference-consolidator.d.ts +1 -1
  117. package/dist/compression-optimizer.d.ts +1 -1
  118. package/dist/config.d.ts +1 -1
  119. package/dist/config.js +3 -3
  120. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  121. package/dist/connectors/codex-materialize-runner.js +10 -9
  122. package/dist/connectors/codex-materialize.d.ts +1 -1
  123. package/dist/connectors/index.d.ts +1 -1
  124. package/dist/connectors/index.js +10 -9
  125. package/dist/consolidation-provenance-check.d.ts +3 -2
  126. package/dist/consolidation-undo.d.ts +3 -2
  127. package/dist/contradiction/index.d.ts +3 -2
  128. package/dist/conversation-index/backend.d.ts +1 -1
  129. package/dist/conversation-index/chunker.d.ts +1 -1
  130. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  131. package/dist/conversation-index/indexer.d.ts +1 -1
  132. package/dist/conversation-index/search.d.ts +1 -1
  133. package/dist/corpus-watermark.d.ts +1 -1
  134. package/dist/corpus-watermark.js +12 -11
  135. package/dist/day-summary.d.ts +1 -1
  136. package/dist/delinearize.d.ts +1 -1
  137. package/dist/direct-answer-wiring.d.ts +1 -1
  138. package/dist/direct-answer.d.ts +1 -1
  139. package/dist/embedding-fallback.d.ts +1 -1
  140. package/dist/enrichment/index.d.ts +1 -1
  141. package/dist/entity-retrieval.d.ts +3 -2
  142. package/dist/entity-retrieval.js +10 -9
  143. package/dist/entity-schema.d.ts +1 -1
  144. package/dist/explicit-capture.d.ts +52 -10
  145. package/dist/explicit-capture.js +13 -1
  146. package/dist/extraction-error-classification.d.ts +1 -1
  147. package/dist/extraction-faithfulness.d.ts +1 -1
  148. package/dist/extraction-judge-telemetry.d.ts +1 -1
  149. package/dist/extraction-judge-training.d.ts +1 -1
  150. package/dist/extraction-judge.d.ts +1 -1
  151. package/dist/extraction-liveness.d.ts +1 -1
  152. package/dist/extraction-source-grounding-rules.d.ts +1 -1
  153. package/dist/extraction-source-grounding.d.ts +1 -1
  154. package/dist/extraction.d.ts +1 -1
  155. package/dist/fallback-llm.d.ts +1 -1
  156. package/dist/{forget-HRPLVB3W.js → forget-4UY2EOKH.js} +3 -3
  157. package/dist/graph-dashboard-diff.d.ts +1 -1
  158. package/dist/graph-dashboard-key.d.ts +1 -1
  159. package/dist/graph-dashboard-parser.d.ts +1 -1
  160. package/dist/graph-edge-reinforcement.d.ts +1 -1
  161. package/dist/graph-snapshot.d.ts +1 -1
  162. package/dist/graph.d.ts +1 -1
  163. package/dist/importance.d.ts +1 -1
  164. package/dist/importers/index.d.ts +1 -1
  165. package/dist/in-flight-reads.d.ts +1 -1
  166. package/dist/index.d.ts +19 -19
  167. package/dist/index.js +47 -45
  168. package/dist/intent.d.ts +1 -1
  169. package/dist/lcm/engine.d.ts +1 -1
  170. package/dist/lcm/index.d.ts +1 -1
  171. package/dist/lcm/tools.d.ts +1 -1
  172. package/dist/lifecycle.d.ts +1 -1
  173. package/dist/live-connectors-runner.d.ts +1 -1
  174. package/dist/local-llm.d.ts +1 -1
  175. package/dist/local-model-endpoint.d.ts +1 -1
  176. package/dist/maintenance/memory-governance.d.ts +1 -1
  177. package/dist/maintenance/memory-governance.js +10 -9
  178. package/dist/maintenance/rebuild-memory-lifecycle-ledger.d.ts +2 -2
  179. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +10 -9
  180. package/dist/maintenance/rebuild-memory-projection.d.ts +3 -2
  181. package/dist/maintenance/rebuild-memory-projection.js +11 -10
  182. package/dist/{maintenance-Cb-PjxQd.d.ts → maintenance-CL30NWtc.d.ts} +3 -3
  183. package/dist/mcp-memory-inspector-app.d.ts +11 -11
  184. package/dist/memory-action-policy.d.ts +1 -1
  185. package/dist/memory-cache.d.ts +1 -1
  186. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  187. package/dist/memory-projection-store.d.ts +1 -1
  188. package/dist/memory-provenance.d.ts +1 -1
  189. package/dist/memory-worth-outcomes.d.ts +3 -2
  190. package/dist/models-json.d.ts +1 -1
  191. package/dist/namespaces/migrate.d.ts +4 -3
  192. package/dist/namespaces/migrate.js +11 -10
  193. package/dist/namespaces/principal.d.ts +1 -1
  194. package/dist/namespaces/search.d.ts +1 -1
  195. package/dist/namespaces/storage.d.ts +4 -3
  196. package/dist/namespaces/storage.js +10 -9
  197. package/dist/native-knowledge.d.ts +1 -1
  198. package/dist/offline-sync-impression-drain.d.ts +1 -1
  199. package/dist/offline-sync-impression-drain.js +5 -5
  200. package/dist/offline-sync.js +2 -2
  201. package/dist/operator-doctor-corpus.d.ts +1 -1
  202. package/dist/operator-doctor-corpus.js +13 -12
  203. package/dist/operator-doctor-replica.d.ts +1 -1
  204. package/dist/operator-toolkit.d.ts +4 -3
  205. package/dist/operator-toolkit.js +18 -17
  206. package/dist/orchestration/compression-guideline-coordinator.d.ts +3 -2
  207. package/dist/orchestration/maintenance.d.ts +5 -4
  208. package/dist/orchestration/maintenance.js +15 -14
  209. package/dist/{orchestrator-5GKqb_HL.d.ts → orchestrator-CKTCRwWV.d.ts} +7 -7
  210. package/dist/orchestrator.d.ts +8 -8
  211. package/dist/orchestrator.js +45 -44
  212. package/dist/patterns-cli.d.ts +1 -1
  213. package/dist/{pipeline-3Qi1TpRo.d.ts → pipeline-B7wj4rRZ.d.ts} +1 -1
  214. package/dist/policy-runtime.d.ts +1 -1
  215. package/dist/proactive-contention.d.ts +1 -1
  216. package/dist/provenance.d.ts +1 -1
  217. package/dist/{purge-YSGX5BOG.js → purge-533FZLS4.js} +16 -9
  218. package/dist/purge-533FZLS4.js.map +1 -0
  219. package/dist/qmd-preflight.d.ts +2 -2
  220. package/dist/{qmd-D9JqzzRX.d.ts → qmd-q9tg4dHp.d.ts} +1 -1
  221. package/dist/qmd-recall-cache.d.ts +1 -1
  222. package/dist/qmd.d.ts +2 -2
  223. package/dist/recall-concurrency-config.d.ts +1 -1
  224. package/dist/recall-disclosure-escalation.d.ts +1 -1
  225. package/dist/recall-explain-renderer.d.ts +1 -1
  226. package/dist/recall-memory-map.d.ts +1 -1
  227. package/dist/recall-planner-llm.d.ts +1 -1
  228. package/dist/recall-state.d.ts +1 -1
  229. package/dist/recall-state.js +2 -2
  230. package/dist/recall-tag-filter.d.ts +1 -1
  231. package/dist/recall-timings.d.ts +1 -1
  232. package/dist/recall-xray-cli.d.ts +1 -1
  233. package/dist/recall-xray-renderer.d.ts +1 -1
  234. package/dist/recall-xray.d.ts +1 -1
  235. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  236. package/dist/replay/normalizers/claude.d.ts +1 -1
  237. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  238. package/dist/replay/normalizers/shared.d.ts +1 -1
  239. package/dist/replay/runner.d.ts +1 -1
  240. package/dist/replay/types.d.ts +1 -1
  241. package/dist/replica-divergence.d.ts +1 -1
  242. package/dist/replica-peers-config.d.ts +1 -1
  243. package/dist/resolve-auth-token.d.ts +1 -1
  244. package/dist/resume-bundles.js +4 -4
  245. package/dist/retrieval-agents.d.ts +2 -2
  246. package/dist/retrieval-tiers.d.ts +1 -1
  247. package/dist/routing/engine.d.ts +1 -1
  248. package/dist/routing/store.d.ts +1 -1
  249. package/dist/salvage-envelope.d.ts +1 -1
  250. package/dist/{scope-profiles-C4g6_UdP.d.ts → scope-profiles-CWDyglPM.d.ts} +1 -1
  251. package/dist/search/embed-helper.d.ts +1 -1
  252. package/dist/search/factory.d.ts +1 -1
  253. package/dist/search/index.d.ts +1 -1
  254. package/dist/search/lancedb-backend.d.ts +1 -1
  255. package/dist/search/meilisearch-backend.d.ts +1 -1
  256. package/dist/search/noop-backend.d.ts +1 -1
  257. package/dist/search/orama-backend.d.ts +1 -1
  258. package/dist/search/port.d.ts +1 -1
  259. package/dist/search/remote-backend.d.ts +1 -1
  260. package/dist/secure-store/index.js +2 -2
  261. package/dist/{semantic-consolidation-BrxqnzTW.d.ts → semantic-consolidation-BUE3deLn.d.ts} +1 -1
  262. package/dist/semantic-consolidation.d.ts +2 -2
  263. package/dist/semantic-consolidation.js +11 -10
  264. package/dist/semantic-rule-promotion.js +10 -9
  265. package/dist/semantic-rule-verifier.d.ts +1 -1
  266. package/dist/semantic-rule-verifier.js +10 -9
  267. package/dist/{service-Bi1JgxdP.d.ts → service-CXgM0bQG.d.ts} +2 -2
  268. package/dist/session-observer-bands.d.ts +1 -1
  269. package/dist/session-observer-state.d.ts +1 -1
  270. package/dist/shared-context/manager.d.ts +1 -1
  271. package/dist/signal.d.ts +1 -1
  272. package/dist/{storage-CcH6yPk2.d.ts → storage-DysJq-XH.d.ts} +163 -27
  273. package/dist/storage.d.ts +3 -2
  274. package/dist/storage.js +12 -10
  275. package/dist/summarizer.d.ts +1 -1
  276. package/dist/summarizer.js +3 -3
  277. package/dist/summary-snapshot.d.ts +1 -1
  278. package/dist/summary-snapshot.js +2 -2
  279. package/dist/temporal-supersession.d.ts +3 -2
  280. package/dist/temporal-timeline-recall.d.ts +1 -1
  281. package/dist/temporal-validity.d.ts +1 -1
  282. package/dist/threading.d.ts +1 -1
  283. package/dist/tier-migration.d.ts +3 -2
  284. package/dist/tier-routing.d.ts +1 -1
  285. package/dist/topics.d.ts +1 -1
  286. package/dist/transcript.d.ts +1 -1
  287. package/dist/trust-score-stage.d.ts +1 -1
  288. package/dist/trust-score.d.ts +1 -1
  289. package/dist/{types-Dg0w9ADr.d.ts → types-aPPzhnjT.d.ts} +1 -1
  290. package/dist/types.d.ts +1 -1
  291. package/dist/utility-runtime.d.ts +1 -1
  292. package/dist/utils/serialize-mutations.d.ts +11 -7
  293. package/dist/utils/serialize-mutations.js +1 -1
  294. package/dist/verified-recall.js +10 -9
  295. package/dist/write-envelope.d.ts +1 -1
  296. package/package.json +2 -2
  297. package/src/access-observe-write-surface.ts +1 -1
  298. package/src/access-service-coding-write.test.ts +40 -0
  299. package/src/explicit-capture.test.ts +1110 -1
  300. package/src/explicit-capture.ts +534 -135
  301. package/src/maintenance/purge.test.ts +157 -1
  302. package/src/maintenance/purge.ts +15 -9
  303. package/src/orchestration/recall-internal-deps.ts +385 -0
  304. package/src/orchestration/recall-internal.ts +16 -375
  305. package/src/secure-store/secure-fs.ts +78 -1
  306. package/src/storage/content-hash-index.ts +43 -17
  307. package/src/storage/tombstone-blocked-capture-index.ts +562 -0
  308. package/src/storage/tombstone-blocked-capture-mutation.ts +284 -0
  309. package/src/storage/tombstone-blocked-capture-sync.ts +872 -0
  310. package/src/storage-fact-hash-index-defer.test.ts +2900 -57
  311. package/src/storage.ts +266 -265
  312. package/src/testing/subjects/tombstone-blocked-capture.test.ts +181 -0
  313. package/src/utils/serialize-mutations.test.ts +4 -1
  314. package/src/utils/serialize-mutations.ts +26 -27
  315. package/dist/chunk-55MDBZLC.js +0 -490
  316. package/dist/chunk-55MDBZLC.js.map +0 -1
  317. package/dist/chunk-AIK5W3IW.js.map +0 -1
  318. package/dist/chunk-FUYEVEX7.js.map +0 -1
  319. package/dist/chunk-JMQUBRV6.js.map +0 -1
  320. package/dist/chunk-WL5EBRDH.js.map +0 -1
  321. package/dist/purge-YSGX5BOG.js.map +0 -1
  322. /package/dist/{chunk-FZRQZW4H.js.map → chunk-2EUVEDF5.js.map} +0 -0
  323. /package/dist/{chunk-3JNDOAQ2.js.map → chunk-5W4ZLBEZ.js.map} +0 -0
  324. /package/dist/{chunk-5ZCUDWD4.js.map → chunk-62U4J2GN.js.map} +0 -0
  325. /package/dist/{chunk-IGPEJVBY.js.map → chunk-66772WBP.js.map} +0 -0
  326. /package/dist/{chunk-EP5BVCRI.js.map → chunk-6BNE62PM.js.map} +0 -0
  327. /package/dist/{chunk-AAP5T6QG.js.map → chunk-6DNMUYEE.js.map} +0 -0
  328. /package/dist/{chunk-35DL7IOI.js.map → chunk-6FUPCJUL.js.map} +0 -0
  329. /package/dist/{chunk-JP3YPDAW.js.map → chunk-6U7F52DE.js.map} +0 -0
  330. /package/dist/{chunk-E4OCKU67.js.map → chunk-7XC2HX75.js.map} +0 -0
  331. /package/dist/{chunk-OVRQLAYR.js.map → chunk-AZ5BTEKX.js.map} +0 -0
  332. /package/dist/{chunk-2AXMQWCN.js.map → chunk-CZRYLSSW.js.map} +0 -0
  333. /package/dist/{chunk-PTSNLEXK.js.map → chunk-FDAMS4PK.js.map} +0 -0
  334. /package/dist/{chunk-2GXM5N5A.js.map → chunk-GIBMDSJ2.js.map} +0 -0
  335. /package/dist/{chunk-E5OBR6CJ.js.map → chunk-H5CPS5JP.js.map} +0 -0
  336. /package/dist/{chunk-2D7FEUCK.js.map → chunk-I5NLEENJ.js.map} +0 -0
  337. /package/dist/{chunk-DRBXHRXE.js.map → chunk-IB26HVAJ.js.map} +0 -0
  338. /package/dist/{chunk-QDKK63Y7.js.map → chunk-IC6CBHCA.js.map} +0 -0
  339. /package/dist/{chunk-IAEAFLF2.js.map → chunk-JCBWCYEJ.js.map} +0 -0
  340. /package/dist/{chunk-3PDOVUHC.js.map → chunk-KXB4VXHY.js.map} +0 -0
  341. /package/dist/{chunk-WU7TTVOD.js.map → chunk-LBOD4U5B.js.map} +0 -0
  342. /package/dist/{chunk-UBKEQOTD.js.map → chunk-LGHKJABJ.js.map} +0 -0
  343. /package/dist/{chunk-VSURVXKY.js.map → chunk-M3C2V3PV.js.map} +0 -0
  344. /package/dist/{chunk-OFHFH655.js.map → chunk-MJCGLM25.js.map} +0 -0
  345. /package/dist/{chunk-OYJKSZIQ.js.map → chunk-NHWB6HG2.js.map} +0 -0
  346. /package/dist/{chunk-TC3VNKGX.js.map → chunk-NM2WP3B7.js.map} +0 -0
  347. /package/dist/{chunk-GAWOEQEQ.js.map → chunk-P5PXWTW7.js.map} +0 -0
  348. /package/dist/{chunk-2QMKMVHH.js.map → chunk-QNWXCJ76.js.map} +0 -0
  349. /package/dist/{chunk-WRFBW2TT.js.map → chunk-SPJXKAVF.js.map} +0 -0
  350. /package/dist/{chunk-HKJCMOT6.js.map → chunk-TH2LSRMG.js.map} +0 -0
  351. /package/dist/{chunk-CW4AGY3G.js.map → chunk-VI2JQPNQ.js.map} +0 -0
  352. /package/dist/{chunk-OP6F6L3S.js.map → chunk-W5EG6LE3.js.map} +0 -0
  353. /package/dist/{chunk-DEBHXHJR.js.map → chunk-WIPEXG6R.js.map} +0 -0
  354. /package/dist/{chunk-SH6YO3LT.js.map → chunk-WVO4G37W.js.map} +0 -0
  355. /package/dist/{chunk-7L45JFPW.js.map → chunk-YTQNQ4KB.js.map} +0 -0
  356. /package/dist/{chunk-PKRIQL3V.js.map → chunk-YTSNAUXN.js.map} +0 -0
  357. /package/dist/{chunk-5QDRGWT2.js.map → chunk-ZPSVBSOF.js.map} +0 -0
  358. /package/dist/{forget-HRPLVB3W.js.map → forget-4UY2EOKH.js.map} +0 -0
@@ -1,5 +1,5 @@
1
- import { j as BufferTurn, z as ExtractionResult, al as ImportanceScore, w as MemoryStatus, aT as WearableConversation, aU as WearableSourceSettings, aV as WearableNativeMemory, aW as WearableMemoryMode, aX as WearableSourceConnector, aY as WearablesConfig, aZ as WearableSyncSummary, a_ as WearableSourceStatus, a$ as WearableDayTranscript, aE as FusedWearableConversation, b0 as WearableCorrectionRule, b1 as MeetingBuildInput, b2 as MeetingsConfig, aJ as FusedMeeting, aH as MeetingRecord, b3 as MeetingsDetectionInput, b4 as FusionConversationInput, b5 as MeetingActivitySnapshot, b6 as DetectedMeeting } from './types-Dg0w9ADr.js';
2
- import { M as MemoryWriteResult, F as FusionArtifactStore, a as MeetingRecordStore, b as MeetingRecordSummary } from './storage-CcH6yPk2.js';
1
+ import { j as BufferTurn, J as ExtractionResult, am as ImportanceScore, x as MemoryStatus, aU as WearableConversation, aV as WearableSourceSettings, aW as WearableNativeMemory, aX as WearableMemoryMode, aY as WearableSourceConnector, aZ as WearablesConfig, a_ as WearableSyncSummary, a$ as WearableSourceStatus, b0 as WearableDayTranscript, aF as FusedWearableConversation, b1 as WearableCorrectionRule, b2 as MeetingBuildInput, b3 as MeetingsConfig, aK as FusedMeeting, aI as MeetingRecord, b4 as MeetingsDetectionInput, b5 as FusionConversationInput, b6 as MeetingActivitySnapshot, b7 as DetectedMeeting } from './types-aPPzhnjT.js';
2
+ import { M as MemoryWriteResult, F as FusionArtifactStore, a as MeetingRecordStore, b as MeetingRecordSummary } from './storage-DysJq-XH.js';
3
3
  import { SealedMemoryEnvelope } from './write-envelope.js';
4
4
  import { JudgeCandidate, JudgeBatchResult } from './extraction-judge.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import { S as SessionObserverBandConfig } from './types-Dg0w9ADr.js';
1
+ import { S as SessionObserverBandConfig } from './types-aPPzhnjT.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -1,4 +1,4 @@
1
- import { S as SessionObserverBandConfig } from './types-Dg0w9ADr.js';
1
+ import { S as SessionObserverBandConfig } from './types-aPPzhnjT.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { P as PluginConfig } from '../types-Dg0w9ADr.js';
2
+ import { P as PluginConfig } from '../types-aPPzhnjT.js';
3
3
  import '../message-parts/index.js';
4
4
  import '../bounded-jsonl-state.js';
5
5
  import '../operator-doctor-types.js';
package/dist/signal.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ax as SignalScanResult } from './types-Dg0w9ADr.js';
1
+ import { ay as SignalScanResult } from './types-aPPzhnjT.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -1,7 +1,8 @@
1
- import { aE as FusedWearableConversation, aF as FusedDayMeta, aG as FusedDayFile, aH as MeetingRecord, aI as MeetingDetectionSource, aJ as FusedMeeting, aK as EntityTimelineEntry, ak as EntityStructuredSection, E as EntityFile, M as MemoryFile, P as PluginConfig, w as MemoryStatus, v as MemoryCategory, al as ImportanceScore, aL as MemoryLink, l as MemoryFrontmatter, F as FaithfulnessFrontmatter, N as ProvenanceSource, aM as BufferState, aN as MetaState, af as MemoryActionEvent, y as MemoryLifecycleEvent, a6 as BufferSurpriseEvent, a5 as BehaviorSignalEvent, ag as CompressionGuidelineOptimizerState, aO as FileHygieneConfig, aP as EntityRelationship, aQ as EntityActivityEntry, aR as AccessTrackingEntry, x as MemoryProjectionCurrentState, aS as MemorySummary, ay as TopicScore } from './types-Dg0w9ADr.js';
1
+ import { aF as FusedWearableConversation, aG as FusedDayMeta, aH as FusedDayFile, aI as MeetingRecord, aJ as MeetingDetectionSource, aK as FusedMeeting, M as MemoryFile, l as MemoryFrontmatter, aL as EntityTimelineEntry, al as EntityStructuredSection, E as EntityFile, P as PluginConfig, x as MemoryStatus, v as MemoryCategory, am as ImportanceScore, aM as MemoryLink, F as FaithfulnessFrontmatter, O as ProvenanceSource, aN as BufferState, aO as MetaState, ag as MemoryActionEvent, z as MemoryLifecycleEvent, a7 as BufferSurpriseEvent, a6 as BehaviorSignalEvent, ah as CompressionGuidelineOptimizerState, aP as FileHygieneConfig, aQ as EntityRelationship, aR as EntityActivityEntry, aS as AccessTrackingEntry, y as MemoryProjectionCurrentState, aT as MemorySummary, az as TopicScore } from './types-aPPzhnjT.js';
2
2
  import './entity-id-normalization.js';
3
3
  import { VersioningConfig } from './page-versioning.js';
4
4
  import { ConsolidationOperator } from './consolidation-operator.js';
5
+ import { withHeldFileLock } from './utils/serialize-mutations.js';
5
6
  import { ProjectedMemoryBrowseOptions, ProjectedMemoryBrowsePage, readProjectedGovernanceRecord } from './memory-projection-store.js';
6
7
  import { SealedMemoryEnvelope } from './write-envelope.js';
7
8
  import './structured-attributes.js';
@@ -609,13 +610,11 @@ declare class ContentHashIndex {
609
610
  private reconcileRetryBarrier;
610
611
  private reconcileRetryResolve;
611
612
  /**
612
- * On-disk fingerprint (mtime + byte size) of `fact-hashes.txt` captured at the
613
- * last point THIS instance's in-memory set matched disk — after `load()`,
614
- * `save()`, or a reconcile publish (PR #2016 review). A peer process that
615
- * advances the durable index changes this fingerprint;
616
- * {@link isDiskFingerprintCurrent} compares a single cheap `stat` against it so
617
- * a stale-but-"authoritative" snapshot is detected without an O(file-size)
618
- * re-read on the hot path.
613
+ * On-disk fingerprint captured at the last point THIS instance's in-memory
614
+ * set matched disk — after `load()`, `save()`, or a reconcile publish. A peer
615
+ * process that advances the durable index changes its file generation even
616
+ * when byte size and mtime collide, so the freshness check remains safe
617
+ * without an O(file-size) read on the hot path.
619
618
  */
620
619
  private lastSyncedFingerprint;
621
620
  constructor(stateDir: string, secureStoreKeyProvider?: () => Buffer | null, secureStoreWriteKeyProvider?: () => Buffer | null, memoryDir?: string, lockOptions?: ContentHashIndexLockOptions);
@@ -627,11 +626,12 @@ declare class ContentHashIndex {
627
626
  private captureSyncedFingerprint;
628
627
  /**
629
628
  * True when the durable index file is unchanged since this instance last
630
- * synced it (load / save / reconcile). False when a peer advanced it, when the
631
- * file appeared or vanished, or when freshness cannot be established (stat
632
- * error) — the caller then treats the in-memory snapshot as non-authoritative
633
- * and confirms a dedup miss against the durable corpus (PR #2016 review). One
634
- * `stat`, never an O(file-size) read, so the hot path stays cheap.
629
+ * synced it (load / save / reconcile). False when a peer advanced it, when
630
+ * the file appeared or vanished, or when freshness cannot be established
631
+ * (stat error) — the caller then treats the in-memory snapshot as
632
+ * non-authoritative and confirms a dedup miss against the durable corpus.
633
+ * The stat includes file identity and generation metadata so same-size,
634
+ * same-mtime atomic replacements are detected without reading the file body.
635
635
  */
636
636
  isDiskFingerprintCurrent(): Promise<boolean>;
637
637
  /** Check if content already exists in the index. */
@@ -698,6 +698,8 @@ declare class ContentHashIndex {
698
698
  * Test/introspection hook.
699
699
  */
700
700
  get hasPendingReconcileRetry(): boolean;
701
+ /** True while this index has in-memory changes not yet published to disk. */
702
+ get hasPendingChanges(): boolean;
701
703
  /**
702
704
  * Resolve once any armed background reconcile-save retry chain has settled —
703
705
  * either it published the deferred additions, or it exhausted its bounded
@@ -760,6 +762,140 @@ declare class ContentHashIndex {
760
762
  static computeHash(content: string): string;
761
763
  }
762
764
 
765
+ type StreamedOfflineSyncIdentity = {
766
+ identityHash: string;
767
+ };
768
+ type OfflineSyncMemoryParser = (filePath: string, content: Buffer) => MemoryFile | null;
769
+ declare abstract class TombstoneBlockedCaptureIndexHost {
770
+ private tombstoneBlockedCaptureIndex;
771
+ protected abstract tombstoneBlockedCaptureIndexOptions(): TombstoneBlockedCaptureIndexOptions;
772
+ protected abstract writeStorageSecureFile(filePath: string, content: string | Buffer, forceEncrypt?: boolean): Promise<void>;
773
+ protected abstract assertManagedStoragePath(filePath: string, method: string): string;
774
+ protected abstract notifyCatalogWriteForPath(filePath: string): void;
775
+ protected abstract readMemoryByPath(filePath: string): Promise<MemoryFile | null>;
776
+ protected abstract invalidateAllMemoriesCache(): void;
777
+ protected abstract invalidateKnowledgeIndexCache(): void;
778
+ protected abstract invalidateColdMemoriesCache(): void;
779
+ protected abstract bumpArtifactWriteVersion(): number;
780
+ protected abstract bumpMemoryStatusVersion(): void;
781
+ protected abstract bumpMemoryCorpusVersion(): void;
782
+ protected abstract markFactHashIndexNotAuthoritative(): void;
783
+ private writeStorageSecureFileChunks;
784
+ protected getTombstoneBlockedCaptureIndex(): TombstoneBlockedCaptureIndex;
785
+ withTombstoneBlockedCaptureWriteLock<T>(task: () => Promise<T>, identity?: string | readonly string[]): Promise<T>;
786
+ protected withTombstoneBlockedCaptureWriteLockAndHashes<T>(task: () => Promise<T>, identity: string | readonly string[] | undefined, identityHashes: readonly string[]): Promise<T>;
787
+ private writeTombstoneBlockedMutation;
788
+ protected writeTombstoneBlockedMemory(pathname: string, fileContent: string, frontmatter: MemoryFrontmatter, content: string, beforeIndexUpdate?: () => Promise<void>): Promise<void>;
789
+ protected writeTombstoneBlockedChunk(pathname: string, fileContent: string, frontmatter: MemoryFrontmatter, content: string, findDuplicate: () => Promise<MemoryFile | null>, afterWrite: () => Promise<void>): Promise<string>;
790
+ protected writeTombstoneBlockedUpdate(before: MemoryFile, fileContent: string, frontmatter: MemoryFrontmatter, content: string, beforeIndexUpdate?: () => Promise<void>): Promise<void>;
791
+ protected writeTombstoneBlockedFrontmatter(before: MemoryFile, fileContent: string, frontmatter: MemoryFrontmatter, beforeIndexUpdate?: () => Promise<void>): Promise<void>;
792
+ private isTombstoneBlockedMemory;
793
+ private offlineSyncMemoryIdentity;
794
+ private isDuplicateTombstoneBlockedOfflineSync;
795
+ private invalidateAfterOfflineSyncMutation;
796
+ protected runTombstoneBlockedArchive(memory: MemoryFile, task: (current: MemoryFile, markDurable: () => void) => Promise<string | null>): Promise<string | null>;
797
+ protected runTombstoneBlockedInvalidation(memory: MemoryFile, task: (current: MemoryFile, rebuildMarker: string | undefined, markDurable: () => void) => Promise<boolean>, propagateErrors?: boolean, coordinate?: boolean): Promise<boolean>;
798
+ deleteMemoryForMaintenance(memory: MemoryFile, shouldDelete?: (current: MemoryFile) => boolean): Promise<MemoryFile | null>;
799
+ protected runTombstoneBlockedOfflineSyncMutation(target: string, after: MemoryFile | null, write: () => Promise<void>, coordinate?: boolean, streamedIdentity?: StreamedOfflineSyncIdentity): Promise<void>;
800
+ protected writeTombstoneBlockedOfflineSyncFile(target: string, content: Buffer): Promise<void>;
801
+ private prepareTombstoneBlockedOfflineSyncChunks;
802
+ private describeStagedOfflineSyncChunks;
803
+ private computeStagedOfflineSyncIdentity;
804
+ private readStagedOfflineSyncChunks;
805
+ protected writeTombstoneBlockedOfflineSyncFileChunks(target: string, chunks: AsyncIterable<Buffer>): Promise<void>;
806
+ writeOfflineSyncFile(filePath: string, content: Buffer): Promise<void>;
807
+ writeOfflineSyncFileChunks(filePath: string, chunks: AsyncIterable<Buffer>): Promise<void>;
808
+ deleteOfflineSyncFile(filePath: string): Promise<void>;
809
+ protected deleteTombstoneBlockedOfflineSyncFile(target: string): Promise<void>;
810
+ checkTombstoneBlockedExplicitCapture(...args: [string, string, string?]): Promise<{
811
+ has: boolean;
812
+ authoritative: boolean;
813
+ }>;
814
+ hasTombstoneBlockedExplicitCapture(...args: [string, string, string?]): Promise<boolean>;
815
+ isTombstoneBlockedExplicitCaptureIndexAuthoritative(): Promise<boolean>;
816
+ protected rebuildTombstoneBlockedCaptureAfterInvalidationForPath(filePath: string, ownedMarker?: string): Promise<void>;
817
+ protected rebuildTombstoneBlockedCaptureAfterInvalidation(ownedMarker?: string): Promise<void>;
818
+ }
819
+
820
+ type TombstoneBlockedCaptureIndexOptions = {
821
+ readonly stateDir: string;
822
+ readonly memoryDir: string;
823
+ readonly secureStoreKeyProvider: () => Buffer | null;
824
+ readonly secureStoreWriteKeyProvider: () => Buffer | null;
825
+ readonly lockOptions: () => ContentHashIndexLockOptions;
826
+ readonly readAllMemories: () => Promise<MemoryFile[]>;
827
+ readonly readAllColdMemories: () => Promise<MemoryFile[]>;
828
+ readonly parseMemory?: OfflineSyncMemoryParser;
829
+ readonly withHeldFileLock?: typeof withHeldFileLock;
830
+ };
831
+ /**
832
+ * Durable targeted deduplication for tombstone-blocked explicit captures.
833
+ *
834
+ * The active fact-hash index intentionally excludes blocked rows. This small
835
+ * companion index keeps the blocked identity visible without making every
836
+ * authoritative active-index miss scan the full corpus.
837
+ */
838
+ declare class TombstoneBlockedCaptureIndex {
839
+ private readonly options;
840
+ private index;
841
+ private loadPromise;
842
+ private refreshPromise;
843
+ private authoritative;
844
+ private readonly captureWriteLock;
845
+ constructor(options: TombstoneBlockedCaptureIndexOptions);
846
+ private createIndex;
847
+ private indexPath;
848
+ private rebuildMarkerPath;
849
+ private readRebuildMarkers;
850
+ private isAbandonedMarker;
851
+ private isProcessAlive;
852
+ private readProcessStartedAtMs;
853
+ private getClearableRebuildMarkerPaths;
854
+ private getRebuildMarkers;
855
+ private writeMarkerAtomically;
856
+ private markRebuildRequired;
857
+ private markRebuildCommitted;
858
+ private clearRebuildRequired;
859
+ private hasRebuildRequired;
860
+ private setAuthoritative;
861
+ private isBlocked;
862
+ private rebuild;
863
+ private hasPersistedIndexOrMarkers;
864
+ private getIndex;
865
+ withCaptureWriteLock<T>(task: () => Promise<T>, identity?: string | readonly string[]): Promise<T>;
866
+ withCaptureWriteLockHashes<T>(task: () => Promise<T>, identityHashes: readonly string[]): Promise<T>;
867
+ withCaptureWriteLockAndHashes<T>(task: () => Promise<T>, identity: string | readonly string[] | undefined, identityHashes: readonly string[]): Promise<T>;
868
+ private reload;
869
+ /** Return blocked-row membership and authority from one index snapshot. */
870
+ check(content: string, category: string, sourceConnector?: string): Promise<{
871
+ has: boolean;
872
+ authoritative: boolean;
873
+ }>;
874
+ /** Return whether a blocked row matches this explicit-capture identity. */
875
+ has(content: string, category: string, sourceConnector?: string): Promise<boolean>;
876
+ /** Return whether the in-memory index is safe to answer an authoritative miss. */
877
+ isAuthoritative(): Promise<boolean>;
878
+ /** Reserve durable rebuild intent before a blocked memory file is committed. */
879
+ prepareWrite(): Promise<string>;
880
+ /** Mark a prepared write committed once its memory file is durable. */
881
+ commitWrite(rebuildMarker: string): Promise<void>;
882
+ /** Drop a pending marker when the protected memory write never commits. */
883
+ discardWrite(rebuildMarker: string): Promise<void>;
884
+ /** Add a newly persisted blocked row to the durable targeted index. */
885
+ add(memory: MemoryFile, rebuildMarker?: string): Promise<void>;
886
+ /** Rebuild the index after a blocked row changes or is removed. */
887
+ rebuildIfLoaded(ownedMarker?: string): Promise<void>;
888
+ /** Rebuild when either side of a write is blocked and its identity changed. */
889
+ sync(before: MemoryFile, after: MemoryFile, rebuildMarker?: string): Promise<void>;
890
+ markUntrusted(): void;
891
+ private failOpen;
892
+ addWrittenMemory(pathname: string, frontmatter: MemoryFrontmatter, content: string, rebuildMarker?: string): Promise<void>;
893
+ rebuildAfterInvalidation(ownedMarker?: string): Promise<void>;
894
+ syncUpdatedMemory(before: MemoryFile, frontmatter: MemoryFrontmatter, content: string, rebuildMarker?: string): Promise<void>;
895
+ syncUpdatedFrontmatter(before: MemoryFile, frontmatter: MemoryFrontmatter, rebuildMarker?: string): Promise<void>;
896
+ shouldRebuildAfterInvalidationForPath(filePath: string): boolean;
897
+ }
898
+
763
899
  declare function normalizeStructuredSectionFacts(facts: string[]): string[];
764
900
  declare function compileEntityFacts(timeline: EntityTimelineEntry[], structuredSections: EntityStructuredSection[]): string[];
765
901
  declare function compareEntityTimestamps(left?: string, right?: string): number;
@@ -825,6 +961,8 @@ interface MemoryWriteResult {
825
961
  tombstoneBlocked: boolean;
826
962
  /** The tombstone id that blocked the write, when `tombstoneBlocked`. */
827
963
  blockedBy?: string;
964
+ /** Existing pending-review memory id when a blocked write coalesced with it. */
965
+ duplicateOf?: string;
828
966
  }
829
967
  /**
830
968
  * Options accepted by `StorageManager.writeMemory` (extracted verbatim in
@@ -909,7 +1047,7 @@ interface WriteMemoryOptions {
909
1047
  * Passing an envelope-owned field twice is a compile error by construction.
910
1048
  */
911
1049
  type SealedWriteExtras = Omit<WriteMemoryOptions, "confidence" | "tags" | "entityRef" | "source" | "expiresAt" | "validAt" | "structuredAttributes" | "sourceConnector">;
912
- declare class StorageManager {
1050
+ declare class StorageManager extends TombstoneBlockedCaptureIndexHost {
913
1051
  private readonly baseDir;
914
1052
  private readonly entitySchemas?;
915
1053
  private knowledgeIndexCache;
@@ -1063,7 +1201,7 @@ declare class StorageManager {
1063
1201
  * OUTSIDE `stateDir`, so a data write always touches; a write under `stateDir`
1064
1202
  * is a pure state write and is skipped unless `touchStateWrites` is enabled.
1065
1203
  */
1066
- private notifyCatalogWriteForPath;
1204
+ protected notifyCatalogWriteForPath(filePath: string): void;
1067
1205
  /** Whether `filePath` resolves to `stateDir` itself or a path contained in it. */
1068
1206
  private isStateFilePath;
1069
1207
  private tombstoneStore;
@@ -1234,7 +1372,7 @@ declare class StorageManager {
1234
1372
  private versionFilePath;
1235
1373
  private bumpSharedVersion;
1236
1374
  private readSharedVersion;
1237
- private bumpMemoryStatusVersion;
1375
+ protected bumpMemoryStatusVersion(): void;
1238
1376
  getMemoryStatusVersion(): number;
1239
1377
  /**
1240
1378
  * Corpus version sentinel for the hot-memories result cache (issue #1902).
@@ -1246,7 +1384,7 @@ declare class StorageManager {
1246
1384
  * lifecycle/status/entity semantics unchanged.
1247
1385
  */
1248
1386
  getMemoryCorpusVersion(): number;
1249
- private bumpMemoryCorpusVersion;
1387
+ protected bumpMemoryCorpusVersion(): void;
1250
1388
  /**
1251
1389
  * Corpus bump that reports whether THIS process's append was the only one
1252
1390
  * since the pre-bump size (issue #1902, Codex P1). appendFileSync is atomic
@@ -1256,7 +1394,7 @@ declare class StorageManager {
1256
1394
  * still-unread write.
1257
1395
  */
1258
1396
  private bumpMemoryCorpusVersionExclusive;
1259
- private bumpArtifactWriteVersion;
1397
+ protected bumpArtifactWriteVersion(): number;
1260
1398
  private getArtifactWriteVersion;
1261
1399
  private get wearablesDir();
1262
1400
  /**
@@ -1320,9 +1458,8 @@ declare class StorageManager {
1320
1458
  private get entitiesDir();
1321
1459
  private resolveEntityFilePath;
1322
1460
  private readStorageSecureFile;
1323
- private writeStorageSecureFile;
1324
- private writeStorageSecureFileChunks;
1325
- private assertManagedStoragePath;
1461
+ protected writeStorageSecureFile(filePath: string, content: string | Buffer, forceEncrypt?: boolean): Promise<void>;
1462
+ protected assertManagedStoragePath(filePath: string, method: string): string;
1326
1463
  readOfflineSyncFile(filePath: string): Promise<Buffer>;
1327
1464
  digestOfflineSyncFile(filePath: string): Promise<{
1328
1465
  sha256: string;
@@ -1334,11 +1471,7 @@ declare class StorageManager {
1334
1471
  private scheduleOfflineSyncDigestCacheWrite;
1335
1472
  private queueOfflineSyncDigestCacheWrite;
1336
1473
  private offlineSyncFileIsEncrypted;
1337
- writeOfflineSyncFile(filePath: string, content: Buffer): Promise<void>;
1338
1474
  writeOfflineSyncStagingFile(filePath: string, content: Buffer): Promise<void>;
1339
- writeOfflineSyncFileChunks(filePath: string, chunks: AsyncIterable<Buffer>): Promise<void>;
1340
- deleteOfflineSyncFile(filePath: string): Promise<void>;
1341
- private invalidateAfterOfflineSyncMutation;
1342
1475
  createContentHashIndex(): ContentHashIndex;
1343
1476
  private appendStorageSecureFile;
1344
1477
  /**
@@ -1423,6 +1556,8 @@ declare class StorageManager {
1423
1556
  * `remnic doctor --rebuild-tombstones` and tests.
1424
1557
  */
1425
1558
  rebuildTombstonesFromFiles(): Promise<number>;
1559
+ protected markFactHashIndexNotAuthoritative(): void;
1560
+ protected tombstoneBlockedCaptureIndexOptions(): TombstoneBlockedCaptureIndexOptions;
1426
1561
  private getFactHashIndex;
1427
1562
  /**
1428
1563
  * Return the fact-hash index after ensuring it is authoritative — i.e. rebuilt
@@ -1560,6 +1695,7 @@ declare class StorageManager {
1560
1695
  * (RECALL_FALLBACK_DIRS; QMD scans baseDir recursively), so writes stay found.
1561
1696
  */
1562
1697
  private resolveCategoryWritePath;
1698
+ private findExistingTombstoneBlockedMemory;
1563
1699
  writeMemory(category: MemoryCategory, content: string, options?: WriteMemoryOptions): Promise<MemoryWriteResult>;
1564
1700
  /**
1565
1701
  * Sealed-envelope write entry point (issue #1989 PR2).
@@ -1666,7 +1802,7 @@ declare class StorageManager {
1666
1802
  * exclusively by invalidateColdMemoriesCache(), which is called only when
1667
1803
  * cold content actually changes (hot→cold demotions, writeMemoryFileAtomic
1668
1804
  * inside cold/, archiveMemory, etc.). */
1669
- private invalidateAllMemoriesCache;
1805
+ protected invalidateAllMemoriesCache(): void;
1670
1806
  /**
1671
1807
  * Single-file write/delete fast path for the hot-memories cache (issue
1672
1808
  * #1902). Keeps THIS process's version-keyed corpus entry warm by patching
@@ -1697,7 +1833,7 @@ declare class StorageManager {
1697
1833
  * Finding UvUy (PR #402 round-11): bumping the sentinel here makes the
1698
1834
  * per-process in-memory cache safe across process boundaries.
1699
1835
  */
1700
- private invalidateColdMemoriesCache;
1836
+ protected invalidateColdMemoriesCache(): void;
1701
1837
  /** Return the current cold-write version counter for this storage root.
1702
1838
  * Reads the on-disk sentinel (state/cold-write.log) so it reflects writes
1703
1839
  * made by other processes. */
package/dist/storage.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import './types-Dg0w9ADr.js';
2
- export { C as ContentHashIndex, t as ContentHashIndexLockOptions, u as FactHashIndexNotAuthoritativeError, v as MemoryLifecycleEventWriteOptions, M as MemoryWriteResult, R as ReextractJobRequest, w as SealedWriteExtras, S as StorageManager, W as WriteMemoryOptions, x as buildEntitySchemaCacheKey, y as compareEntityTimestamps, z as compileEntityFacts, A as countEntityStructuredFacts, B as fingerprintEntityStructuredFacts, D as isEntitySynthesisStale, E as isValidBufferSurpriseEvent, G as normalizeFrontmatterForPath, H as normalizeStructuredSectionFacts, p as parseEntityFile, I as parseFrontmatter, J as parseFrontmatterStringValue, s as serializeEntityFile } from './storage-CcH6yPk2.js';
1
+ import './types-aPPzhnjT.js';
2
+ export { C as ContentHashIndex, t as ContentHashIndexLockOptions, u as FactHashIndexNotAuthoritativeError, v as MemoryLifecycleEventWriteOptions, M as MemoryWriteResult, R as ReextractJobRequest, w as SealedWriteExtras, S as StorageManager, W as WriteMemoryOptions, x as buildEntitySchemaCacheKey, y as compareEntityTimestamps, z as compileEntityFacts, A as countEntityStructuredFacts, B as fingerprintEntityStructuredFacts, D as isEntitySynthesisStale, E as isValidBufferSurpriseEvent, G as normalizeFrontmatterForPath, H as normalizeStructuredSectionFacts, p as parseEntityFile, I as parseFrontmatter, J as parseFrontmatterStringValue, s as serializeEntityFile } from './storage-DysJq-XH.js';
3
3
  export { normalizeEntityName } from './entity-id-normalization.js';
4
4
  import './page-versioning.js';
5
5
  import './consolidation-operator.js';
@@ -10,6 +10,7 @@ import './types-continuity.js';
10
10
  import './message-parts/index.js';
11
11
  import './bounded-jsonl-state.js';
12
12
  import './operator-doctor-types.js';
13
+ import './utils/serialize-mutations.js';
13
14
  import './maintenance/memory-governance.js';
14
15
  import './runtime/better-sqlite.js';
15
16
  import 'better-sqlite3';
package/dist/storage.js CHANGED
@@ -1,6 +1,4 @@
1
1
  import {
2
- ContentHashIndex,
3
- FactHashIndexNotAuthoritativeError,
4
2
  StorageManager,
5
3
  buildEntitySchemaCacheKey,
6
4
  compareEntityTimestamps,
@@ -15,28 +13,32 @@ import {
15
13
  parseFrontmatter,
16
14
  parseFrontmatterStringValue,
17
15
  serializeEntityFile
18
- } from "./chunk-JMQUBRV6.js";
16
+ } from "./chunk-RGIWINDN.js";
19
17
  import "./chunk-UHVXE24Y.js";
20
- import "./chunk-2QMKMVHH.js";
21
- import "./chunk-DEBHXHJR.js";
18
+ import "./chunk-QNWXCJ76.js";
19
+ import "./chunk-WIPEXG6R.js";
22
20
  import "./chunk-DNHVPZOD.js";
23
21
  import "./chunk-6CIAGZ6X.js";
24
22
  import "./chunk-J6A3CX5N.js";
25
23
  import "./chunk-HKF5VASQ.js";
26
24
  import "./chunk-HUHX2OCX.js";
27
- import "./chunk-OFHFH655.js";
25
+ import "./chunk-MJCGLM25.js";
28
26
  import "./chunk-EGGE52UU.js";
29
- import "./chunk-WL5EBRDH.js";
30
27
  import "./chunk-WRJVB3C2.js";
31
28
  import "./chunk-GCASGYIO.js";
32
- import "./chunk-3CSX3ETE.js";
33
- import "./chunk-RL6NEVXT.js";
34
29
  import "./chunk-ILGC6JH6.js";
35
30
  import "./chunk-SCU65EZI.js";
36
31
  import "./chunk-DM2T26WE.js";
37
32
  import "./chunk-LDXUBPMO.js";
38
33
  import "./chunk-JYIJNNN3.js";
39
34
  import "./chunk-AAD2ZS6P.js";
35
+ import {
36
+ ContentHashIndex,
37
+ FactHashIndexNotAuthoritativeError
38
+ } from "./chunk-FBUE6PD3.js";
39
+ import "./chunk-FFAZ2XFU.js";
40
+ import "./chunk-3CSX3ETE.js";
41
+ import "./chunk-RL6NEVXT.js";
40
42
  import "./chunk-CGASUJVP.js";
41
43
  import {
42
44
  normalizeAttributePairs,
@@ -73,7 +75,7 @@ import "./chunk-FP2373TW.js";
73
75
  import "./chunk-P7FMDTKL.js";
74
76
  import "./chunk-2XRE6FLM.js";
75
77
  import "./chunk-FF4KLI5W.js";
76
- import "./chunk-AIK5W3IW.js";
78
+ import "./chunk-5TFP4CUL.js";
77
79
  import "./chunk-A6XUJE5D.js";
78
80
  import "./chunk-5UZXUTVO.js";
79
81
  import "./chunk-VS2IYZRU.js";
@@ -1,5 +1,5 @@
1
1
  import { ModelRegistry } from './model-registry.js';
2
- import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-Dg0w9ADr.js';
2
+ import { P as PluginConfig, G as GatewayConfig, T as TranscriptEntry, H as HourlySummary } from './types-aPPzhnjT.js';
3
3
  import { TranscriptManager } from './transcript.js';
4
4
  import './message-parts/index.js';
5
5
  import './bounded-jsonl-state.js';
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  HourlySummarizer
3
- } from "./chunk-OVRQLAYR.js";
4
- import "./chunk-AAP5T6QG.js";
3
+ } from "./chunk-AZ5BTEKX.js";
4
+ import "./chunk-6DNMUYEE.js";
5
5
  import "./chunk-WLZYGLJ4.js";
6
6
  import "./chunk-PHWUFPCO.js";
7
7
  import "./chunk-JUXOTY6J.js";
8
8
  import "./chunk-S4DDLTPX.js";
9
9
  import "./chunk-O75CRYGF.js";
10
- import "./chunk-WL5EBRDH.js";
10
+ import "./chunk-FFAZ2XFU.js";
11
11
  import "./chunk-C23BYTJV.js";
12
12
  import "./chunk-QIEUU4UK.js";
13
13
  import "./chunk-L2EXJQJP.js";
@@ -1,4 +1,4 @@
1
- import { H as HourlySummary } from './types-Dg0w9ADr.js';
1
+ import { H as HourlySummary } from './types-aPPzhnjT.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -3,8 +3,8 @@ import {
3
3
  summarySnapshotPath,
4
4
  upsertSummarySnapshot,
5
5
  writeSummarySnapshot
6
- } from "./chunk-AAP5T6QG.js";
7
- import "./chunk-WL5EBRDH.js";
6
+ } from "./chunk-6DNMUYEE.js";
7
+ import "./chunk-FFAZ2XFU.js";
8
8
  import "./chunk-FF4KLI5W.js";
9
9
  import "./chunk-PZ5AY32C.js";
10
10
  export {
@@ -1,5 +1,5 @@
1
- import { l as MemoryFrontmatter } from './types-Dg0w9ADr.js';
2
- import { S as StorageManager } from './storage-CcH6yPk2.js';
1
+ import { l as MemoryFrontmatter } from './types-aPPzhnjT.js';
2
+ import { S as StorageManager } from './storage-DysJq-XH.js';
3
3
  import './message-parts/index.js';
4
4
  import './bounded-jsonl-state.js';
5
5
  import './operator-doctor-types.js';
@@ -7,6 +7,7 @@ import './types-continuity.js';
7
7
  import './entity-id-normalization.js';
8
8
  import './page-versioning.js';
9
9
  import './consolidation-operator.js';
10
+ import './utils/serialize-mutations.js';
10
11
  import './memory-projection-store.js';
11
12
  import './maintenance/memory-governance.js';
12
13
  import './runtime/better-sqlite.js';
@@ -1,4 +1,4 @@
1
- import { M as MemoryFile } from './types-Dg0w9ADr.js';
1
+ import { M as MemoryFile } from './types-aPPzhnjT.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -1,4 +1,4 @@
1
- import { l as MemoryFrontmatter } from './types-Dg0w9ADr.js';
1
+ import { l as MemoryFrontmatter } from './types-aPPzhnjT.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -1,4 +1,4 @@
1
- import { j as BufferTurn, U as ConversationThread } from './types-Dg0w9ADr.js';
1
+ import { j as BufferTurn, V as ConversationThread } from './types-aPPzhnjT.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -1,5 +1,5 @@
1
- import { M as MemoryFile } from './types-Dg0w9ADr.js';
2
- import { S as StorageManager } from './storage-CcH6yPk2.js';
1
+ import { M as MemoryFile } from './types-aPPzhnjT.js';
2
+ import { S as StorageManager } from './storage-DysJq-XH.js';
3
3
  import { MemoryTier } from './tier-routing.js';
4
4
  import { SearchBackend } from './search/port.js';
5
5
  import './message-parts/index.js';
@@ -9,6 +9,7 @@ import './types-continuity.js';
9
9
  import './entity-id-normalization.js';
10
10
  import './page-versioning.js';
11
11
  import './consolidation-operator.js';
12
+ import './utils/serialize-mutations.js';
12
13
  import './memory-projection-store.js';
13
14
  import './maintenance/memory-governance.js';
14
15
  import './runtime/better-sqlite.js';
@@ -1,4 +1,4 @@
1
- import { M as MemoryFile } from './types-Dg0w9ADr.js';
1
+ import { M as MemoryFile } from './types-aPPzhnjT.js';
2
2
  import { LifecycleSignals } from './lifecycle.js';
3
3
  import './message-parts/index.js';
4
4
  import './bounded-jsonl-state.js';
package/dist/topics.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { M as MemoryFile, ay as TopicScore } from './types-Dg0w9ADr.js';
1
+ import { M as MemoryFile, az as TopicScore } from './types-aPPzhnjT.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -1,4 +1,4 @@
1
- import { P as PluginConfig, T as TranscriptEntry, m as Checkpoint } from './types-Dg0w9ADr.js';
1
+ import { P as PluginConfig, T as TranscriptEntry, m as Checkpoint } from './types-aPPzhnjT.js';
2
2
  import { SessionIntegrityReport } from './session-integrity.js';
3
3
  import './message-parts/index.js';
4
4
  import './bounded-jsonl-state.js';
@@ -1,4 +1,4 @@
1
- import { F as FaithfulnessFrontmatter, N as ProvenanceSource, O as TrustWeights, Q as QmdSearchResult } from './types-Dg0w9ADr.js';
1
+ import { F as FaithfulnessFrontmatter, O as ProvenanceSource, U as TrustWeights, Q as QmdSearchResult } from './types-aPPzhnjT.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 { O as TrustWeights } from './types-Dg0w9ADr.js';
1
+ import { U as TrustWeights } from './types-aPPzhnjT.js';
2
2
  import './message-parts/index.js';
3
3
  import './bounded-jsonl-state.js';
4
4
  import './operator-doctor-types.js';
@@ -4676,4 +4676,4 @@ interface HourlySummary {
4676
4676
  generatedAt: string;
4677
4677
  }
4678
4678
 
4679
- export { type ImportanceLevel 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 ConsolidationResult as J, type DaySummaryResult as K, type LiveConnectorsConfig as L, type MemoryFile as M, type ProvenanceSource as N, type TrustWeights as O, type PluginConfig as P, type QmdSearchResult as Q, type RecallPlanMode as R, type SessionObserverBandConfig as S, type TranscriptEntry as T, type ConversationThread as U, type LifecycleState as V, type VerificationState as W, type PolicyClass as X, type ReplicaPeersConfig as Y, type ReplicaPeerConfig as Z, type ExtractionFailureClass as _, type DreamsRunResult as a, type WearableDayTranscript as a$, type ActiveRecallChatType as a0, type ActiveRecallQueryMode as a1, type ActiveRecallPromptStyle as a2, type ActiveRecallThinking as a3, type ActiveRecallModelFallbackPolicy as a4, type BehaviorSignalEvent as a5, type BufferSurpriseEvent as a6, type ImportTurn as a7, type BulkImportOptions as a8, type BulkImportSource as a9, type ActivitySnapshot as aA, type ActivityConfig as aB, type ActivitySourceConfig as aC, type ActivitySourceClient as aD, type FusedWearableConversation as aE, type FusedDayMeta as aF, type FusedDayFile as aG, type MeetingRecord as aH, type MeetingDetectionSource as aI, type FusedMeeting as aJ, type EntityTimelineEntry as aK, type MemoryLink as aL, type BufferState as aM, type MetaState as aN, type FileHygieneConfig as aO, type EntityRelationship as aP, type EntityActivityEntry as aQ, type AccessTrackingEntry as aR, type MemorySummary as aS, type WearableConversation as aT, type WearableSourceSettings as aU, type WearableNativeMemory as aV, type WearableMemoryMode as aW, type WearableSourceConnector as aX, type WearablesConfig as aY, type WearableSyncSummary as aZ, type WearableSourceStatus as a_, type BulkImportResult as aa, type CompressionGuidelineOptimizerEventCounts as ab, type CompressionGuidelineOptimizerActionSummary as ac, type CompressionGuidelineOptimizerRuleUpdate as ad, type MemoryActionType as ae, type MemoryActionEvent as af, type CompressionGuidelineOptimizerState as ag, type EntityMention as ah, type EntitySchemaDefinition as ai, type EntitySchemaSectionDefinition as aj, type EntityStructuredSection as ak, type ImportanceScore as al, type MemoryIntent as am, type MemoryActionEligibilityContext as an, type MemoryActionPolicyResult as ao, type MemoryLifecycleEventType as ap, type MemoryLifecycleStateSummary as aq, type ModelProviderConfig as ar, type NativeKnowledgeConfig as as, type ExtractionBufferSource as at, summarizeExtractionLiveness as au, type ProvenanceConfig as av, type RetrievalTier as aw, type SignalScanResult as ax, type TopicScore as ay, type QmdSearchExplain as az, type RecallDisclosure as b, ExtractionLivenessWarnThrottle as b$, type WearableCorrectionRule as b0, type MeetingBuildInput as b1, type MeetingsConfig as b2, type MeetingsDetectionInput as b3, type FusionConversationInput as b4, type MeetingActivitySnapshot as b5, type DetectedMeeting as b6, type CodingContext as b7, type DreamsStatusResult as b8, type RecallSectionConfig as b9, type CodexCompatConfig as bA, DEFAULT_RECALL_DISCLOSURE as bB, type DisagreementKind as bC, type ExtractedFact as bD, type FusedContribution as bE, type FusedConversationProvenance as bF, type FusedSegmentProvenance as bG, type FusionSegmentInput as bH, type ImportSourceRole as bI, type ImportTurnValidationIssue as bJ, type MeetingScreenContextEvent as bK, type MeetingSummaryMode as bL, type MemoryActionEligibilitySource as bM, type MemoryObservation as bN, type MemoryScope as bO, RECALL_DISCLOSURE_LEVELS as bP, type SegmentPickReason as bQ, type WearableAuthCheck as bR, type WearableFetchOptions as bS, type WearableFetchPage as bT, type WearableNativeMemoryPage as bU, type WearableTranscriptSegment as bV, isImportRole as bW, isRecallDisclosure as bX, parseIsoTimestamp as bY, validateImportTurn as bZ, type ExtractionLivenessConfig as b_, type BootstrapOptions as ba, type BootstrapResult as bb, type ConsolidationObservation as bc, type CodingModeConfig as bd, type FusedSpeaker as be, type FusedSegment as bf, type FusedDisagreement as bg, type FusionOptions as bh, type FusionDayResult as bi, type CodingKnowledgeConfig as bj, type WearableCleanupSettings as bk, type WearableFusionConfig as bl, type WearableDayTranscriptMeta as bm, type ActivityDayMeta as bn, type ActivityDayDigest as bo, type ActivitySourceCheck as bp, type ActivitySnapshotPage as bq, type MeetingsDetectionConfig as br, type MeetingAudioWindow as bs, type MeetingAppSpan as bt, type ActivityExtractionMode as bu, type BriefingConfig as bv, type BriefingOpenCommitment as bw, type BriefingWindow as bx, type BulkImportError as by, type BulkImportSourceAdapter as bz, type RecallTierExplain as c, type NativeKnowledgeOpenClawWorkspaceConfig as c$, computeExtractionLivenessStatus as c0, evaluateExtractionLiveness as c1, formatAgeMs as c2, gatherExtractionLivenessStatus as c3, parseExtractionLivenessConfig as c4, renderExtractionLivenessStats as c5, resolveExtractionLivenessConfig as c6, parseReplicaPeersConfig as c7, resolveReplicaPeersConfig as c8, type AgentAccessHttpConfig as c9, type DreamsPhasesConfig as cA, type DreamsRemConfig as cB, type EngramTraceEvent as cC, type ExtractedProcedureStep as cD, type ExtractedQuestion as cE, type ExtractedReasoningTrace as cF, type ExtractedReasoningTraceStep as cG, type ExtractedRelationship as cH, type ExtractionPassSource as cI, type GitHubLiveConnectorConfig as cJ, type GmailLiveConnectorConfig as cK, type GoogleDriveLiveConnectorConfig as cL, type HeartbeatConfig as cM, type HeartbeatDetectionMode as cN, type LlmTraceCallback as cO, type LlmTraceEvent as cP, type MemoryActionOutcome as cQ, type MemoryActionPolicyDecision as cR, type MemoryActionStatus as cS, type MemoryLinkType as cT, type MemoryOsPresetName as cU, type ModelApi as cV, type ModelDefinitionConfig as cW, type ModelProviderAuthMode as cX, type NamespacePolicy as cY, type NativeKnowledgeFolderRuleConfig as cZ, type NativeKnowledgeObsidianVaultConfig as c_, type AgentDefaultsConfig as ca, type AgentPersona as cb, type BehaviorLoopAdjustment as cc, type BehaviorSignalDirection as cd, type BehaviorSignalType as ce, type BriefingCalendarSourceError as cf, type BufferEntryState as cg, type CaptureMode as ch, type ChatConfig as ci, type CodexCliReasoningEffort as cj, type CodexCompactionFlushMode as ck, type CodexConnectorConfig as cl, type CodingGraphLspConfig as cm, type CompressionGuidelineActivationState as cn, type CompressionGuidelineOptimizerSourceWindow as co, type ConfidenceTier as cp, type ConsolidationAction as cq, type ConsolidationItem as cr, type ContradictionScanConfig as cs, type CronConversationRecallMode as ct, type CronRecallMode as cu, type DreamingConfig as cv, type DreamingNarrativePromptStyle as cw, type DreamsDeepSleepConfig as cx, type DreamsLightSleepConfig as cy, type DreamsPhaseStatus as cz, type BriefingFollowup as d, type NotionLiveConnectorConfig as d0, type PrincipalFromSessionKeyMode as d1, type PrincipalRule as d2, type ProceduralConfig as d3, type QuestionEntry as d4, type ReasoningEffort as d5, type RecallPipelineConfig as d6, type RecallTraceEvent as d7, type RelevanceFeedback as d8, SPECULATIVE_TTL_DAYS as d9, type ScopeProfileAutoPromoteConfig as da, type ScopeProfileTeamProjectConfig as db, type ScopeTeamConfig as dc, type ScoredEntity as dd, type SemanticChunkingConfigShape as de, type SignalLevel as df, type SlotBehaviorConfig as dg, type SlotMismatchMode as dh, type TriggerMode as di, confidenceTier as dj, 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 MemoryStatus as w, type MemoryProjectionCurrentState as x, type MemoryLifecycleEvent as y, type ExtractionResult as z };
4679
+ 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 ImportanceScore as am, type MemoryIntent as an, type MemoryActionEligibilityContext as ao, type MemoryActionPolicyResult as ap, type MemoryLifecycleEventType as aq, type MemoryLifecycleStateSummary as ar, type ModelProviderConfig as as, type NativeKnowledgeConfig as at, type ExtractionBufferSource as au, summarizeExtractionLiveness as av, type ProvenanceConfig 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 NativeKnowledgeOpenClawWorkspaceConfig 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 DreamsPhasesConfig as cA, type DreamsRemConfig as cB, type EngramTraceEvent as cC, type ExtractedProcedureStep as cD, type ExtractedQuestion as cE, type ExtractedReasoningTrace as cF, type ExtractedReasoningTraceStep as cG, type ExtractedRelationship as cH, type ExtractionPassSource as cI, type GitHubLiveConnectorConfig as cJ, type GmailLiveConnectorConfig as cK, type GoogleDriveLiveConnectorConfig as cL, type HeartbeatConfig as cM, type HeartbeatDetectionMode as cN, type LlmTraceCallback as cO, type LlmTraceEvent as cP, type MemoryActionOutcome as cQ, type MemoryActionPolicyDecision as cR, type MemoryActionStatus as cS, type MemoryLinkType as cT, type MemoryOsPresetName as cU, type ModelApi as cV, type ModelDefinitionConfig as cW, type ModelProviderAuthMode as cX, type NamespacePolicy as cY, type NativeKnowledgeFolderRuleConfig as cZ, type NativeKnowledgeObsidianVaultConfig as c_, type AgentAccessHttpConfig as ca, type AgentDefaultsConfig as cb, type AgentPersona as cc, type BehaviorLoopAdjustment as cd, type BehaviorSignalDirection as ce, type BehaviorSignalType as cf, type BriefingCalendarSourceError as cg, type BufferEntryState as ch, type ChatConfig as ci, type CodexCliReasoningEffort as cj, type CodexCompactionFlushMode as ck, type CodexConnectorConfig as cl, type CodingGraphLspConfig as cm, type CompressionGuidelineActivationState as cn, type CompressionGuidelineOptimizerSourceWindow as co, type ConfidenceTier as cp, type ConsolidationAction as cq, type ConsolidationItem as cr, type ContradictionScanConfig as cs, type CronConversationRecallMode as ct, type CronRecallMode as cu, type DreamingConfig as cv, type DreamingNarrativePromptStyle as cw, type DreamsDeepSleepConfig as cx, type DreamsLightSleepConfig as cy, type DreamsPhaseStatus as cz, type BriefingFollowup as d, type NotionLiveConnectorConfig as d0, type PrincipalFromSessionKeyMode as d1, type PrincipalRule as d2, type ProceduralConfig as d3, type QuestionEntry as d4, type ReasoningEffort as d5, type RecallPipelineConfig as d6, type RecallTraceEvent as d7, type RelevanceFeedback as d8, SPECULATIVE_TTL_DAYS as d9, type ScopeProfileAutoPromoteConfig as da, type ScopeProfileTeamProjectConfig as db, type ScopeTeamConfig as dc, type ScoredEntity as dd, type SemanticChunkingConfigShape as de, type SignalLevel as df, type SlotBehaviorConfig as dg, type SlotMismatchMode as dh, type TriggerMode as di, confidenceTier as dj, 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 };