@ibgib/core-gib 0.1.54 → 0.1.55

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 (189) hide show
  1. package/CHANGELOG.md +10 -3
  2. package/README.md +12 -15
  3. package/dist/keystone/aggregate-details.respec.d.mts +2 -0
  4. package/dist/keystone/aggregate-details.respec.d.mts.map +1 -0
  5. package/dist/keystone/aggregate-details.respec.mjs +118 -0
  6. package/dist/keystone/aggregate-details.respec.mjs.map +1 -0
  7. package/dist/keystone/keystone-constants.d.mts +5 -0
  8. package/dist/keystone/keystone-constants.d.mts.map +1 -1
  9. package/dist/keystone/keystone-constants.mjs +6 -1
  10. package/dist/keystone/keystone-constants.mjs.map +1 -1
  11. package/dist/keystone/keystone-helpers.d.mts +7 -1
  12. package/dist/keystone/keystone-helpers.d.mts.map +1 -1
  13. package/dist/keystone/keystone-helpers.mjs +5 -2
  14. package/dist/keystone/keystone-helpers.mjs.map +1 -1
  15. package/dist/keystone/keystone-service-v1.d.mts +51 -0
  16. package/dist/keystone/keystone-service-v1.d.mts.map +1 -1
  17. package/dist/keystone/keystone-service-v1.mjs +176 -9
  18. package/dist/keystone/keystone-service-v1.mjs.map +1 -1
  19. package/dist/keystone/keystone-service-v1.respec.mjs +40 -98
  20. package/dist/keystone/keystone-service-v1.respec.mjs.map +1 -1
  21. package/dist/keystone/keystone-types.d.mts +5 -0
  22. package/dist/keystone/keystone-types.d.mts.map +1 -1
  23. package/dist/sync/graft-info/graft-info-helpers.respec.mjs +8 -8
  24. package/dist/sync/graft-info/graft-info-helpers.respec.mjs.map +1 -1
  25. package/dist/sync/sync-conflict-adv-multitimelines.respec.mjs +26 -30
  26. package/dist/sync/sync-conflict-adv-multitimelines.respec.mjs.map +1 -1
  27. package/dist/sync/sync-conflict-basic-divergence.respec.mjs +7 -8
  28. package/dist/sync/sync-conflict-basic-divergence.respec.mjs.map +1 -1
  29. package/dist/sync/sync-conflict-basic-multitimelines.respec.mjs +10 -11
  30. package/dist/sync/sync-conflict-basic-multitimelines.respec.mjs.map +1 -1
  31. package/dist/sync/sync-conflict-text-merge.respec.mjs +30 -33
  32. package/dist/sync/sync-conflict-text-merge.respec.mjs.map +1 -1
  33. package/dist/sync/sync-constants.d.mts +1 -56
  34. package/dist/sync/sync-constants.d.mts.map +1 -1
  35. package/dist/sync/sync-constants.mjs +2 -59
  36. package/dist/sync/sync-constants.mjs.map +1 -1
  37. package/dist/sync/sync-helpers.d.mts +0 -1
  38. package/dist/sync/sync-helpers.d.mts.map +1 -1
  39. package/dist/sync/sync-helpers.mjs +1 -6
  40. package/dist/sync/sync-helpers.mjs.map +1 -1
  41. package/dist/sync/sync-innerspace-constants.respec.mjs +5 -9
  42. package/dist/sync/sync-innerspace-constants.respec.mjs.map +1 -1
  43. package/dist/sync/sync-innerspace-deep-updates.respec.mjs +6 -7
  44. package/dist/sync/sync-innerspace-deep-updates.respec.mjs.map +1 -1
  45. package/dist/sync/sync-innerspace-dest-ahead-withid.respec.mjs +22 -22
  46. package/dist/sync/sync-innerspace-dest-ahead-withid.respec.mjs.map +1 -1
  47. package/dist/sync/sync-innerspace-dest-ahead.respec.mjs +8 -9
  48. package/dist/sync/sync-innerspace-dest-ahead.respec.mjs.map +1 -1
  49. package/dist/sync/sync-innerspace-multiple-timelines.respec.mjs +6 -7
  50. package/dist/sync/sync-innerspace-multiple-timelines.respec.mjs.map +1 -1
  51. package/dist/sync/sync-innerspace-partial-update.respec.mjs +7 -8
  52. package/dist/sync/sync-innerspace-partial-update.respec.mjs.map +1 -1
  53. package/dist/sync/sync-innerspace.respec.mjs +8 -11
  54. package/dist/sync/sync-innerspace.respec.mjs.map +1 -1
  55. package/dist/sync/sync-peer/sync-peer-http-receiver/sync-http-node-adapter.mjs +10 -5
  56. package/dist/sync/sync-peer/sync-peer-http-receiver/sync-http-node-adapter.mjs.map +1 -1
  57. package/dist/sync/sync-peer/sync-peer-http-receiver/sync-peer-http-receiver-types.d.mts +3 -1
  58. package/dist/sync/sync-peer/sync-peer-http-receiver/sync-peer-http-receiver-types.d.mts.map +1 -1
  59. package/dist/sync/sync-peer/sync-peer-http-receiver/sync-peer-http-receiver-v1.d.mts +4 -2
  60. package/dist/sync/sync-peer/sync-peer-http-receiver/sync-peer-http-receiver-v1.d.mts.map +1 -1
  61. package/dist/sync/sync-peer/sync-peer-http-receiver/sync-peer-http-receiver-v1.mjs +37 -6
  62. package/dist/sync/sync-peer/sync-peer-http-receiver/sync-peer-http-receiver-v1.mjs.map +1 -1
  63. package/dist/sync/sync-peer/sync-peer-http-sender/sync-peer-http-sender-types.d.mts +3 -1
  64. package/dist/sync/sync-peer/sync-peer-http-sender/sync-peer-http-sender-types.d.mts.map +1 -1
  65. package/dist/sync/sync-peer/sync-peer-http-sender/sync-peer-http-sender-v1.d.mts +4 -2
  66. package/dist/sync/sync-peer/sync-peer-http-sender/sync-peer-http-sender-v1.d.mts.map +1 -1
  67. package/dist/sync/sync-peer/sync-peer-http-sender/sync-peer-http-sender-v1.mjs +37 -0
  68. package/dist/sync/sync-peer/sync-peer-http-sender/sync-peer-http-sender-v1.mjs.map +1 -1
  69. package/dist/sync/sync-peer/sync-peer-innerspace/sync-peer-innerspace-types.d.mts +7 -1
  70. package/dist/sync/sync-peer/sync-peer-innerspace/sync-peer-innerspace-types.d.mts.map +1 -1
  71. package/dist/sync/sync-peer/sync-peer-innerspace/sync-peer-innerspace-v1.d.mts +10 -2
  72. package/dist/sync/sync-peer/sync-peer-innerspace/sync-peer-innerspace-v1.d.mts.map +1 -1
  73. package/dist/sync/sync-peer/sync-peer-innerspace/sync-peer-innerspace-v1.mjs +50 -38
  74. package/dist/sync/sync-peer/sync-peer-innerspace/sync-peer-innerspace-v1.mjs.map +1 -1
  75. package/dist/sync/sync-peer/sync-peer-types.d.mts +21 -5
  76. package/dist/sync/sync-peer/sync-peer-types.d.mts.map +1 -1
  77. package/dist/sync/sync-peer/sync-peer-v1.d.mts +30 -5
  78. package/dist/sync/sync-peer/sync-peer-v1.d.mts.map +1 -1
  79. package/dist/sync/sync-peer/sync-peer-v1.mjs +41 -25
  80. package/dist/sync/sync-peer/sync-peer-v1.mjs.map +1 -1
  81. package/dist/sync/sync-saga-context/sync-saga-context-helpers.d.mts +2 -11
  82. package/dist/sync/sync-saga-context/sync-saga-context-helpers.d.mts.map +1 -1
  83. package/dist/sync/sync-saga-context/sync-saga-context-helpers.mjs +7 -51
  84. package/dist/sync/sync-saga-context/sync-saga-context-helpers.mjs.map +1 -1
  85. package/dist/sync/sync-saga-context/sync-saga-context-types.d.mts +1 -47
  86. package/dist/sync/sync-saga-context/sync-saga-context-types.d.mts.map +1 -1
  87. package/dist/sync/sync-saga-coordinator.d.mts +6 -58
  88. package/dist/sync/sync-saga-coordinator.d.mts.map +1 -1
  89. package/dist/sync/sync-saga-coordinator.mjs +23 -425
  90. package/dist/sync/sync-saga-coordinator.mjs.map +1 -1
  91. package/dist/sync/sync-saga-message/sync-saga-message-types.d.mts +2 -2
  92. package/dist/sync/sync-saga-message/sync-saga-message-types.d.mts.map +1 -1
  93. package/dist/sync/sync-types.d.mts +2 -19
  94. package/dist/sync/sync-types.d.mts.map +1 -1
  95. package/dist/sync/sync-types.mjs.map +1 -1
  96. package/dist/test/mock-space.mjs +1 -1
  97. package/dist/test/mock-space.mjs.map +1 -1
  98. package/dist/test-helpers.d.mts +0 -6
  99. package/dist/test-helpers.d.mts.map +1 -1
  100. package/dist/test-helpers.mjs +2 -25
  101. package/dist/test-helpers.mjs.map +1 -1
  102. package/package.json +7 -31
  103. package/src/keystone/aggregate-details.respec.mts +137 -0
  104. package/src/keystone/docs/architecture.md +16 -0
  105. package/src/keystone/keystone-constants.mts +6 -1
  106. package/src/keystone/keystone-helpers.mts +9 -1
  107. package/src/keystone/keystone-service-v1.mts +216 -8
  108. package/src/keystone/keystone-service-v1.respec.mts +39 -103
  109. package/src/keystone/keystone-types.mts +6 -0
  110. package/src/sync/README.md +18 -0
  111. package/src/sync/docs/architecture.md +21 -0
  112. package/src/sync/graft-info/graft-info-helpers.respec.mts +7 -7
  113. package/src/sync/sync-conflict-adv-multitimelines.respec.mts +25 -29
  114. package/src/sync/sync-conflict-basic-divergence.respec.mts +6 -7
  115. package/src/sync/sync-conflict-basic-multitimelines.respec.mts +9 -10
  116. package/src/sync/sync-conflict-text-merge.respec.mts +29 -32
  117. package/src/sync/sync-constants.mts +2 -62
  118. package/src/sync/sync-helpers.mts +1 -8
  119. package/src/sync/sync-id-testlog.txt +421 -0
  120. package/src/sync/sync-innerspace-constants.respec.mts +4 -8
  121. package/src/sync/sync-innerspace-deep-updates.respec.mts +5 -6
  122. package/src/sync/sync-innerspace-dest-ahead-withid.respec.mts +23 -25
  123. package/src/sync/sync-innerspace-dest-ahead.respec.mts +7 -8
  124. package/src/sync/sync-innerspace-multiple-timelines.respec.mts +5 -6
  125. package/src/sync/sync-innerspace-partial-update.respec.mts +6 -7
  126. package/src/sync/sync-innerspace.respec.mts +7 -10
  127. package/src/sync/sync-peer/sync-peer-http-receiver/sync-http-node-adapter.mts +5 -5
  128. package/src/sync/sync-peer/sync-peer-http-receiver/sync-peer-http-receiver-types.mts +5 -1
  129. package/src/sync/sync-peer/sync-peer-http-receiver/sync-peer-http-receiver-v1.mts +30 -9
  130. package/src/sync/sync-peer/sync-peer-http-sender/sync-peer-http-sender-types.mts +3 -1
  131. package/src/sync/sync-peer/sync-peer-http-sender/sync-peer-http-sender-v1.mts +29 -2
  132. package/src/sync/sync-peer/sync-peer-innerspace/sync-peer-innerspace-types.mts +7 -1
  133. package/src/sync/sync-peer/sync-peer-innerspace/sync-peer-innerspace-v1.mts +51 -38
  134. package/src/sync/sync-peer/sync-peer-types.mts +23 -6
  135. package/src/sync/sync-peer/sync-peer-v1.mts +68 -28
  136. package/src/sync/sync-saga-context/sync-saga-context-helpers.mts +6 -66
  137. package/src/sync/sync-saga-context/sync-saga-context-types.mts +1 -48
  138. package/src/sync/sync-saga-coordinator.mts +12 -552
  139. package/src/sync/sync-saga-message/sync-saga-message-types.mts +2 -3
  140. package/src/sync/sync-types.mts +2 -22
  141. package/src/sync/unused-identity-backup.mts.md +311 -0
  142. package/src/test/mock-space.mts +1 -1
  143. package/src/test-helpers.mts +1 -26
  144. package/test_output.log +0 -0
  145. package/test_output_utf8.txt +398 -0
  146. package/.vscode/core-gib-snippets.code-snippets +0 -293
  147. package/.vscode/launch.json +0 -40
  148. package/.vscode/settings.json +0 -58
  149. package/.vscode/tasks.json +0 -37
  150. package/dist/sync/sync-peer/sync-peer-http.respec.d.mts +0 -2
  151. package/dist/sync/sync-peer/sync-peer-http.respec.d.mts.map +0 -1
  152. package/dist/sync/sync-peer/sync-peer-http.respec.mjs +0 -340
  153. package/dist/sync/sync-peer/sync-peer-http.respec.mjs.map +0 -1
  154. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-helper.d.mts +0 -42
  155. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-helper.d.mts.map +0 -1
  156. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-helper.mjs +0 -312
  157. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-helper.mjs.map +0 -1
  158. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-types.d.mts +0 -84
  159. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-types.d.mts.map +0 -1
  160. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-types.mjs +0 -65
  161. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-types.mjs.map +0 -1
  162. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-v1.d.mts +0 -73
  163. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-v1.d.mts.map +0 -1
  164. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-v1.mjs +0 -667
  165. package/dist/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-v1.mjs.map +0 -1
  166. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_createAndInit.node-filesystem-space-v1.respec.d.mts +0 -2
  167. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_createAndInit.node-filesystem-space-v1.respec.d.mts.map +0 -1
  168. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_createAndInit.node-filesystem-space-v1.respec.mjs +0 -67
  169. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_createAndInit.node-filesystem-space-v1.respec.mjs.map +0 -1
  170. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_persistTransformResult.node-filesystem-space-v1.respec.d.mts +0 -2
  171. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_persistTransformResult.node-filesystem-space-v1.respec.d.mts.map +0 -1
  172. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_persistTransformResult.node-filesystem-space-v1.respec.mjs +0 -67
  173. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_persistTransformResult.node-filesystem-space-v1.respec.mjs.map +0 -1
  174. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_putGetDelete.node-filesystem-space-v1.respec.d.mts +0 -2
  175. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_putGetDelete.node-filesystem-space-v1.respec.d.mts.map +0 -1
  176. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_putGetDelete.node-filesystem-space-v1.respec.mjs +0 -68
  177. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_putGetDelete.node-filesystem-space-v1.respec.mjs.map +0 -1
  178. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_registerNewIbGib_GetLatest.node-filesystem-space-v1.respec.d.mts +0 -2
  179. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_registerNewIbGib_GetLatest.node-filesystem-space-v1.respec.d.mts.map +0 -1
  180. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_registerNewIbGib_GetLatest.node-filesystem-space-v1.respec.mjs +0 -69
  181. package/dist/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_registerNewIbGib_GetLatest.node-filesystem-space-v1.respec.mjs.map +0 -1
  182. package/src/sync/sync-peer/sync-peer-http.respec.mts +0 -396
  183. package/src/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-helper.mts +0 -298
  184. package/src/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-types.mts +0 -150
  185. package/src/witness/space/filesystem-space/node-filesystem-space/node-filesystem-space-v1.mts +0 -666
  186. package/src/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_createAndInit.node-filesystem-space-v1.respec.mts +0 -87
  187. package/src/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_persistTransformResult.node-filesystem-space-v1.respec.mts +0 -88
  188. package/src/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_putGetDelete.node-filesystem-space-v1.respec.mts +0 -88
  189. package/src/witness/space/filesystem-space/node-filesystem-space/respec/testSpace_registerNewIbGib_GetLatest.node-filesystem-space-v1.respec.mts +0 -90
