@cleocode/core 2026.7.2 → 2026.8.1

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 (167) hide show
  1. package/dist/conduit/local-transport.d.ts +3 -6
  2. package/dist/conduit/local-transport.d.ts.map +1 -1
  3. package/dist/conduit/local-transport.js +6 -7
  4. package/dist/conduit/local-transport.js.map +1 -1
  5. package/dist/db/index.d.ts +15 -1
  6. package/dist/db/index.d.ts.map +1 -1
  7. package/dist/db/index.js +15 -1
  8. package/dist/db/index.js.map +1 -1
  9. package/dist/docs/export-document.js +16032 -22124
  10. package/dist/docs/export-document.js.map +3 -3
  11. package/dist/goal/store.d.ts.map +1 -1
  12. package/dist/goal/store.js.map +1 -1
  13. package/dist/hooks/payload-schemas.d.ts +9 -9
  14. package/dist/llm/pi/pi-session-storage.d.ts.map +1 -1
  15. package/dist/llm/pi/pi-session-storage.js +6 -1
  16. package/dist/llm/pi/pi-session-storage.js.map +1 -1
  17. package/dist/llm/plugin-facade.js +5532 -16583
  18. package/dist/llm/plugin-facade.js.map +3 -3
  19. package/dist/memory/brain-links.d.ts +26 -2
  20. package/dist/memory/brain-links.d.ts.map +1 -1
  21. package/dist/memory/brain-links.js +65 -19
  22. package/dist/memory/brain-links.js.map +1 -1
  23. package/dist/memory/brain-writer-thread.d.ts.map +1 -1
  24. package/dist/memory/brain-writer-thread.js +31 -40
  25. package/dist/memory/brain-writer-thread.js.map +1 -1
  26. package/dist/memory/claude-mem-migration.d.ts.map +1 -1
  27. package/dist/memory/claude-mem-migration.js +7 -1
  28. package/dist/memory/claude-mem-migration.js.map +1 -1
  29. package/dist/memory/dialectic-evaluator.d.ts +11 -6
  30. package/dist/memory/dialectic-evaluator.d.ts.map +1 -1
  31. package/dist/memory/dialectic-evaluator.js +8 -2
  32. package/dist/memory/dialectic-evaluator.js.map +1 -1
  33. package/dist/memory/graph-memory-bridge.d.ts.map +1 -1
  34. package/dist/memory/graph-memory-bridge.js +3 -1
  35. package/dist/memory/graph-memory-bridge.js.map +1 -1
  36. package/dist/memory/learnings.d.ts +8 -8
  37. package/dist/memory/patterns.d.ts +14 -14
  38. package/dist/memory/retrieval/build-retrieval-bundle.d.ts +1 -1
  39. package/dist/memory/retrieval/build-retrieval-bundle.d.ts.map +1 -1
  40. package/dist/memory/retrieval/build-retrieval-bundle.js.map +1 -1
  41. package/dist/memory/retrieval/observe.d.ts.map +1 -1
  42. package/dist/memory/retrieval/observe.js +31 -16
  43. package/dist/memory/retrieval/observe.js.map +1 -1
  44. package/dist/memory/session-memory.d.ts.map +1 -1
  45. package/dist/memory/session-memory.js +35 -1
  46. package/dist/memory/session-memory.js.map +1 -1
  47. package/dist/nexus/migrations/M-split-graph.d.ts.map +1 -1
  48. package/dist/nexus/migrations/M-split-graph.js +4 -1
  49. package/dist/nexus/migrations/M-split-graph.js.map +1 -1
  50. package/dist/nexus/sigil.d.ts +1 -2
  51. package/dist/nexus/sigil.d.ts.map +1 -1
  52. package/dist/nexus/user-profile.d.ts +1 -2
  53. package/dist/nexus/user-profile.d.ts.map +1 -1
  54. package/dist/orchestration/spawn-prompt.d.ts.map +1 -1
  55. package/dist/orchestration/spawn-prompt.js +4 -2
  56. package/dist/orchestration/spawn-prompt.js.map +1 -1
  57. package/dist/scaffold/ensure-skills.d.ts.map +1 -1
  58. package/dist/scaffold/ensure-skills.js +67 -0
  59. package/dist/scaffold/ensure-skills.js.map +1 -1
  60. package/dist/selfimprove/dhq-adapter.d.ts.map +1 -1
  61. package/dist/selfimprove/dhq-adapter.js +6 -2
  62. package/dist/selfimprove/dhq-adapter.js.map +1 -1
  63. package/dist/selfimprove/fix-gen.js +5635 -16565
  64. package/dist/selfimprove/fix-gen.js.map +3 -3
  65. package/dist/store/agent-registry-store.d.ts.map +1 -1
  66. package/dist/store/agent-registry-store.js +1 -2
  67. package/dist/store/agent-registry-store.js.map +1 -1
  68. package/dist/store/background-jobs.d.ts +1 -2
  69. package/dist/store/background-jobs.d.ts.map +1 -1
  70. package/dist/store/background-jobs.js.map +1 -1
  71. package/dist/store/conduit-sqlite.d.ts.map +1 -1
  72. package/dist/store/conduit-sqlite.js +1 -2
  73. package/dist/store/conduit-sqlite.js.map +1 -1
  74. package/dist/store/cross-db-cleanup.d.ts +38 -0
  75. package/dist/store/cross-db-cleanup.d.ts.map +1 -1
  76. package/dist/store/cross-db-cleanup.js +125 -0
  77. package/dist/store/cross-db-cleanup.js.map +1 -1
  78. package/dist/store/db-helpers.d.ts +1 -2
  79. package/dist/store/db-helpers.d.ts.map +1 -1
  80. package/dist/store/dual-scope-db.d.ts +304 -4
  81. package/dist/store/dual-scope-db.d.ts.map +1 -1
  82. package/dist/store/dual-scope-db.js +647 -262
  83. package/dist/store/dual-scope-db.js.map +1 -1
  84. package/dist/store/memory-accessor.d.ts +1 -1
  85. package/dist/store/memory-accessor.d.ts.map +1 -1
  86. package/dist/store/memory-accessor.js.map +1 -1
  87. package/dist/store/memory-sqlite.d.ts +1 -1
  88. package/dist/store/memory-sqlite.d.ts.map +1 -1
  89. package/dist/store/memory-sqlite.js +18 -7
  90. package/dist/store/memory-sqlite.js.map +1 -1
  91. package/dist/store/migration-manager.d.ts +7 -4
  92. package/dist/store/migration-manager.d.ts.map +1 -1
  93. package/dist/store/migration-manager.js +10 -10
  94. package/dist/store/migration-manager.js.map +1 -1
  95. package/dist/store/migration-sqlite.js +1 -1
  96. package/dist/store/migration-sqlite.js.map +1 -1
  97. package/dist/store/nexus-sqlite.d.ts +1 -1
  98. package/dist/store/nexus-sqlite.d.ts.map +1 -1
  99. package/dist/store/nexus-sqlite.js +1 -1
  100. package/dist/store/nexus-sqlite.js.map +1 -1
  101. package/dist/store/schema/attachments.d.ts +1 -1
  102. package/dist/store/schema/audit.d.ts +2 -2
  103. package/dist/store/schema/background-jobs.d.ts +1 -1
  104. package/dist/store/schema/cleo-global/agent-registry.d.ts +1 -1
  105. package/dist/store/schema/cleo-global/models-catalog.d.ts +1 -1
  106. package/dist/store/schema/cleo-global/skills.d.ts +2 -2
  107. package/dist/store/schema/cleo-project/audit.d.ts +2 -2
  108. package/dist/store/schema/cleo-project/docs.d.ts +1 -1
  109. package/dist/store/schema/cleo-project/lifecycle.d.ts +4 -4
  110. package/dist/store/schema/cleo-project/nexus-graph.d.ts +2 -2
  111. package/dist/store/schema/cleo-project/provenance-rest.d.ts +3 -3
  112. package/dist/store/schema/cleo-project/runtime.d.ts +2 -2
  113. package/dist/store/schema/cleo-project/tasks-core-batch2.d.ts +1 -1
  114. package/dist/store/schema/cleo-project/tasks-core.d.ts +3 -3
  115. package/dist/store/schema/cleo-shared/brain.d.ts +5 -5
  116. package/dist/store/schema/jsonb.js +1 -1
  117. package/dist/store/schema/jsonb.js.map +1 -1
  118. package/dist/store/schema/lifecycle.d.ts +4 -4
  119. package/dist/store/schema/memory-schema.d.ts +3 -3
  120. package/dist/store/schema/nexus-schema.d.ts +1 -1
  121. package/dist/store/schema/provenance/releases.d.ts +3 -3
  122. package/dist/store/schema/skills-schema.d.ts +2 -2
  123. package/dist/store/schema/tasks.d.ts +2 -2
  124. package/dist/store/skills-db.d.ts +1 -1
  125. package/dist/store/skills-db.d.ts.map +1 -1
  126. package/dist/store/skills-db.js +1 -1
  127. package/dist/store/skills-db.js.map +1 -1
  128. package/dist/store/sqlite.d.ts +1 -1
  129. package/dist/store/sqlite.d.ts.map +1 -1
  130. package/dist/store/sqlite.js +30 -8
  131. package/dist/store/sqlite.js.map +1 -1
  132. package/dist/store/validation-schemas.d.ts +35 -35
  133. package/dist/store/writer-lease.d.ts +85 -53
  134. package/dist/store/writer-lease.d.ts.map +1 -1
  135. package/dist/store/writer-lease.js +194 -112
  136. package/dist/store/writer-lease.js.map +1 -1
  137. package/dist/tasks/add.d.ts.map +1 -1
  138. package/dist/tasks/add.js +9 -2
  139. package/dist/tasks/add.js.map +1 -1
  140. package/dist/tasks/backfill-child-projections.d.ts.map +1 -1
  141. package/dist/tasks/backfill-child-projections.js +3 -1
  142. package/dist/tasks/backfill-child-projections.js.map +1 -1
  143. package/dist/tasks/evidence.d.ts +17 -0
  144. package/dist/tasks/evidence.d.ts.map +1 -1
  145. package/dist/tasks/evidence.js +145 -35
  146. package/dist/tasks/evidence.js.map +1 -1
  147. package/dist/tasks/infer-add-params.d.ts.map +1 -1
  148. package/dist/tasks/infer-add-params.js +6 -1
  149. package/dist/tasks/infer-add-params.js.map +1 -1
  150. package/dist/tasks/tool-cache.d.ts +29 -0
  151. package/dist/tasks/tool-cache.d.ts.map +1 -1
  152. package/dist/tasks/tool-cache.js +166 -6
  153. package/dist/tasks/tool-cache.js.map +1 -1
  154. package/dist/tasks/tool-resolver.d.ts +5 -1
  155. package/dist/tasks/tool-resolver.d.ts.map +1 -1
  156. package/dist/tasks/tool-resolver.js +28 -20
  157. package/dist/tasks/tool-resolver.js.map +1 -1
  158. package/dist/telemetry/index.d.ts.map +1 -1
  159. package/dist/telemetry/index.js +4 -1
  160. package/dist/telemetry/index.js.map +1 -1
  161. package/dist/telemetry/sqlite.d.ts +1 -2
  162. package/dist/telemetry/sqlite.d.ts.map +1 -1
  163. package/dist/telemetry/sqlite.js +1 -2
  164. package/dist/telemetry/sqlite.js.map +1 -1
  165. package/package.json +14 -14
  166. package/schemas/project-context.schema.json +69 -0
  167. package/templates/workflows/release-prepare.yml.tmpl +10 -0
