@remnic/core 9.3.739 → 9.3.741

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 (183) hide show
  1. package/dist/access-boundary.js +13 -13
  2. package/dist/access-cli.js +35 -35
  3. package/dist/access-http.js +18 -18
  4. package/dist/access-mcp.js +17 -17
  5. package/dist/access-operations-batch.js +15 -15
  6. package/dist/access-operations.js +16 -16
  7. package/dist/access-service.js +12 -12
  8. package/dist/active-memory-bridge.js +3 -3
  9. package/dist/briefing.js +2 -2
  10. package/dist/buffer.js +2 -2
  11. package/dist/capabilities.d.ts +97 -1
  12. package/dist/capabilities.js +7 -1
  13. package/dist/causal-consolidation.js +4 -3
  14. package/dist/causal-consolidation.js.map +1 -1
  15. package/dist/{chunk-IFCM6OLK.js → chunk-3TUDKDTQ.js} +7 -7
  16. package/dist/{chunk-A7INTIC5.js → chunk-4J53ZVPQ.js} +3 -3
  17. package/dist/{chunk-XYUFGHUW.js → chunk-56F6EAQ6.js} +2 -2
  18. package/dist/{chunk-F6OEXJQQ.js → chunk-6XG3NQRC.js} +2 -2
  19. package/dist/{chunk-24ZLC5QN.js → chunk-7N7S2RKF.js} +2 -2
  20. package/dist/{chunk-Y5OOHER4.js → chunk-7Y5KKMIP.js} +12 -11
  21. package/dist/chunk-7Y5KKMIP.js.map +1 -0
  22. package/dist/{chunk-VRBBZH4U.js → chunk-AX4TRSRE.js} +3 -3
  23. package/dist/{chunk-66RZ4EIT.js → chunk-BE6NEQLF.js} +3 -3
  24. package/dist/{chunk-YF2MMBKA.js → chunk-BJPL5WAL.js} +3 -3
  25. package/dist/{chunk-EO5QWINU.js → chunk-C3Z5YJSM.js} +5 -2
  26. package/dist/chunk-C3Z5YJSM.js.map +1 -0
  27. package/dist/{chunk-GEXI357K.js → chunk-C7C5WIIF.js} +2 -2
  28. package/dist/{chunk-L3TYGUTH.js → chunk-CMPXLMC3.js} +3 -3
  29. package/dist/{chunk-W2FBVBQ4.js → chunk-DBVBV2RF.js} +4 -4
  30. package/dist/{chunk-JQSP7YBJ.js → chunk-ELL5VYXC.js} +5 -4
  31. package/dist/chunk-ELL5VYXC.js.map +1 -0
  32. package/dist/{chunk-IQOEW5YV.js → chunk-FCQ7ZYCQ.js} +2 -2
  33. package/dist/{chunk-IIBFCZA7.js → chunk-FWXLKH2H.js} +3 -3
  34. package/dist/{chunk-RJBW4EOU.js → chunk-G7Q4D2G3.js} +74 -2
  35. package/dist/{chunk-RJBW4EOU.js.map → chunk-G7Q4D2G3.js.map} +1 -1
  36. package/dist/{chunk-WVAEIKUY.js → chunk-GPX5E36D.js} +5 -4
  37. package/dist/chunk-GPX5E36D.js.map +1 -0
  38. package/dist/{chunk-23PLOBWT.js → chunk-H3WSZWHK.js} +22 -20
  39. package/dist/chunk-H3WSZWHK.js.map +1 -0
  40. package/dist/{chunk-Q6BAA57B.js → chunk-JFCS6PQU.js} +2 -2
  41. package/dist/chunk-JFCS6PQU.js.map +1 -0
  42. package/dist/{chunk-CKHPUOAP.js → chunk-K2N6WIZM.js} +3 -3
  43. package/dist/{chunk-BHJAMSVC.js → chunk-LD6A7XG5.js} +7 -7
  44. package/dist/{chunk-AKKFHN3I.js → chunk-M4WI23X3.js} +2 -2
  45. package/dist/{chunk-N2O23WYA.js → chunk-M5KLYHHI.js} +2 -2
  46. package/dist/{chunk-TNLXCSXV.js → chunk-O4IWVWSW.js} +5 -4
  47. package/dist/chunk-O4IWVWSW.js.map +1 -0
  48. package/dist/{chunk-OQQRWPFZ.js → chunk-OS5RKJOH.js} +2 -2
  49. package/dist/{chunk-MAU7DFCJ.js → chunk-OT5K26NG.js} +5 -4
  50. package/dist/chunk-OT5K26NG.js.map +1 -0
  51. package/dist/{chunk-DS3FZ7GS.js → chunk-OUSOMUFV.js} +2 -2
  52. package/dist/{chunk-7B7IPPN5.js → chunk-OVYBENIJ.js} +3 -3
  53. package/dist/{chunk-5RZOFIDL.js → chunk-PI4JHLDD.js} +6 -3
  54. package/dist/chunk-PI4JHLDD.js.map +1 -0
  55. package/dist/{chunk-EU543UDC.js → chunk-QCO2QFLZ.js} +7 -7
  56. package/dist/chunk-QCO2QFLZ.js.map +1 -0
  57. package/dist/{chunk-YXOXAQ5Y.js → chunk-TQQN64J2.js} +5 -4
  58. package/dist/chunk-TQQN64J2.js.map +1 -0
  59. package/dist/{chunk-WDJCZQB4.js → chunk-UGFPGWJB.js} +2 -2
  60. package/dist/{chunk-75PDC7VT.js → chunk-UOVDO6TC.js} +6 -5
  61. package/dist/chunk-UOVDO6TC.js.map +1 -0
  62. package/dist/{chunk-BVG2IZOB.js → chunk-USHVHI6J.js} +7 -6
  63. package/dist/chunk-USHVHI6J.js.map +1 -0
  64. package/dist/{chunk-56LP72AD.js → chunk-UYYSOMS2.js} +4 -4
  65. package/dist/{chunk-IEWUPZ75.js → chunk-VC7QELR6.js} +77 -74
  66. package/dist/chunk-VC7QELR6.js.map +1 -0
  67. package/dist/{chunk-XIQAOGAA.js → chunk-WGDE2TJP.js} +7 -6
  68. package/dist/chunk-WGDE2TJP.js.map +1 -0
  69. package/dist/{chunk-UFS7OXGL.js → chunk-WHEF76BQ.js} +5 -2
  70. package/dist/chunk-WHEF76BQ.js.map +1 -0
  71. package/dist/{chunk-QTJOORGN.js → chunk-WIMKOTNY.js} +2 -2
  72. package/dist/{chunk-GXTYEG7Q.js → chunk-WO22UEM3.js} +2 -2
  73. package/dist/{chunk-BHQQVUEQ.js → chunk-X5PMDVY4.js} +6 -5
  74. package/dist/{chunk-BHQQVUEQ.js.map → chunk-X5PMDVY4.js.map} +1 -1
  75. package/dist/{chunk-C53JDEH3.js → chunk-Y62QPRKV.js} +2 -2
  76. package/dist/{chunk-WFNH4UDF.js → chunk-Y6PNYJVO.js} +3 -3
  77. package/dist/{chunk-6YKIYQU7.js → chunk-YNHRWFAP.js} +5 -2
  78. package/dist/{chunk-6YKIYQU7.js.map → chunk-YNHRWFAP.js.map} +1 -1
  79. package/dist/cli.js +29 -29
  80. package/dist/compounding/engine.js +4 -4
  81. package/dist/connectors/codex-materialize-runner.js +2 -2
  82. package/dist/connectors/index.js +4 -3
  83. package/dist/contradiction/index.js +2 -2
  84. package/dist/{contradiction-scan-CWO3LIWV.js → contradiction-scan-UERKJESC.js} +3 -3
  85. package/dist/day-summary.js +2 -1
  86. package/dist/embedding-fallback.js +2 -2
  87. package/dist/entity-retrieval.js +3 -3
  88. package/dist/explicit-capture.js +2 -2
  89. package/dist/extraction.js +4 -4
  90. package/dist/{first-start-migration-5DXD3TF2.js → first-start-migration-GQ3UQNIL.js} +2 -2
  91. package/dist/index.js +45 -45
  92. package/dist/local-llm.js +2 -2
  93. package/dist/maintenance/memory-governance.js +2 -2
  94. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +2 -2
  95. package/dist/maintenance/rebuild-memory-projection.js +3 -3
  96. package/dist/namespaces/migrate.js +7 -7
  97. package/dist/namespaces/principal.js +2 -2
  98. package/dist/namespaces/search.js +4 -4
  99. package/dist/namespaces/storage.js +3 -3
  100. package/dist/operator-toolkit.js +13 -13
  101. package/dist/orchestration/compression-guideline-coordinator.js +2 -2
  102. package/dist/orchestration/maintenance.js +7 -7
  103. package/dist/orchestrator.js +29 -29
  104. package/dist/search/embed-helper.js +2 -2
  105. package/dist/search/factory.js +3 -3
  106. package/dist/search/index.js +3 -3
  107. package/dist/semantic-consolidation.js +4 -3
  108. package/dist/semantic-rule-promotion.js +2 -2
  109. package/dist/semantic-rule-verifier.js +2 -2
  110. package/dist/shared-context/manager.js +2 -1
  111. package/dist/storage.d.ts +1 -1
  112. package/dist/storage.js +1 -1
  113. package/dist/summarizer.js +3 -3
  114. package/dist/{tier-stats-QID73BBB.js → tier-stats-CSKL7BDG.js} +2 -2
  115. package/dist/verified-recall.js +2 -2
  116. package/package.json +2 -2
  117. package/src/access-service.ts +2 -1
  118. package/src/capabilities.test.ts +166 -0
  119. package/src/capabilities.ts +267 -0
  120. package/src/cli/research-status-commands.ts +2 -1
  121. package/src/cli.ts +3 -2
  122. package/src/compounding/engine.ts +2 -1
  123. package/src/connectors/codex-marketplace.ts +2 -1
  124. package/src/day-summary.ts +2 -1
  125. package/src/embedding-fallback.ts +2 -1
  126. package/src/extraction.ts +3 -2
  127. package/src/local-llm.ts +2 -1
  128. package/src/maintenance/namespace-maintenance-fanout.ts +2 -1
  129. package/src/maintenance/namespace-planner.ts +2 -1
  130. package/src/operator-toolkit.ts +1 -0
  131. package/src/orchestration/semantic-consolidation-coordinator.ts +3 -2
  132. package/src/orchestrator.ts +50 -46
  133. package/src/search/embed-helper.ts +2 -1
  134. package/src/search/factory.ts +2 -1
  135. package/src/semantic-consolidation.ts +2 -1
  136. package/src/shared-context/manager.ts +3 -2
  137. package/src/storage.ts +1 -1
  138. package/src/summarizer.ts +3 -2
  139. package/dist/chunk-23PLOBWT.js.map +0 -1
  140. package/dist/chunk-5RZOFIDL.js.map +0 -1
  141. package/dist/chunk-75PDC7VT.js.map +0 -1
  142. package/dist/chunk-BVG2IZOB.js.map +0 -1
  143. package/dist/chunk-EO5QWINU.js.map +0 -1
  144. package/dist/chunk-EU543UDC.js.map +0 -1
  145. package/dist/chunk-IEWUPZ75.js.map +0 -1
  146. package/dist/chunk-JQSP7YBJ.js.map +0 -1
  147. package/dist/chunk-MAU7DFCJ.js.map +0 -1
  148. package/dist/chunk-Q6BAA57B.js.map +0 -1
  149. package/dist/chunk-TNLXCSXV.js.map +0 -1
  150. package/dist/chunk-UFS7OXGL.js.map +0 -1
  151. package/dist/chunk-WVAEIKUY.js.map +0 -1
  152. package/dist/chunk-XIQAOGAA.js.map +0 -1
  153. package/dist/chunk-Y5OOHER4.js.map +0 -1
  154. package/dist/chunk-YXOXAQ5Y.js.map +0 -1
  155. /package/dist/{chunk-IFCM6OLK.js.map → chunk-3TUDKDTQ.js.map} +0 -0
  156. /package/dist/{chunk-A7INTIC5.js.map → chunk-4J53ZVPQ.js.map} +0 -0
  157. /package/dist/{chunk-XYUFGHUW.js.map → chunk-56F6EAQ6.js.map} +0 -0
  158. /package/dist/{chunk-F6OEXJQQ.js.map → chunk-6XG3NQRC.js.map} +0 -0
  159. /package/dist/{chunk-24ZLC5QN.js.map → chunk-7N7S2RKF.js.map} +0 -0
  160. /package/dist/{chunk-VRBBZH4U.js.map → chunk-AX4TRSRE.js.map} +0 -0
  161. /package/dist/{chunk-66RZ4EIT.js.map → chunk-BE6NEQLF.js.map} +0 -0
  162. /package/dist/{chunk-YF2MMBKA.js.map → chunk-BJPL5WAL.js.map} +0 -0
  163. /package/dist/{chunk-GEXI357K.js.map → chunk-C7C5WIIF.js.map} +0 -0
  164. /package/dist/{chunk-L3TYGUTH.js.map → chunk-CMPXLMC3.js.map} +0 -0
  165. /package/dist/{chunk-W2FBVBQ4.js.map → chunk-DBVBV2RF.js.map} +0 -0
  166. /package/dist/{chunk-IQOEW5YV.js.map → chunk-FCQ7ZYCQ.js.map} +0 -0
  167. /package/dist/{chunk-IIBFCZA7.js.map → chunk-FWXLKH2H.js.map} +0 -0
  168. /package/dist/{chunk-CKHPUOAP.js.map → chunk-K2N6WIZM.js.map} +0 -0
  169. /package/dist/{chunk-BHJAMSVC.js.map → chunk-LD6A7XG5.js.map} +0 -0
  170. /package/dist/{chunk-AKKFHN3I.js.map → chunk-M4WI23X3.js.map} +0 -0
  171. /package/dist/{chunk-N2O23WYA.js.map → chunk-M5KLYHHI.js.map} +0 -0
  172. /package/dist/{chunk-OQQRWPFZ.js.map → chunk-OS5RKJOH.js.map} +0 -0
  173. /package/dist/{chunk-DS3FZ7GS.js.map → chunk-OUSOMUFV.js.map} +0 -0
  174. /package/dist/{chunk-7B7IPPN5.js.map → chunk-OVYBENIJ.js.map} +0 -0
  175. /package/dist/{chunk-WDJCZQB4.js.map → chunk-UGFPGWJB.js.map} +0 -0
  176. /package/dist/{chunk-56LP72AD.js.map → chunk-UYYSOMS2.js.map} +0 -0
  177. /package/dist/{chunk-QTJOORGN.js.map → chunk-WIMKOTNY.js.map} +0 -0
  178. /package/dist/{chunk-GXTYEG7Q.js.map → chunk-WO22UEM3.js.map} +0 -0
  179. /package/dist/{chunk-C53JDEH3.js.map → chunk-Y62QPRKV.js.map} +0 -0
  180. /package/dist/{chunk-WFNH4UDF.js.map → chunk-Y6PNYJVO.js.map} +0 -0
  181. /package/dist/{contradiction-scan-CWO3LIWV.js.map → contradiction-scan-UERKJESC.js.map} +0 -0
  182. /package/dist/{first-start-migration-5DXD3TF2.js.map → first-start-migration-GQ3UQNIL.js.map} +0 -0
  183. /package/dist/{tier-stats-QID73BBB.js.map → tier-stats-CSKL7BDG.js.map} +0 -0
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-OZECYVGI.js";
8
8
  import {
9
9
  CompressionGuidelineCoordinator
10
- } from "./chunk-QTJOORGN.js";
10
+ } from "./chunk-WIMKOTNY.js";
11
11
  import {
12
12
  MaintenanceScheduler
13
- } from "./chunk-YF2MMBKA.js";
13
+ } from "./chunk-BJPL5WAL.js";
14
14
  import {
15
15
  runPeerProfileReasoner
16
16
  } from "./chunk-I74SUMNI.js";
