@remnic/core 9.7.10 → 9.7.12

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 (297) hide show
  1. package/dist/access-admin-ops-surface.d.ts +6 -6
  2. package/dist/access-admin-ops-surface.js +7 -7
  3. package/dist/access-boundary.d.ts +7 -7
  4. package/dist/access-boundary.js +8 -8
  5. package/dist/access-cli.js +31 -31
  6. package/dist/access-http.d.ts +8 -7
  7. package/dist/access-http.js +12 -12
  8. package/dist/access-identity-continuity-surface.d.ts +5 -5
  9. package/dist/access-identity-continuity-surface.js +7 -7
  10. package/dist/access-lcm-surface.d.ts +6 -6
  11. package/dist/access-lcm-surface.js +7 -7
  12. package/dist/access-mcp.d.ts +6 -6
  13. package/dist/access-mcp.js +11 -11
  14. package/dist/access-observe-write-surface.d.ts +6 -6
  15. package/dist/access-observe-write-surface.js +7 -7
  16. package/dist/access-operations-batch.js +9 -9
  17. package/dist/access-operations.d.ts +10 -10
  18. package/dist/access-operations.js +10 -10
  19. package/dist/access-recall-surface.d.ts +6 -6
  20. package/dist/access-recall-surface.js +7 -7
  21. package/dist/access-schema.d.ts +64 -64
  22. package/dist/{access-service-DSuzikHQ.d.ts → access-service-tHd3eQpd.d.ts} +4 -4
  23. package/dist/access-service.d.ts +6 -6
  24. package/dist/access-service.js +7 -7
  25. package/dist/access-surface-catalog.d.ts +6 -6
  26. package/dist/access-surface-catalog.js +2 -0
  27. package/dist/access-surface-catalog.js.map +1 -1
  28. package/dist/action-confidence.d.ts +1 -1
  29. package/dist/active-memory-bridge.d.ts +1 -1
  30. package/dist/active-recall.d.ts +1 -1
  31. package/dist/active-recall.js +1 -1
  32. package/dist/behavior-learner.d.ts +1 -1
  33. package/dist/behavior-signals.d.ts +1 -1
  34. package/dist/bootstrap.d.ts +5 -5
  35. package/dist/briefing.d.ts +2 -2
  36. package/dist/briefing.js +3 -3
  37. package/dist/buffer-surprise-report.d.ts +1 -1
  38. package/dist/buffer.d.ts +2 -2
  39. package/dist/bulk-import/index.d.ts +3 -3
  40. package/dist/calibration.d.ts +1 -1
  41. package/dist/capabilities.d.ts +1 -1
  42. package/dist/{catalog-BNwjACa5.d.ts → catalog-DEMiw6HZ.d.ts} +48 -1
  43. package/dist/causal-behavior.d.ts +1 -1
  44. package/dist/causal-consolidation.d.ts +1 -1
  45. package/dist/causal-consolidation.js +4 -4
  46. package/dist/causal-trajectory-graph.d.ts +1 -1
  47. package/dist/{chunk-U4KHQTJ6.js → chunk-2AL7N3BH.js} +4 -2
  48. package/dist/{chunk-U4KHQTJ6.js.map → chunk-2AL7N3BH.js.map} +1 -1
  49. package/dist/{chunk-L4H6MQ7I.js → chunk-2RSL6YRA.js} +2 -2
  50. package/dist/{chunk-7EX4YOKH.js → chunk-2ZPQUTMW.js} +4 -4
  51. package/dist/{chunk-673NPXE3.js → chunk-3SIC3E65.js} +2 -2
  52. package/dist/{chunk-OVMS3DCB.js → chunk-675YU5IK.js} +2 -2
  53. package/dist/{chunk-7LMEY5KZ.js → chunk-6N7R7TR2.js} +34 -1
  54. package/dist/chunk-6N7R7TR2.js.map +1 -0
  55. package/dist/{chunk-7CKS4AXY.js → chunk-AOWPZ7TM.js} +17 -17
  56. package/dist/{chunk-TGBJ2OMK.js → chunk-BQTSGK5Y.js} +2 -2
  57. package/dist/{chunk-UZRIKUFS.js → chunk-CE3GMHT4.js} +4 -2
  58. package/dist/chunk-CE3GMHT4.js.map +1 -0
  59. package/dist/{chunk-YXOAQAH2.js → chunk-CLFY35ED.js} +3 -3
  60. package/dist/{chunk-HQ7QZJM5.js → chunk-D4TLWDYR.js} +2 -2
  61. package/dist/{chunk-LQKITFGB.js → chunk-FUUF7FMX.js} +2 -2
  62. package/dist/{chunk-3ZVFLMFQ.js → chunk-G5PVJJRA.js} +1 -1
  63. package/dist/chunk-G5PVJJRA.js.map +1 -0
  64. package/dist/{chunk-MXRMNKSY.js → chunk-I3GKTDM2.js} +3 -3
  65. package/dist/{chunk-EQF5763Z.js → chunk-IQULRIZM.js} +2 -2
  66. package/dist/{chunk-DJCKXI4M.js → chunk-NVXQTRBL.js} +2 -2
  67. package/dist/{chunk-VDLMAJXS.js → chunk-OCY3CRPG.js} +3 -3
  68. package/dist/{chunk-YLTG6BO4.js → chunk-OIFZII6J.js} +2 -2
  69. package/dist/{chunk-XF4KOVDK.js → chunk-PA6DMYEK.js} +6 -6
  70. package/dist/{chunk-3OQ4IZJN.js → chunk-QPZCAVDC.js} +7 -7
  71. package/dist/{chunk-DLWYAN6A.js → chunk-T6U7HDIY.js} +2 -2
  72. package/dist/chunk-TITSEN2M.js +1794 -0
  73. package/dist/chunk-TITSEN2M.js.map +1 -0
  74. package/dist/{chunk-JZM5QUTE.js → chunk-TMGK6YE7.js} +171 -9
  75. package/dist/chunk-TMGK6YE7.js.map +1 -0
  76. package/dist/{chunk-KXLRMM35.js → chunk-TRH533CA.js} +30 -7
  77. package/dist/chunk-TRH533CA.js.map +1 -0
  78. package/dist/{chunk-UTDA43TB.js → chunk-TWGGNUWJ.js} +2 -2
  79. package/dist/{chunk-SBFDL2EQ.js → chunk-UTZW3X2R.js} +2 -2
  80. package/dist/{chunk-SECMZACR.js → chunk-XUQUBZ7O.js} +2 -2
  81. package/dist/{chunk-N3LWQJ6Y.js → chunk-YI7XUXLX.js} +309 -16
  82. package/dist/chunk-YI7XUXLX.js.map +1 -0
  83. package/dist/{chunk-QVALQE4P.js → chunk-ZASJ53ML.js} +128 -10
  84. package/dist/chunk-ZASJ53ML.js.map +1 -0
  85. package/dist/{chunk-WUDBMLC6.js → chunk-ZC3HG22I.js} +2 -2
  86. package/dist/{chunk-VCEH5UYS.js → chunk-ZRXSHGXT.js} +2 -2
  87. package/dist/{cli-DACyuK8-.d.ts → cli-D8Tsa4Sh.d.ts} +5 -5
  88. package/dist/cli.d.ts +8 -8
  89. package/dist/cli.js +25 -25
  90. package/dist/compounding/engine.d.ts +2 -2
  91. package/dist/compounding/engine.js +3 -3
  92. package/dist/compounding/preference-consolidator.d.ts +1 -1
  93. package/dist/compression-optimizer.d.ts +1 -1
  94. package/dist/config.d.ts +1 -1
  95. package/dist/config.js +1 -1
  96. package/dist/connectors/codex-materialize-runner.d.ts +1 -1
  97. package/dist/connectors/codex-materialize-runner.js +3 -3
  98. package/dist/connectors/codex-materialize.d.ts +1 -1
  99. package/dist/connectors/index.d.ts +1 -1
  100. package/dist/connectors/index.js +3 -3
  101. package/dist/consolidation-provenance-check.d.ts +2 -2
  102. package/dist/consolidation-undo.d.ts +2 -2
  103. package/dist/contradiction/index.d.ts +2 -2
  104. package/dist/conversation-index/backend.d.ts +1 -1
  105. package/dist/conversation-index/chunker.d.ts +1 -1
  106. package/dist/conversation-index/faiss-adapter.d.ts +1 -1
  107. package/dist/conversation-index/indexer.d.ts +1 -1
  108. package/dist/conversation-index/search.d.ts +1 -1
  109. package/dist/day-summary.d.ts +1 -1
  110. package/dist/delinearize.d.ts +1 -1
  111. package/dist/direct-answer-wiring.d.ts +1 -1
  112. package/dist/direct-answer.d.ts +1 -1
  113. package/dist/embedding-fallback.d.ts +1 -1
  114. package/dist/enrichment/index.d.ts +1 -1
  115. package/dist/entity-retrieval.d.ts +2 -2
  116. package/dist/entity-retrieval.js +3 -3
  117. package/dist/entity-schema.d.ts +1 -1
  118. package/dist/explicit-capture.d.ts +5 -5
  119. package/dist/extraction-faithfulness.d.ts +1 -1
  120. package/dist/extraction-judge-telemetry.d.ts +1 -1
  121. package/dist/extraction-judge-training.d.ts +1 -1
  122. package/dist/extraction-judge.d.ts +1 -1
  123. package/dist/extraction.d.ts +1 -1
  124. package/dist/fallback-llm.d.ts +1 -1
  125. package/dist/graph-dashboard-diff.d.ts +1 -1
  126. package/dist/graph-dashboard-key.d.ts +1 -1
  127. package/dist/graph-dashboard-parser.d.ts +1 -1
  128. package/dist/graph-edge-reinforcement.d.ts +1 -1
  129. package/dist/graph-snapshot.d.ts +1 -1
  130. package/dist/graph.d.ts +1 -1
  131. package/dist/identity-continuity.d.ts +1 -1
  132. package/dist/importance.d.ts +1 -1
  133. package/dist/importers/index.d.ts +1 -1
  134. package/dist/in-flight-reads.d.ts +1 -1
  135. package/dist/index.d.ts +4002 -16
  136. package/dist/index.js +78 -31
  137. package/dist/intent.d.ts +1 -1
  138. package/dist/lcm/engine.d.ts +1 -1
  139. package/dist/lcm/index.d.ts +1 -1
  140. package/dist/lcm/tools.d.ts +1 -1
  141. package/dist/lifecycle.d.ts +1 -1
  142. package/dist/live-connectors-runner.d.ts +1 -1
  143. package/dist/local-llm.d.ts +1 -1
  144. package/dist/local-model-endpoint.d.ts +1 -1
  145. package/dist/maintenance/memory-governance.d.ts +1 -1
  146. package/dist/maintenance/memory-governance.js +3 -3
  147. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +3 -3
  148. package/dist/maintenance/rebuild-memory-projection.js +4 -4
  149. package/dist/mcp-memory-inspector-app.d.ts +6 -6
  150. package/dist/memory-action-policy.d.ts +1 -1
  151. package/dist/memory-cache.d.ts +1 -1
  152. package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
  153. package/dist/memory-projection-store.d.ts +1 -1
  154. package/dist/memory-provenance.d.ts +1 -1
  155. package/dist/memory-worth-outcomes.d.ts +2 -2
  156. package/dist/models-json.d.ts +1 -1
  157. package/dist/namespaces/migrate.d.ts +3 -3
  158. package/dist/namespaces/migrate.js +4 -4
  159. package/dist/namespaces/principal.d.ts +1 -1
  160. package/dist/namespaces/search.d.ts +1 -1
  161. package/dist/namespaces/storage.d.ts +3 -3
  162. package/dist/namespaces/storage.js +3 -3
  163. package/dist/native-knowledge.d.ts +1 -1
  164. package/dist/operator-toolkit.d.ts +2 -2
  165. package/dist/operator-toolkit.js +8 -8
  166. package/dist/orchestration/compression-guideline-coordinator.d.ts +2 -2
  167. package/dist/orchestration/maintenance.d.ts +2 -2
  168. package/dist/orchestration/maintenance.js +5 -5
  169. package/dist/{orchestrator-D83AvrPf.d.ts → orchestrator-B_WXBmuE.d.ts} +4 -4
  170. package/dist/orchestrator.d.ts +5 -5
  171. package/dist/orchestrator.js +31 -31
  172. package/dist/patterns-cli.d.ts +1 -1
  173. package/dist/{pipeline-BSqGpYl1.d.ts → pipeline-Dvtvt141.d.ts} +1 -1
  174. package/dist/policy-runtime.d.ts +1 -1
  175. package/dist/provenance.d.ts +1 -1
  176. package/dist/{qmd-CutnpRVe.d.ts → qmd-DwBLh_hl.d.ts} +1 -1
  177. package/dist/qmd-preflight.d.ts +2 -2
  178. package/dist/qmd-recall-cache.d.ts +1 -1
  179. package/dist/qmd.d.ts +2 -2
  180. package/dist/recall-disclosure-escalation.d.ts +1 -1
  181. package/dist/recall-explain-renderer.d.ts +1 -1
  182. package/dist/recall-explain-renderer.js +3 -3
  183. package/dist/recall-planner-llm.d.ts +1 -1
  184. package/dist/recall-state.d.ts +1 -1
  185. package/dist/recall-tag-filter.d.ts +1 -1
  186. package/dist/recall-timings.d.ts +1 -1
  187. package/dist/recall-xray-cli.d.ts +1 -1
  188. package/dist/recall-xray-cli.js +4 -4
  189. package/dist/recall-xray-renderer.d.ts +1 -1
  190. package/dist/recall-xray-renderer.js +3 -3
  191. package/dist/recall-xray.d.ts +1 -1
  192. package/dist/recall-xray.js +2 -2
  193. package/dist/replay/normalizers/chatgpt.d.ts +1 -1
  194. package/dist/replay/normalizers/claude.d.ts +1 -1
  195. package/dist/replay/normalizers/openclaw.d.ts +1 -1
  196. package/dist/replay/normalizers/shared.d.ts +1 -1
  197. package/dist/replay/runner.d.ts +1 -1
  198. package/dist/replay/types.d.ts +1 -1
  199. package/dist/resolve-auth-token.d.ts +1 -1
  200. package/dist/resume-bundles.js +2 -2
  201. package/dist/retrieval-agents.d.ts +2 -2
  202. package/dist/retrieval-tiers.d.ts +1 -1
  203. package/dist/routing/engine.d.ts +1 -1
  204. package/dist/routing/store.d.ts +1 -1
  205. package/dist/schemas.d.ts +52 -52
  206. package/dist/search/embed-helper.d.ts +1 -1
  207. package/dist/search/factory.d.ts +1 -1
  208. package/dist/search/index.d.ts +1 -1
  209. package/dist/search/lancedb-backend.d.ts +1 -1
  210. package/dist/search/meilisearch-backend.d.ts +1 -1
  211. package/dist/search/noop-backend.d.ts +1 -1
  212. package/dist/search/orama-backend.d.ts +1 -1
  213. package/dist/search/port.d.ts +1 -1
  214. package/dist/search/remote-backend.d.ts +1 -1
  215. package/dist/{semantic-consolidation-btIVRC4l.d.ts → semantic-consolidation-Dia_6FOn.d.ts} +1 -1
  216. package/dist/semantic-consolidation.d.ts +2 -2
  217. package/dist/semantic-consolidation.js +4 -4
  218. package/dist/semantic-rule-promotion.js +3 -3
  219. package/dist/semantic-rule-verifier.d.ts +1 -1
  220. package/dist/semantic-rule-verifier.js +3 -3
  221. package/dist/session-observer-bands.d.ts +1 -1
  222. package/dist/session-observer-state.d.ts +1 -1
  223. package/dist/shared-context/manager.d.ts +9 -9
  224. package/dist/signal.d.ts +1 -1
  225. package/dist/{storage-BVv_Mqa0.d.ts → storage-RshM7i8-.d.ts} +18 -1
  226. package/dist/storage.d.ts +2 -2
  227. package/dist/storage.js +2 -2
  228. package/dist/summarizer.d.ts +1 -1
  229. package/dist/summary-snapshot.d.ts +1 -1
  230. package/dist/temporal-supersession.d.ts +2 -2
  231. package/dist/temporal-timeline-recall.d.ts +1 -1
  232. package/dist/temporal-validity.d.ts +1 -1
  233. package/dist/threading.d.ts +1 -1
  234. package/dist/tier-migration.d.ts +2 -2
  235. package/dist/tier-routing.d.ts +1 -1
  236. package/dist/topics.d.ts +1 -1
  237. package/dist/transcript.d.ts +1 -1
  238. package/dist/transfer/types.d.ts +66 -66
  239. package/dist/trust-score-stage.d.ts +1 -1
  240. package/dist/trust-score.d.ts +1 -1
  241. package/dist/{types-Cmkz7csa.d.ts → types-CHSXOq7s.d.ts} +34 -0
  242. package/dist/types.d.ts +1 -1
  243. package/dist/types.js +1 -1
  244. package/dist/utility-runtime.d.ts +1 -1
  245. package/dist/verified-recall.js +3 -3
  246. package/package.json +2 -2
  247. package/src/access-boundary.ts +2 -0
  248. package/src/access-http.ts +147 -6
  249. package/src/access-mcp-cancellation.test.ts +2 -2
  250. package/src/access-operations.ts +2 -0
  251. package/src/access-surface-catalog.ts +2 -0
  252. package/src/config.test.ts +44 -0
  253. package/src/config.ts +43 -0
  254. package/src/index.ts +53 -0
  255. package/src/namespaces/catalog.test.ts +258 -0
  256. package/src/namespaces/catalog.ts +235 -10
  257. package/src/namespaces/storage.ts +9 -0
  258. package/src/orchestrator.ts +3 -0
  259. package/src/relay/mission-access.test.ts +379 -0
  260. package/src/relay/mission-access.ts +125 -0
  261. package/src/relay/mission-fixture.ts +301 -0
  262. package/src/relay/mission.test.ts +964 -0
  263. package/src/relay/mission.ts +1725 -0
  264. package/src/storage-catalog-touch-gating.test.ts +70 -0
  265. package/src/storage.ts +31 -5
  266. package/src/types.ts +34 -0
  267. package/dist/chunk-3ZVFLMFQ.js.map +0 -1
  268. package/dist/chunk-7LMEY5KZ.js.map +0 -1
  269. package/dist/chunk-FNJX2O6G.js +0 -467
  270. package/dist/chunk-FNJX2O6G.js.map +0 -1
  271. package/dist/chunk-JZM5QUTE.js.map +0 -1
  272. package/dist/chunk-KXLRMM35.js.map +0 -1
  273. package/dist/chunk-N3LWQJ6Y.js.map +0 -1
  274. package/dist/chunk-QVALQE4P.js.map +0 -1
  275. package/dist/chunk-UZRIKUFS.js.map +0 -1
  276. /package/dist/{chunk-L4H6MQ7I.js.map → chunk-2RSL6YRA.js.map} +0 -0
  277. /package/dist/{chunk-7EX4YOKH.js.map → chunk-2ZPQUTMW.js.map} +0 -0
  278. /package/dist/{chunk-673NPXE3.js.map → chunk-3SIC3E65.js.map} +0 -0
  279. /package/dist/{chunk-OVMS3DCB.js.map → chunk-675YU5IK.js.map} +0 -0
  280. /package/dist/{chunk-7CKS4AXY.js.map → chunk-AOWPZ7TM.js.map} +0 -0
  281. /package/dist/{chunk-TGBJ2OMK.js.map → chunk-BQTSGK5Y.js.map} +0 -0
  282. /package/dist/{chunk-YXOAQAH2.js.map → chunk-CLFY35ED.js.map} +0 -0
  283. /package/dist/{chunk-HQ7QZJM5.js.map → chunk-D4TLWDYR.js.map} +0 -0
  284. /package/dist/{chunk-LQKITFGB.js.map → chunk-FUUF7FMX.js.map} +0 -0
  285. /package/dist/{chunk-MXRMNKSY.js.map → chunk-I3GKTDM2.js.map} +0 -0
  286. /package/dist/{chunk-EQF5763Z.js.map → chunk-IQULRIZM.js.map} +0 -0
  287. /package/dist/{chunk-DJCKXI4M.js.map → chunk-NVXQTRBL.js.map} +0 -0
  288. /package/dist/{chunk-VDLMAJXS.js.map → chunk-OCY3CRPG.js.map} +0 -0
  289. /package/dist/{chunk-YLTG6BO4.js.map → chunk-OIFZII6J.js.map} +0 -0
  290. /package/dist/{chunk-XF4KOVDK.js.map → chunk-PA6DMYEK.js.map} +0 -0
  291. /package/dist/{chunk-3OQ4IZJN.js.map → chunk-QPZCAVDC.js.map} +0 -0
  292. /package/dist/{chunk-DLWYAN6A.js.map → chunk-T6U7HDIY.js.map} +0 -0
  293. /package/dist/{chunk-UTDA43TB.js.map → chunk-TWGGNUWJ.js.map} +0 -0
  294. /package/dist/{chunk-SBFDL2EQ.js.map → chunk-UTZW3X2R.js.map} +0 -0
  295. /package/dist/{chunk-SECMZACR.js.map → chunk-XUQUBZ7O.js.map} +0 -0
  296. /package/dist/{chunk-WUDBMLC6.js.map → chunk-ZC3HG22I.js.map} +0 -0
  297. /package/dist/{chunk-VCEH5UYS.js.map → chunk-ZRXSHGXT.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  StorageManager,
3
3
  normalizeEntityName
4
- } from "./chunk-KXLRMM35.js";
4
+ } from "./chunk-TRH533CA.js";
5
5
  import {
6
6
  serializeMutations
7
7
  } from "./chunk-LTJAMRGI.js";
