@remnic/core 10.0.110 → 10.0.112

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 (199) hide show
  1. package/dist/access-admin-ops-surface.js +69 -67
  2. package/dist/access-cli.js +69 -67
  3. package/dist/access-cli.js.map +1 -1
  4. package/dist/access-extraction-force-flush.js +69 -67
  5. package/dist/access-http-briefing.js +69 -67
  6. package/dist/access-http-query.js +69 -67
  7. package/dist/access-http.js +69 -67
  8. package/dist/access-identity-continuity-surface.js +69 -67
  9. package/dist/access-lcm-surface.js +69 -67
  10. package/dist/access-mcp.js +69 -67
  11. package/dist/access-observe-write-category.js +5 -5
  12. package/dist/access-observe-write-surface.js +69 -67
  13. package/dist/access-operations-batch.js +69 -67
  14. package/dist/access-operations.js +69 -67
  15. package/dist/access-recall-concurrency.js +69 -67
  16. package/dist/access-recall-response.js +69 -67
  17. package/dist/access-recall-surface.js +69 -67
  18. package/dist/access-schema.js +4 -4
  19. package/dist/access-service.js +69 -67
  20. package/dist/active-recall.js +6 -6
  21. package/dist/adapters/index.js +4 -4
  22. package/dist/adapters/registry.js +2 -2
  23. package/dist/briefing.js +7 -7
  24. package/dist/{capsule-crypto-7FJQINUR.js → capsule-crypto-YO5QJ6L3.js} +2 -2
  25. package/dist/causal-consolidation.js +8 -8
  26. package/dist/{chunk-4TYIHHPW.js → chunk-4N7L2N54.js} +111 -98
  27. package/dist/{chunk-4TYIHHPW.js.map → chunk-4N7L2N54.js.map} +1 -1
  28. package/dist/{chunk-WQ4XKIOX.js → chunk-5RONA5FF.js} +70 -52
  29. package/dist/chunk-5RONA5FF.js.map +1 -0
  30. package/dist/{chunk-ZG4GNPRE.js → chunk-BNQJKWWZ.js} +8 -8
  31. package/dist/{chunk-2NLLXCJG.js → chunk-BXLOS5AJ.js} +2 -2
  32. package/dist/{chunk-7QIRIF3Z.js → chunk-C2KBLOKE.js} +2 -2
  33. package/dist/{chunk-AZYUG2HW.js → chunk-C6WVKVHZ.js} +2 -2
  34. package/dist/{chunk-JODSN3V5.js → chunk-CTQ2XD4R.js} +2 -2
  35. package/dist/{chunk-XNI3URDR.js → chunk-D5F3D7DA.js} +2 -2
  36. package/dist/{chunk-X7Y7WX73.js → chunk-DQEMWVMT.js} +1 -1
  37. package/dist/{chunk-LYR57GEF.js → chunk-EKWS6NCF.js} +3 -3
  38. package/dist/{chunk-XTN54NML.js → chunk-G3T6YMBO.js} +4 -4
  39. package/dist/{chunk-AOAREXFV.js → chunk-G6TDGYVC.js} +2 -2
  40. package/dist/chunk-GE5J2T67.js +100 -0
  41. package/dist/chunk-GE5J2T67.js.map +1 -0
  42. package/dist/{chunk-BUOP3DOK.js → chunk-GRS34Y7V.js} +2 -2
  43. package/dist/{chunk-FQACH7MC.js → chunk-HM62567O.js} +2 -2
  44. package/dist/{chunk-B3LGXOM5.js → chunk-IOLFR3JJ.js} +2 -2
  45. package/dist/{chunk-WCKLRFGF.js → chunk-J5MBTYDO.js} +2 -2
  46. package/dist/{chunk-HRMOKGQM.js → chunk-JCKN3E6Y.js} +2 -2
  47. package/dist/{chunk-UOIVXBNS.js → chunk-JTO63AXR.js} +2 -2
  48. package/dist/{chunk-AY535ZIM.js → chunk-KPFOFT4I.js} +2 -2
  49. package/dist/{chunk-S2HLHAZ4.js → chunk-L76BQSWB.js} +10 -2
  50. package/dist/chunk-L76BQSWB.js.map +1 -0
  51. package/dist/{chunk-FV2B6XE6.js → chunk-NRZJKDGO.js} +2 -2
  52. package/dist/{chunk-VLUWWPKO.js → chunk-O5DO5LXA.js} +13 -13
  53. package/dist/{chunk-5VWN3FJS.js → chunk-OSYHJCLK.js} +2 -2
  54. package/dist/chunk-PQVLF42S.js +87 -0
  55. package/dist/chunk-PQVLF42S.js.map +1 -0
  56. package/dist/{chunk-OLJYBMFW.js → chunk-Q7UY2CSW.js} +7 -7
  57. package/dist/{chunk-R2DOFBG4.js → chunk-QNTBJKTN.js} +2 -2
  58. package/dist/{chunk-7SW6EBEF.js → chunk-QYN6I3CG.js} +2 -2
  59. package/dist/{chunk-KQAFEZQX.js → chunk-R45L4TV6.js} +6 -6
  60. package/dist/{chunk-7HNQR5MV.js → chunk-R76L66OW.js} +3 -3
  61. package/dist/{chunk-QIGEWFXE.js → chunk-RJTHGVO3.js} +2 -2
  62. package/dist/{chunk-FVMEZ57K.js → chunk-RLXD2L3G.js} +7 -7
  63. package/dist/{chunk-25BUV3TU.js → chunk-S4G7WX7Q.js} +2 -2
  64. package/dist/{chunk-BP7LNNWG.js → chunk-SMAPUZYV.js} +2 -2
  65. package/dist/{chunk-GT2TH7FZ.js → chunk-T4FW43AG.js} +3 -3
  66. package/dist/{chunk-OIOKDTZU.js → chunk-T5DX6A7T.js} +17 -6
  67. package/dist/chunk-T5DX6A7T.js.map +1 -0
  68. package/dist/{chunk-EDVVW655.js → chunk-T6H5HNA6.js} +2 -2
  69. package/dist/{chunk-YD4D4EVO.js → chunk-TA6IK76H.js} +2 -2
  70. package/dist/{chunk-7ZEF43SR.js → chunk-TPAIKAT5.js} +3 -3
  71. package/dist/{chunk-IOGYSADY.js → chunk-TS34Y2T5.js} +2 -2
  72. package/dist/{chunk-OEVJH66T.js → chunk-VHWQGBXY.js} +3 -3
  73. package/dist/{chunk-63OWJXGW.js → chunk-VMEFUPOM.js} +2 -2
  74. package/dist/{chunk-E55J2NFL.js → chunk-WP25PXBB.js} +2 -2
  75. package/dist/{chunk-H4XPEXWA.js → chunk-XOCAG2LF.js} +2 -2
  76. package/dist/{chunk-K32VAS5B.js → chunk-YPDUSAPH.js} +2 -2
  77. package/dist/cli.js +69 -67
  78. package/dist/coding/export-okf-codegraph.js +6 -6
  79. package/dist/compounding/engine.js +8 -8
  80. package/dist/config.js +6 -6
  81. package/dist/connectors/codex-materialize-runner.js +7 -7
  82. package/dist/connectors/index.js +7 -7
  83. package/dist/convergence-refresh.js +9 -9
  84. package/dist/corpus-watermark.js +9 -9
  85. package/dist/deep-recall-http-glue.js +5 -5
  86. package/dist/entity-retrieval.js +7 -7
  87. package/dist/explicit-capture.js +69 -67
  88. package/dist/extraction.js +7 -7
  89. package/dist/harmonic-retrieval.js +7 -7
  90. package/dist/index.js +86 -84
  91. package/dist/lcm/engine.js +3 -3
  92. package/dist/lcm/index.js +9 -9
  93. package/dist/location/index.js +8 -8
  94. package/dist/maintenance/memory-governance.js +7 -7
  95. package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -7
  96. package/dist/maintenance/rebuild-memory-projection-runner.js +9 -9
  97. package/dist/maintenance/rebuild-memory-projection.js +8 -8
  98. package/dist/memory-snapshot.d.ts +7 -1
  99. package/dist/memory-snapshot.d.ts.map +1 -1
  100. package/dist/memory-snapshot.js +5 -3
  101. package/dist/namespaces/migrate.js +8 -8
  102. package/dist/namespaces/search.js +4 -4
  103. package/dist/namespaces/storage.js +7 -7
  104. package/dist/operator-doctor-corpus.js +10 -10
  105. package/dist/operator-toolkit.js +13 -13
  106. package/dist/orchestration/backlog-scheduler.js +70 -68
  107. package/dist/orchestration/backlog-scheduler.js.map +1 -1
  108. package/dist/orchestration/buffer-drain-runner.js +70 -68
  109. package/dist/orchestration/maintenance.js +15 -15
  110. package/dist/orchestration/recall-internal.d.ts.map +1 -1
  111. package/dist/orchestration/workspace-ops.d.ts.map +1 -1
  112. package/dist/orchestrator.js +69 -67
  113. package/dist/recall-navigation.js +69 -67
  114. package/dist/resume-bundles.js +10 -8
  115. package/dist/search/factory.js +3 -3
  116. package/dist/search/index.js +7 -7
  117. package/dist/semantic-consolidation.js +8 -8
  118. package/dist/semantic-rule-promotion.js +7 -7
  119. package/dist/semantic-rule-verifier.js +7 -7
  120. package/dist/source-agent-qualifier.js +7 -7
  121. package/dist/standup/build.js +7 -7
  122. package/dist/storage.d.ts +3 -0
  123. package/dist/storage.d.ts.map +1 -1
  124. package/dist/storage.js +6 -6
  125. package/dist/transcript-recent.d.ts +22 -0
  126. package/dist/transcript-recent.d.ts.map +1 -0
  127. package/dist/transcript-recent.js +15 -0
  128. package/dist/transcript-recent.js.map +1 -0
  129. package/dist/transcript-write-dir-memo.d.ts +43 -0
  130. package/dist/transcript-write-dir-memo.d.ts.map +1 -0
  131. package/dist/transcript-write-dir-memo.js +10 -0
  132. package/dist/transcript-write-dir-memo.js.map +1 -0
  133. package/dist/transcript.d.ts +15 -3
  134. package/dist/transcript.d.ts.map +1 -1
  135. package/dist/transcript.js +3 -1
  136. package/dist/transfer/autodetect.js +1 -1
  137. package/dist/transfer/backup.js +2 -2
  138. package/dist/transfer/capsule-export.js +3 -3
  139. package/dist/transfer/capsule-import.js +2 -2
  140. package/dist/transfer/export-okf.js +7 -7
  141. package/dist/verified-recall.js +7 -7
  142. package/dist/who-knows-cli.js +8 -8
  143. package/dist/who-knows.js +7 -7
  144. package/package.json +2 -2
  145. package/src/memory-snapshot.ts +14 -1
  146. package/src/orchestration/recall-internal.ts +1 -4
  147. package/src/orchestration/workspace-ops.test.ts +113 -0
  148. package/src/orchestration/workspace-ops.ts +38 -12
  149. package/src/storage-contract/lazy-memory-snapshot.test.ts +194 -0
  150. package/src/storage.ts +15 -4
  151. package/src/transcript-ownership-digest.test.ts +8 -0
  152. package/src/transcript-recent-tail.test.ts +355 -0
  153. package/src/transcript-recent.ts +129 -0
  154. package/src/transcript-write-dir-memo.test.ts +308 -0
  155. package/src/transcript-write-dir-memo.ts +104 -0
  156. package/src/transcript.ts +70 -63
  157. package/dist/chunk-OIOKDTZU.js.map +0 -1
  158. package/dist/chunk-S2HLHAZ4.js.map +0 -1
  159. package/dist/chunk-WQ4XKIOX.js.map +0 -1
  160. /package/dist/{capsule-crypto-7FJQINUR.js.map → capsule-crypto-YO5QJ6L3.js.map} +0 -0
  161. /package/dist/{chunk-ZG4GNPRE.js.map → chunk-BNQJKWWZ.js.map} +0 -0
  162. /package/dist/{chunk-2NLLXCJG.js.map → chunk-BXLOS5AJ.js.map} +0 -0
  163. /package/dist/{chunk-7QIRIF3Z.js.map → chunk-C2KBLOKE.js.map} +0 -0
  164. /package/dist/{chunk-AZYUG2HW.js.map → chunk-C6WVKVHZ.js.map} +0 -0
  165. /package/dist/{chunk-JODSN3V5.js.map → chunk-CTQ2XD4R.js.map} +0 -0
  166. /package/dist/{chunk-XNI3URDR.js.map → chunk-D5F3D7DA.js.map} +0 -0
  167. /package/dist/{chunk-X7Y7WX73.js.map → chunk-DQEMWVMT.js.map} +0 -0
  168. /package/dist/{chunk-LYR57GEF.js.map → chunk-EKWS6NCF.js.map} +0 -0
  169. /package/dist/{chunk-XTN54NML.js.map → chunk-G3T6YMBO.js.map} +0 -0
  170. /package/dist/{chunk-AOAREXFV.js.map → chunk-G6TDGYVC.js.map} +0 -0
  171. /package/dist/{chunk-BUOP3DOK.js.map → chunk-GRS34Y7V.js.map} +0 -0
  172. /package/dist/{chunk-FQACH7MC.js.map → chunk-HM62567O.js.map} +0 -0
  173. /package/dist/{chunk-B3LGXOM5.js.map → chunk-IOLFR3JJ.js.map} +0 -0
  174. /package/dist/{chunk-WCKLRFGF.js.map → chunk-J5MBTYDO.js.map} +0 -0
  175. /package/dist/{chunk-HRMOKGQM.js.map → chunk-JCKN3E6Y.js.map} +0 -0
  176. /package/dist/{chunk-UOIVXBNS.js.map → chunk-JTO63AXR.js.map} +0 -0
  177. /package/dist/{chunk-AY535ZIM.js.map → chunk-KPFOFT4I.js.map} +0 -0
  178. /package/dist/{chunk-FV2B6XE6.js.map → chunk-NRZJKDGO.js.map} +0 -0
  179. /package/dist/{chunk-VLUWWPKO.js.map → chunk-O5DO5LXA.js.map} +0 -0
  180. /package/dist/{chunk-5VWN3FJS.js.map → chunk-OSYHJCLK.js.map} +0 -0
  181. /package/dist/{chunk-OLJYBMFW.js.map → chunk-Q7UY2CSW.js.map} +0 -0
  182. /package/dist/{chunk-R2DOFBG4.js.map → chunk-QNTBJKTN.js.map} +0 -0
  183. /package/dist/{chunk-7SW6EBEF.js.map → chunk-QYN6I3CG.js.map} +0 -0
  184. /package/dist/{chunk-KQAFEZQX.js.map → chunk-R45L4TV6.js.map} +0 -0
  185. /package/dist/{chunk-7HNQR5MV.js.map → chunk-R76L66OW.js.map} +0 -0
  186. /package/dist/{chunk-QIGEWFXE.js.map → chunk-RJTHGVO3.js.map} +0 -0
  187. /package/dist/{chunk-FVMEZ57K.js.map → chunk-RLXD2L3G.js.map} +0 -0
  188. /package/dist/{chunk-25BUV3TU.js.map → chunk-S4G7WX7Q.js.map} +0 -0
  189. /package/dist/{chunk-BP7LNNWG.js.map → chunk-SMAPUZYV.js.map} +0 -0
  190. /package/dist/{chunk-GT2TH7FZ.js.map → chunk-T4FW43AG.js.map} +0 -0
  191. /package/dist/{chunk-EDVVW655.js.map → chunk-T6H5HNA6.js.map} +0 -0
  192. /package/dist/{chunk-YD4D4EVO.js.map → chunk-TA6IK76H.js.map} +0 -0
  193. /package/dist/{chunk-7ZEF43SR.js.map → chunk-TPAIKAT5.js.map} +0 -0
  194. /package/dist/{chunk-IOGYSADY.js.map → chunk-TS34Y2T5.js.map} +0 -0
  195. /package/dist/{chunk-OEVJH66T.js.map → chunk-VHWQGBXY.js.map} +0 -0
  196. /package/dist/{chunk-63OWJXGW.js.map → chunk-VMEFUPOM.js.map} +0 -0
  197. /package/dist/{chunk-E55J2NFL.js.map → chunk-WP25PXBB.js.map} +0 -0
  198. /package/dist/{chunk-H4XPEXWA.js.map → chunk-XOCAG2LF.js.map} +0 -0
  199. /package/dist/{chunk-K32VAS5B.js.map → chunk-YPDUSAPH.js.map} +0 -0