@@ -112,12 +112,12 @@ export interface LeaseAcquireOptions {
112
112
  */
113
113
  reentrant?: boolean;
114
114
  /**
115
- * Pin the lease to a SPECIFIC cleo.db file (its resolved on-disk path) instead
116
- * of the cwd-default canonical path the scope→path resolver returns. The
117
- * chokepoint write primitives pass the dbPath recorded at cold-open
118
- * ({@link activeScopeDbPath}) so the lease row lands in the SAME file the write
119
- * targets — correct when more than one project's cleo.db is open in one process
120
- * (Finding 1). When omitted, the canonical scope→path resolution is used.
115
+ * Pin the lease to a SPECIFIC cleo.db file path. When omitted the
116
+ * canonical scope→path resolver is used. The path is normalized via
117
+ * `path.resolve()` before memo-keying so alias paths share one grant
118
+ * row (T12042 Finding 4). The chokepoint write primitives resolve
119
+ * identity from their exact DB handle via {@link resolveDbIdentity},
120
+ * not from a process-global registry.
121
121
  */
122
122
  dbPath?: string;
123
123
  }
@@ -182,50 +182,83 @@ export type NativeDbResolver = (scope: LeaseScope, dbPath?: string) => Promise<L
182
182
  */
183
183
  export declare function _setNativeDbResolverForTest(resolver: ((scope: LeaseScope, dbPath?: string) => Promise<DatabaseSync | LeaseTarget>) | undefined): void;