@@ -956,4 +956,4 @@ export {
956
956
  resolveBriefingSaveDir,
957
957
  briefingFilename
958
958
  };
959
- //# sourceMappingURL=chunk-UTDA43TB.js.map
959
+ //# sourceMappingURL=chunk-TWGGNUWJ.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-SFQ6QNL7.js";
7
7
  import {
8
8
  StorageManager
9
- } from "./chunk-KXLRMM35.js";
9
+ } from "./chunk-TRH533CA.js";
10
10
  import {
11
11
  buildLifecycleEventsForMemory,
12
12
  sortMemoryLifecycleEvents
@@ -115,4 +115,4 @@ export {
115
115
  backupExistingLedger,
116
116
  rebuildMemoryLifecycleLedger
117
117
  };
118
- //# sourceMappingURL=chunk-SBFDL2EQ.js.map
118
+ //# sourceMappingURL=chunk-UTZW3X2R.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  planNamespaceMaintenance,
12
12
  runNamespaceMaintenanceBatchPlan
13
- } from "./chunk-JZM5QUTE.js";
13
+ } from "./chunk-TMGK6YE7.js";
14
14
  import {
15
15
  resolveConsolidationCapabilities,
16
16
  resolveNamespaceCapabilities,
@@ -447,4 +447,4 @@ var MaintenanceScheduler = class {
447
447
  export {
448
448
  MaintenanceScheduler
449
449
  };
450
- //# sourceMappingURL=chunk-SECMZACR.js.map
450
+ //# sourceMappingURL=chunk-XUQUBZ7O.js.map
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-TRWPCR6P.js";
11
11
  import {
12
12
  MaintenanceScheduler
13
- } from "./chunk-SECMZACR.js";
13
+ } from "./chunk-XUQUBZ7O.js";
14
14
  import {
15
15
  runPeerProfileReasoner
16
16
  } from "./chunk-I74SUMNI.js";
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  CompoundingEngine,
31
31
  defaultTierMigrationCycleBudget
32
- } from "./chunk-DLWYAN6A.js";
32
+ } from "./chunk-T6U7HDIY.js";
33
33
  import {
34
34
  SharedContextManager
35
35
  } from "./chunk-5CJVLG3H.js";
