@remnic/core 9.21.0 → 9.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/dist/access-admin-ops-surface.d.ts +18 -1
  2. package/dist/access-admin-ops-surface.js +29 -29
  3. package/dist/access-boundary.d.ts +2 -2
  4. package/dist/access-boundary.js +29 -29
  5. package/dist/access-cli.js +80 -79
  6. package/dist/access-cli.js.map +1 -1
  7. package/dist/access-http.d.ts +1 -1
  8. package/dist/access-http.js +38 -37
  9. package/dist/access-identity-continuity-surface.js +29 -29
  10. package/dist/access-lcm-surface.d.ts +1 -1
  11. package/dist/access-lcm-surface.js +29 -29
  12. package/dist/access-mcp-admin-tools.d.ts +18 -0
  13. package/dist/access-mcp-admin-tools.js +10 -0
  14. package/dist/access-mcp-admin-tools.js.map +1 -0
  15. package/dist/access-mcp-output-schemas.js +1 -1
  16. package/dist/access-mcp.d.ts +1 -1
  17. package/dist/access-mcp.js +35 -34
  18. package/dist/access-namespace-preflight.js +29 -29
  19. package/dist/access-observe-write-surface.d.ts +1 -1
  20. package/dist/access-observe-write-surface.js +29 -29
  21. package/dist/access-operations-batch.js +30 -30
  22. package/dist/access-operations.d.ts +5 -5
  23. package/dist/access-operations.js +32 -32
  24. package/dist/access-recall-concurrency.d.ts +1 -1
  25. package/dist/access-recall-concurrency.js +29 -29
  26. package/dist/access-recall-response.d.ts +1 -1
  27. package/dist/access-recall-response.js +29 -29
  28. package/dist/access-recall-surface.d.ts +1 -1
  29. package/dist/access-recall-surface.js +29 -29
  30. package/dist/access-schema.d.ts +76 -76
  31. package/dist/{access-service-BqUii7LY.d.ts → access-service-BtxW52vv.d.ts} +10 -0
  32. package/dist/access-service.d.ts +1 -1
  33. package/dist/access-service.js +31 -31
  34. package/dist/access-surface-catalog.d.ts +1 -1
  35. package/dist/access-surface-catalog.js +1 -0
  36. package/dist/access-surface-catalog.js.map +1 -1
  37. package/dist/active-recall.js +5 -5
  38. package/dist/adapters/index.js +4 -4
  39. package/dist/adapters/registry.js +2 -2
  40. package/dist/auto-sync-UPTUVE4X.js +1 -1
  41. package/dist/briefing.js +8 -8
  42. package/dist/causal-consolidation.js +9 -9
  43. package/dist/{chunk-JWMYVQAM.js → chunk-55FDQYPS.js} +2 -2
  44. package/dist/chunk-56BSXSHC.js +158 -0
  45. package/dist/chunk-56BSXSHC.js.map +1 -0
  46. package/dist/{chunk-62QM5MKY.js → chunk-6ANPNUVL.js} +68 -34
  47. package/dist/chunk-6ANPNUVL.js.map +1 -0
  48. package/dist/{chunk-EZKKHVFY.js → chunk-6L775BUB.js} +2 -2
  49. package/dist/{chunk-LI4ZOFHW.js → chunk-6RYWNBSA.js} +2 -2
  50. package/dist/{chunk-5IXPWEQB.js → chunk-7S5OMI76.js} +9 -9
  51. package/dist/{chunk-5IXPWEQB.js.map → chunk-7S5OMI76.js.map} +1 -1
  52. package/dist/{chunk-SB4OKS6C.js → chunk-A5N6ISRK.js} +2 -2
  53. package/dist/{chunk-V5TSUGRB.js → chunk-ACGGTPU4.js} +5 -5
  54. package/dist/{chunk-B7C3TF5H.js → chunk-BRT7KEXU.js} +2 -2
  55. package/dist/{chunk-JN3IUA2Q.js → chunk-CV6ZYXK3.js} +3 -3
  56. package/dist/{chunk-N7EVMKP6.js → chunk-DGLON3AL.js} +10 -10
  57. package/dist/{chunk-5RUE3GHQ.js → chunk-DM5A4ZFL.js} +7 -1
  58. package/dist/chunk-DM5A4ZFL.js.map +1 -0
  59. package/dist/{chunk-KHRKEELC.js → chunk-EQYBHXRR.js} +34 -34
  60. package/dist/{chunk-Z54EM5YZ.js → chunk-GF22HWS2.js} +4 -4
  61. package/dist/{chunk-QO2KODU6.js → chunk-GSWPU5CR.js} +2 -2
  62. package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
  63. package/dist/{chunk-5JQLAQUZ.js → chunk-JN57HZCD.js} +2 -2
  64. package/dist/{chunk-X5QS5C2O.js → chunk-KL5Y6PEV.js} +2 -2
  65. package/dist/{chunk-275ENJDK.js → chunk-KQ2XCQYN.js} +2 -2
  66. package/dist/{chunk-HJEEAO4O.js → chunk-N47ZWQBO.js} +2 -2
  67. package/dist/{chunk-AT3TDN6O.js → chunk-N6M7MRVN.js} +83 -83
  68. package/dist/{chunk-EXU5IQ3S.js → chunk-NB2P47N7.js} +2 -2
  69. package/dist/{chunk-53WDAG7X.js → chunk-OCMLGND7.js} +2 -2
  70. package/dist/{chunk-3ZUY2VQF.js → chunk-P72WZMWQ.js} +2 -2
  71. package/dist/{chunk-LRGSLV7M.js → chunk-PYHOAXTI.js} +4 -4
  72. package/dist/{chunk-4F6AANKS.js → chunk-QMGIQUBG.js} +5 -5
  73. package/dist/{chunk-TCZWBJBO.js → chunk-QTO2FGBT.js} +11 -142
  74. package/dist/chunk-QTO2FGBT.js.map +1 -0
  75. package/dist/{chunk-Q3FWRDCP.js → chunk-SACPRJ7F.js} +2 -2
  76. package/dist/{chunk-HPOY2PHQ.js → chunk-TTKWTT72.js} +6 -6
  77. package/dist/{chunk-EILX7SQR.js → chunk-W3XT32W7.js} +7 -6
  78. package/dist/chunk-W3XT32W7.js.map +1 -0
  79. package/dist/{chunk-MJYYXODM.js → chunk-XBRPEGXF.js} +4 -4
  80. package/dist/{cli-DPEhq0Cp.d.ts → cli-D9vXgWwM.d.ts} +1 -1
  81. package/dist/cli.d.ts +2 -2
  82. package/dist/cli.js +59 -58
  83. package/dist/compounding/engine.js +8 -8
  84. package/dist/config.js +2 -2
  85. package/dist/connectors/codex-materialize-runner.js +8 -8
  86. package/dist/connectors/index.js +9 -9
  87. package/dist/contradiction/index.js +1 -1
  88. package/dist/entity-retrieval.js +8 -8
  89. package/dist/explicit-capture.js +1 -1
  90. package/dist/index.d.ts +407 -407
  91. package/dist/index.js +133 -132
  92. package/dist/lcm/engine.js +2 -2
  93. package/dist/lcm/index.js +4 -4
  94. package/dist/maintenance/memory-governance.js +8 -8
  95. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +8 -8
  96. package/dist/maintenance/rebuild-memory-projection.js +9 -9
  97. package/dist/mcp-memory-inspector-app.d.ts +1 -1
  98. package/dist/namespaces/migrate.js +12 -12
  99. package/dist/namespaces/search.js +3 -3
  100. package/dist/namespaces/storage.js +8 -8
  101. package/dist/offline-sync-impression-drain.js +1 -1
  102. package/dist/operator-toolkit.js +19 -19
  103. package/dist/orchestration/maintenance.js +14 -14
  104. package/dist/orchestrator.js +76 -75
  105. package/dist/resolution-3K27T4VO.js +1 -1
  106. package/dist/resume-bundles.js +3 -3
  107. package/dist/salvage-envelope.js +1 -1
  108. package/dist/schemas.d.ts +76 -76
  109. package/dist/search/factory.js +2 -2
  110. package/dist/search/index.js +4 -4
  111. package/dist/semantic-consolidation.js +9 -9
  112. package/dist/semantic-rule-promotion.js +8 -8
  113. package/dist/semantic-rule-verifier.js +8 -8
  114. package/dist/shared-context/manager.d.ts +8 -8
  115. package/dist/storage.js +7 -7
  116. package/dist/transfer/import-sqlite.js +2 -2
  117. package/dist/transfer/types.d.ts +66 -66
  118. package/dist/verified-recall.js +8 -8
  119. package/dist/write-envelope.js +1 -1
  120. package/package.json +2 -2
  121. package/src/access-admin-ops-surface.ts +47 -0
  122. package/src/access-boundary.ts +1 -0
  123. package/src/access-http.ts +1 -0
  124. package/src/access-mcp-admin-tools.ts +171 -0
  125. package/src/access-mcp-output-schemas.ts +6 -0
  126. package/src/access-mcp.ts +6 -141
  127. package/src/access-operations-batch.ts +1 -0
  128. package/src/access-service.ts +16 -0
  129. package/src/access-surface-catalog.ts +1 -0
  130. package/dist/chunk-5RUE3GHQ.js.map +0 -1
  131. package/dist/chunk-62QM5MKY.js.map +0 -1
  132. package/dist/chunk-EILX7SQR.js.map +0 -1
  133. package/dist/chunk-TCZWBJBO.js.map +0 -1
  134. /package/dist/{chunk-JWMYVQAM.js.map → chunk-55FDQYPS.js.map} +0 -0
  135. /package/dist/{chunk-EZKKHVFY.js.map → chunk-6L775BUB.js.map} +0 -0
  136. /package/dist/{chunk-LI4ZOFHW.js.map → chunk-6RYWNBSA.js.map} +0 -0
  137. /package/dist/{chunk-SB4OKS6C.js.map → chunk-A5N6ISRK.js.map} +0 -0
  138. /package/dist/{chunk-V5TSUGRB.js.map → chunk-ACGGTPU4.js.map} +0 -0
  139. /package/dist/{chunk-B7C3TF5H.js.map → chunk-BRT7KEXU.js.map} +0 -0
  140. /package/dist/{chunk-JN3IUA2Q.js.map → chunk-CV6ZYXK3.js.map} +0 -0
  141. /package/dist/{chunk-N7EVMKP6.js.map → chunk-DGLON3AL.js.map} +0 -0
  142. /package/dist/{chunk-KHRKEELC.js.map → chunk-EQYBHXRR.js.map} +0 -0
  143. /package/dist/{chunk-Z54EM5YZ.js.map → chunk-GF22HWS2.js.map} +0 -0
  144. /package/dist/{chunk-QO2KODU6.js.map → chunk-GSWPU5CR.js.map} +0 -0
  145. /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
  146. /package/dist/{chunk-5JQLAQUZ.js.map → chunk-JN57HZCD.js.map} +0 -0
  147. /package/dist/{chunk-X5QS5C2O.js.map → chunk-KL5Y6PEV.js.map} +0 -0
  148. /package/dist/{chunk-275ENJDK.js.map → chunk-KQ2XCQYN.js.map} +0 -0
  149. /package/dist/{chunk-HJEEAO4O.js.map → chunk-N47ZWQBO.js.map} +0 -0
  150. /package/dist/{chunk-AT3TDN6O.js.map → chunk-N6M7MRVN.js.map} +0 -0
  151. /package/dist/{chunk-EXU5IQ3S.js.map → chunk-NB2P47N7.js.map} +0 -0
  152. /package/dist/{chunk-53WDAG7X.js.map → chunk-OCMLGND7.js.map} +0 -0
  153. /package/dist/{chunk-3ZUY2VQF.js.map → chunk-P72WZMWQ.js.map} +0 -0
  154. /package/dist/{chunk-LRGSLV7M.js.map → chunk-PYHOAXTI.js.map} +0 -0
  155. /package/dist/{chunk-4F6AANKS.js.map → chunk-QMGIQUBG.js.map} +0 -0
  156. /package/dist/{chunk-Q3FWRDCP.js.map → chunk-SACPRJ7F.js.map} +0 -0
  157. /package/dist/{chunk-HPOY2PHQ.js.map → chunk-TTKWTT72.js.map} +0 -0
  158. /package/dist/{chunk-MJYYXODM.js.map → chunk-XBRPEGXF.js.map} +0 -0
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-B7GROTXD.js";
13
13
  import {
14
14
  MaintenanceScheduler
15
- } from "./chunk-V5TSUGRB.js";
15
+ } from "./chunk-ACGGTPU4.js";
16
16
  import {
17
17
  runPeerProfileReasoner
18
18
  } from "./chunk-I74SUMNI.js";