@@ -29,10 +29,10 @@ import {
29
29
  import {
30
30
  CompoundingEngine,
31
31
  defaultTierMigrationCycleBudget
32
- } from "./chunk-75PDC7VT.js";
32
+ } from "./chunk-UOVDO6TC.js";
33
33
  import {
34
34
  SharedContextManager
35
- } from "./chunk-UFS7OXGL.js";
35
+ } from "./chunk-WHEF76BQ.js";
36
36
  import {
37
37
  applyTrustScoreStage,
38
38
  buildTrustSignalsForRerank,
@@ -63,7 +63,7 @@ import {
63
63
  } from "./chunk-UHGBNIOS.js";
64
64
  import {
65
65
  HourlySummarizer
66
- } from "./chunk-BVG2IZOB.js";
66
+ } from "./chunk-USHVHI6J.js";
67
67
  import {
68
68
  buildTargetedFactRecallSection,
69
69
  shouldRecallTargetedFactEvidence
@@ -160,7 +160,7 @@ import {
160
160
  } from "./chunk-LTHVM4XN.js";
161
161
  import {
162
162
  ExtractionEngine
163
- } from "./chunk-XIQAOGAA.js";
163
+ } from "./chunk-WGDE2TJP.js";
164
164
  import {
165
165
  parseMemoryActionEligibilityContext
166
166
  } from "./chunk-5GSUBCZM.js";