@@ -203,7 +203,7 @@ import {
203
203
  buildEntityRecallSection,
204
204
  entityRecentTranscriptLookbackHours,
205
205
  readRecentEntityTranscriptEntries
206
- } from "./chunk-TGBJ2OMK.js";
206
+ } from "./chunk-BQTSGK5Y.js";
207
207
  import {
208
208
  RoutingRulesStore
209
209
  } from "./chunk-KQPJLK3X.js";
@@ -213,14 +213,14 @@ import {
213
213
  import {
214
214
  compareVerifiedEpisodeResults,
215
215
  searchVerifiedEpisodes
216
- } from "./chunk-YLTG6BO4.js";
216
+ } from "./chunk-OIFZII6J.js";
217
217
  import {
218
218
  ThreadingManager
219
219
  } from "./chunk-DBRYEIGY.js";
220
220
  import {
221
221
  compareVerifiedSemanticRuleResults,
222
222
  searchVerifiedSemanticRules
223
- } from "./chunk-EQF5763Z.js";
223
+ } from "./chunk-IQULRIZM.js";
224
224
  import {
225
225
  searchWorkProductLedgerEntries
226
226
  } from "./chunk-ZRWB5D4H.js";
@@ -230,14 +230,14 @@ import {
230
230
  import {
231
231
  runNamespaceMaintenanceFanout,
232
232
  summarizeNamespaceMaintenanceHealth
233
- } from "./chunk-XF4KOVDK.js";
233
+ } from "./chunk-PA6DMYEK.js";
234
234
  import {
235
235
  NamespaceCatalog,
236
236
  planNamespaceMaintenance
237
- } from "./chunk-JZM5QUTE.js";
237
+ } from "./chunk-TMGK6YE7.js";
238
238
  import {
239
239
  NamespaceStorageRouter
240
- } from "./chunk-U4KHQTJ6.js";
240
+ } from "./chunk-2AL7N3BH.js";
241
241
  import {
242
242
  PolicyRuntimeManager
243
243
  } from "./chunk-33JBK2XP.js";