@@ -17,7 +17,7 @@ import { SyncSagaCoordinator } from './sync-saga-coordinator.mjs';
17
17
  import { getFromSpace } from '../witness/space/space-helper.mjs';
18
18
  import { Metaspace_Innerspace } from '../witness/space/metaspace/metaspace-innerspace/metaspace-innerspace.mjs';
19
19
  import { InnerSpace_V1 } from '../witness/space/inner-space/inner-space-v1.mjs';
20
- import { createTimelineRootTestHelper, getTestKeystoneServiceHelper } from '../test-helpers.mjs';
20
+ import { createTimelineRootTestHelper, } from '../test-helpers.mjs';
21
21
  import { mut8Timeline } from '../timeline/timeline-api.mjs';
22
22
  import { SyncPeerInnerspace_V1 } from './sync-peer/sync-peer-innerspace/sync-peer-innerspace-v1.mjs';
23
23
  import { DEFAULT_INNER_SPACE_DATA_V1 } from '../witness/space/inner-space/inner-space-types.mjs';
@@ -215,13 +215,13 @@ await respecfully(sir, `Two different fields`, async () => {
215
215
 
216
216
  // 4. Run Sync (Optimistic)
217
217
  console.log(`${lc} Setting up Coordinators...`);
218
- const mockKeystone = await getTestKeystoneServiceHelper();
219
- const senderCoordinator = new SyncSagaCoordinator(mockKeystone);
220
- const receiverCoordinator = new SyncSagaCoordinator(mockKeystone);
218
+ const senderCoordinator = new SyncSagaCoordinator();
219
+ const receiverCoordinator = new SyncSagaCoordinator();
221
220
 
222
221
  const peer = new SyncPeerInnerspace_V1(clone(SYNC_PEER_INNERSPACE_DEFAULT_DATA_V1));
223
222
  await peer.initialized;
224
223
  await peer.initializeOpts({
224
+ localMetaspace: metaspace,
225
225
  localSpace: sourceSpace, // "Client"
226
226
  receiverSpace: destSpace, // "Server"
227
227
  receiverCoordinator,
@@ -230,7 +230,7 @@ await respecfully(sir, `Two different fields`, async () => {
230
230
 
231
231
  // Verify Receiver has correct KV (Pre-Sync Check)
232
232
  // This ensures the conflict precondition exists.
233
- await ifWe(sir, 'verify receiver KV pre-sync', async () => {
233
+ await ifWeMight(sir, 'verify receiver KV pre-sync', async () => {
234
234
  try {
235
235
  const destKV = await receiverCoordinator.getKnowledgeMap({
236
236
  space: destSpace,
@@ -264,7 +264,6 @@ await respecfully(sir, `Two different fields`, async () => {
264
264
  metaspace,
265
265
  domainIbGibs: [v2a],
266
266
  conflictStrategy: SyncConflictStrategy.optimisticWithLCS,
267
- useSessionIdentity: false,
268
267
  });
269
268
 
270
269
  const sublc = `${lc}[updates$]`;
@@ -305,7 +304,7 @@ await respecfully(sir, `Two different fields`, async () => {
305
304
 
306
305
  const resSourceTip = await getFromSpace({ space: sourceSpace, addr: getIbGibAddr({ ibGib: v2a }) });
307
306
 
308
- await ifWe(sir, `verify merge`, async () => {
307
+ await ifWeMight(sir, `verify merge`, async () => {
309
308
  // Retrieve updated KV from Source (or check what happened to v2a)
310
309
  // Ideally, we just check the source space for the timeline tip
311
310
  // The timeline tip for testRoot/v0 should now be NEW.
@@ -18,7 +18,7 @@ import { SyncSagaCoordinator } from './sync-saga-coordinator.mjs';
18
18
  import { getFromSpace } from '../witness/space/space-helper.mjs';
19
19
  import { Metaspace_Innerspace } from '../witness/space/metaspace/metaspace-innerspace/metaspace-innerspace.mjs';
20
20
  import { InnerSpace_V1 } from '../witness/space/inner-space/inner-space-v1.mjs';
21
- import { createTimelineRootTestHelper, getTestKeystoneServiceHelper } from '../test-helpers.mjs';
21
+ import { createTimelineRootTestHelper, } from '../test-helpers.mjs';
22
22
  import { appendToTimeline, createTimeline, mut8Timeline } from '../timeline/timeline-api.mjs';
23
23
  import { SyncPeerInnerspace_V1 } from './sync-peer/sync-peer-innerspace/sync-peer-innerspace-v1.mjs';
24
24
  import { DEFAULT_INNER_SPACE_DATA_V1 } from '../witness/space/inner-space/inner-space-types.mjs';
@@ -201,13 +201,13 @@ await respecfully(sir, `Two different fields and rel8d`, async () => {
201
201
 
202
202
  // 4. Run Sync (Optimistic)
203
203
  console.log(`${lc} Setting up Coordinators...`);
204
- const mockKeystone = await getTestKeystoneServiceHelper();
205
- const senderCoordinator = new SyncSagaCoordinator(mockKeystone);
206
- const receiverCoordinator = new SyncSagaCoordinator(mockKeystone);
204
+ const senderCoordinator = new SyncSagaCoordinator();
205
+ const receiverCoordinator = new SyncSagaCoordinator();
207
206
 
208
207
  const peer = new SyncPeerInnerspace_V1(clone(SYNC_PEER_INNERSPACE_DEFAULT_DATA_V1));
209
208
  await peer.initialized;
210
209
  await peer.initializeOpts({
210
+ localMetaspace: metaspace,
211
211
  localSpace: sourceSpace, // "Client"
212
212
  receiverSpace: destSpace, // "Server"
213
213
  receiverCoordinator,
@@ -216,7 +216,7 @@ await respecfully(sir, `Two different fields and rel8d`, async () => {
216
216
 
217
217
  // Verify Receiver has correct KV (Pre-Sync Check)
218
218
  // This ensures the conflict precondition exists.
219
- await ifWe(sir, 'verify receiver KV pre-sync', async () => {
219
+ await ifWeMight(sir, 'verify receiver KV pre-sync', async () => {
220
220
  try {
221
221
  const destKV = await receiverCoordinator.getKnowledgeMap({
222
222
  space: destSpace,
@@ -249,7 +249,6 @@ await respecfully(sir, `Two different fields and rel8d`, async () => {
249
249
  metaspace,
250
250
  domainIbGibs: [alpha_v3_source_rel8beta],
251
251
  conflictStrategy: SyncConflictStrategy.optimisticWithLCS,
252
- useSessionIdentity: false,
253
252
  });
254
253
 
255
254
  const sublc = `${lc}[updates$]`;
@@ -317,7 +316,7 @@ await respecfully(sir, `Two different fields and rel8d`, async () => {
317
316
  const resTip = await getFromSpace({ space: sourceSpace, addr: sourceTipAddr });
318
317
  const newTip = resTip.ibGibs![0] as IbGib_V1<TestData>;
319
318
 
320
- await ifWe(sir, 'basics of alpha merge', async () => {
319
+ await ifWeMight(sir, 'basics of alpha merge', async () => {
321
320
  iReckon(sir, sourceTipAddr).asTo(`Source Tip (${sourceTipAddr}) should NOT be alpha_v3_source_rel8beta`).not.isGonnaBe(getIbGibAddr({ ibGib: alpha_v3_source_rel8beta }));
322
321
  iReckon(sir, sourceTipAddr).asTo(`Source Tip (${sourceTipAddr}) should NOT be v2dest`).not.isGonnaBe(getIbGibAddr({ ibGib: alpha_v2_dest }));
323
322
 
@@ -330,7 +329,7 @@ await respecfully(sir, `Two different fields and rel8d`, async () => {
330
329
  // Check Graft Structure
331
330
  // Look for 'graftinfo' rel8n
332
331
 
333
- await ifWe(sir, 'graft info is valid', async () => {
332
+ await ifWeMight(sir, 'graft info is valid', async () => {
334
333
  if (!newTip.rel8ns) { throw new Error(`(UNEXPECTED) newTip.rel8ns falsy? (E: eb4078712ea2f02c7ee84b983ed77826)`); }
335
334
  const graftInfoRel = newTip.rel8ns[GRAFT_INFO_REL8N_NAME];
336
335
  iReckon(sir, graftInfoRel).asTo('New Tip should have graftinfo rel8n').isGonnaBeTruthy();
@@ -354,7 +353,7 @@ await respecfully(sir, `Two different fields and rel8d`, async () => {
354
353
  iReckon(sir, orphanRel![0]).asTo('orphan rel8ns will be later addr').isGonnaBe(orphanAddr);
355
354
  });
356
355
 
357
- await ifWe(sir, 'alpha and deps synced', async () => {
356
+ await ifWeMight(sir, 'alpha and deps synced', async () => {
358
357
  // alpha's full dep graph should exist on dest
359
358
  const [beta_dest] = await getIbGibsFromCache_fallbackToSpaces({
360
359
  addrs: [betaAddr_v0],
@@ -374,7 +373,7 @@ await respecfully(sir, `Two different fields and rel8d`, async () => {
374
373
  }
375
374
  });
376
375
 
377
- await ifWe(sir, 'beta and deps synced', async () => {
376
+ await ifWeMight(sir, 'beta and deps synced', async () => {
378
377
  // beta's full dep graph should exist on dest
379
378
  const [beta_dest] = await getIbGibsFromCache_fallbackToSpaces({
380
379
  addrs: [betaAddr_v0],
@@ -18,7 +18,7 @@ import { getIbGibAddr } from '@ibgib/ts-gib/dist/helper.mjs';
18
18
  import { IbGibData_V1, IbGib_V1 } from '@ibgib/ts-gib/dist/V1/types.mjs';
19
19
 
20
20
  import { GLOBAL_LOG_A_LOT } from '../core-constants.mjs';
21
- import { TestTransformer, getTestKeystoneServiceHelper } from '../test-helpers.mjs';
21
+ import { TestTransformer, } from '../test-helpers.mjs';
22
22
  import { TestMut8Info, } from '../test-types.mjs';
23
23
  import { SyncSagaCoordinator } from './sync-saga-coordinator.mjs';
24
24
  import { getFromSpace } from '../witness/space/space-helper.mjs';
@@ -80,14 +80,14 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
80
80
  const testTransformer = new TestTransformer(metaspace, sourceSpace, destSpace);
81
81
 
82
82
  if (logalot) { console.log(`${lc} Setting up Coordinators...`); }
83
- const mockKeystone = await getTestKeystoneServiceHelper();
84
- const senderCoordinator = new SyncSagaCoordinator(mockKeystone);
85
- const receiverCoordinator = new SyncSagaCoordinator(mockKeystone);
83
+ const senderCoordinator = new SyncSagaCoordinator();
84
+ const receiverCoordinator = new SyncSagaCoordinator();
86
85
 
87
86
  async function newTestPeer(): Promise<SyncPeerInnerspace_V1> {
88
87
  const peer = new SyncPeerInnerspace_V1(clone(SYNC_PEER_INNERSPACE_DEFAULT_DATA_V1));
89
88
  await peer.initialized;
90
89
  await peer.initializeOpts({
90
+ localMetaspace: metaspace,
91
91
  localSpace: sourceSpace,
92
92
  receiverSpace: destSpace,
93
93
  receiverCoordinator: receiverCoordinator,
@@ -128,7 +128,6 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
128
128
  metaspace,
129
129
  domainIbGibs: [r1_alpha_v0_source.ibGib],
130
130
  conflictStrategy: SyncConflictStrategy.optimisticWithLCS,
131
- useSessionIdentity: false,
132
131
  });
133
132
  await r1_syncSaga.done;
134
133
  if (logalot) { console.log(`${lc} R1 Sync Complete.`); }
@@ -148,7 +147,7 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
148
147
  });
149
148
  const r1_alpha_source_tipAddr = r1_alpha_sourceKV[alpha_tjpAddr];
150
149
  if (!r1_alpha_source_tipAddr) {
151
- await ifWe(sir, 'r1_alpha_source_tipAddr is falsy?', async () => {
150
+ await ifWeMight(sir, 'r1_alpha_source_tipAddr is falsy?', async () => {
152
151
  iReckon(sir, true).asTo('fail').isGonnaBeFalse();
153
152
  });
154
153
  return; /* <<<< returns early */
@@ -161,17 +160,17 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
161
160
  });
162
161
  const r1_alpha_dest_tipAddr = r1_alpha_destKV[alpha_tjpAddr];
163
162
  if (!r1_alpha_dest_tipAddr) {
164
- await ifWe(sir, 'r1_alpha_dest_tipAddr is falsy?', async () => {
163
+ await ifWeMight(sir, 'r1_alpha_dest_tipAddr is falsy?', async () => {
165
164
  iReckon(sir, true).asTo('fail').isGonnaBeFalse();
166
165
  });
167
166
  return; /* <<<< returns early */
168
167
  }
169
168
 
170
- await ifWe(sir, 'r1 tip addrs match', async () => {
169
+ await ifWeMight(sir, 'r1 tip addrs match', async () => {
171
170
  iReckon(sir, r1_alpha_source_tipAddr).asTo('R1 source/dest have same tip').isGonnaBe(r1_alpha_dest_tipAddr);
172
171
  });
173
172
 
174
- await ifWe(sir, 'r1 text synced correctly', async () => {
173
+ await ifWeMight(sir, 'r1 text synced correctly', async () => {
175
174
  if (!r1_alpha_dest_tipAddr) {
176
175
  throw new Error(`r1_dest_tipAddr is null/undefined (E: 1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d)`);
177
176
  }
@@ -181,7 +180,7 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
181
180
  iReckon(sir, destTipIbGib.data!.text).asTo('Dest has initial text').isGonnaBe(INITIAL_TEXT);
182
181
  });
183
182
 
184
- await ifWe(sir, 'r1 dep graphs synced', async () => {
183
+ await ifWeMight(sir, 'r1 dep graphs synced', async () => {
185
184
  const [r1_alpha_source_tip] = await getIbGibsFromCache_fallbackToSpaces({
186
185
  addrs: [r1_alpha_source_tipAddr],
187
186
  space: sourceSpace,
@@ -260,7 +259,7 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
260
259
  // #endregion r2 dest edits
261
260
 
262
261
  await respecfully(sir, `r2 verify pre`, async () => {
263
- await ifWe(sir, 'texts as expected', async () => {
262
+ await ifWeMight(sir, 'texts as expected', async () => {
264
263
  // before the sync, each side only has their edit. after the sync,
265
264
  // both sides should have both prepended and appended text
266
265
  iReckon(sir, r2_alpha_v1_source_appendedText.ibGib.data?.text.includes(INITIAL_TEXT)).asTo('alpha source has initial text').isGonnaBeTrue();
@@ -282,7 +281,6 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
282
281
  metaspace,
283
282
  domainIbGibs: [r2_alpha_v1_source_appendedText.ibGib],
284
283
  conflictStrategy: SyncConflictStrategy.optimisticWithLCS,
285
- useSessionIdentity: false,
286
284
  });
287
285
  await r2_syncSaga.done;
288
286
  } catch (e) {
@@ -296,14 +294,14 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
296
294
  const kv_dest = await senderCoordinator.getKnowledgeMap({ space: destSpace, metaspace, domainIbGibs: [r1_alpha_v0_source.ibGib] });
297
295
  const r2_alpha_source_tipAddr = kv_source[alpha_tjpAddr];
298
296
  if (!r2_alpha_source_tipAddr) {
299
- await ifWe(sir, 'r2_alpha_source_tipAddr falsy?', async () => {
297
+ await ifWeMight(sir, 'r2_alpha_source_tipAddr falsy?', async () => {
300
298
  iReckon(sir, true).asTo('fails').isGonnaBe(false);
301
299
  });
302
300
  return; /* <<<< returns early */
303
301
  }
304
302
  const r2_alpha_dest_tipAddr = kv_dest[alpha_tjpAddr];
305
303
  if (!r2_alpha_dest_tipAddr) {
306
- await ifWe(sir, 'r2_alpha_dest_tipAddr falsy?', async () => {
304
+ await ifWeMight(sir, 'r2_alpha_dest_tipAddr falsy?', async () => {
307
305
  iReckon(sir, true).asTo('fails').isGonnaBe(false);
308
306
  });
309
307
  return; /* <<<< returns early */
@@ -317,11 +315,11 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
317
315
  space: sourceSpace,
318
316
  });
319
317
 
320
- await ifWe(sir, 'r2 tip addrs match', async () => {
318
+ await ifWeMight(sir, 'r2 tip addrs match', async () => {
321
319
  iReckon(sir, r2_alpha_source_tipAddr).asTo('alpha').isGonnaBe(r2_alpha_dest_tipAddr);
322
320
  });
323
321
 
324
- await ifWe(sir, 'r2 text merged correctly', async () => {
322
+ await ifWeMight(sir, 'r2 text merged correctly', async () => {
325
323
  // before the sync, each side only has their edit. after the sync,
326
324
  // both sides should have both prepended and appended text
327
325
  iReckon(sir, r2_alpha_v1_source_appendedText.ibGib.data?.text.includes(INITIAL_TEXT)).asTo('alpha source has initial text').isGonnaBeTrue();
@@ -340,7 +338,7 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
340
338
  iReckon(sir, text).asTo('R2 has both prepend and append').isGonnaBe(DEST_PREPEND + INITIAL_TEXT + SOURCE_APPEND);
341
339
  });
342
340
 
343
- await ifWe(sir, 'r2 dep graphs synced', async () => {
341
+ await ifWeMight(sir, 'r2 dep graphs synced', async () => {
344
342
  // alpha's full dep graph should exist on dest
345
343
  const depGraph_alpha_source = await getDependencyGraph({
346
344
  ibGib: r2_alpha_source_tip,
@@ -414,7 +412,7 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
414
412
  // // #endregion r3 dest edits
415
413
 
416
414
  // await respecfully(sir, `r3 verify pre`, async () => {
417
- // await ifWe(sir, 'dest has alpha after R2 graft', async () => {
415
+ // await ifWeMight(sir, 'dest has alpha after R2 graft', async () => {
418
416
  // const kv = await receiverCoordinator.getKnowledgeMap({ space: destSpace, metaspace, domainIbGibs: [r3_v0_graft_fromDest] });
419
417
  // iReckon(sir, !!kv[alpha_tjpAddr]).asTo('dest has tip').isGonnaBeTrue();
420
418
  // });
@@ -430,7 +428,6 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
430
428
  // metaspace,
431
429
  // domainIbGibs: [r3_v1_source.ibGib],
432
430
  // conflictStrategy: SyncConflictStrategy.optimisticWithLCS,
433
- // useSessionIdentity: false,
434
431
  // });
435
432
  // await r3_syncSaga.done;
436
433
  // } catch (e) {
@@ -445,11 +442,11 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
445
442
  // const r3_tip_s = kv_s[alpha_tjpAddr];
446
443
  // const r3_tip_d = kv_d[alpha_tjpAddr];
447
444
 
448
- // await ifWe(sir, 'r3 tip addrs match', async () => {
445
+ // await ifWeMight(sir, 'r3 tip addrs match', async () => {
449
446
  // iReckon(sir, r3_tip_s).asTo('R3 tips match').isGonnaBe(r3_tip_d);
450
447
  // });
451
448
 
452
- // await ifWe(sir, 'r3 both paragraph edits merged', async () => {
449
+ // await ifWeMight(sir, 'r3 both paragraph edits merged', async () => {
453
450
  // const res = await getFromSpace({ space: sourceSpace, addr: r3_tip_s! });
454
451
  // const tip = res.ibGibs![0] as IbGib_V1<TestData>;
455
452
  // const mergedText = tip.data!.text!;
@@ -468,7 +465,7 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
468
465
  // .isGonnaBeTrue();
469
466
  // });
470
467
 
471
- // await ifWe(sir, 'r3 dep graphs synced', async () => {
468
+ // await ifWeMight(sir, 'r3 dep graphs synced', async () => {
472
469
  // const [d] = await getIbGibsFromCache_fallbackToSpaces({ addrs: [r3_tip_s!], space: destSpace });
473
470
  // iReckon(sir, d).asTo('exists dest').isGonnaBeTruthy();
474
471
  // });
@@ -502,7 +499,7 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
502
499
  // // #endregion r4 dest edits
503
500
 
504
501
  // await respecfully(sir, `r4 verify pre`, async () => {
505
- // await ifWe(sir, 'dest has alpha after R3 graft', async () => {
502
+ // await ifWeMight(sir, 'dest has alpha after R3 graft', async () => {
506
503
  // // TODO: Verify pre-sync state
507
504
  // });
508
505
  // });
@@ -512,16 +509,16 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
512
509
  // // TODO: Add sync operation
513
510
 
514
511
  // await respecfully(sir, `r4 verify post`, async () => {
515
- // await ifWe(sir, 'r4 tip addrs match', async () => {
512
+ // await ifWeMight(sir, 'r4 tip addrs match', async () => {
516
513
  // // TODO: Verify tips match
517
514
  // });
518
515
 
519
- // await ifWe(sir, 'r4 LCS merged both word changes', async () => {
516
+ // await ifWeMight(sir, 'r4 LCS merged both word changes', async () => {
520
517
  // // TODO: Verify text has both source and dest word changes
521
518
  // // TODO: Verify LCS algorithm preserved both edits correctly
522
519
  // });
523
520
 
524
- // await ifWe(sir, 'r4 dep graphs synced', async () => {
521
+ // await ifWeMight(sir, 'r4 dep graphs synced', async () => {
525
522
  // // TODO: Verify dep graphs
526
523
  // });
527
524
  // });
@@ -556,7 +553,7 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
556
553
  // // #endregion r5 dest edits
557
554
 
558
555
  // await respecfully(sir, `r5 verify pre`, async () => {
559
- // await ifWe(sir, 'dest has alpha after R4 graft', async () => {
556
+ // await ifWeMight(sir, 'dest has alpha after R4 graft', async () => {
560
557
  // // TODO: Verify pre-sync state
561
558
  // });
562
559
  // });
@@ -566,24 +563,24 @@ await respecfully(sir, `Text merge (LCS) conflict resolution`, async () => {
566
563
  // // TODO: Add sync operation
567
564
 
568
565
  // await respecfully(sir, `r5 verify post`, async () => {
569
- // await ifWe(sir, 'r5 tip addrs match', async () => {
566
+ // await ifWeMight(sir, 'r5 tip addrs match', async () => {
570
567
  // // TODO: Verify tips match
571
568
  // });
572
569
 
573
- // await ifWe(sir, 'r5 text field merged', async () => {
570
+ // await ifWeMight(sir, 'r5 text field merged', async () => {
574
571
  // // TODO: Verify text field has both source and dest changes
575
572
  // });
576
573
 
577
- // await ifWe(sir, 'r5 description field merged', async () => {
574
+ // await ifWeMight(sir, 'r5 description field merged', async () => {
578
575
  // // TODO: Verify description field has both source and dest changes
579
576
  // });
580
577
 
581
- // await ifWe(sir, 'r5 both fields independently LCS-merged', async () => {
578
+ // await ifWeMight(sir, 'r5 both fields independently LCS-merged', async () => {
582
579
  // // TODO: Verify each field was merged independently
583
580
  // // TODO: Ensure one field's merge didn't affect the other
584
581
  // });
585
582
 
586
- // await ifWe(sir, 'r5 dep graphs synced', async () => {
583
+ // await ifWeMight(sir, 'r5 dep graphs synced', async () => {
587
584
  // // TODO: Verify dep graphs
588
585
  // });
589
586
  // });
@@ -1,14 +1,11 @@
1
- import { HashAlgorithm } from "@ibgib/helper-gib/dist/helpers/utils-helper.mjs";
2
- import { ROOT_ADDR } from "@ibgib/ts-gib/dist/V1/constants.mjs";
3
- import { KeystoneReplenishStrategy } from "../keystone/keystone-types.mjs";
4
- import { KEYSTONE_VERB_MANAGE, KEYSTONE_VERB_SIGN, POOL_ID_DEFAULT, POOL_ID_DELEGATE, POOL_ID_TRANSITION } from "../keystone/keystone-constants.mjs";
1
+ // import { ROOT_ADDR } from "@ibgib/ts-gib/dist/V1/constants.mjs";
5
2
 
6
3
  export const SYNC_ATOM = "sync";
7
4
 
8
5
  export const SYNC_MSG_REL8N_NAME = "syncmsg";
9
6
  /**
10
7
  * payload addrs should be domain-only, i.e., we are not including the sync
11
- * saga ibgib, or its message stone, or identity keystones.
8
+ * saga ibgib, or its message stone.
12
9
  */
13
10
  export const SYNC_SAGA_PAYLOAD_ADDRS_DOMAIN = "@payloadAddrsDomain";
14
11
 
@@ -80,60 +77,3 @@ export function isValidSyncConflictStrategy(strategy: string): strategy is SyncC
80
77
  return SYNC_CONFLICT_STRATEGY_VALID_VALUES.includes(strategy as SyncConflictStrategy);
81
78
  }
82
79
  // #endregion SyncConflictStrategy
83
-
84
- /**
85
- * to be used by the sender
86
- */
87
- export const SESSION_IDENTITY_KEYSTONE_PRIMARY_POOL_ID = POOL_ID_DEFAULT;
88
- /**
89
- * single use pool
90
- */
91
- export const SESSION_IDENTITY_KEYSTONE_TRANSITION_POOL_ID = POOL_ID_TRANSITION;
92
- /**
93
- * to be used by the receiver, created via the single-use transition pool.
94
- */
95
- export const SESSION_IDENTITY_KEYSTONE_DELEGATE_POOL_ID = POOL_ID_DELEGATE;
96
- /**
97
- * When synchronizing, the plan for identity integration is to create a session
98
- * keystone. This keystone will have a primary pool, driven by the sender's
99
- * secret, and a secondary delegated pool for use by the receiver. Initially,
100
- * this will have a known, weak "secret" and it is the job of the receiver to
101
- * use this to then change the keystone to use a secret chosen by the
102
- * receiver's end.
103
- */
104
- export const SESSION_IDENTITY_KEYSTONE_SECRET_TRANSITIONPOOL = ROOT_ADDR;
105
-
106
- /**
107
- * has to be big enough to avoid our currently poor (atow 02/24/2026)
108
- * implementation of the binding target.
109
- */
110
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_SIZE = 100;
111
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_ALGO = HashAlgorithm.sha_256;
112
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_ROUNDS = 3;
113
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_RANDOM = 2;
114
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_SEQUENTIAL = 2;
115
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_TARGET_BINDING = 4;
116
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_REPLENISH_STRATEGY = KeystoneReplenishStrategy.topUp;
117
- /**
118
- * verbs associated with primary/sender participant.
119
- *
120
- * todo: would be slightly cleaner to have the sender/primary genesis with two pools, one for signing and one being one-time manage use (to add the transition pool) just like the transition pool, but this is a finesse and not for V1. Still it is neat that this possibility/mechanism exists.
121
- */
122
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_VERBS_PRIMARY = [KEYSTONE_VERB_MANAGE];
123
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_VERBS_DELEGATE = [KEYSTONE_VERB_SIGN];
124
-
125
- /**
126
- * transition pool is purposefully weak with a known password.
127
- */
128
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_SIZE_TRANSITIONPOOL = 1;
129
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_ALGO_TRANSITIONPOOL = HashAlgorithm.sha_256;
130
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_ROUNDS_TRANSITIONPOOL = 1;
131
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_RANDOM_TRANSITIONPOOL = 0;
132
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_SEQUENTIAL_TRANSITIONPOOL = 1;
133
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_TARGET_BINDING_TRANSITIONPOOL = 0;
134
- /**
135
- * This pool is to be used only once, by the receiver, in order for the receiver
136
- * to create their own pool.
137
- */
138
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_REPLENISH_STRATEGY_TRANSITIONPOOL = KeystoneReplenishStrategy.deleteAll;
139
- export const SESSION_IDENTITY_KEYSTONE_CONFIG_VERBS_TRANSITIONPOOL = [KEYSTONE_VERB_MANAGE];
@@ -16,7 +16,6 @@ import {
16
16
  import { IbGibSpaceAny } from "../witness/space/space-base-v1.mjs";
17
17
  import { getFromSpace, putInSpace } from "../witness/space/space-helper.mjs";
18
18
  import { IbGibSpaceResultData, IbGibSpaceResultIbGib, IbGibSpaceResultRel8ns } from "../witness/space/space-types.mjs";
19
- import { KeystoneIbGib_V1 } from "../keystone/keystone-types.mjs";
20
19
  import { SyncSagaConflictInfo, SyncSagaMessageCommitData_V1, SyncSagaMessageDeltaData_V1, SyncSagaMessageIbGib_V1 } from "./sync-saga-message/sync-saga-message-types.mjs";
21
20
  import { getIbGibsFromCache_fallbackToSpaces } from "../common/other/ibgib-helper.mjs";
22
21
  import { isGraftInfo } from "./graft-info/graft-info-helpers.mjs";
@@ -166,7 +165,6 @@ export async function isPastFrame({
166
165
  * It only retrieves the *content* of the current frame:
167
166
  * 1. The Frame itself.
168
167
  * 2. The Message Stone(s) (`rel8ns.msg`).
169
- * 3. The Identity(s) (`rel8ns.identity`).
170
168
  *
171
169
  * This is used for efficient transmission of the "Current Step" without re-sending the entire history.
172
170
  */
@@ -203,12 +201,7 @@ export async function getSyncSagaFrameDependencyGraph({
203
201
  const msgStoneAddrs = sagaIbGib.rel8ns[SYNC_MSG_REL8N_NAME]!;
204
202
  const msgStones = await fnGet(msgStoneAddrs) as SyncSagaMessageIbGib_V1[];
205
203
 
206
- // identities
207
- const identities = sagaIbGib.rel8ns.identity && sagaIbGib.rel8ns.identity.length > 0 ?
208
- await fnGet(sagaIbGib.rel8ns.identity) as KeystoneIbGib_V1[] :
209
- [];
210
-
211
- return { sagaIbGib, msgStones, identities, };
204
+ return { sagaIbGib, msgStones, };
212
205
  }
213
206
 
214
207
  /**