@@ -16,12 +16,18 @@ import {
16
16
  syncWearableSource,
17
17
  wearableSourceLabel
18
18
  } from "./chunk-B3DR2JBZ.js";
19
+ import {
20
+ chatgptReplayNormalizer
21
+ } from "./chunk-MMACM5G2.js";
19
22
  import {
20
23
  claudeReplayNormalizer
21
24
  } from "./chunk-54BGIBCR.js";
22
25
  import {
23
26
  openclawReplayNormalizer
24
27
  } from "./chunk-H4CKS5B2.js";
28
+ import {
29
+ importSqlite
30
+ } from "./chunk-PYHOAXTI.js";
25
31
  import {
26
32
  exportWorkBoardMarkdown,
27
33
  exportWorkBoardSnapshot,
@@ -31,12 +37,12 @@ import {
31
37
  WorkStorage
32
38
  } from "./chunk-MPC7TYTZ.js";
33
39
  import {
34
- chatgptReplayNormalizer
35
- } from "./chunk-MMACM5G2.js";
40
+ exportJsonBundle
41
+ } from "./chunk-UP6MOYCB.js";
36
42
  import {
37
43
  exportOkfBundle,
38
44
  parseIncludeStatus
39
- } from "./chunk-UOIVXBNS.js";
45
+ } from "./chunk-JTO63AXR.js";
40
46
  import {
41
47
  exportSqlite
42
48
  } from "./chunk-BV2TIZ4F.js";