@@ -169,7 +169,7 @@ import {
169
169
  } from "./chunk-PWFWCGOO.js";
170
170
  import {
171
171
  LocalLlmClient
172
- } from "./chunk-YXOXAQ5Y.js";
172
+ } from "./chunk-TQQN64J2.js";
173
173
  import {
174
174
  buildFocusedListRecallSection,
175
175
  shouldRecallFocusedListEvidence
@@ -187,18 +187,18 @@ import {
187
187
  } from "./chunk-4463LUIE.js";
188
188
  import {
189
189
  formatDaySummaryMemories
190
- } from "./chunk-EO5QWINU.js";
190
+ } from "./chunk-C3Z5YJSM.js";
191
191
  import {
192
192
  tryDirectAnswer
193
193
  } from "./chunk-Q6IP2ARR.js";
194
194
  import {
195
195
  EmbeddingFallback
196
- } from "./chunk-WVAEIKUY.js";
196
+ } from "./chunk-GPX5E36D.js";
197
197
  import {
198
198
  buildEntityRecallSection,
199
199
  entityRecentTranscriptLookbackHours,
200
200
  readRecentEntityTranscriptEntries
201
- } from "./chunk-CKHPUOAP.js";
201
+ } from "./chunk-K2N6WIZM.js";
202
202
  import {
203
203
  RoutingRulesStore
204
204
  } from "./chunk-WIWPSQYU.js";
@@ -208,14 +208,14 @@ import {
208
208
  import {
209
209
  compareVerifiedEpisodeResults,
210
210
  searchVerifiedEpisodes
211
- } from "./chunk-WDJCZQB4.js";
211
+ } from "./chunk-UGFPGWJB.js";
212
212
  import {
213
213
  ThreadingManager
214
214
  } from "./chunk-QRDOSYOR.js";
215
215
  import {
216
216
  compareVerifiedSemanticRuleResults,
217
217
  searchVerifiedSemanticRules
218
- } from "./chunk-IQOEW5YV.js";
218
+ } from "./chunk-FCQ7ZYCQ.js";
219
219
  import {
220
220
  searchWorkProductLedgerEntries
221
221
  } from "./chunk-ZRWB5D4H.js";
@@ -228,14 +228,14 @@ import {
228
228
  import {
229
229
  runNamespaceMaintenanceFanout,
230
230
  summarizeNamespaceMaintenanceHealth
231
- } from "./chunk-TNLXCSXV.js";
231
+ } from "./chunk-O4IWVWSW.js";
232
232
  import {
233
233
  NamespaceCatalog,
234
234
  planNamespaceMaintenance
235
- } from "./chunk-BHQQVUEQ.js";
235
+ } from "./chunk-X5PMDVY4.js";
236
236
  import {
237
237
  NamespaceStorageRouter
238
- } from "./chunk-VRBBZH4U.js";
238
+ } from "./chunk-AX4TRSRE.js";
239
239
  import {
240
240
  searchHarmonicRetrieval
241
241
  } from "./chunk-AV5ZEH4M.js";
@@ -270,7 +270,7 @@ import {
270
270
  materializeAfterSemanticConsolidation,
271
271
  parseConsolidationResponse,
272
272
  parseOperatorAwareConsolidationResponse
273
- } from "./chunk-5RZOFIDL.js";
273
+ } from "./chunk-PI4JHLDD.js";
274
274
  import {
275
275
  buildRecallQueryPolicy
276
276
  } from "./chunk-LBJBNWS2.js";
