dsh-memory-bond 0.3.0-beta.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/CHANGELOG.md +6 -7
  2. package/README.md +125 -91
  3. package/README.zh-CN.md +122 -92
  4. package/SECURITY.md +29 -0
  5. package/dist/audit.js +155 -80
  6. package/dist/automatic.js +10 -2
  7. package/dist/client.js +2035 -0
  8. package/dist/command-scope.js +4 -4
  9. package/dist/commands.js +15 -9
  10. package/dist/consolidation-store.js +87 -20
  11. package/dist/consolidation.js +2 -6
  12. package/dist/domain.js +8 -4
  13. package/dist/encoder.js +46 -5
  14. package/dist/file-import-store.js +120 -0
  15. package/dist/file-import.js +265 -0
  16. package/dist/foreground-attempts.js +91 -0
  17. package/dist/guidance.js +133 -92
  18. package/dist/host.js +13 -0
  19. package/dist/index-policy.js +91 -48
  20. package/dist/index.js +102 -40
  21. package/dist/knowledge-hooks.js +70 -27
  22. package/dist/knowledge.js +2 -3
  23. package/dist/maintenance-store.js +38 -4
  24. package/dist/maintenance.js +29 -5
  25. package/dist/personal.js +37 -0
  26. package/dist/policy.js +45 -47
  27. package/dist/prompt-copy.js +93 -0
  28. package/dist/proposal-receipts.js +70 -0
  29. package/dist/proposal-review.js +656 -0
  30. package/dist/propose-contract.js +32 -36
  31. package/dist/question-answers.js +86 -29
  32. package/dist/retrieval.js +25 -8
  33. package/dist/scope-narrowing.js +49 -0
  34. package/dist/search-index.js +93 -13
  35. package/dist/semantic.js +69 -207
  36. package/dist/service.js +633 -204
  37. package/dist/sharing.js +7 -13
  38. package/dist/sources.js +28 -3
  39. package/dist/store.js +432 -96
  40. package/dist/tool-experience.js +87 -0
  41. package/dist/turn-review-store.js +83 -16
  42. package/dist/turn-review.js +155 -59
  43. package/dist/ui.js +128 -26
  44. package/dist/vector-index.js +69 -33
  45. package/docs/architecture.zh-CN.md +52 -0
  46. package/docs/benchmark.zh-CN.md +60 -0
  47. package/docs/benchmarks/repository-tasks.json +5355 -0
  48. package/docs/images/bond-memory-principle-en.svg +644 -0
  49. package/docs/images/bond-memory-principle-zh.svg +644 -0
  50. package/docs/images/bond-memory-principle.drawio +644 -0
  51. package/docs/images/memory-settings-en.png +0 -0
  52. package/docs/images/memory-settings-zh.png +0 -0
  53. package/docs/images/memory-turn-recalled-en.png +0 -0
  54. package/docs/images/memory-turn-recalled-zh.png +0 -0
  55. package/docs/images/memory-turn-saved-en.png +0 -0
  56. package/docs/images/memory-turn-saved-zh.png +0 -0
  57. package/docs/media/memory-bond-name-en.gif +0 -0
  58. package/docs/media/memory-bond-name-en.mp4 +0 -0
  59. package/docs/media/memory-bond-name-zh.gif +0 -0
  60. package/docs/media/memory-bond-name-zh.mp4 +0 -0
  61. package/locale/detail.en.md +5 -1
  62. package/locale/detail.zh.md +5 -1
  63. package/locale/en.json +338 -0
  64. package/locale/zh.json +338 -0
  65. package/native/embeddings/NOTICE.md +2 -2
  66. package/package.json +39 -19
  67. package/scripts/benchmark-bond.mjs +72 -0
  68. package/scripts/benchmark-conditions.mjs +144 -0
  69. package/scripts/benchmark-example.mjs +37 -0
  70. package/scripts/benchmark-scale.mjs +119 -0
  71. package/scripts/benchmark-scenarios.mjs +57 -0
  72. package/scripts/benchmark-tasks.mjs +244 -0
  73. package/src/audit.ts +144 -85
  74. package/src/automatic.ts +12 -2
  75. package/src/command-scope.ts +4 -4
  76. package/src/commands.ts +12 -8
  77. package/src/consolidation-store.ts +80 -18
  78. package/src/consolidation.ts +2 -6
  79. package/src/domain.ts +9 -4
  80. package/src/encoder.ts +46 -6
  81. package/src/file-import-store.ts +139 -0
  82. package/src/file-import.ts +256 -0
  83. package/src/foreground-attempts.ts +97 -0
  84. package/src/guidance.ts +138 -102
  85. package/src/host.ts +22 -2
  86. package/src/index-policy.ts +93 -46
  87. package/src/index.ts +87 -43
  88. package/src/knowledge-hooks.ts +71 -29
  89. package/src/knowledge.ts +2 -3
  90. package/src/maintenance-store.ts +37 -4
  91. package/src/maintenance.ts +25 -5
  92. package/src/personal.ts +36 -0
  93. package/src/policy.ts +55 -52
  94. package/src/prompt-copy.ts +99 -0
  95. package/src/proposal-receipts.ts +59 -0
  96. package/src/proposal-review.ts +614 -0
  97. package/src/propose-contract.ts +31 -35
  98. package/src/question-answers.ts +99 -29
  99. package/src/retrieval.ts +26 -9
  100. package/src/scope-narrowing.ts +58 -0
  101. package/src/search-index.ts +94 -14
  102. package/src/semantic.ts +67 -188
  103. package/src/service.ts +595 -210
  104. package/src/sharing.ts +7 -14
  105. package/src/sources.ts +26 -4
  106. package/src/store.ts +434 -97
  107. package/src/tool-experience.ts +93 -0
  108. package/src/turn-review-store.ts +86 -15
  109. package/src/turn-review.ts +142 -60
  110. package/src/ui.ts +122 -27
  111. package/src/vector-index.ts +57 -29
  112. package/client/index.js +0 -1186
  113. package/design/dsh-memory-plugin-design.md +0 -46
  114. package/design/dsh-memory-plugin-evaluation.md +0 -135
  115. package/design/evaluations/locomo-conv-26-2026-12-03.json +0 -252
  116. package/design/evaluations/locomo-conv-26-paired-2026-12-03.json +0 -549
  117. package/design/evaluations/locomo-conv-26-write-replay-2026-12-03.json +0 -289
  118. package/design/evaluations/project-memory-tasks-2026-12-03.json +0 -1059
  119. package/design/memory-lifecycle-consolidation.excalidraw +0 -1212
  120. package/design/memory-lifecycle-consolidation.mobile.excalidraw +0 -1083
  121. package/design/memory-lifecycle-consolidation.mobile.svg +0 -2
  122. package/design/memory-lifecycle-consolidation.mobile.zh-CN.excalidraw +0 -1083
  123. package/design/memory-lifecycle-consolidation.mobile.zh-CN.svg +0 -94
  124. package/design/memory-lifecycle-consolidation.svg +0 -2
  125. package/design/memory-lifecycle-consolidation.zh-CN.excalidraw +0 -1212
  126. package/design/memory-lifecycle-consolidation.zh-CN.svg +0 -94
  127. package/design/memory-lifecycle.excalidraw +0 -2105
  128. package/design/memory-lifecycle.mobile.excalidraw +0 -1896
  129. package/design/memory-lifecycle.mobile.svg +0 -95
  130. package/design/memory-lifecycle.mobile.zh-CN.excalidraw +0 -1896
  131. package/design/memory-lifecycle.mobile.zh-CN.svg +0 -97
  132. package/design/memory-lifecycle.svg +0 -95
  133. package/design/memory-lifecycle.zh-CN.excalidraw +0 -2105
  134. package/design/memory-lifecycle.zh-CN.svg +0 -97
  135. package/native/embeddings/LICENSE +0 -21
  136. package/native/embeddings/en/model.onnx +0 -4
  137. package/native/embeddings/en/vocab.txt +0 -30522
  138. package/native/embeddings/runtime/LICENSE +0 -21
  139. package/native/embeddings/runtime/ThirdPartyNotices.txt +0 -6156
  140. package/native/embeddings/runtime/ort-wasm-simd-threaded.mjs +0 -70
  141. package/native/embeddings/runtime/ort-wasm-simd-threaded.wasm +0 -0
  142. package/native/embeddings/runtime/ort.wasm.min.mjs +0 -7
  143. package/native/embeddings/worker.mjs +0 -97
  144. package/native/embeddings/zh/model.onnx +0 -0
  145. package/native/embeddings/zh/vocab.txt +0 -21128