@@ -44,8 +50,10 @@ import {
44
50
  importMarkdownBundle
45
51
  } from "./chunk-HDDRVXX4.js";
46
52
  import {
47
- importSqlite
48
- } from "./chunk-PYHOAXTI.js";
53
+ SupportPassportAccessSurface,
54
+ createSupportPassportModelAdapter,
55
+ supportsSupportPassportPrivateFiles
56
+ } from "./chunk-RXSGBO7Y.js";
49
57
  import {
50
58
  detectImportFormat
51
59
  } from "./chunk-OZKVVUJB.js";
@@ -54,16 +62,13 @@ import {
54
62
  } from "./chunk-2DL3OFLD.js";
55
63
  import {
56
64
  backupMemoryDir
57
- } from "./chunk-2NLLXCJG.js";
65
+ } from "./chunk-BXLOS5AJ.js";
58
66
  import {
59
67
  exportMarkdownBundle
60
68
  } from "./chunk-765K3SAT.js";
61
69
  import {
62
70
  importCapsule
63
- } from "./chunk-HRMOKGQM.js";
64
- import {
65
- exportJsonBundle
66
- } from "./chunk-UP6MOYCB.js";
71
+ } from "./chunk-JCKN3E6Y.js";
67
72
  import {
68
73
  isSharedContextWriteInputError,
69
74
  parseSharedWriteOutputControls
@@ -71,12 +76,16 @@ import {
71
76
  import {
72
77
  buildStandup,
73
78
  parseStandupDate
74
- } from "./chunk-5VWN3FJS.js";
79
+ } from "./chunk-OSYHJCLK.js";
75
80
  import {
76
- SupportPassportAccessSurface,
77
- createSupportPassportModelAdapter,
78
- supportsSupportPassportPrivateFiles
79
- } from "./chunk-RXSGBO7Y.js";
81
+ buildReplayNormalizerRegistry,
82
+ clampBatchSize,
83
+ runReplay
84
+ } from "./chunk-FGDKJJZS.js";
85
+ import {
86
+ isReplaySource,
87
+ normalizeReplaySessionKey
88
+ } from "./chunk-AJVLDJU6.js";
80
89
  import {
81
90
  RoutingRulesStore
82
91
  } from "./chunk-TBUEE7XF.js";