184
184
  /**
185
- * Record the scope (and optionally the resolved dbPath) of the cold-open
186
- * currently in progress / most recently opened. Called by `dual-scope-db.ts` at
187
- * the head of its cold-open critical section (Seam 0). Idempotent — last writer
188
- * wins; a project open after a global open makes `'project'` the active scope,
189
- * which is correct because the chokepoint write primitives only ever write the
190
- * project-tier `tasks_*` tables.
191
- *
192
- * @param scope - The scope of the in-progress cold-open.
193
- * @param dbPath - The resolved on-disk path of that scope's cleo.db. When
194
- * omitted, the active dbPath is cleared so {@link activeScopeDbPath} falls back
195
- * to the canonical scope→path resolver.
196
- * @internal
185
+ * Writer-lease identity: explicit scope and canonical dbPath.
186
+ *
187
+ * Replaces the removed process-global last-writer scope with explicit per-call
188
+ * identity so concurrent project A, project B, and global writers cannot steal,
189
+ * release, resolve, or close each other's lease identity. Every lease
190
+ * acquire/release/renew/assert and cold-open path uses this same explicit
191
+ * identity — a release for A must never affect B/global even when concurrent.
192
+ *
193
+ * Identity is IMMUTABLE after construction: it is frozen and bound to the
194
+ * exact drizzle DB handle at {@link DualScopeDbHandle} construction time via
195
+ * {@link registerDbIdentity}. Callers resolve it through
196
+ * {@link resolveDbIdentity} — never construct one by hand.
197
+ *
198
+ * @task T12042 (E6-L12b)
197
199
  * @task T11627
198
200
  */