@@ -292,7 +292,7 @@ import {
292
292
  } from "./chunk-UQ7RN5HK.js";
293
293
  import {
294
294
  SmartBuffer
295
- } from "./chunk-OQQRWPFZ.js";
295
+ } from "./chunk-OS5RKJOH.js";
296
296
  import {
297
297
  isDisagreementPrompt
298
298
  } from "./chunk-H3FZVNRN.js";
@@ -311,7 +311,7 @@ import {
311
311
  clusterByKey,
312
312
  createCorrectionService,
313
313
  detectPassiveCorrections
314
- } from "./chunk-WFNH4UDF.js";
314
+ } from "./chunk-Y6PNYJVO.js";
315
315
  import {
316
316
  listTrustZoneRecords,
317
317
  searchTrustZoneRecords
@@ -333,14 +333,14 @@ import {
333
333
  resolveNamespaceFromStorageDir,
334
334
  resolveScopePlan,
335
335
  resolveScopeProfilePlan
336
- } from "./chunk-7B7IPPN5.js";
336
+ } from "./chunk-OVYBENIJ.js";
337
337
  import {
338
338
  NamespaceSearchRouter
339
- } from "./chunk-66RZ4EIT.js";
339
+ } from "./chunk-BE6NEQLF.js";
340
340
  import {
341
341
  createConversationIndexRuntime,
342
342
  createSearchBackend
343
- } from "./chunk-JQSP7YBJ.js";
343
+ } from "./chunk-ELL5VYXC.js";
344
344
  import {
345
345
  NoopSearchBackend
346
346
  } from "./chunk-CYEPCZN5.js";
@@ -363,7 +363,7 @@ import {
363
363
  } from "./chunk-QDW3E4RD.js";
364
364
  import {
365
365
  shouldSkipImplicitExtraction
366
- } from "./chunk-C53JDEH3.js";
366
+ } from "./chunk-Y62QPRKV.js";
367
367
  import {
368
368
  searchCausalTrajectories
369
369
  } from "./chunk-SQNED75R.js";
@@ -376,7 +376,7 @@ import {
376
376
  } from "./chunk-TBBDFYXW.js";
377
377
  import {
378
378
  buildChainFollowupGenerator
379
- } from "./chunk-F6OEXJQQ.js";
379
+ } from "./chunk-6XG3NQRC.js";
380
380
  import {
381
381
  ContentHashIndex,
382
382
  StorageManager,
@@ -384,7 +384,7 @@ import {
384
384
  fingerprintEntityStructuredFacts,
385
385
  normalizeAttributePairs,
386
386
  parseEntityFile
387
- } from "./chunk-Q6BAA57B.js";
387
+ } from "./chunk-JFCS6PQU.js";
388
388
  import {
389
389
  buildRetiredFactTombstoneInputs
390
390
  } from "./chunk-L2B3EE7B.js";