@@ -86,19 +95,13 @@ import {
86
95
  import {
87
96
  ActivityStore,
88
97
  MaintenanceScheduler
89
- } from "./chunk-VLUWWPKO.js";
98
+ } from "./chunk-O5DO5LXA.js";
90
99
  import {
91
100
  runPeerProfileReasoner
92
101
  } from "./chunk-I74SUMNI.js";
93
102
  import {
94
- buildReplayNormalizerRegistry,
95
- clampBatchSize,
96
- runReplay
97
- } from "./chunk-FGDKJJZS.js";
98
- import {
99
- isReplaySource,
100
- normalizeReplaySessionKey
101
- } from "./chunk-AJVLDJU6.js";
103
+ migrateFromEngram
104
+ } from "./chunk-VZAKYDMJ.js";
102
105
  import {
103
106
  TailscaleHelper
104
107
  } from "./chunk-SZDLX763.js";
@@ -110,13 +113,10 @@ import {
110
113
  } from "./chunk-EDR6CVWZ.js";
111
114
  import {
112
115
  rebuildMemoryLifecycleLedger
113
- } from "./chunk-AY535ZIM.js";
116
+ } from "./chunk-KPFOFT4I.js";
114
117
  import {
115
118
  rebuildObservations
116
119
  } from "./chunk-WHCD4Z3D.js";