@@ -1,2 +0,0 @@
1
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 629" width="384" height="629" lang="en" role="img" aria-labelledby="consolidation-title consolidation-desc"><title id="consolidation-title">Periodic cross-session consolidation</title><desc id="consolidation-desc">Consolidation is off by default. After a writable project chat completes a turn, the first idle check waits about 1.5 seconds. Checks repeat about hourly while the chat stays idle. SQLite scans existing memories in batches, then uses a saved cursor to match new or revised entries against earlier ones. No eligible pair means zero model calls. The model compares at most one eligible pair per project per hour. If it flags a duplicate, the user can keep both entries or withdraw one.</desc><!-- svg-source:excalidraw --><metadata></metadata><defs><style class="style-fonts">
2
- </style></defs><rect x="0" y="0" width="384" height="629" fill="#f7f9f8"></rect><g stroke-linecap="round" transform="translate(1 1) rotate(0 191 313.5)"><path d="M0 0 L382 0 L382 627 L0 627" stroke="none" stroke-width="0" fill="#f7f9f8"></path><path d="M0 0 C92.45 0, 184.9 0, 382 0 M0 0 C97.11 0, 194.21 0, 382 0 M382 0 C382 223.94, 382 447.88, 382 627 M382 0 C382 239.34, 382 478.67, 382 627 M382 627 C267.54 627, 153.09 627, 0 627 M382 627 C252.99 627, 123.98 627, 0 627 M0 627 C0 459.53, 0 292.06, 0 0 M0 627 C0 426.88, 0 226.76, 0 0" stroke="#c6d3d2" stroke-width="1" fill="none"></path></g><g transform="translate(19 14) rotate(0 115.039306640625 26.450000000000003)"><text x="0" y="19.43544921875" font-family="Helvetica, Arial, sans-serif" font-size="23px" fill="#172d33" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Periodic cross-session</text><text x="0" y="45.88544921875" font-family="Helvetica, Arial, sans-serif" font-size="23px" fill="#172d33" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">consolidation</text></g><g stroke-linecap="round" transform="translate(245 45) rotate(0 60 14.5)"><path d="M0 0 L120 0 L120 29 L0 29" stroke="none" stroke-width="0" fill="#e9f1ee"></path><path d="M0 0 C33.27 0, 66.54 0, 120 0 M0 0 C30.45 0, 60.9 0, 120 0 M120 0 C120 11.38, 120 22.77, 120 29 M120 0 C120 9.79, 120 19.58, 120 29 M120 29 C72.99 29, 25.98 29, 0 29 M120 29 C93.52 29, 67.03 29, 0 29 M0 29 C0 22.78, 0 16.56, 0 0 M0 29 C0 19.2, 0 9.4, 0 0" stroke="#b8c9c3" stroke-width="1" fill="none"></path></g><g transform="translate(256 50) rotate(0 44.476318359375 8.625)"><text x="0" y="12.67529296875" font-family="Helvetica, Arial, sans-serif" font-size="15px" fill="#465c62" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Off by default</text></g><g stroke-linecap="round"><g transform="translate(19 89) rotate(0 173 0)"><path d="M0 0 C108.11 0, 216.22 0, 346 0 M0 0 C87.65 0, 175.29 0, 346 0" stroke="#c6d3d2" stroke-width="1.5" fill="none"></path></g></g><mask></mask><g transform="translate(19 101) rotate(0 103.9501953125 11.5)"><text x="0" y="16.900390625" font-family="Helvetica, Arial, sans-serif" font-size="20px" fill="#172d33" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">A project chat goes idle</text></g><g transform="translate(19 131) rotate(0 140.6390380859375 17.825000000000003)"><text x="0" y="13.097802734375" font-family="Helvetica, Arial, sans-serif" font-size="15.5px" fill="#465c62" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">First check ~1.5 s after a completed turn.</text><text x="0" y="30.922802734374997" font-family="Helvetica, Arial, sans-serif" font-size="15.5px" fill="#465c62" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">A new turn pauses checks.</text></g><g stroke-linecap="round"><g transform="translate(36 173.5) rotate(0 0 9)"><path d="M0 0 C0 6.58, 0 13.15, 0 18 M0 0 C0 4.55, 0 9.1, 0 18" stroke="#08665a" stroke-width="1.8" fill="none"></path></g><g transform="translate(36 173.5) rotate(0 0 9)"><path d="M-3.08 9.54 C-1.95 12.63, -0.83 15.72, 0 18 M-3.08 9.54 C-2.3 11.68, -1.52 13.82, 0 18" stroke="#08665a" stroke-width="1.8" fill="none"></path></g><g transform="translate(36 173.5) rotate(0 0 9)"><path d="M3.08 9.54 C1.95 12.63, 0.83 15.72, 0 18 M3.08 9.54 C2.3 11.68, 1.52 13.82, 0 18" stroke="#08665a" stroke-width="1.8" fill="none"></path></g></g><mask></mask><g stroke-linecap="round" transform="translate(19 199) rotate(0 159.5 64.5)"><path d="M0 0 L319 0 L319 129 L0 129" stroke="none" stroke-width="0" fill="#123c3b"></path><path d="M0 0 C122.14 0, 244.28 0, 319 0 M0 0 C80.52 0, 161.05 0, 319 0 M319 0 C319 38.54, 319 77.08, 319 129 M319 0 C319 26.51, 319 53.03, 319 129 M319 129 C233.48 129, 147.97 129, 0 129 M319 129 C233.01 129, 147.01 129, 0 129 M0 129 C0 95.93, 0 62.85, 0 0 M0 129 C0 78.13, 0 27.27, 0 0" stroke="#123c3b" stroke-width="1" fill="none"></path></g><g transform="translate(33 209) rotate(0 81.1572265625 11.5)"><text x="0" y="16.900390625" font-family="Helvetica, Arial, sans-serif" font-size="20px" fill="#ffffff" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Local SQLite scan</text></g><g transform="translate(33 242) rotate(0 133.390625 9.199999999999989)"><text x="0" y="13.5203125" font-family="Helvetica, Arial, sans-serif" font-size="16px" fill="#9ce9cb" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">First, scan existing entries in batches.</text></g><g transform="translate(33 266) rotate(0 135.19140625 18.400000000000006)"><text x="0" y="13.5203125" font-family="Helvetica, Arial, sans-serif" font-size="16px" fill="#d3eae6" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Then match changes to older entries</text><text x="0" y="31.920312499999998" font-family="Helvetica, Arial, sans-serif" font-size="16px" fill="#d3eae6" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">about the same subject in other chats.</text></g><g stroke-linecap="round"><g transform="translate(346 232.5) rotate(0 -90 67.75)"><path d="M0 0 C4.56 0.13, 9.12 0.25, 18 0.5 M0 0 C4.53 0.13, 9.06 0.25, 18 0.5 M18 0.5 C18 50.39, 18 100.28, 18 135.5 M18 0.5 C18 43.36, 18 86.21, 18 135.5 M18 135.5 C-36.5 135.5, -90.99 135.5, -198 135.5 M18 135.5 C-32.87 135.5, -83.73 135.5, -198 135.5 M-198 135.5 C-198 124.44, -198 113.39, -198 104 M-198 135.5 C-198 128.2, -198 120.89, -198 104" stroke="#08665a" stroke-width="2" fill="none"></path></g><g transform="translate(346 232.5) rotate(0 -90 67.75)"><path d="M-192.61 118.8 C-193.98 115.05, -195.34 111.3, -198 104 M-192.61 118.8 C-193.97 115.08, -195.32 111.35, -198 104" stroke="#08665a" stroke-width="2" fill="none"></path></g><g transform="translate(346 232.5) rotate(0 -90 67.75)"><path d="M-203.39 118.8 C-202.02 115.05, -200.66 111.3, -198 104 M-203.39 118.8 C-202.03 115.08, -200.68 111.35, -198 104" stroke="#08665a" stroke-width="2" fill="none"></path></g></g><mask></mask><g transform="translate(164 340) rotate(0 88.163818359375 8.912499999999994)"><text x="0" y="13.097802734375" font-family="Helvetica, Arial, sans-serif" font-size="15.5px" fill="#08665a" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Still idle? Recheck hourly.</text></g><g stroke-linecap="round"><g transform="translate(36 336) rotate(0 0 32)"><path d="M0 0 C0 18.47, 0 36.93, 0 64 M0 0 C0 16.07, 0 32.14, 0 64" stroke="#53696f" stroke-width="1.7" fill="none"></path></g></g><mask></mask><g stroke-linecap="round" transform="translate(33 397) rotate(0 3 3)"><path d="M6 3 C6 3.17, 5.98 3.35, 5.95 3.52 C5.92 3.69, 5.88 3.86, 5.82 4.03 C5.76 4.19, 5.68 4.35, 5.6 4.5 C5.51 4.65, 5.41 4.8, 5.3 4.93 C5.19 5.06, 5.06 5.19, 4.93 5.3 C4.8 5.41, 4.65 5.51, 4.5 5.6 C4.35 5.68, 4.19 5.76, 4.03 5.82 C3.86 5.88, 3.69 5.92, 3.52 5.95 C3.35 5.98, 3.17 6, 3 6 C2.83 6, 2.65 5.98, 2.48 5.95 C2.31 5.92, 2.14 5.88, 1.97 5.82 C1.81 5.76, 1.65 5.68, 1.5 5.6 C1.35 5.51, 1.2 5.41, 1.07 5.3 C0.94 5.19, 0.81 5.06, 0.7 4.93 C0.59 4.8, 0.49 4.65, 0.4 4.5 C0.32 4.35, 0.24 4.19, 0.18 4.03 C0.12 3.86, 0.08 3.69, 0.05 3.52 C0.02 3.35, 0 3.17, 0 3 C0 2.83, 0.02 2.65, 0.05 2.48 C0.08 2.31, 0.12 2.14, 0.18 1.97 C0.24 1.81, 0.32 1.65, 0.4 1.5 C0.49 1.35, 0.59 1.2, 0.7 1.07 C0.81 0.94, 0.94 0.81, 1.07 0.7 C1.2 0.59, 1.35 0.49, 1.5 0.4 C1.65 0.32, 1.81 0.24, 1.97 0.18 C2.14 0.12, 2.31 0.08, 2.48 0.05 C2.65 0.02, 2.83 0, 3 0 C3.17 0, 3.35 0.02, 3.52 0.05 C3.69 0.08, 3.86 0.12, 4.03 0.18 C4.19 0.24, 4.35 0.32, 4.5 0.4 C4.65 0.49, 4.8 0.59, 4.93 0.7 C5.06 0.81, 5.19 0.94, 5.3 1.07 C5.41 1.2, 5.51 1.35, 5.6 1.5 C5.68 1.65, 5.76 1.81, 5.82 1.97 C5.88 2.14, 5.92 2.31, 5.95 2.48 C5.98 2.65, 5.99 2.91, 6 3 C6.01 3.09, 6.01 2.91, 6 3" stroke="none" stroke-width="0" fill="#53696f"></path><path d="M6 3 C6 3.17, 5.98 3.35, 5.95 3.52 C5.92 3.69, 5.88 3.86, 5.82 4.03 C5.76 4.19, 5.68 4.35, 5.6 4.5 C5.51 4.65, 5.41 4.8, 5.3 4.93 C5.19 5.06, 5.06 5.19, 4.93 5.3 C4.8 5.41, 4.65 5.51, 4.5 5.6 C4.35 5.68, 4.19 5.76, 4.03 5.82 C3.86 5.88, 3.69 5.92, 3.52 5.95 C3.35 5.98, 3.17 6, 3 6 C2.83 6, 2.65 5.98, 2.48 5.95 C2.31 5.92, 2.14 5.88, 1.97 5.82 C1.81 5.76, 1.65 5.68, 1.5 5.6 C1.35 5.51, 1.2 5.41, 1.07 5.3 C0.94 5.19, 0.81 5.06, 0.7 4.93 C0.59 4.8, 0.49 4.65, 0.4 4.5 C0.32 4.35, 0.24 4.19, 0.18 4.03 C0.12 3.86, 0.08 3.69, 0.05 3.52 C0.02 3.35, 0 3.17, 0 3 C0 2.83, 0.02 2.65, 0.05 2.48 C0.08 2.31, 0.12 2.14, 0.18 1.97 C0.24 1.81, 0.32 1.65, 0.4 1.5 C0.49 1.35, 0.59 1.2, 0.7 1.07 C0.81 0.94, 0.94 0.81, 1.07 0.7 C1.2 0.59, 1.35 0.49, 1.5 0.4 C1.65 0.32, 1.81 0.24, 1.97 0.18 C2.14 0.12, 2.31 0.08, 2.48 0.05 C2.65 0.02, 2.83 0, 3 0 C3.17 0, 3.35 0.02, 3.52 0.05 C3.69 0.08, 3.86 0.12, 4.03 0.18 C4.19 0.24, 4.35 0.32, 4.5 0.4 C4.65 0.49, 4.8 0.59, 4.93 0.7 C5.06 0.81, 5.19 0.94, 5.3 1.07 C5.41 1.2, 5.51 1.35, 5.6 1.5 C5.68 1.65, 5.76 1.81, 5.82 1.97 C5.88 2.14, 5.92 2.31, 5.95 2.48 C5.98 2.65, 5.99 2.91, 6 3 C6.01 3.09, 6.01 2.91, 6 3" stroke="#53696f" stroke-width="1.8" fill="none"></path></g><g stroke-linecap="round"><g transform="translate(40.5 400) rotate(0 18.5 0)"><path d="M0 0 C11.98 0, 23.96 0, 37 0 M0 0 C9.27 0, 18.55 0, 37 0" stroke="#53696f" stroke-width="1.7" fill="none"></path></g><g transform="translate(40.5 400) rotate(0 18.5 0)"><path d="M19.62 6.33 C25.24 4.28, 30.87 2.23, 37 0 M19.62 6.33 C23.97 4.74, 28.33 3.16, 37 0" stroke="#53696f" stroke-width="1.7" fill="none"></path></g><g transform="translate(40.5 400) rotate(0 18.5 0)"><path d="M19.62 -6.33 C25.24 -4.28, 30.87 -2.23, 37 0 M19.62 -6.33 C23.97 -4.74, 28.33 -3.16, 37 0" stroke="#53696f" stroke-width="1.7" fill="none"></path></g></g><mask></mask><g transform="translate(90 386) rotate(0 93.984130859375 10.925000000000011)"><text x="0" y="16.055371093749997" font-family="Helvetica, Arial, sans-serif" font-size="19px" fill="#465c62" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">No pair · 0 model calls</text></g><g stroke-linecap="round"><g transform="translate(36 404.5) rotate(0 0 18)"><path d="M0 0 C0 12.92, 0 25.85, 0 36 M0 0 C0 9.01, 0 18.01, 0 36" stroke="#08665a" stroke-width="1.9" fill="none"></path></g><g transform="translate(36 404.5) rotate(0 0 18)"><path d="M-6.16 19.09 C-3.95 25.16, -1.74 31.23, 0 36 M-6.16 19.09 C-4.62 23.32, -3.08 27.55, 0 36" stroke="#08665a" stroke-width="1.9" fill="none"></path></g><g transform="translate(36 404.5) rotate(0 0 18)"><path d="M6.16 19.09 C3.95 25.16, 1.74 31.23, 0 36 M6.16 19.09 C4.62 23.32, 3.08 27.55, 0 36" stroke="#08665a" stroke-width="1.9" fill="none"></path></g></g><mask></mask><g stroke-linecap="round" transform="translate(19 449) rotate(0 173 46)"><path d="M0 0 L346 0 L346 92 L0 92" stroke="none" stroke-width="0" fill="#e9f1ee"></path><path d="M0 0 C130.3 0, 260.6 0, 346 0 M0 0 C86.49 0, 172.98 0, 346 0 M346 0 C346 27, 346 53.99, 346 92 M346 0 C346 33.42, 346 66.85, 346 92 M346 92 C216.36 92, 86.72 92, 0 92 M346 92 C233.25 92, 120.51 92, 0 92 M0 92 C0 67.47, 0 42.94, 0 0 M0 92 C0 55.42, 0 18.84, 0 0" stroke="#a8c0b6" stroke-width="1" fill="none"></path></g><g transform="translate(33 456) rotate(0 40.0631103515625 8.912499999999994)"><text x="0" y="13.097802734375" font-family="Helvetica, Arial, sans-serif" font-size="15.5px" fill="#465c62" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Eligible pair</text></g><g transform="translate(33 481) rotate(0 143.935546875 11.5)"><text x="0" y="16.900390625" font-family="Helvetica, Arial, sans-serif" font-size="20px" fill="#172d33" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Model compares two summaries</text></g><g stroke-linecap="round"><g transform="translate(36 549.5) rotate(0 0 15)"><path d="M0 0 C0 6.88, 0 13.77, 0 30 M0 0 C0 7.48, 0 14.96, 0 30" stroke="#08665a" stroke-width="1.9" fill="none"></path></g><g transform="translate(36 549.5) rotate(0 0 15)"><path d="M-5.13 15.9 C-3.95 19.14, -2.78 22.37, 0 30 M-5.13 15.9 C-3.85 19.42, -2.57 22.93, 0 30" stroke="#08665a" stroke-width="1.9" fill="none"></path></g><g transform="translate(36 549.5) rotate(0 0 15)"><path d="M5.13 15.9 C3.95 19.14, 2.78 22.37, 0 30 M5.13 15.9 C3.85 19.42, 2.57 22.93, 0 30" stroke="#08665a" stroke-width="1.9" fill="none"></path></g></g><mask></mask><g transform="translate(55 562) rotate(0 85.5615234375 10.350000000000023)"><text x="0" y="15.2103515625" font-family="Helvetica, Arial, sans-serif" font-size="18px" fill="#172d33" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">If flagged, you decide</text></g><g transform="translate(55 592) rotate(0 123.62890625 9.199999999999989)"><text x="0" y="13.5203125" font-family="Helvetica, Arial, sans-serif" font-size="16px" fill="#465c62" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">Keep both entries or withdraw one.</text></g><g transform="translate(33 511) rotate(0 126.217529296875 8.912500000000023)"><text x="0" y="13.097802734375" font-family="Helvetica, Arial, sans-serif" font-size="15.5px" fill="#465c62" text-anchor="start" style="white-space: pre;" direction="ltr" dominant-baseline="alphabetic">At most one pair per project per hour</text></g></svg>