@@ -275,7 +275,7 @@ import {
275
275
  materializeAfterSemanticConsolidation,
276
276
  parseConsolidationResponse,
277
277
  parseOperatorAwareConsolidationResponse
278
- } from "./chunk-LQKITFGB.js";
278
+ } from "./chunk-FUUF7FMX.js";
279
279
  import {
280
280
  buildRecallQueryPolicy
281
281
  } from "./chunk-LBJBNWS2.js";
@@ -324,7 +324,7 @@ import {
324
324
  createCorrectionService,
325
325
  detectPassiveCorrections,
326
326
  qmdCollectionPathParts
327
- } from "./chunk-3OQ4IZJN.js";
327
+ } from "./chunk-QPZCAVDC.js";
328
328
  import {
329
329
  importCapsule
330
330
  } from "./chunk-OC35KQIN.js";
@@ -340,7 +340,7 @@ import {
340
340
  } from "./chunk-FF4KLI5W.js";
341
341
  import {
342
342
  buildXraySnapshot
343
- } from "./chunk-HQ7QZJM5.js";
343
+ } from "./chunk-D4TLWDYR.js";
344
344
  import {
345
345
  combineNamespaces,
346
346
  getConfiguredNamespaces,
@@ -395,7 +395,7 @@ import {
395
395
  } from "./chunk-TBBDFYXW.js";
396
396
  import {
397
397
  buildChainFollowupGenerator
398
- } from "./chunk-UTDA43TB.js";
398
+ } from "./chunk-TWGGNUWJ.js";
399
399
  import {
400
400
  ContentHashIndex,
401
401
  StorageManager,
@@ -410,7 +410,7 @@ import {
410
410
  reconstructFusionInputs,
411
411
  selfDeps,
412
412
  serializeFusionDay
413
- } from "./chunk-KXLRMM35.js";
413
+ } from "./chunk-TRH533CA.js";
414
414
  import {
415
415
  buildRetiredFactTombstoneInputs
416
416
  } from "./chunk-L2B3EE7B.js";