117
- import {
118
- migrateFromEngram
119
- } from "./chunk-VZAKYDMJ.js";
120
120
  import {
121
121
  backfillMemoryStorage,
122
122
  runLocationBackfill,
@@ -124,32 +124,35 @@ import {
124
124
  runLocationDay,
125
125
  runLocationStatus,
126
126
  runLocationSync
127
- } from "./chunk-OEVJH66T.js";
127
+ } from "./chunk-VHWQGBXY.js";
128
128
  import {
129
129
  archiveObservations
130
130
  } from "./chunk-7IGMKQWK.js";
131
131
  import {
132
132
  LcmEngine
133
- } from "./chunk-ZG4GNPRE.js";
133
+ } from "./chunk-BNQJKWWZ.js";
134
+ import {
135
+ executeResolution,
136
+ isValidResolutionVerb,
137
+ runPreferenceDriftScan
138
+ } from "./chunk-OIG4ZFMB.js";
134
139
  import {
135
140
  chunkTranscriptEntries
136
141
  } from "./chunk-TECVW3JP.js";
137
142
  import {
138
143
  cleanupConversationChunks
139
144
  } from "./chunk-C5JF6EZ7.js";
145
+ import {
146
+ runCompatChecks
147
+ } from "./chunk-2524MOWK.js";
140
148
  import {
141
149
  CompoundingEngine,
142
150
  defaultTierMigrationCycleBudget
143
- } from "./chunk-7HNQR5MV.js";
151
+ } from "./chunk-R76L66OW.js";
144
152
  import {
145
153
  SharedContextManager,
146
154
  UNATTRIBUTED_ACCESS_WRITE_ORIGIN
147
155
  } from "./chunk-JVBAPAWZ.js";
148
- import {
149
- executeResolution,
150
- isValidResolutionVerb,
151
- runPreferenceDriftScan
152
- } from "./chunk-OIG4ZFMB.js";
153
156
  import {
154
157
  getBulkImportSource,
155
158
  listBulkImportSources,
@@ -181,18 +184,23 @@ import {
181
184
  isCodingGraphInstalled
182
185
  } from "./chunk-VQ7B2Q6M.js";
183
186
  import {
184
- runCompatChecks
185
- } from "./chunk-2524MOWK.js";
187
+ WriteQuarantineStore
188
+ } from "./chunk-BANSBRNX.js";
186
189
  import {
187
190
  WriteRateLimiter
188
191
  } from "./chunk-TB6CBZ5V.js";