199
- export declare function setActiveScope(scope: LeaseScope, dbPath?: string): void;
201
+ export interface WriterLeaseIdentity {
202
+ /** The cleo.db scope this lease arbitrates within. */
203
+ readonly scope: LeaseScope;
204
+ /** Absolute canonical on-disk path to this scope's cleo.db (normalized). */
205
+ readonly dbPath: string;
206
+ }
200
207
  /**
201
- * The scope the chokepoint write primitives should lease against. Defaults to
202
- * `'project'` (the tasks chokepoint is project-tier) when no cold-open has
203
- * recorded a scope yet — a write before any open is degenerate, but `'project'`
204
- * is the only correct lease scope for `tasks_*` mutations.
208
+ * Build a frozen {@link WriterLeaseIdentity} from scope + dbPath.
205
209
  *
206
- * @returns The active {@link LeaseScope}.
207
- * @internal
208
- * @task T11627
210
+ * The dbPath is normalized via `path.resolve()` before freezing — so alias paths
211
+ * (`/a/../a/cleo.db`, `/a/cleo.db`) produce byte-identical identities and a
212
+ * single memoized grant row. Callers MUST pass the identity through
213
+ * {@link registerDbIdentity} to bind it to a concrete drizzle DB handle; the
214
+ * chokepoint write primitives resolve identity from the handle itself.
215
+ *
216
+ * @param scope - The cleo.db scope.
217
+ * @param dbPath - An absolute or relative path to the scope's cleo.db. Normalized
218
+ * via `path.resolve()` before freezing.
219
+ * @returns A frozen, normalized identity.
220
+ *
221
+ * @task T12042 (E6-L12b)
209
222
  */