@@ -447,7 +447,7 @@ import {
447
447
  } from "./chunk-SVOZFLIQ.js";
448
448
  import {
449
449
  confidenceTier
450
- } from "./chunk-3ZVFLMFQ.js";
450
+ } from "./chunk-G5PVJJRA.js";
451
451
  import {
452
452
  inferMemoryStatus,
453
453
  isActiveMemoryStatus
@@ -3432,7 +3432,7 @@ ${normalized}`).digest("hex");
3432
3432
  (meta.processedExtractionFingerprints ?? []).map((entry) => [entry.fingerprint, entry.observedAt])
3433
3433
  );
3434
3434
  seen.set(fingerprint, observedAt);
3435
- meta.processedExtractionFingerprints = Array.from(seen.entries()).map(([value, at]) => ({ fingerprint: value, observedAt: at })).sort((left, right) => left.observedAt.localeCompare(right.observedAt)).slice(-500);
3435
+ meta.processedExtractionFingerprints = Array.from(seen.entries()).map(([value, at2]) => ({ fingerprint: value, observedAt: at2 })).sort((left, right) => left.observedAt.localeCompare(right.observedAt)).slice(-500);
3436
3436
  if (!preloadedMeta) {
3437
3437
  await storage.saveMeta(meta);
3438
3438
  }
@@ -16179,6 +16179,7 @@ var Orchestrator = class {
16179
16179
  }
16180
16180
  this.maintenanceScheduler.dispose();
16181
16181
  await drainRecallWrites(this);
16182
+ await this.namespaceCatalog.flushPendingTouches().catch(() => void 0);
16182
16183
  await this.namespaceSearchRouter.dispose();
16183
16184
  await this.qmd.dispose?.();
16184
16185
  if (this.conversationQmd && this.conversationQmd !== this.qmd) {
@@ -18075,6 +18076,295 @@ ${doc.content}` : doc.content,
18075
18076
  }