189
192
  import {
190
193
  AdapterRegistry
191
- } from "./chunk-XTN54NML.js";
194
+ } from "./chunk-G3T6YMBO.js";
195
+ import {
196
+ applyUtilityPromotionRuntimePolicy,
197
+ applyUtilityRankingRuntimeDelta,
198
+ loadUtilityRuntimeValues
199
+ } from "./chunk-3Q3XD3NO.js";
192
200
  import {
193
201
  compareVerifiedEpisodeResults,
194
202
  searchVerifiedEpisodes
195
- } from "./chunk-YD4D4EVO.js";
203
+ } from "./chunk-TA6IK76H.js";
196
204
  import {
197
205
  WHO_KNOWS_DEFAULT_LIMIT,
198
206
  WHO_KNOWS_MCP_TOOLS,
@@ -200,10 +208,17 @@ import {
200
208
  handleWhoKnowsHttpQuery,
201
209
  loadWhoKnowsEntities,
202
210
  validateWhoKnowsInput
203
- } from "./chunk-7QIRIF3Z.js";
211
+ } from "./chunk-C2KBLOKE.js";
204
212
  import {
205
- WriteQuarantineStore
206
- } from "./chunk-BANSBRNX.js";
213
+ applyTrustScoreStage,
214
+ buildTrustSignalsForRerank,
215
+ projectTrustForXray,
216
+ trustResultFor,
217
+ trustResultKey
218
+ } from "./chunk-GNVZQ5JN.js";
219
+ import {
220
+ renderEpistemicHedge
221
+ } from "./chunk-YN2UN7N3.js";
207
222
  import {
208
223
  getTrustZoneStoreStatus,
209
224
  isTrustZoneName,
@@ -217,11 +232,6 @@ import {
217
232
  import {
218
233
  cleanArchivedUserMessage
219
234
  } from "./chunk-47DU4SGJ.js";
220
- import {
221
- applyUtilityPromotionRuntimePolicy,
222
- applyUtilityRankingRuntimeDelta,
223
- loadUtilityRuntimeValues
224
- } from "./chunk-3Q3XD3NO.js";
225
235
  import {
226
236
  getUtilityLearningStatus,
227
237
  learnUtilityPromotionWeights
@@ -233,16 +243,6 @@ import {
233
243
  import {
234
244
  extractTopics
235
245
  } from "./chunk-KVDUKH5E.js";
236
- import {
237
- applyTrustScoreStage,
238
- buildTrustSignalsForRerank,
239
- projectTrustForXray,
240
- trustResultFor,
241
- trustResultKey
242
- } from "./chunk-GNVZQ5JN.js";
243
- import {
244
- renderEpistemicHedge
245
- } from "./chunk-YN2UN7N3.js";
246
246
  import {
247
247
  buildTemporalTimelineRecallSection
248
248
  } from "./chunk-VHF73MGU.js";
@@ -283,16 +283,16 @@ import {
283
283
  } from "./chunk-WWDO7ZWM.js";
284
284
  import {
285
285
  promoteSemanticRuleFromMemory
286
- } from "./chunk-AZYUG2HW.js";
286
+ } from "./chunk-C6WVKVHZ.js";
287
287
  import {
288
288
  compareVerifiedSemanticRuleResults,
289
289
  searchVerifiedSemanticRules
290
- } from "./chunk-B3LGXOM5.js";
290
+ } from "./chunk-IOLFR3JJ.js";
291
291
  import {
292
292
  buildResumeBundleFromState,
293
293
  getResumeBundleStatus,
294
294
  recordResumeBundle
295
- } from "./chunk-FQACH7MC.js";
295
+ } from "./chunk-HM62567O.js";
296
296
  import {
297
297
  getWorkProductLedgerStatus,
298
298
  recordWorkProductLedgerEntry,
@@ -301,7 +301,7 @@ import {
301
301
  import {
302
302
  TranscriptManager,
303
303
  utcDayRange
304
- } from "./chunk-WQ4XKIOX.js";
304
+ } from "./chunk-5RONA5FF.js";
305
305
  import {
306
306
  mergeWithAgentResults,
307
307
  runDirectAgent,
@@ -444,12 +444,12 @@ import {
444
444
  runOperatorRepair,
445
445
  runOperatorSetup,
446
446
  summarizeNamespaceMaintenanceHealth
447
- } from "./chunk-OLJYBMFW.js";
447
+ } from "./chunk-Q7UY2CSW.js";
448
448
  import {
449
449
  NamespaceCatalog,
450
450
  isNamespaceKind,
451
451
  planNamespaceMaintenance
452
- } from "./chunk-AOAREXFV.js";
452
+ } from "./chunk-G6TDGYVC.js";
453
453
  import {
454
454
  analyzeSessionIntegrity,
455
455
  applySessionRepair,
@@ -544,7 +544,7 @@ import {
544
544
  import {
545
545
  readProjectedHarmonicGraph,
546
546
  searchHarmonicRetrieval
547
- } from "./chunk-IOGYSADY.js";
547
+ } from "./chunk-TS34Y2T5.js";
548
548
  import {
549
549
  classifyMemoryKind
550
550
  } from "./chunk-YAZNBMNF.js";
@@ -642,7 +642,7 @@ import {
642
642
  buildEntityRecallSection,
643
643
  entityRecentTranscriptLookbackHours,
644
644
  readRecentEntityTranscriptEntries
645
- } from "./chunk-E55J2NFL.js";
645
+ } from "./chunk-WP25PXBB.js";
646
646
  import {
647
647
  boundRecallContextComposition,
648
648
  composeMissingMemoryContext,
@@ -673,7 +673,7 @@ import {
673
673
  } from "./chunk-6SRYCJ5I.js";
674
674
  import {
675
675
  respondDeepRecall
676
- } from "./chunk-XNI3URDR.js";
676
+ } from "./chunk-D5F3D7DA.js";
677
677
  import {
678
678
  DEEP_RECALL_MCP_TOOLS
679
679
  } from "./chunk-HUSTM6PU.js";
@@ -692,15 +692,15 @@ import {
692
692
  import {
693
693
  CorpusWatermarkCache,
694
694
  computeServiceCorpusCensus
695
- } from "./chunk-7SW6EBEF.js";
695
+ } from "./chunk-QYN6I3CG.js";
696
696
  import {
697
697
  listNamespaces,
698
698
  runNamespaceMigration,
699
699
  verifyNamespaces
700
- } from "./chunk-GT2TH7FZ.js";
700
+ } from "./chunk-T4FW43AG.js";
701
701
  import {
702
702
  NamespaceStorageRouter
703
- } from "./chunk-FV2B6XE6.js";
703
+ } from "./chunk-NRZJKDGO.js";
704
704
  import {
705
705
  CrossNamespaceBudget,
706
706
  toBudgetWarning
@@ -717,12 +717,12 @@ import {
717
717
  } from "./chunk-7G5NTS7F.js";
718
718
  import {
719
719
  refreshConvergedNamespaces
720
- } from "./chunk-K32VAS5B.js";
720
+ } from "./chunk-YPDUSAPH.js";
721
721
  import {
722
722
  rebuildMemoryProjection,
723
723
  repairMemoryProjection,
724
724
  verifyMemoryProjection
725
- } from "./chunk-LYR57GEF.js";
725
+ } from "./chunk-EKWS6NCF.js";
726
726
  import {
727
727
  buildProposedActions,
728
728
  buildQualityScore,
@@ -731,7 +731,7 @@ import {
731
731
  readMemoryGovernanceRunArtifact,
732
732
  restoreMemoryGovernanceRun,
733
733
  runMemoryGovernance
734
- } from "./chunk-H4XPEXWA.js";
734
+ } from "./chunk-XOCAG2LF.js";
735
735
  import {
736
736
  collectNativeKnowledgeChunks,
737
737
  formatNativeKnowledgeSection,
@@ -764,7 +764,7 @@ import {
764
764
  materializeAfterSemanticConsolidation,
765
765
  parseConsolidationResponse,
766
766
  parseOperatorAwareConsolidationResponse
767
- } from "./chunk-EDVVW655.js";
767
+ } from "./chunk-T6H5HNA6.js";
768
768
  import {
769
769
  resolveNamespaceChildRoot
770
770
  } from "./chunk-3UXOZBHV.js";