@@ -21,20 +21,20 @@ import {
21
21
  } from "./chunk-7HYPN2GC.js";
22
22
  import {
23
23
  LcmEngine
24
- } from "./chunk-Z54EM5YZ.js";
24
+ } from "./chunk-GF22HWS2.js";
25
+ import {
26
+ chunkTranscriptEntries
27
+ } from "./chunk-TECVW3JP.js";
25
28
  import {
26
29
  cleanupConversationChunks
27
30
  } from "./chunk-C5JF6EZ7.js";
28
31
  import {
29
32
  CompoundingEngine,
30
33
  defaultTierMigrationCycleBudget
31
- } from "./chunk-3ZUY2VQF.js";
34
+ } from "./chunk-P72WZMWQ.js";
32
35
  import {
33
36
  SharedContextManager
34
37
  } from "./chunk-JGUXPJUQ.js";
35
- import {
36
- chunkTranscriptEntries
37
- } from "./chunk-TECVW3JP.js";
38
38
  import {
39
39
  applyUtilityPromotionRuntimePolicy,
40
40
  applyUtilityRankingRuntimeDelta,
@@ -68,21 +68,6 @@ import {
68
68
  import {
69
69
  SessionObserverState
70
70
  } from "./chunk-QFN4U7AG.js";
71
- import {
72
- applyRuntimeRetrievalPolicy
73
- } from "./chunk-5IZL4DCV.js";
74
- import {
75
- RelevanceStore
76
- } from "./chunk-LULR4IUW.js";
77
- import {
78
- RerankCache,
79
- reorderByRankedKeys,
80
- rerankLocalOrNoop
81
- } from "./chunk-LUDXM7MD.js";
82
- import {
83
- buildResponseGuidanceRecallSection,
84
- shouldRecallResponseGuidance
85
- } from "./chunk-6TCXIRP5.js";
86
71
  import {
87
72
  mergeWithAgentResults,
88
73
  runDirectAgent,
@@ -104,15 +89,30 @@ import {
104
89
  recencyWindowFromPrompt,
105
90
  resolvePromptTagPrefilterAsync
106
91
  } from "./chunk-ZOKZIR5K.js";
92
+ import {
93
+ applyRuntimeRetrievalPolicy
94
+ } from "./chunk-5IZL4DCV.js";
95
+ import {
96
+ findUnresolvedEntityRefs
97
+ } from "./chunk-X7XN6YU4.js";
98
+ import {
99
+ RelevanceStore
100
+ } from "./chunk-LULR4IUW.js";
101
+ import {
102
+ RerankCache,
103
+ reorderByRankedKeys,
104
+ rerankLocalOrNoop
105
+ } from "./chunk-LUDXM7MD.js";
106
+ import {
107
+ buildResponseGuidanceRecallSection,
108
+ shouldRecallResponseGuidance
109
+ } from "./chunk-6TCXIRP5.js";
107
110
  import {
108
111
  LastRecallStore,
109
112
  RecallHandleHistoryStore,
110
113
  TierMigrationStatusStore,
111
114
  clampGraphRecallExpandedEntries
112
115
  } from "./chunk-FMLKOL2Z.js";
113
- import {
114
- findUnresolvedEntityRefs
115
- } from "./chunk-X7XN6YU4.js";
116
116
  import {
117
117
  dedupeResultsByNamespace,
118
118
  hasMemoryForResult,
@@ -140,6 +140,9 @@ import {
140
140
  applyMemoryWorthFilter,
141
141
  buildMemoryWorthCounterMap
142
142
  } from "./chunk-3GPTTA4J.js";
143
+ import {
144
+ runLiveConnectorsOnce
145
+ } from "./chunk-HTIIXNJQ.js";
143
146
  import {
144
147
  evaluateMemoryActionPolicy
145
148
  } from "./chunk-H63EDPFJ.js";
@@ -150,12 +153,13 @@ import {
150
153
  isTaskInitiationIntent,
151
154
  planRecallMode
152
155
  } from "./chunk-PD6O7AXF.js";
153
- import {
154
- runLiveConnectorsOnce
155
- } from "./chunk-HTIIXNJQ.js";
156
156
  import {
157
157
  classifyMemoryKind
158
158
  } from "./chunk-YAZNBMNF.js";
159
+ import {
160
+ buildFocusedListRecallSection,
161
+ shouldRecallFocusedListEvidence
162
+ } from "./chunk-OH7QLI6W.js";
159
163
  import {
160
164
  recordJudgeTrainingPair
161
165
  } from "./chunk-PWFCHOB3.js";
@@ -183,9 +187,10 @@ import {
183
187
  LocalLlmClient
184
188
  } from "./chunk-YWJBAHTY.js";
185
189
  import {
186
- buildFocusedListRecallSection,
187
- shouldRecallFocusedListEvidence
188
- } from "./chunk-OH7QLI6W.js";
190
+ buildEntityRecallSection,
191
+ entityRecentTranscriptLookbackHours,
192
+ readRecentEntityTranscriptEntries
193
+ } from "./chunk-6L775BUB.js";
189
194
  import {
190
195
  buildEventOrderRecallSection,
191
196
  shouldRecallEventOrderEvidence
@@ -206,11 +211,6 @@ import {
206
211
  import {
207
212
  EmbeddingFallback
208
213
  } from "./chunk-XY7QPJDA.js";
209
- import {
210
- buildEntityRecallSection,
211
- entityRecentTranscriptLookbackHours,
212
- readRecentEntityTranscriptEntries
213
- } from "./chunk-EZKKHVFY.js";
214
214
  import {
215
215
  normalizeReplaySessionKey
216
216
  } from "./chunk-AJVLDJU6.js";
@@ -220,14 +220,14 @@ import {
220
220
  import {
221
221
  compareVerifiedEpisodeResults,
222
222
  searchVerifiedEpisodes
223
- } from "./chunk-5JQLAQUZ.js";
223
+ } from "./chunk-JN57HZCD.js";
224
224
  import {
225
225
  ThreadingManager
226
226
  } from "./chunk-OJP3N7UK.js";
227
227
  import {
228
228
  compareVerifiedSemanticRuleResults,
229
229
  searchVerifiedSemanticRules
230
- } from "./chunk-EXU5IQ3S.js";
230
+ } from "./chunk-NB2P47N7.js";
231
231
  import {
232
232
  searchWorkProductLedgerEntries
233
233
  } from "./chunk-ZRWB5D4H.js";
@@ -240,14 +240,14 @@ import {
240
240
  import {
241
241
  runNamespaceMaintenanceFanout,
242
242
  summarizeNamespaceMaintenanceHealth
243
- } from "./chunk-N7EVMKP6.js";
243
+ } from "./chunk-DGLON3AL.js";
244
244
  import {
245
245
  NamespaceCatalog,
246
246
  planNamespaceMaintenance
247
- } from "./chunk-275ENJDK.js";
247
+ } from "./chunk-KQ2XCQYN.js";
248
248
  import {
249
249
  NamespaceStorageRouter
250
- } from "./chunk-QO2KODU6.js";
250
+ } from "./chunk-GSWPU5CR.js";
251
251
  import {
252
252
  searchHarmonicRetrieval
253
253
  } from "./chunk-AV5ZEH4M.js";
@@ -259,14 +259,14 @@ import {
259
259
  EXTRACTION_JUDGE_VERDICT_CATEGORY,
260
260
  recordJudgeVerdict
261
261
  } from "./chunk-OZKOPQCM.js";
262
- import {
263
- recordEvalShadowRecall
264
- } from "./chunk-3PY7VHV7.js";
265
262
  import {
266
263
  collectNativeKnowledgeChunks,
267
264
  formatNativeKnowledgeSection,
268
265
  searchNativeKnowledge
269
266
  } from "./chunk-2DQ2XREU.js";
267
+ import {
268
+ recordEvalShadowRecall
269
+ } from "./chunk-3PY7VHV7.js";
270
270
  import {
271
271
  applyCommitmentLedgerLifecycle
272
272
  } from "./chunk-LMDRGRJ2.js";
@@ -282,7 +282,11 @@ import {
282
282
  materializeAfterSemanticConsolidation,
283
283
  parseConsolidationResponse,
284
284
  parseOperatorAwareConsolidationResponse
285
- } from "./chunk-53WDAG7X.js";
285
+ } from "./chunk-OCMLGND7.js";
286
+ import {
287
+ buildBehaviorSignalsForMemory,
288
+ dedupeBehaviorSignalsByMemoryAndHash
289
+ } from "./chunk-KD3QD3A5.js";
286
290
  import {
287
291
  BootstrapEngine
288
292
  } from "./chunk-MYVPLJOO.js";
@@ -316,10 +320,6 @@ import {
316
320
  import {
317
321
  buildRecallQueryPolicy
318
322
  } from "./chunk-LBJBNWS2.js";
319
- import {
320
- buildBehaviorSignalsForMemory,
321
- dedupeBehaviorSignalsByMemoryAndHash
322
- } from "./chunk-KD3QD3A5.js";
323
323
  import {
324
324
  WearablesInputError,
325
325
  describeErrorForOperator
@@ -337,7 +337,7 @@ import {
337
337
  clusterByKey,
338
338
  createCorrectionService,
339
339
  detectPassiveCorrections
340
- } from "./chunk-62QM5MKY.js";
340
+ } from "./chunk-6ANPNUVL.js";
341
341
  import {
342
342
  importCapsule
343
343
  } from "./chunk-7CPOZH6Y.js";
@@ -360,11 +360,11 @@ import {
360
360
  } from "./chunk-JFDEYXF7.js";
361
361
  import {
362
362
  NamespaceSearchRouter
363
- } from "./chunk-SB4OKS6C.js";
363
+ } from "./chunk-A5N6ISRK.js";
364
364
  import {
365
365
  createConversationIndexRuntime,
366
366
  createSearchBackend
367
- } from "./chunk-MJYYXODM.js";
367
+ } from "./chunk-XBRPEGXF.js";
368
368
  import {
369
369
  NoopSearchBackend
370
370
  } from "./chunk-CYEPCZN5.js";