18076
18077
  };
18077
18078
 
18079
+ // src/relay/mission-fixture.ts
18080
+ var RELAY_DEMO_MISSION_ID = "checkout-token-recovery";
18081
+ var RELAY_DEMO_NAMESPACE = "relay-build-week";
18082
+ var sourceEvidence = {
18083
+ kind: "source",
18084
+ id: "source-checkout-contract",
18085
+ label: "Checkout token contract",
18086
+ locator: "fixture://checkout-service/src/token-policy.ts",
18087
+ capture: "fixture"
18088
+ };
18089
+ var testEvidence = {
18090
+ kind: "test",
18091
+ id: "test-checkout-contract",
18092
+ label: "Checkout integration contract",
18093
+ locator: "fixture://checkout-service/test/token-policy.test.ts",
18094
+ capture: "fixture"
18095
+ };
18096
+ var approvalEvidence = {
18097
+ kind: "approval",
18098
+ id: "approval-build-week-operator",
18099
+ label: "Human approval receipt",
18100
+ locator: "fixture://relay/approvals/correction-token-refresh.json",
18101
+ capture: "fixture"
18102
+ };
18103
+ var correctionEvidence = {
18104
+ kind: "correction",
18105
+ id: "correction-token-refresh",
18106
+ label: "Applied Remnic correction",
18107
+ locator: "fixture://remnic/corrections/correction-token-refresh.json",
18108
+ capture: "fixture"
18109
+ };
18110
+ function at(second) {
18111
+ return `2026-07-17T18:00:${String(second).padStart(2, "0")}.000Z`;
18112
+ }
18113
+ function createRelayMissionFixture() {
18114
+ return [
18115
+ {
18116
+ occurredAt: at(0),
18117
+ idempotencyKey: "fixture-001",
18118
+ payload: {
18119
+ kind: "mission_started",
18120
+ title: "The checkout token split",
18121
+ objective: "Resolve a conflicting token refresh policy and prove a cold agent acts on it.",
18122
+ runMode: "fixture",
18123
+ evidence: [sourceEvidence]
18124
+ }
18125
+ },
18126
+ {
18127
+ occurredAt: at(2),
18128
+ idempotencyKey: "fixture-002",
18129
+ payload: {
18130
+ kind: "agent_status",
18131
+ agentId: "agent-atlas",
18132
+ sessionId: "session-atlas",
18133
+ label: "Atlas",
18134
+ role: "Checkout implementation",
18135
+ status: "working",
18136
+ evidence: [sourceEvidence]
18137
+ }
18138
+ },
18139
+ {
18140
+ occurredAt: at(3),
18141
+ idempotencyKey: "fixture-003",
18142
+ payload: {
18143
+ kind: "agent_status",
18144
+ agentId: "agent-nova",
18145
+ sessionId: "session-nova",
18146
+ label: "Nova",
18147
+ role: "Integration verification",
18148
+ status: "working",
18149
+ evidence: [testEvidence]
18150
+ }
18151
+ },
18152
+ {
18153
+ occurredAt: at(6),
18154
+ idempotencyKey: "fixture-004",
18155
+ payload: {
18156
+ kind: "agent_output",
18157
+ agentId: "agent-atlas",
18158
+ sessionId: "session-atlas",
18159
+ outputId: "output-atlas-policy",
18160
+ summary: "Implemented a new token for every checkout retry.",
18161
+ evidence: [
18162
+ {
18163
+ kind: "agent_output",
18164
+ id: "output-atlas-policy",
18165
+ label: "Atlas one-shot output",
18166
+ locator: "fixture://codex/atlas/final-output.txt",
18167
+ capture: "fixture"
18168
+ }
18169
+ ]
18170
+ }
18171
+ },
18172
+ {
18173
+ occurredAt: at(7),
18174
+ idempotencyKey: "fixture-005",
18175
+ payload: {
18176
+ kind: "belief_observed",
18177
+ agentId: "agent-atlas",
18178
+ sessionId: "session-atlas",
18179
+ beliefId: "belief-new-token-every-request",
18180
+ decisionId: "decision-new-token-every-request",
18181
+ statement: "Mint a new checkout token for every request and retry.",
18182
+ confidence: 0.91,
18183
+ evidence: [
18184
+ {
18185
+ kind: "memory",
18186
+ id: "memory-stale-token-policy",
18187
+ label: "Stale project decision",
18188
+ locator: "fixture://remnic/memories/memory-stale-token-policy.md",
18189
+ capture: "fixture"
18190
+ }
18191
+ ]
18192
+ }
18193
+ },
18194
+ {
18195
+ occurredAt: at(9),
18196
+ idempotencyKey: "fixture-006",
18197
+ payload: {
18198
+ kind: "agent_output",
18199
+ agentId: "agent-nova",
18200
+ sessionId: "session-nova",
18201
+ outputId: "output-nova-policy",
18202
+ summary: "The contract requires one token per checkout session, refreshed only after expiry.",
18203
+ evidence: [
18204
+ {
18205
+ kind: "agent_output",
18206
+ id: "output-nova-policy",
18207
+ label: "Nova one-shot output",
18208
+ locator: "fixture://codex/nova/final-output.txt",
18209
+ capture: "fixture"
18210
+ },
18211
+ sourceEvidence
18212
+ ]
18213
+ }
18214
+ },
18215
+ {
18216
+ occurredAt: at(10),
18217
+ idempotencyKey: "fixture-007",
18218
+ payload: {
18219
+ kind: "belief_observed",
18220
+ agentId: "agent-nova",
18221
+ sessionId: "session-nova",
18222
+ beliefId: "belief-refresh-after-expiry",
18223
+ decisionId: "decision-refresh-after-expiry",
18224
+ statement: "Reuse the checkout-session token and refresh it only after expiry.",
18225
+ confidence: 0.98,
18226
+ evidence: [sourceEvidence]
18227
+ }
18228
+ },
18229
+ {
18230
+ occurredAt: at(12),
18231
+ idempotencyKey: "fixture-008",
18232
+ payload: {
18233
+ kind: "conflict_detected",
18234
+ conflictId: "conflict-token-lifecycle",
18235
+ decisionIds: ["decision-refresh-after-expiry", "decision-new-token-every-request"],
18236
+ agentIds: ["agent-nova", "agent-atlas"],
18237
+ summary: "The agents disagree on whether retries reuse or rotate the checkout token.",
18238
+ evidence: [sourceEvidence, testEvidence]
18239
+ }
18240
+ },
18241
+ {
18242
+ occurredAt: at(14),
18243
+ idempotencyKey: "fixture-009",
18244
+ payload: {
18245
+ kind: "test_result",
18246
+ testId: "test-before-correction",
18247
+ decisionId: "decision-new-token-every-request",
18248
+ command: "npm test -- token-policy.test.ts",
18249
+ status: "failed",
18250
+ summary: "Retry minted a second token instead of reusing the session token.",
18251
+ durationMs: 418,
18252
+ evidence: [testEvidence]
18253
+ }
18254
+ },
18255
+ {
18256
+ occurredAt: at(18),
18257
+ idempotencyKey: "fixture-010",
18258
+ payload: {
18259
+ kind: "correction_proposed",
18260
+ correctionId: "correction-token-refresh",
18261
+ conflictId: "conflict-token-lifecycle",
18262
+ proposedDecisionId: "decision-refresh-after-expiry",
18263
+ supersedesDecisionIds: ["decision-new-token-every-request"],
18264
+ statement: "Reuse the checkout-session token and refresh it only after expiry.",
18265
+ rationale: "The implementation contract and failing integration test agree on session reuse.",
18266
+ proposedBy: "agent-resolver",
18267
+ evidence: [sourceEvidence, testEvidence]
18268
+ }
18269
+ },
18270
+ {
18271
+ occurredAt: at(21),
18272
+ idempotencyKey: "fixture-011",
18273
+ payload: {
18274
+ kind: "correction_approved",
18275
+ correctionId: "correction-token-refresh",
18276
+ approvedBy: {
18277
+ kind: "human",
18278
+ id: "operator-build-week",
18279
+ label: "Build Week operator"
18280
+ },
18281
+ note: "Approve the source-grounded policy and retire the stale decision.",
18282
+ evidence: [approvalEvidence]
18283
+ }
18284
+ },
18285
+ {
18286
+ occurredAt: at(23),
18287
+ idempotencyKey: "fixture-012",
18288
+ payload: {
18289
+ kind: "decision_superseded",
18290
+ decisionId: "decision-new-token-every-request",
18291
+ replacementDecisionId: "decision-refresh-after-expiry",
18292
+ correctionId: "correction-token-refresh",
18293
+ evidence: [correctionEvidence]
18294
+ }
18295
+ },
18296
+ {
18297
+ occurredAt: at(27),
18298
+ idempotencyKey: "fixture-013",
18299
+ payload: {
18300
+ kind: "recall_observed",
18301
+ agentId: "agent-orbit",
18302
+ sessionId: "session-orbit-cold",
18303
+ recallReceiptId: "recall-orbit-cold",
18304
+ decisionId: "decision-refresh-after-expiry",
18305
+ query: "What token lifecycle must checkout retries follow?",
18306
+ capturedAtAction: true,
18307
+ evidence: [
18308
+ {
18309
+ kind: "recall_audit",
18310
+ id: "recall-orbit-cold",
18311
+ label: "Cold-start recall audit",
18312
+ locator: "fixture://remnic/recall-audit/recall-orbit-cold.json",
18313
+ capture: "fixture"
18314
+ }
18315
+ ]
18316
+ }
18317
+ },
18318
+ {
18319
+ occurredAt: at(29),
18320
+ idempotencyKey: "fixture-014",
18321
+ payload: {
18322
+ kind: "propagation_verified",
18323
+ agentId: "agent-orbit",
18324
+ sessionId: "session-orbit-cold",
18325
+ correctionId: "correction-token-refresh",
18326
+ decisionId: "decision-refresh-after-expiry",
18327
+ recallReceiptId: "recall-orbit-cold",
18328
+ staleDecisionAbsent: true,
18329
+ evidence: [
18330
+ {
18331
+ kind: "recall_audit",
18332
+ id: "recall-orbit-cold",
18333
+ label: "Cold-start recall audit",
18334
+ locator: "fixture://remnic/recall-audit/recall-orbit-cold.json",
18335
+ capture: "fixture"
18336
+ }
18337
+ ]
18338
+ }
18339
+ },
18340
+ {
18341
+ occurredAt: at(34),
18342
+ idempotencyKey: "fixture-015",
18343
+ payload: {
18344
+ kind: "test_result",
18345
+ testId: "test-after-correction",
18346
+ decisionId: "decision-refresh-after-expiry",
18347
+ correctionId: "correction-token-refresh",
18348
+ command: "npm test -- token-policy.test.ts",
18349
+ status: "passed",
18350
+ summary: "The cold agent reused the session token and the integration contract passed.",
18351
+ durationMs: 391,
18352
+ evidence: [testEvidence, correctionEvidence]
18353
+ }
18354
+ },
18355
+ {
18356
+ occurredAt: at(36),
18357
+ idempotencyKey: "fixture-016",
18358
+ payload: {
18359
+ kind: "mission_completed",
18360
+ outcome: "recovered",
18361
+ summary: "One approved correction reached a cold agent and changed the observable outcome.",
18362
+ evidence: [testEvidence, approvalEvidence]
18363
+ }
18364
+ }
18365
+ ];
18366
+ }
18367
+
18078
18368
  // src/coding/review-context.ts
18079
18369
  var REVIEW_KEYWORD_PATTERNS = [
18080
18370
  /\breview\b/i,
@@ -23274,6 +23564,9 @@ export {
23274
23564
  resolvePersistedMemoryRelativePath,
23275
23565
  deriveTopicsFromExtraction,
23276
23566
  buildProcedureRecallSection,
23567
+ RELAY_DEMO_MISSION_ID,
23568
+ RELAY_DEMO_NAMESPACE,
23569
+ createRelayMissionFixture,
23277
23570
  isReviewPrompt,
23278
23571
  parseTouchedFiles,
23279
23572
  rankReviewCandidates,
@@ -23369,4 +23662,4 @@ export {
23369
23662
  blendGraphExpandedRecallScore,
23370
23663
  Orchestrator
23371
23664
  };
23372
- //# sourceMappingURL=chunk-N3LWQJ6Y.js.map
23665
+ //# sourceMappingURL=chunk-YI7XUXLX.js.map