@@ -851,7 +851,7 @@ import {
851
851
  parseBriefingFocus,
852
852
  parseBriefingWindow,
853
853
  validateBriefingFormat
854
- } from "./chunk-JODSN3V5.js";
854
+ } from "./chunk-CTQ2XD4R.js";
855
855
  import {
856
856
  ReplayAdmissionRefusedError,
857
857
  StorageTargetRequiredError
@@ -1025,7 +1025,7 @@ import {
1025
1025
  reconstructFusionInputs,
1026
1026
  selfDeps,
1027
1027
  serializeFusionDay
1028
- } from "./chunk-OIOKDTZU.js";
1028
+ } from "./chunk-T5DX6A7T.js";
1029
1029
  import {
1030
1030
  buildRetiredFactTombstoneInputs
1031
1031
  } from "./chunk-QGVCFVX6.js";
@@ -1044,12 +1044,12 @@ import {
1044
1044
  embeddingBacklogExceeds,
1045
1045
  isSearchHealthDegraded,
1046
1046
  namespaceCollectionName
1047
- } from "./chunk-BUOP3DOK.js";
1047
+ } from "./chunk-GRS34Y7V.js";
1048
1048
  import {
1049
1049
  createConversationIndexRuntime,
1050
1050
  createSearchBackend,
1051
1051
  isSearchBackendEnabled
1052
- } from "./chunk-FVMEZ57K.js";
1052
+ } from "./chunk-RLXD2L3G.js";
1053
1053
  import {
1054
1054
  NoopSearchBackend
1055
1055
  } from "./chunk-CYEPCZN5.js";
@@ -1350,7 +1350,7 @@ import {
1350
1350
  } from "./chunk-EAHNSQ7H.js";
1351
1351
  import {
1352
1352
  splitCanonicalWriteRequest
1353
- } from "./chunk-25BUV3TU.js";
1353
+ } from "./chunk-S4G7WX7Q.js";
1354
1354
  import {
1355
1355
  buildWithBriefingLocation,
1356
1356
  daySummaryAutoOptions,
@@ -1393,10 +1393,10 @@ import {
1393
1393
  retainedCategoryAlias,
1394
1394
  suggestionSubmitRequestSchema,
1395
1395
  validateRequest
1396
- } from "./chunk-R2DOFBG4.js";
1396
+ } from "./chunk-QNTBJKTN.js";
1397
1397
  import {
1398
1398
  exportCapsule
1399
- } from "./chunk-KQAFEZQX.js";
1399
+ } from "./chunk-R45L4TV6.js";
1400
1400
  import {
1401
1401
  CAPSULE_ID_PATTERN
1402
1402
  } from "./chunk-WEHSQBFR.js";