@@ -374,10 +374,6 @@ import {
374
374
  import {
375
375
  parseQmdExplain
376
376
  } from "./chunk-ONHRRJZM.js";
377
- import {
378
- objectiveStateStoreOverrideForNamespace,
379
- searchObjectiveStateSnapshots
380
- } from "./chunk-6HMYUWXR.js";
381
377
  import {
382
378
  combineNamespaces,
383
379
  getConfiguredNamespaces,
@@ -386,6 +382,10 @@ import {
386
382
  resolveScopePlan,
387
383
  resolveScopeProfilePlan
388
384
  } from "./chunk-MQVINOJQ.js";
385
+ import {
386
+ objectiveStateStoreOverrideForNamespace,
387
+ searchObjectiveStateSnapshots
388
+ } from "./chunk-6HMYUWXR.js";
389
389
  import {
390
390
  ProfilingCollector
391
391
  } from "./chunk-NLE6TSLG.js";
@@ -395,15 +395,15 @@ import {
395
395
  import {
396
396
  shouldSkipImplicitExtraction
397
397
  } from "./chunk-IKMAO55B.js";
398
- import {
399
- GraphIndex
400
- } from "./chunk-L2DPF4DF.js";
401
398
  import {
402
399
  searchCausalTrajectories
403
400
  } from "./chunk-W4FBGYGK.js";
401
+ import {
402
+ GraphIndex
403
+ } from "./chunk-L2DPF4DF.js";
404
404
  import {
405
405
  buildChainFollowupGenerator
406
- } from "./chunk-Q3FWRDCP.js";
406
+ } from "./chunk-SACPRJ7F.js";
407
407
  import {
408
408
  ContentHashIndex,
409
409
  QmdResultResolver,
@@ -421,7 +421,7 @@ import {
421
421
  reconstructFusionInputs,
422
422
  selfDeps,
423
423
  serializeFusionDay
424
- } from "./chunk-4F6AANKS.js";
424
+ } from "./chunk-QMGIQUBG.js";
425
425
  import {
426
426
  bodyIsEscaped,
427
427
  decodeTranscriptBody,
@@ -471,6 +471,11 @@ import {
471
471
  lintWorkspaceFiles,
472
472
  rotateMarkdownFileToArchive
473
473
  } from "./chunk-DM2T26WE.js";
474
+ import {
475
+ applyFaithfulnessVerdict,
476
+ createFaithfulnessCounters,
477
+ runFaithfulnessGateBatch
478
+ } from "./chunk-JYIJNNN3.js";
474
479
  import {
475
480
  TAG_LIMITS,
476
481
  composeMemoryEnvelope,
@@ -483,11 +488,6 @@ import {
483
488
  import {
484
489
  normalizeTags
485
490
  } from "./chunk-BT7NVCML.js";
486
- import {
487
- applyFaithfulnessVerdict,
488
- createFaithfulnessCounters,
489
- runFaithfulnessGateBatch
490
- } from "./chunk-JYIJNNN3.js";
491
491
  import {
492
492
  bumpMemoryCorpusVersionForDir
493
493
  } from "./chunk-AITCS2RC.js";
@@ -501,6 +501,16 @@ import {
501
501
  fallbackLlmRuntimeContextFromConfig,
502
502
  gatewayTaskChainOptions
503
503
  } from "./chunk-C23BYTJV.js";
504
+ import {
505
+ CAPSULE_ID_PATTERN
506
+ } from "./chunk-WEHSQBFR.js";
507
+ import {
508
+ keyring_exports,
509
+ secureStoreDir
510
+ } from "./chunk-BJMBJZ2Y.js";
511
+ import {
512
+ buildRetrievedMemoryProvenance
513
+ } from "./chunk-I4WBNM3M.js";
504
514
  import {
505
515
  sanitizeMemoryContent
506
516
  } from "./chunk-5GKPFL3S.js";
@@ -511,6 +521,13 @@ import {
511
521
  readEnvVar,
512
522
  resolveHomeDir
513
523
  } from "./chunk-JUC24CTX.js";
524
+ import {
525
+ assertIsDirectoryNotSymlink,
526
+ assertRealpathInsideRoot
527
+ } from "./chunk-GCGJW34D.js";
528
+ import {
529
+ parseFlexibleIsoTimestamp
530
+ } from "./chunk-P7FMDTKL.js";
514
531
  import {
515
532
  MEMORY_ID_PATTERN,
516
533
  parseIdOrHandle,
@@ -521,23 +538,6 @@ import {
521
538
  decideLifecycleTransition,
522
539
  resolveLifecycleState
523
540
  } from "./chunk-TBBDFYXW.js";
524
- import {
525
- CAPSULE_ID_PATTERN
526
- } from "./chunk-WEHSQBFR.js";
527
- import {
528
- keyring_exports,
529
- secureStoreDir
530
- } from "./chunk-BJMBJZ2Y.js";
531
- import {
532
- buildRetrievedMemoryProvenance
533
- } from "./chunk-I4WBNM3M.js";
534
- import {
535
- assertIsDirectoryNotSymlink,
536
- assertRealpathInsideRoot
537
- } from "./chunk-GCGJW34D.js";
538
- import {
539
- parseFlexibleIsoTimestamp
540
- } from "./chunk-P7FMDTKL.js";
541
541
  import {
542
542
  canReadNamespace,
543
543
  canWriteNamespace,
@@ -25183,4 +25183,4 @@ export {
25183
25183
  blendGraphExpandedRecallScore,
25184
25184
  Orchestrator
25185
25185
  };
25186
- //# sourceMappingURL=chunk-AT3TDN6O.js.map
25186
+ //# sourceMappingURL=chunk-N6M7MRVN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StorageManager
3
- } from "./chunk-4F6AANKS.js";
3
+ } from "./chunk-QMGIQUBG.js";
4
4
  import {
5
5
  getCachedRuleMemories,
6
6
  setCachedRuleMemories
@@ -119,4 +119,4 @@ export {
119
119
  compareVerifiedSemanticRuleResults,
120
120
  searchVerifiedSemanticRules
121
121
  };
122
- //# sourceMappingURL=chunk-EXU5IQ3S.js.map
122
+ //# sourceMappingURL=chunk-NB2P47N7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runPostConsolidationMaterialize
3
- } from "./chunk-X5QS5C2O.js";
3
+ } from "./chunk-KL5Y6PEV.js";
4
4
  import {
5
5
  discoverMemoryExtensions,
6
6
  renderExtensionsBlock,
@@ -220,4 +220,4 @@ export {
220
220
  buildExtensionsBlockForConsolidation,
221
221
  materializeAfterSemanticConsolidation
222
222
  };
223
- //# sourceMappingURL=chunk-53WDAG7X.js.map
223
+ //# sourceMappingURL=chunk-OCMLGND7.js.map
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-FQC3DHH2.js";
8
8
  import {
9
9
  StorageManager
10
- } from "./chunk-4F6AANKS.js";
10
+ } from "./chunk-QMGIQUBG.js";
11
11
  import {
12
12
  parseContinuityImprovementLoops
13
13
  } from "./chunk-LDXUBPMO.js";
@@ -1283,4 +1283,4 @@ export {
1283
1283
  defaultTierMigrationCycleBudget,
1284
1284
  CompoundingEngine
1285
1285
  };
1286
- //# sourceMappingURL=chunk-3ZUY2VQF.js.map
1286
+ //# sourceMappingURL=chunk-P72WZMWQ.js.map
@@ -1,10 +1,10 @@
1
+ import {
2
+ SQLITE_SCHEMA_VERSION
3
+ } from "./chunk-Z734BLO3.js";
1
4
  import {
2
5
  parseConflictPolicy,
3
6
  validateManifestRecords
4
7
  } from "./chunk-G4IAEX6D.js";
5
- import {
6
- SQLITE_SCHEMA_VERSION
7
- } from "./chunk-Z734BLO3.js";
8
8
  import {
9
9
  openBetterSqlite3
10
10
  } from "./chunk-RL6NEVXT.js";
@@ -84,4 +84,4 @@ async function importSqlite(opts) {
84
84
  export {
85
85
  importSqlite
86
86
  };
87
- //# sourceMappingURL=chunk-LRGSLV7M.js.map
87
+ //# sourceMappingURL=chunk-PYHOAXTI.js.map
@@ -79,6 +79,10 @@ import {
79
79
  serializeContinuityIncident,
80
80
  upsertContinuityLoopInMarkdown
81
81
  } from "./chunk-LDXUBPMO.js";
82
+ import {
83
+ parseFaithfulnessField,
84
+ serializeFaithfulnessFields
85
+ } from "./chunk-JYIJNNN3.js";
82
86
  import {
83
87
  composeMemoryEnvelope,
84
88
  isSealedMemoryEnvelope,
@@ -88,10 +92,6 @@ import {
88
92
  assemblePersistedBody,
89
93
  stripAttributesSuffix
90
94
  } from "./chunk-R3DJVOSM.js";
91
- import {
92
- parseFaithfulnessField,
93
- serializeFaithfulnessFields
94
- } from "./chunk-JYIJNNN3.js";
95
95
  import {
96
96
  isConsolidationOperator,
97
97
  isValidDerivedFromEntry
@@ -8547,4 +8547,4 @@ export {
8547
8547
  isValidBufferSurpriseEvent,
8548
8548
  StorageManager3 as StorageManager
8549
8549
  };
8550
- //# sourceMappingURL=chunk-4F6AANKS.js.map
8550
+ //# sourceMappingURL=chunk-QMGIQUBG.js.map
@@ -4,6 +4,9 @@ import {
4
4
  import {
5
5
  buildCitationGuidance
6
6
  } from "./chunk-D24OXEPB.js";
7
+ import {
8
+ validateRequest
9
+ } from "./chunk-HBYQAOED.js";
7
10
  import {
8
11
  REMNIC_CHATGPT_MEMORY_INSPECTOR_MIME_TYPE,
9
12
  REMNIC_CHATGPT_MEMORY_INSPECTOR_TOOL,
@@ -11,14 +14,15 @@ import {
11
14
  REMNIC_CHATGPT_MEMORY_INSPECTOR_WIDGET_URI
12
15
  } from "./chunk-T4WDJPEZ.js";
13
16
  import {
14
- validateRequest
15
- } from "./chunk-HBYQAOED.js";
17
+ MCP_ADMIN_OPS_TOOLS,
18
+ MCP_GIT_CONTEXT_SCHEMA_PROPS_IGNORED
19
+ } from "./chunk-56BSXSHC.js";
16
20
  import {
17
21
  applyToolOutputSchemas
18
- } from "./chunk-5RUE3GHQ.js";
22
+ } from "./chunk-DM5A4ZFL.js";
19
23
  import {
20
24
  getOperation
21
- } from "./chunk-62QM5MKY.js";
25
+ } from "./chunk-6ANPNUVL.js";
22
26
  import {
23
27
  assertOperationAllowed,
24
28
  capabilityAllowsOp,
@@ -1212,6 +1216,7 @@ var MCP_MIGRATED_OPERATIONS = {
1212
1216
  "engram.capsule_import": "capsule_import",
1213
1217
  "engram.capsule_list": "capsule_list",
1214
1218
  "engram.memory_governance_run": "memory_governance_run",
1219
+ "engram.entity_synthesis_run": "entity_synthesis_run",
1215
1220
  "engram.procedure_mining_run": "procedure_mining_run",
1216
1221
  "engram.pattern_reinforcement_run": "pattern_reinforcement_run",
1217
1222
  "engram.procedural_stats": "procedural_stats",
@@ -1335,16 +1340,6 @@ var MCP_GIT_CONTEXT_SCHEMA_PROPS_SCOPED = {
1335
1340
  description: "Optional project tag for non-git project scoping. When no explicit namespace is given, routes this write to the tagged project namespace."
1336
1341
  }
1337
1342
  };
1338
- var MCP_GIT_CONTEXT_SCHEMA_PROPS_IGNORED = {
1339
- cwd: {
1340
- type: "string",
1341
- description: "Accepted for MCP client compatibility (git-context auto-injection); ignored by this tool."
1342
- },
1343
- projectTag: {
1344
- type: "string",
1345
- description: "Accepted for MCP client compatibility; ignored by this tool."
1346
- }
1347
- };
1348
1343
  function parseMcpRequest(schemaName, args) {
1349
1344
  const allowedKeys = STRICT_MCP_SCHEMA_KEYS[schemaName];
1350
1345
  if (allowedKeys) {
@@ -1840,133 +1835,7 @@ var EngramMcpServer = class {
1840
1835
  additionalProperties: false
1841
1836
  }
1842
1837
  },
1843
- {
1844
- name: "engram.capsule_export",
1845
- description: "Export a portable Remnic capsule archive from the namespace-scoped memory store.",
1846
- inputSchema: {
1847
- type: "object",
1848
- properties: {
1849
- name: {
1850
- type: "string",
1851
- description: "Capsule id (alphanumeric with single dashes, max 64 characters)."
1852
- },
1853
- namespace: { type: "string" },
1854
- since: {
1855
- type: "string",
1856
- description: "Only include files modified on or after this ISO 8601 timestamp."
1857
- },
1858
- includeKinds: {
1859
- type: "array",
1860
- items: { type: "string" },
1861
- description: "Optional top-level directory allow-list."
1862
- },
1863
- peerIds: {
1864
- type: "array",
1865
- items: { type: "string" },
1866
- description: "Optional peer id allow-list for the peers/ subtree."
1867
- },
1868
- includeTranscripts: { type: "boolean" },
1869
- encrypt: { type: "boolean" },
1870
- ...MCP_GIT_CONTEXT_SCHEMA_PROPS_IGNORED
1871
- },
1872
- required: ["name"],
1873
- additionalProperties: false
1874
- }
1875
- },
1876
- {
1877
- name: "engram.capsule_import",
1878
- description: "Import a Remnic capsule archive into the namespace-scoped memory store.",
1879
- inputSchema: {
1880
- type: "object",
1881
- properties: {
1882
- archivePath: {
1883
- type: "string",
1884
- description: "Path to a .capsule.json.gz or .capsule.json.gz.enc archive."
1885
- },
1886
- namespace: { type: "string" },
1887
- mode: {
1888
- type: "string",
1889
- enum: ["skip", "overwrite", "fork"],
1890
- description: "Conflict handling mode. Defaults to skip."
1891
- },
1892
- passphrase: {
1893
- type: "string",
1894
- description: "Passphrase for encrypted capsule archives."
1895
- },
1896
- ...MCP_GIT_CONTEXT_SCHEMA_PROPS_IGNORED
1897
- },
1898
- required: ["archivePath"],
1899
- additionalProperties: false
1900
- }
1901
- },
1902
- {
1903
- name: "engram.capsule_list",
1904
- description: "List capsule archives in the namespace-scoped capsule store.",
1905
- inputSchema: {
1906
- type: "object",
1907
- properties: {
1908
- namespace: { type: "string" },
1909
- sessionKey: {
1910
- type: "string",
1911
- description: "Optional session key used to derive namespace principal when no trusted transport principal is present."
1912
- },
1913
- ...MCP_GIT_CONTEXT_SCHEMA_PROPS_IGNORED
1914
- },
1915
- additionalProperties: false
1916
- }
1917
- },
1918
- {
1919
- name: "engram.memory_governance_run",
1920
- description: "Run Remnic memory governance in a bounded shadow/apply pass.",
1921
- inputSchema: {
1922
- type: "object",
1923
- properties: {
1924
- namespace: { type: "string" },
1925
- mode: { type: "string", enum: ["shadow", "apply"] },
1926
- recentDays: { type: "number" },
1927
- maxMemories: { type: "number" },
1928
- batchSize: { type: "number" }
1929
- },
1930
- additionalProperties: false
1931
- }
1932
- },
1933
- {
1934
- name: "engram.procedure_mining_run",
1935
- description: "Run procedural memory mining from causal trajectories (issue #519). Respects procedural.enabled; writes under procedures/ when clusters qualify.",
1936
- inputSchema: {
1937
- type: "object",
1938
- properties: {
1939
- namespace: { type: "string" }
1940
- },
1941
- additionalProperties: false
1942
- }
1943
- },
1944
- {
1945
- name: "engram.pattern_reinforcement_run",
1946
- description: "Run the pattern-reinforcement maintenance job (issue #687 PR 2/4). Clusters duplicate non-procedural memories by normalized content, promotes the most-recent member to canonical, and supersedes the older duplicates. Gated on patternReinforcementEnabled and the patternReinforcementCadenceMs floor \u2014 pass force=true to bypass the cadence for an ad-hoc operator run.",
1947
- inputSchema: {
1948
- type: "object",
1949
- properties: {
1950
- namespace: { type: "string" },
1951
- force: { type: "boolean" }
1952
- },
1953
- additionalProperties: false
1954
- }
1955
- },
1956
- {
1957
- // The canonical `remnic.procedural_stats` alias is added automatically
1958
- // by `withToolAliases` — the dual-naming invariant keeps both names
1959
- // alive for the legacy surface.
1960
- name: "engram.procedural_stats",
1961
- description: "Procedural memory stats (issue #567): counts by status, recent write activity, and the active procedural.* config. Read-only, namespace-scoped.",
1962
- inputSchema: {
1963
- type: "object",
1964
- properties: {
1965
- namespace: { type: "string" }
1966
- },
1967
- additionalProperties: false
1968
- }
1969
- },
1838
+ ...MCP_ADMIN_OPS_TOOLS,
1970
1839
  {
1971
1840
  name: "engram.memory_get",
1972
1841
  description: "Fetch one Remnic memory by id.",
@@ -3789,4 +3658,4 @@ export {
3789
3658
  MCP_SUPPORTED_PROTOCOL_VERSIONS,
3790
3659
  EngramMcpServer
3791
3660
  };
3792
- //# sourceMappingURL=chunk-TCZWBJBO.js.map
3661
+ //# sourceMappingURL=chunk-QTO2FGBT.js.map