@@ -465,7 +465,7 @@ import {
465
465
  defaultNamespaceForPrincipal,
466
466
  recallNamespacesForPrincipal,
467
467
  resolvePrincipal
468
- } from "./chunk-DS3FZ7GS.js";
468
+ } from "./chunk-OUSOMUFV.js";
469
469
  import {
470
470
  isSafeRouteNamespace,
471
471
  selectRouteRule
@@ -474,6 +474,7 @@ import {
474
474
  resolveCapabilities,
475
475
  resolveCompressionCapabilities,
476
476
  resolveConsolidationCapabilities,
477
+ resolveConversationContextCapabilities,
477
478
  resolveCreationMemoryCapabilities,
478
479
  resolveEvalCapabilities,
479
480
  resolveGraphConstructionCapabilities,
@@ -483,12 +484,14 @@ import {
483
484
  resolveMemoryLifecycleCapabilities,
484
485
  resolveNamespaceCapabilities,
485
486
  resolveObjectiveStateCapabilities,
487
+ resolvePipelineProcessingCapabilities,
486
488
  resolvePresentationCapabilities,
487
489
  resolveQmdCapabilities,
488
490
  resolveRecallAuxiliaryCapabilities,
491
+ resolveRecallEnhancementCapabilities,
489
492
  resolveSecurityCapabilities,
490
493
  resolveUtilityLearningCapabilities
491
- } from "./chunk-RJBW4EOU.js";
494
+ } from "./chunk-G7Q4D2G3.js";
492
495
  import {
493
496
  sanitizeMemoryContent
494
497
  } from "./chunk-5GKPFL3S.js";
@@ -960,7 +963,7 @@ var SemanticConsolidationCoordinator = class {
960
963
  for (const cluster of clusters) {
961
964
  let canonicalWriteCompleted = false;
962
965
  try {
963
- const operatorAwareEnabled = this.config.operatorAwareConsolidationEnabled === true;
966
+ const operatorAwareEnabled = resolveConversationContextCapabilities(this.config).operatorAwareConsolidation === true;
964
967
  let prompt = operatorAwareEnabled ? buildOperatorAwareConsolidationPrompt(cluster) : buildConsolidationPrompt(cluster);
965
968
  if (extensionsBlock.length > 0) {
966
969
  prompt += "\n\n" + extensionsBlock;
@@ -1106,7 +1109,7 @@ var SemanticConsolidationCoordinator = class {
1106
1109
  `[semantic-consolidation] Codex materialize post-hook failed (non-fatal): ${err instanceof Error ? err.message : String(err)}`
1107
1110
  );
1108
1111
  }
1109
- if (this.config.peerProfileReasonerEnabled) {
1112
+ if (resolveConversationContextCapabilities(this.config).peerProfileReasoner) {
1110
1113
  try {
1111
1114
  const peerLlm = new FallbackLlmClient(
1112
1115
  this.config.gatewayConfig,
@@ -5194,7 +5197,7 @@ var Orchestrator = class _Orchestrator {
5194
5197
  constructor(config) {
5195
5198
  this.config = config;
5196
5199
  this.profiler = new ProfilingCollector({
5197
- enabled: config.profilingEnabled,
5200
+ enabled: resolvePipelineProcessingCapabilities(this.config).profiling,
5198
5201
  storageDir: config.profilingStorageDir || path5.join(config.memoryDir, "profiling"),
5199
5202
  maxTraces: config.profilingMaxTraces
5200
5203
  });
@@ -5261,7 +5264,7 @@ var Orchestrator = class _Orchestrator {
5261
5264
  this.conversationQmd = conversationIndexRuntime.qmd;
5262
5265
  this.conversationFaiss = conversationIndexRuntime.faiss;
5263
5266
  this.conversationIndexBackend = conversationIndexRuntime.backend;
5264
- this.sharedContext = config.sharedContextEnabled ? new SharedContextManager(config) : void 0;
5267
+ this.sharedContext = resolveConversationContextCapabilities(this.config).sharedContext ? new SharedContextManager(config) : void 0;
5265
5268
  this.compounding = resolveConsolidationCapabilities(config).compounding ? new CompoundingEngine(config, this.storage) : void 0;
5266
5269
  this.buffer = new SmartBuffer(config, this.storage);
5267
5270
  this.transcript = new TranscriptManager(config);
@@ -5324,7 +5327,7 @@ var Orchestrator = class _Orchestrator {
5324
5327
  this.judgeDeferCounts = createDeferCountMap();
5325
5328
  this.localLlm = new LocalLlmClient(config, this.modelRegistry);
5326
5329
  this.localLlm.disableThinking = config.localLlmDisableThinking;
5327
- this.fastLlm = config.localLlmFastEnabled ? (() => {
5330
+ this.fastLlm = resolvePipelineProcessingCapabilities(this.config).localLlmFast ? (() => {
5328
5331
  const client = new LocalLlmClient(
5329
5332
  {
5330
5333
  ...config,
@@ -5380,7 +5383,7 @@ var Orchestrator = class _Orchestrator {
5380
5383
  tmtHourlyMinMemories: config.tmtHourlyMinMemories,
5381
5384
  tmtSummaryMaxTokens: config.tmtSummaryMaxTokens
5382
5385
  });
5383
- if (config.lcmEnabled) {
5386
+ if (resolvePipelineProcessingCapabilities(this.config).lcm) {
5384
5387
  const summarizeFn = async (text, targetTokens, aggressive) => {
5385
5388
  const instructionText = aggressive ? `Compress the following into bullet points. One bullet per distinct fact or decision. Maximum ${targetTokens} tokens total. No prose.` : `Compress the following conversation segment into a dense summary. Preserve: decisions made, code artifacts mentioned, errors encountered, open questions, and any commitments or next-steps. Omit: pleasantries, restatements, and anything the agent would not need to recall later. Output a single paragraph, maximum ${targetTokens} tokens.`;
5386
5389
  try {
@@ -5419,7 +5422,7 @@ var Orchestrator = class _Orchestrator {
5419
5422
  dir,
5420
5423
  new BoxBuilder(dir, {
5421
5424
  memoryBoxesEnabled: resolvePresentationCapabilities(this.config).memoryBoxes,
5422
- traceWeaverEnabled: this.config.traceWeaverEnabled,
5425
+ traceWeaverEnabled: resolvePipelineProcessingCapabilities(this.config).traceWeaver,
5423
5426
  boxTopicShiftThreshold: this.config.boxTopicShiftThreshold,
5424
5427
  boxTimeGapMs: this.config.boxTimeGapMs,
5425
5428
  boxMaxMemories: this.config.boxMaxMemories,
@@ -5485,7 +5488,7 @@ var Orchestrator = class _Orchestrator {
5485
5488
  return this.routingRulesStore;
5486
5489
  }
5487
5490
  async loadRoutingRules() {
5488
- if (!this.config.routingRulesEnabled) return [];
5491
+ if (!resolvePipelineProcessingCapabilities(this.config).routingRules) return [];
5489
5492
  try {
5490
5493
  return await this.getRoutingRulesStore().read(this.routeEngineOptions());
5491
5494
  } catch (err) {
@@ -5889,7 +5892,7 @@ var Orchestrator = class _Orchestrator {
5889
5892
  if (signal.aborted) return;
5890
5893
  if (lifecycleCaps.lifecyclePolicy && resolveQmdCapabilities(this.config).qmdTierMigration) {
5891
5894
  try {
5892
- const { runFirstStartMigration } = await import("./first-start-migration-5DXD3TF2.js");
5895
+ const { runFirstStartMigration } = await import("./first-start-migration-GQ3UQNIL.js");
5893
5896
  const result = await runFirstStartMigration({
5894
5897
  storage: this.storage,
5895
5898
  config: this.config,
@@ -8033,7 +8036,7 @@ ${doc.content}` : doc.content,
8033
8036
  caps,
8034
8037
  signal: options.abortSignal
8035
8038
  });
8036
- if (this.config.recallPlannerTelemetryEnabled && recallDecision.plannerSource && recallDecision.plannerSource !== "heuristic") {
8039
+ if (resolveRecallEnhancementCapabilities(this.config).recallPlannerTelemetry && recallDecision.plannerSource && recallDecision.plannerSource !== "heuristic") {
8037
8040
  log.debug(
8038
8041
  `[recall-planner] mode=${recallDecision.shadowLlmMode ?? recallDecision.effectiveMode} source=${recallDecision.plannerSource} planned=${recallDecision.plannedMode} heuristic=${recallDecision.plannerHeuristicMode ?? recallDecision.plannedMode} model=${recallDecision.plannerModelUsed ?? "n/a"} latencyMs=${recallDecision.plannerLatencyMs ?? 0} fallback=${recallDecision.plannerFallbackUsed ?? false}` + (recallDecision.shadowLlmMode ? " (shadow)" : "")
8039
8042
  );
@@ -8424,7 +8427,7 @@ ${doc.content}` : doc.content,
8424
8427
  const sharedContextPromise = (async () => {
8425
8428
  if (!this.isRecallSectionEnabled(
8426
8429
  "shared-context",
8427
- this.config.sharedContextEnabled === true
8430
+ resolveConversationContextCapabilities(this.config).sharedContext === true
8428
8431
  ))
8429
8432
  return null;
8430
8433
  if (!this.sharedContext) return null;
@@ -8502,7 +8505,7 @@ ${trimmedBody}`;
8502
8505
  })();
8503
8506
  let peerProfileXrayAnnotation = void 0;
8504
8507
  const peerProfileRecallPromise = (async () => {
8505
- if (!this.config.peerProfileRecallEnabled) return null;
8508
+ if (!resolveRecallEnhancementCapabilities(this.config).peerProfileRecall) return null;
8506
8509
  if (this.config.peerProfileRecallMaxFields <= 0) return null;
8507
8510
  const peerId = this.getPeerIdForSession(sessionKey);
8508
8511
  if (!peerId) return null;
@@ -8827,9 +8830,9 @@ ${rows.join("\n")}
8827
8830
  })();
8828
8831
  const causalTrajectoryPromise = (async () => {
8829
8832
  const t0 = Date.now();
8830
- if (!this.config.causalTrajectoryMemoryEnabled || !this.config.causalTrajectoryRecallEnabled || !this.isRecallSectionEnabled(
8833
+ if (!resolveRecallEnhancementCapabilities(this.config).causalTrajectoryMemory || !resolveRecallEnhancementCapabilities(this.config).causalTrajectoryRecall || !this.isRecallSectionEnabled(
8831
8834
  "causal-trajectories",
8832
- this.config.causalTrajectoryRecallEnabled === true
8835
+ resolveRecallEnhancementCapabilities(this.config).causalTrajectoryRecall === true
8833
8836
  )) {
8834
8837
  recordRecallSectionMetric({
8835
8838
  section: "causalTrajectories",
@@ -8874,9 +8877,9 @@ ${rows.join("\n")}
8874
8877
  })();
8875
8878
  const cmcRetrievalPromise = (async () => {
8876
8879
  const t0 = Date.now();
8877
- if (!this.config.cmcRetrievalEnabled || !this.isRecallSectionEnabled(
8880
+ if (!resolveRecallEnhancementCapabilities(this.config).cmcRetrieval || !this.isRecallSectionEnabled(
8878
8881
  "cmc-causal-chains",
8879
- this.config.cmcRetrievalEnabled === true
8882
+ resolveRecallEnhancementCapabilities(this.config).cmcRetrieval === true
8880
8883
  )) {
8881
8884
  recordRecallSectionMetric({
8882
8885
  section: "cmcCausalChains",
@@ -9704,7 +9707,7 @@ ${rows.join("\n")}
9704
9707
  }
9705
9708
  let section = null;
9706
9709
  let checkpointInjected = false;
9707
- if (this.config.checkpointEnabled) {
9710
+ if (resolvePipelineProcessingCapabilities(this.config).checkpoint) {
9708
9711
  const checkpoint = await this.transcript.loadCheckpoint(sessionKey);
9709
9712
  log.debug(
9710
9713
  `recall: checkpoint loaded, turns=${checkpoint?.turns?.length ?? 0}`
@@ -9812,7 +9815,7 @@ ${formatted}`;
9812
9815
  })();
9813
9816
  const summariesPromise = (async () => {
9814
9817
  const t0 = Date.now();
9815
- if (!this.config.hourlySummariesEnabled || !sessionKey || !this.isRecallSectionEnabled("summaries", true)) {
9818
+ if (!resolvePipelineProcessingCapabilities(this.config).hourlySummaries || !sessionKey || !this.isRecallSectionEnabled("summaries", true)) {
9816
9819
  recordRecallSectionMetric({
9817
9820
  section: "summaries",
9818
9821
  priority: "core",
@@ -9997,7 +10000,7 @@ ${formatted}`;
9997
10000
  const compoundingPromise = observeEnrichmentPromise(
9998
10001
  (async () => {
9999
10002
  const t0 = Date.now();
10000
- if (!this.compounding || !this.config.compoundingInjectEnabled || !this.isRecallSectionEnabled("compounding", true)) {
10003
+ if (!this.compounding || !resolveRecallEnhancementCapabilities(this.config).compoundingInject || !this.isRecallSectionEnabled("compounding", true)) {
10001
10004
  recordRecallSectionMetric({
10002
10005
  section: "compounding",
10003
10006
  priority: "enrichment",
@@ -10238,7 +10241,7 @@ ${formatted}`;
10238
10241
  if (sharedCtx)
10239
10242
  this.appendRecallSection(sectionBuckets, "shared-context", sharedCtx);
10240
10243
  const explicitCueMaxChars = this.getRecallSectionMaxChars("explicit-cue") ?? this.config.explicitCueRecallMaxChars;
10241
- if (this.config.explicitCueRecallEnabled && this.isRecallSectionEnabled("explicit-cue") && explicitCueMaxChars !== 0 && this.lcmEngine?.enabled && recallMode !== "no_recall") {
10244
+ if (resolveRecallEnhancementCapabilities(this.config).explicitCueRecall && this.isRecallSectionEnabled("explicit-cue") && explicitCueMaxChars !== 0 && this.lcmEngine?.enabled && recallMode !== "no_recall") {
10242
10245
  try {
10243
10246
  const explicitCueSection = await buildExplicitCueRecallSection({
10244
10247
  engine: this.lcmEngine,
@@ -10267,7 +10270,7 @@ ${formatted}`;
10267
10270
  const targetedFactMaxChars = this.getRecallSectionMaxChars("targeted-facts") ?? this.config.targetedFactRecallMaxChars;
10268
10271
  if (this.isSpecializedRecallSectionEnabled(
10269
10272
  "targeted-facts",
10270
- this.config.targetedFactRecallEnabled
10273
+ resolveRecallEnhancementCapabilities(this.config).targetedFactRecall
10271
10274
  ) && targetedFactMaxChars !== 0 && this.lcmEngine?.enabled && recallMode !== "no_recall" && shouldRecallTargetedFactEvidence(retrievalQuery)) {
10272
10275
  try {
10273
10276
  const targetedFactSection = await buildTargetedFactRecallSection({
@@ -10297,7 +10300,7 @@ ${formatted}`;
10297
10300
  const focusedListMaxChars = this.getRecallSectionMaxChars("focused-list") ?? this.config.focusedListRecallMaxChars;
10298
10301
  if (this.isSpecializedRecallSectionEnabled(
10299
10302
  "focused-list",
10300
- this.config.focusedListRecallEnabled
10303
+ resolveRecallEnhancementCapabilities(this.config).focusedListRecall
10301
10304
  ) && focusedListMaxChars !== 0 && this.lcmEngine?.enabled && recallMode !== "no_recall" && shouldRecallFocusedListEvidence(retrievalQuery)) {
10302
10305
  try {
10303
10306
  const focusedListSection = await buildFocusedListRecallSection({
@@ -10331,7 +10334,7 @@ ${formatted}`;
10331
10334
  const responseGuidanceForcedByPipeline = responseGuidanceEntry?.forceGeneric === true && !responseGuidanceMatchesQuery;
10332
10335
  if (this.isSpecializedRecallSectionEnabled(
10333
10336
  "response-guidance",
10334
- this.config.responseGuidanceRecallEnabled
10337
+ resolveRecallEnhancementCapabilities(this.config).responseGuidanceRecall
10335
10338
  ) && responseGuidanceMaxChars !== 0 && this.lcmEngine?.enabled && recallMode !== "no_recall" && (responseGuidanceMatchesQuery || responseGuidanceForcedByPipeline)) {
10336
10339
  try {
10337
10340
  const responseGuidanceSection = await buildResponseGuidanceRecallSection({
@@ -10363,7 +10366,7 @@ ${formatted}`;
10363
10366
  const eventOrderMaxChars = this.getRecallSectionMaxChars("event-order") ?? this.config.eventOrderRecallMaxChars;
10364
10367
  if (this.isSpecializedRecallSectionEnabled(
10365
10368
  "event-order",
10366
- this.config.eventOrderRecallEnabled
10369
+ resolveRecallEnhancementCapabilities(this.config).eventOrderRecall
10367
10370
  ) && eventOrderMaxChars !== 0 && this.lcmEngine?.enabled && recallMode !== "no_recall" && shouldRecallEventOrderEvidence(retrievalQuery)) {
10368
10371
  try {
10369
10372
  const eventOrderSection = await firstNonEmptyLcmRead(
@@ -10656,7 +10659,7 @@ ${tmtNode.summary}`
10656
10659
  );
10657
10660
  const isFullModeGraphAssist = graphCaps.multiGraphMemory && caps.graphAssistInFullMode && recallMode === "full" && memoryResults.length >= Math.max(1, this.config.graphAssistMinSeedResults ?? 3);
10658
10661
  const shouldRunGraphExpansion = recallMode === "graph_mode" || isFullModeGraphAssist;
10659
- const graphShadowEvalEnabled = isFullModeGraphAssist && this.config.graphAssistShadowEvalEnabled === true;
10662
+ const graphShadowEvalEnabled = isFullModeGraphAssist && resolveRecallEnhancementCapabilities(this.config).graphAssistShadowEval === true;
10660
10663
  if (shouldRunGraphExpansion) {
10661
10664
  shouldPersistGraphSnapshot = true;
10662
10665
  graphDecisionShadowMode = graphShadowEvalEnabled;
@@ -10851,7 +10854,7 @@ ${tmtNode.summary}`
10851
10854
  retrievalQuery,
10852
10855
  caps
10853
10856
  );
10854
- if (this.config.memoryReconstructionEnabled && memoryResults.length > 0) {
10857
+ if (resolveRecallEnhancementCapabilities(this.config).memoryReconstruction && memoryResults.length > 0) {
10855
10858
  try {
10856
10859
  const snippets = memoryResults.map((r) => r.snippet);
10857
10860
  const coveredRefs = memoryResults.map((r) => r.path).filter((p) => p.startsWith("entities/")).map((p) => p.replace(/^entities\//, "").replace(/\.md$/, ""));
@@ -12156,7 +12159,7 @@ _Context: ${topQuestion.context}_`
12156
12159
  return ingestResult;
12157
12160
  }
12158
12161
  async observeSessionHeartbeat(sessionKey, options = {}) {
12159
- if (this.config.sessionObserverEnabled !== true) return;
12162
+ if (resolvePipelineProcessingCapabilities(this.config).sessionObserver !== true) return;
12160
12163
  if (!sessionKey || sessionKey.length === 0) return;
12161
12164
  const bufferKey = typeof options.bufferKey === "string" && options.bufferKey.length > 0 ? options.bufferKey : sessionKey;
12162
12165
  const previous = this.heartbeatObserverChains.get(sessionKey) ?? Promise.resolve();
@@ -12848,7 +12851,7 @@ ${normalized}`).digest("hex");
12848
12851
  this.maintenanceScheduler.requestQmdMaintenanceForTool(reason);
12849
12852
  }
12850
12853
  async persistExtraction(result, storage, threadIdForExtraction, sourceContext, baseNamespace, scopeProfileWritePlan, sourceText, graphCaps = resolveGraphConstructionCapabilities(this.config), lifecycleCaps = resolveMemoryLifecycleCapabilities(this.config)) {
12851
- const citationEnabled = this.config.inlineSourceAttributionEnabled === true;
12854
+ const citationEnabled = resolvePipelineProcessingCapabilities(this.config).inlineSourceAttribution === true;
12852
12855
  const citationTemplate = this.config.inlineSourceAttributionFormat;
12853
12856
  const citationContextBase = citationEnabled ? {
12854
12857
  agent: sourceContext?.principal,
@@ -12945,7 +12948,7 @@ ${normalized}`).digest("hex");
12945
12948
  const actualTier = confidenceTier(confidence);
12946
12949
  const actualRank = confidenceTierOrder.indexOf(actualTier);
12947
12950
  if (actualRank === -1) return false;
12948
- if (!this.config.autoPromoteToSharedEnabled) return false;
12951
+ if (!resolveRecallEnhancementCapabilities(this.config).autoPromoteToShared) return false;
12949
12952
  if (!this.config.autoPromoteToSharedCategories.includes(category))
12950
12953
  return false;
12951
12954
  const minimumRank = confidenceTierOrder.indexOf(
@@ -13696,7 +13699,7 @@ ${normalized}`).digest("hex");
13696
13699
  const requireSpansPendingStatus = this.config.provenance?.requireSpans === true && fact.requireSpansPending === true ? "pending_review" : void 0;
13697
13700
  const faithfulnessEnforceStatus = faithfulnessGateStatus ?? requireSpansPendingStatus;
13698
13701
  let pendingSemanticSkip = null;
13699
- if (this.config.semanticDedupEnabled) {
13702
+ if (resolvePipelineProcessingCapabilities(this.config).semanticDedup) {
13700
13703
  let semanticDecision;
13701
13704
  if (batchBackendUnavailable) {
13702
13705
  semanticDecision = { action: "keep", reason: "backend_unavailable" };
@@ -13729,7 +13732,7 @@ ${normalized}`).digest("hex");
13729
13732
  pendingSemanticSkip = semanticDecision;
13730
13733
  }
13731
13734
  }
13732
- const inferredIntent = this.config.intentRoutingEnabled ? inferIntentFromText(
13735
+ const inferredIntent = resolveConversationContextCapabilities(this.config).intentRouting ? inferIntentFromText(
13733
13736
  `${writeCategory} ${fact.tags.join(" ")} ${fact.content}`
13734
13737
  ) : null;
13735
13738
  const extractionWriteSource = fact.source === "proactive" ? "extraction-proactive" : "extraction";
@@ -13737,7 +13740,7 @@ ${normalized}`).digest("hex");
13737
13740
  let links = [];
13738
13741
  let contradictionDetected = false;
13739
13742
  let contradiction;
13740
- if (this.config.contradictionDetectionEnabled && this.qmd.isAvailable() && faithfulnessEnforceStatus !== "pending_review") {
13743
+ if (resolveRecallEnhancementCapabilities(this.config).contradictionDetection && this.qmd.isAvailable() && faithfulnessEnforceStatus !== "pending_review") {
13741
13744
  const targetNamespace = this.storageDirNamespace(targetStorage.dir);
13742
13745
  contradiction = await this.checkForContradiction(
13743
13746
  fact.content,
@@ -13767,9 +13770,9 @@ ${normalized}`).digest("hex");
13767
13770
  dedupedCount++;
13768
13771
  continue;
13769
13772
  }
13770
- if (this.config.chunkingEnabled && writeCategory !== "procedure") {
13773
+ if (resolvePipelineProcessingCapabilities(this.config).chunking && writeCategory !== "procedure") {
13771
13774
  let chunkResult;
13772
- if (this.config.semanticChunkingEnabled) {
13775
+ if (resolvePipelineProcessingCapabilities(this.config).semanticChunking) {
13773
13776
  try {
13774
13777
  const embedFn = this.embeddingFallback.embedTexts.bind(this.embeddingFallback);
13775
13778
  const semanticResult = await semanticChunkContent(
@@ -14020,7 +14023,7 @@ ${normalized}`).digest("hex");
14020
14023
  continue;
14021
14024
  }
14022
14025
  }
14023
- if (this.config.memoryLinkingEnabled && this.qmd.isAvailable()) {
14026
+ if (resolveRecallEnhancementCapabilities(this.config).memoryLinking && this.qmd.isAvailable()) {
14024
14027
  const targetNamespace = this.storageDirNamespace(targetStorage.dir);
14025
14028
  const suggestedLinks = await this.suggestLinksForMemory(
14026
14029
  fact.content,
@@ -14232,7 +14235,7 @@ ${normalized}`).digest("hex");
14232
14235
  log.warn(`persistExtraction: entity write failed: ${err}`);
14233
14236
  }
14234
14237
  }
14235
- if (this.config.entityRelationshipsEnabled && Array.isArray(result.relationships)) {
14238
+ if (resolveRecallEnhancementCapabilities(this.config).entityRelationships && Array.isArray(result.relationships)) {
14236
14239
  for (const rel of result.relationships.slice(0, 5)) {
14237
14240
  if (!rel.source || !rel.target || !rel.label) continue;
14238
14241
  try {
@@ -14251,7 +14254,7 @@ ${normalized}`).digest("hex");
14251
14254
  }
14252
14255
  }
14253
14256
  }
14254
- if (this.config.entityActivityLogEnabled) {
14257
+ if (resolveRecallEnhancementCapabilities(this.config).entityActivityLog) {
14255
14258
  const today = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
14256
14259
  for (const entity of entities) {
14257
14260
  const name = entity?.name;
@@ -14280,7 +14283,7 @@ ${normalized}`).digest("hex");
14280
14283
  recordDurableNonFactWrite();
14281
14284
  }
14282
14285
  }
14283
- if (this.config.identityEnabled && result.identityReflection) {
14286
+ if (resolveRecallEnhancementCapabilities(this.config).identity && result.identityReflection) {
14284
14287
  try {
14285
14288
  await storage.appendIdentityReflection(result.identityReflection);
14286
14289
  recordDurableNonFactWrite();
@@ -14663,7 +14666,7 @@ ${normalized}`).digest("hex");
14663
14666
  const tierMigration = await this.runTierMigrationCycle(this.storage, "maintenance");
14664
14667
  if (tierMigration.migrated > 0) memoryItemMutated = true;
14665
14668
  allMemories = await this.storage.readAllMemories();
14666
- if (this.config.factArchivalEnabled) {
14669
+ if (resolveRecallEnhancementCapabilities(this.config).factArchival) {
14667
14670
  const archived = await this.runFactArchival(allMemories);
14668
14671
  if (archived > 0) {
14669
14672
  memoryItemMutated = true;
@@ -14753,7 +14756,7 @@ ${normalized}`).digest("hex");
14753
14756
  );
14754
14757
  }
14755
14758
  }
14756
- if (this.config.identityEnabled) {
14759
+ if (resolveRecallEnhancementCapabilities(this.config).identity) {
14757
14760
  await this.autoConsolidateIdentity();
14758
14761
  }
14759
14762
  const profileSection = this.getRecallSectionEntry("profile");
@@ -14778,10 +14781,10 @@ ${normalized}`).digest("hex");
14778
14781
  }
14779
14782
  }
14780
14783
  }
14781
- if (this.config.summarizationEnabled) {
14784
+ if (resolvePipelineProcessingCapabilities(this.config).summarization) {
14782
14785
  await this.runSummarization(allMemories);
14783
14786
  }
14784
- if (this.config.topicExtractionEnabled) {
14787
+ if (resolvePipelineProcessingCapabilities(this.config).topicExtraction) {
14785
14788
  await this.runTopicExtraction(allMemories);
14786
14789
  }
14787
14790
  const meta = await this.storage.loadMeta();
@@ -15735,7 +15738,7 @@ ${reflectionsContent.trim()}
15735
15738
  * Updates are batched in memory and flushed during consolidation.
15736
15739
  */
15737
15740
  trackMemoryAccess(memoryIds) {
15738
- if (!this.config.accessTrackingEnabled) return;
15741
+ if (!resolveRecallEnhancementCapabilities(this.config).accessTracking) return;
15739
15742
  const now = (/* @__PURE__ */ new Date()).toISOString();
15740
15743
  for (const id of memoryIds) {
15741
15744
  const existing = this.accessTrackingBuffer.get(id);
@@ -16035,7 +16038,7 @@ ${reflectionsContent.trim()}
16035
16038
  temporalFromDate !== null ? queryByDateRangeAsync(this.config.memoryDir, temporalFromDate) : Promise.resolve(null),
16036
16039
  promptTags.length > 0 ? queryByTagsAsync(this.config.memoryDir, promptTags) : Promise.resolve(null)
16037
16040
  ]);
16038
- const queryIntent = this.config.intentRoutingEnabled && prompt ? inferIntentFromText(prompt) : null;
16041
+ const queryIntent = resolveConversationContextCapabilities(this.config).intentRouting && prompt ? inferIntentFromText(prompt) : null;
16039
16042
  let temporalCandidates = null;
16040
16043
  let tagCandidates = null;
16041
16044
  if (resolveIndexingCapabilities(this.config).queryAwareIndexing && prompt) {
@@ -16085,7 +16088,7 @@ ${reflectionsContent.trim()}
16085
16088
  importanceBoost >= 0 ? "boost" : "suppress"
16086
16089
  );
16087
16090
  }
16088
- if (this.config.feedbackEnabled) {
16091
+ if (resolveRecallEnhancementCapabilities(this.config).feedback) {
16089
16092
  const match = memory.path.match(/([^/]+)\.md$/);
16090
16093
  const memoryId = match ? match[1] : null;
16091
16094
  if (memoryId) {
@@ -16097,7 +16100,7 @@ ${reflectionsContent.trim()}
16097
16100
  );
16098
16101
  }
16099
16102
  }
16100
- if (this.config.negativeExamplesEnabled) {
16103
+ if (resolvePipelineProcessingCapabilities(this.config).negativeExamples) {
16101
16104
  const match = memory.path.match(/([^/]+)\.md$/);
16102
16105
  const memoryId = match ? match[1] : null;
16103
16106
  if (memoryId) {
@@ -16152,7 +16155,7 @@ ${reflectionsContent.trim()}
16152
16155
  lifecycleDelta >= 0 ? "boost" : "suppress"
16153
16156
  );
16154
16157
  let reinforcementBoost = 0;
16155
- if (this.config.reinforcementRecallBoostEnabled && typeof memory.frontmatter.reinforcement_count === "number" && memory.frontmatter.reinforcement_count > 0) {
16158
+ if (resolveRecallEnhancementCapabilities(this.config).reinforcementRecallBoost && typeof memory.frontmatter.reinforcement_count === "number" && memory.frontmatter.reinforcement_count > 0) {
16156
16159
  reinforcementBoost = Math.min(
16157
16160
  memory.frontmatter.reinforcement_count * this.config.reinforcementRecallBoostWeight,
16158
16161
  this.config.reinforcementRecallBoostMax
@@ -16513,4 +16516,4 @@ export {
16513
16516
  resolvePersistedMemoryRelativePath,
16514
16517
  Orchestrator
16515
16518
  };
16516
- //# sourceMappingURL=chunk-IEWUPZ75.js.map
16519
+ //# sourceMappingURL=chunk-VC7QELR6.js.map