210
- export declare function activeScope(): LeaseScope;
223
+ export declare function makeWriterLeaseIdentity(scope: LeaseScope, dbPath: string): WriterLeaseIdentity;
211
224
  /**
212
- * The dbPath the chokepoint write primitives should lease their row in. Returns
213
- * the path recorded by the most-recent cold-open, or — defensively — the
214
- * canonical scope→path resolution for {@link activeScope} when none was recorded.
215
- *
216
- * @returns The active cleo.db on-disk path.
217
- * @internal
218
- * @task T11627
225
+ * Register a drizzle DB handle's immutable writer-lease identity.
226
+ *
227
+ * Called at {@link DualScopeDbHandle} construction time (both cached and
228
+ * dedicated opens). Idempotent when the same DB handle is re-registered with
229
+ * the SAME canonical identity (same scope AND same `dbPath`). Throws
230
+ * `E_WRITER_LEASE_IDENTITY_MISMATCH` when the same DB handle is registered
231
+ * with a DIFFERENT identity — a scope/path mismatch for the same handle is a
232
+ * programming error.
233
+ *
234
+ * @param db - The drizzle DB handle (or any non-primitive key). Must be the
235
+ * exact same object reference that {@link resolveDbIdentity} will look up.
236
+ * @param identity - The frozen identity built by {@link makeWriterLeaseIdentity}.
237
+ * @throws {Error} When the handle was previously registered with a different
238
+ * scope or dbPath.
239
+ *
240
+ * @task T12042 (E6-L12b)
219
241
  */
220
- export declare function activeScopeDbPath(): string;
242
+ export declare function registerDbIdentity(db: object, identity: WriterLeaseIdentity): void;
221
243
  /**
222
- * Clear the recorded active scope + dbPath. Tests only — production records once
223
- * per cold-open and never clears (the scope of the last canonical open remains
224
- * the lease target for subsequent writes).
225
- *
226
- * @internal
244
+ * Resolve the immutable writer-lease identity bound to a drizzle DB handle.
245
+ *
246
+ * The chokepoint write primitives ({@link insertIdempotent} /
247
+ * {@link upsertIdempotent}) call this with their `db` parameter to derive the
248
+ * correct scope + dbPath for the writer lease. A handle opened through the
249
+ * dual-scope chokepoint is always registered; a stub or synthetic handle
250
+ * passed in tests must be registered via {@link registerDbIdentity} before a
251
+ * write primitive reaches the identity-resolve point.
252
+ *
253
+ * @param db - The drizzle DB handle whose identity to look up.
254
+ * @returns The frozen identity registered at construction time.
255
+ * @throws {Error} `E_WRITER_LEASE_IDENTITY_UNREGISTERED` when the handle was
256
+ * not registered — the caller MUST open the DB through the dual-scope
257
+ * chokepoint or call {@link registerDbIdentity} explicitly.
258
+ *
259
+ * @task T12042 (E6-L12b)
227
260
  */
228
- export declare function _clearActiveScopeForTest(): void;
261
+ export declare function resolveDbIdentity(db: object): WriterLeaseIdentity;
229
262
  /**
230
263
  * Thrown when `require` mode cannot acquire the lease, or (future) when a
231
264
  * supervisor explicitly denies. Carries a stable `codeName` for envelope mapping.
@@ -263,11 +296,12 @@ export declare class WriterLeaseRequiredError extends Error {
263
296
  *
264
297
  * @param scope - The cleo.db scope.
265
298
  * @param lane - The write lane.
299
+ * @param dbPath - Optional explicit database path to inspect.
266
300
  * @returns `true` iff a memoized grant with `refcount > 0` exists for the key.
267
301
  *
268
302
  * @task T11627
269
303
  */