@@ -17115,10 +17115,7 @@ ${formatted}`;
17115
17115
  }
17116
17116
  }
17117
17117
  if (!checkpointInjected) {
17118
- const entries = await this.deps.transcript.readRecent(
17119
- transcriptLookbackHours,
17120
- sessionKey
17121
- );
17118
+ const entries = await this.deps.transcript.readRecent(transcriptLookbackHours, sessionKey, transcriptMaxTurns);
17122
17119
  log.debug(
17123
17120
  `recall: read ${entries.length} transcript entries for sessionKey=${sessionKey}`
17124
17121
  );
@@ -25835,9 +25832,25 @@ var MeetingsService = class {
25835
25832
 
25836
25833
  // src/orchestration/workspace-ops.ts
25837
25834
  var MEETINGS_BUILD_DEBOUNCE_MS = 5e3;
25838
- function matchesMemoryPath(candidatePath, requestedPath, memoryDir) {
25839
- const normalizedCandidate = path24.resolve(candidatePath);
25840
- return normalizedCandidate === path24.resolve(requestedPath) || normalizedCandidate === path24.resolve(memoryDir, requestedPath);
25835
+ function indexMemories(list) {
25836
+ const byPath = /* @__PURE__ */ new Map();
25837
+ const byId = /* @__PURE__ */ new Map();
25838
+ list.forEach((memory, i) => {
25839
+ const resolved = path24.resolve(memory.path);
25840
+ if (!byPath.has(resolved)) byPath.set(resolved, i);
25841
+ if (!byId.has(memory.frontmatter.id)) byId.set(memory.frontmatter.id, memory);
25842
+ });
25843
+ return { list, byPath, byId };
25844
+ }
25845
+ function findByRequestedPaths(index, requestedPaths, memoryDir) {
25846
+ let best;
25847
+ for (const requested of requestedPaths) {
25848
+ for (const key of [path24.resolve(requested), path24.resolve(memoryDir, requested)]) {
25849
+ const i = index.byPath.get(key);
25850
+ if (i !== void 0 && (best === void 0 || i < best)) best = i;
25851
+ }
25852
+ }
25853
+ return best === void 0 ? void 0 : index.list[best];
25841
25854
  }
25842
25855
  function accessTrackingPathCandidates(storageDir, memoryPath) {
25843
25856
  const candidates = qmdResultPathCandidates(storageDir, memoryPath);
@@ -26469,6 +26482,7 @@ ${reflectionsContent.trim()}
26469
26482
  const entriesByNamespace = /* @__PURE__ */ new Map();
26470
26483
  const mergedEntriesByNamespace = /* @__PURE__ */ new Map();
26471
26484
  const storageDirByNamespace = /* @__PURE__ */ new Map();
26485
+ const indexByNamespace = /* @__PURE__ */ new Map();
26472
26486
  for (const [, update] of this.deps.accessTrackingBuffer) {
26473
26487
  const memoryPath = update.memoryPath;
26474
26488
  const namespace = update.namespace ?? (memoryPath ? this.deps.namespaceFromPath(memoryPath) : this.deps.config.defaultNamespace);
@@ -26483,13 +26497,12 @@ ${reflectionsContent.trim()}
26483
26497
  memoryPath,
26484
26498
  ...storageDir ? accessTrackingPathCandidates(storageDir, memoryPath) : []
26485
26499
  ] : [];
26486
- const memory = memoryPath ? namespaceMemories?.find(
26487
- (candidate) => matchesMemoryPath(candidate.path, memoryPath, this.deps.config.memoryDir)
26488
- ) ?? namespaceMemories?.find(
26489
- (candidate) => requestedPaths.some(
26490
- (requestedPath) => matchesMemoryPath(candidate.path, requestedPath, this.deps.config.memoryDir)
26491
- )
26492
- ) : namespaceMemories?.find((candidate) => candidate.frontmatter.id === update.memoryId);
26500
+ let index = indexByNamespace.get(namespace);
26501
+ if (index === void 0 && namespaceMemories) {
26502
+ index = indexMemories(namespaceMemories);
26503
+ indexByNamespace.set(namespace, index);
26504
+ }
26505
+ const memory = memoryPath ? index && (findByRequestedPaths(index, [memoryPath], this.deps.config.memoryDir) ?? findByRequestedPaths(index, requestedPaths, this.deps.config.memoryDir)) : index?.byId.get(update.memoryId);
26493
26506
  if (!memory) continue;
26494
26507
  const namespaceEntries = mergedEntriesByNamespace.get(namespace) ?? /* @__PURE__ */ new Map();
26495
26508
  const existing = namespaceEntries.get(memory.path);
@@ -50836,7 +50849,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
50836
50849
  }
50837
50850
  }
50838
50851
  if (sourceArchive.endsWith(".enc")) {
50839
- const { isEncryptedCapsuleFile } = await import("./capsule-crypto-7FJQINUR.js");
50852
+ const { isEncryptedCapsuleFile } = await import("./capsule-crypto-YO5QJ6L3.js");
50840
50853
  const encDetected = await isEncryptedCapsuleFile(sourceArchive).catch(() => true);
50841
50854
  if (encDetected) {
50842
50855
  throw new Error(
@@ -50999,7 +51012,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
50999
51012
  const { parseExportBundle } = await import("./transfer/types.js");
51000
51013
  let decryptedBuf;
51001
51014
  try {
51002
- const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-7FJQINUR.js");
51015
+ const { decryptCapsuleFileInMemory } = await import("./capsule-crypto-YO5QJ6L3.js");
51003
51016
  decryptedBuf = await decryptCapsuleFileInMemory(archivePath, memoryDir);
51004
51017
  } catch (decErr) {
51005
51018
  const msg = decErr instanceof Error ? decErr.message : String(decErr);
@@ -67204,4 +67217,4 @@ export {
67204
67217
  EngramAccessService,
67205
67218
  AccessAdminOpsSurface
67206
67219
  };
67207
- //# sourceMappingURL=chunk-4TYIHHPW.js.map
67220
+ //# sourceMappingURL=chunk-4N7L2N54.js.map