270
- export declare function hasActiveGrant(scope: LeaseScope, lane: LeaseLane): boolean;
304
+ export declare function hasActiveGrant(scope: LeaseScope, lane: LeaseLane, dbPath?: string): boolean;
271
305
  /**
272
306
  * AC4 guard. Assert this process holds the `(scope, lane)` writer lease before it
273
307
  * opens a dedicated WRITE handle. In `off` mode the assertion is a no-op (there is
@@ -276,11 +310,12 @@ export declare function hasActiveGrant(scope: LeaseScope, lane: LeaseLane): bool
276
310
  *
277
311
  * @param scope - The cleo.db scope the handle writes to.
278
312
  * @param lane - The write lane that must be held.
313
+ * @param dbPath - Optional explicit database path the write will target.
279
314
  * @throws {WriterLeaseRequiredError} when no grant is held and mode is not `off`.
280
315
  *
281
316
  * @task T11627
282
317
  */
283
- export declare function assertWriterLeaseHeld(scope: LeaseScope, lane: LeaseLane): void;
318
+ export declare function assertWriterLeaseHeld(scope: LeaseScope, lane: LeaseLane, dbPath?: string): void;
284
319
  /**
285
320
  * Acquire (or re-enter) the writer lease for `(scope, lane)`. Caller MUST call
286
321
  * `release()` on the returned handle (use {@link withWriterLease} to do so
@@ -335,9 +370,9 @@ export declare function withWriterLease<T>(scope: LeaseScope, lane: LeaseLane, f
335
370
  * Unlike {@link withWriterLease} it operates DIRECTLY on the already-opened native
336
371
  * handle — it never routes through the default resolver (which would re-enter
337
372
  * `openDualScopeDb` and recurse) and it bootstraps the lease tables first (the full
338
- * migration that creates them runs inside `fn`). It also records the scope in the
339
- * Seam-1 active-scope registry ({@link setActiveScope}) so chokepoint write
340
- * primitives lease against the right scope.
373
+ * migration that creates them runs inside `fn`). The identity is bound to the
374
+ * drizzle DB handle at construction via {@link registerDbIdentity} — this function
375
+ * no longer records a process-global side effect (T12042).
341
376
  *
342
377
  * Mode semantics mirror {@link withWriterLease}:
343
378
  * - `off` → pass-through: runs `fn` under today's `busy_timeout=30000`, byte-
@@ -350,19 +385,16 @@ export declare function withWriterLease<T>(scope: LeaseScope, lane: LeaseLane, f
350
385
  * @param scope - The cleo.db scope being cold-opened.
351
386
  * @param nativeDb - The native handle the cold-open just created (pragmas applied).
352
387
  * @param fn - The cold-open body to run while holding the lease.
353
- * @param opts - Priority / TTL options + the resolved `dbPath` of this cold-open.
354
- * `dbPath` is recorded in the Seam-1 active-scope registry so the chokepoint
355
- * write primitives lease their row in the SAME file this open targeted (correct
356
- * when more than one project is open in one process — Finding 1). Cold-open
357
- * defaults to highest priority ({@link SCHEMA_BOOTSTRAP_PRIORITY}) and a 60s TTL
358
- * (schema bootstrap can be slow).
388
+ * @param opts - Priority / TTL options. Cold-open defaults to highest priority
389
+ * ({@link SCHEMA_BOOTSTRAP_PRIORITY}) and a 60s TTL (schema bootstrap can be
390
+ * slow).
359
391
  * @returns The resolved value of `fn`.
360
392
  *
361
393
  * @task T11627
394
+ * @task T12042 (E6-L12b — no process-global side effect)
362
395
  */
363
396
  export declare function withColdOpenLease<T>(scope: LeaseScope, nativeDb: DatabaseSync, fn: () => Promise<T>, opts?: {
364
397
  priority?: number;
365
398
  ttlMs?: number;
366
- dbPath?: string;
367
399
  }): Promise<T>;
368
400
  //# sourceMappingURL=writer-lease.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"writer-lease.d.ts","sourceRoot":"","sources":["../../src/store/writer-lease.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAYjE,YAAY,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjE;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC;AAEnE;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,sDAAsD;IACtD,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;IAC3B,6DAA6D;IAC7D,QAAQ,CAAC,IAAI,EAAE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