agent-recall-core 3.4.45 → 3.4.47

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 (135) hide show
  1. package/dist/helpers/activity-feed.d.ts.map +1 -1
  2. package/dist/helpers/activity-feed.js +8 -0
  3. package/dist/helpers/activity-feed.js.map +1 -1
  4. package/dist/helpers/handoff.d.ts.map +1 -1
  5. package/dist/helpers/handoff.js +17 -9
  6. package/dist/helpers/handoff.js.map +1 -1
  7. package/dist/helpers/journal-files.d.ts +24 -1
  8. package/dist/helpers/journal-files.d.ts.map +1 -1
  9. package/dist/helpers/journal-files.js +29 -10
  10. package/dist/helpers/journal-files.js.map +1 -1
  11. package/dist/helpers/journal-filter.d.ts +53 -0
  12. package/dist/helpers/journal-filter.d.ts.map +1 -1
  13. package/dist/helpers/journal-filter.js +101 -0
  14. package/dist/helpers/journal-filter.js.map +1 -1
  15. package/dist/index.d.ts +12 -4
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +33 -4
  18. package/dist/index.js.map +1 -1
  19. package/dist/palace/consolidate.d.ts.map +1 -1
  20. package/dist/palace/consolidate.js +10 -0
  21. package/dist/palace/consolidate.js.map +1 -1
  22. package/dist/retrieval/candidates.d.ts +314 -0
  23. package/dist/retrieval/candidates.d.ts.map +1 -0
  24. package/dist/retrieval/candidates.js +321 -0
  25. package/dist/retrieval/candidates.js.map +1 -0
  26. package/dist/retrieval/contradiction.d.ts +232 -0
  27. package/dist/retrieval/contradiction.d.ts.map +1 -0
  28. package/dist/retrieval/contradiction.js +320 -0
  29. package/dist/retrieval/contradiction.js.map +1 -0
  30. package/dist/retrieval/query-memory.d.ts +419 -0
  31. package/dist/retrieval/query-memory.d.ts.map +1 -0
  32. package/dist/retrieval/query-memory.js +1068 -0
  33. package/dist/retrieval/query-memory.js.map +1 -0
  34. package/dist/retrieval/scope.d.ts +75 -0
  35. package/dist/retrieval/scope.d.ts.map +1 -0
  36. package/dist/retrieval/scope.js +91 -0
  37. package/dist/retrieval/scope.js.map +1 -0
  38. package/dist/storage/corrections.d.ts +31 -1
  39. package/dist/storage/corrections.d.ts.map +1 -1
  40. package/dist/storage/corrections.js +34 -1
  41. package/dist/storage/corrections.js.map +1 -1
  42. package/dist/storage/cwd-allowlist.d.ts +58 -0
  43. package/dist/storage/cwd-allowlist.d.ts.map +1 -1
  44. package/dist/storage/cwd-allowlist.js +46 -7
  45. package/dist/storage/cwd-allowlist.js.map +1 -1
  46. package/dist/storage/lifecycle-telemetry.d.ts +20 -5
  47. package/dist/storage/lifecycle-telemetry.d.ts.map +1 -1
  48. package/dist/storage/lifecycle-telemetry.js +16 -5
  49. package/dist/storage/lifecycle-telemetry.js.map +1 -1
  50. package/dist/storage/project.d.ts.map +1 -1
  51. package/dist/storage/project.js +162 -35
  52. package/dist/storage/project.js.map +1 -1
  53. package/dist/storage/recency-index.d.ts +14 -0
  54. package/dist/storage/recency-index.d.ts.map +1 -1
  55. package/dist/storage/recency-index.js.map +1 -1
  56. package/dist/storage/session.d.ts +28 -1
  57. package/dist/storage/session.d.ts.map +1 -1
  58. package/dist/storage/session.js +41 -8
  59. package/dist/storage/session.js.map +1 -1
  60. package/dist/storage/working-memory.d.ts.map +1 -1
  61. package/dist/storage/working-memory.js +10 -1
  62. package/dist/storage/working-memory.js.map +1 -1
  63. package/dist/supabase/recall-backend.d.ts +25 -2
  64. package/dist/supabase/recall-backend.d.ts.map +1 -1
  65. package/dist/supabase/recall-backend.js +82 -21
  66. package/dist/supabase/recall-backend.js.map +1 -1
  67. package/dist/supabase/sync.d.ts +41 -0
  68. package/dist/supabase/sync.d.ts.map +1 -1
  69. package/dist/supabase/sync.js +46 -0
  70. package/dist/supabase/sync.js.map +1 -1
  71. package/dist/tools-logic/check.d.ts.map +1 -1
  72. package/dist/tools-logic/check.js +62 -36
  73. package/dist/tools-logic/check.js.map +1 -1
  74. package/dist/tools-logic/context-synthesize.d.ts.map +1 -1
  75. package/dist/tools-logic/context-synthesize.js +24 -3
  76. package/dist/tools-logic/context-synthesize.js.map +1 -1
  77. package/dist/tools-logic/drill-down.d.ts +24 -0
  78. package/dist/tools-logic/drill-down.d.ts.map +1 -1
  79. package/dist/tools-logic/drill-down.js +36 -0
  80. package/dist/tools-logic/drill-down.js.map +1 -1
  81. package/dist/tools-logic/journal-archive.d.ts.map +1 -1
  82. package/dist/tools-logic/journal-archive.js +12 -2
  83. package/dist/tools-logic/journal-archive.js.map +1 -1
  84. package/dist/tools-logic/journal-cold-start.d.ts.map +1 -1
  85. package/dist/tools-logic/journal-cold-start.js +48 -9
  86. package/dist/tools-logic/journal-cold-start.js.map +1 -1
  87. package/dist/tools-logic/journal-list.d.ts +42 -0
  88. package/dist/tools-logic/journal-list.d.ts.map +1 -1
  89. package/dist/tools-logic/journal-list.js +60 -10
  90. package/dist/tools-logic/journal-list.js.map +1 -1
  91. package/dist/tools-logic/journal-read.d.ts.map +1 -1
  92. package/dist/tools-logic/journal-read.js +22 -13
  93. package/dist/tools-logic/journal-read.js.map +1 -1
  94. package/dist/tools-logic/journal-search.d.ts +58 -0
  95. package/dist/tools-logic/journal-search.d.ts.map +1 -1
  96. package/dist/tools-logic/journal-search.js +123 -80
  97. package/dist/tools-logic/journal-search.js.map +1 -1
  98. package/dist/tools-logic/palace-search.d.ts.map +1 -1
  99. package/dist/tools-logic/palace-search.js +30 -11
  100. package/dist/tools-logic/palace-search.js.map +1 -1
  101. package/dist/tools-logic/palace-walk.d.ts +10 -0
  102. package/dist/tools-logic/palace-walk.d.ts.map +1 -1
  103. package/dist/tools-logic/palace-walk.js +25 -16
  104. package/dist/tools-logic/palace-walk.js.map +1 -1
  105. package/dist/tools-logic/recall-insight.d.ts +20 -0
  106. package/dist/tools-logic/recall-insight.d.ts.map +1 -1
  107. package/dist/tools-logic/recall-insight.js +12 -1
  108. package/dist/tools-logic/recall-insight.js.map +1 -1
  109. package/dist/tools-logic/recognition-builder.d.ts.map +1 -1
  110. package/dist/tools-logic/recognition-builder.js +33 -19
  111. package/dist/tools-logic/recognition-builder.js.map +1 -1
  112. package/dist/tools-logic/resurrect.d.ts +11 -0
  113. package/dist/tools-logic/resurrect.d.ts.map +1 -1
  114. package/dist/tools-logic/resurrect.js +64 -2
  115. package/dist/tools-logic/resurrect.js.map +1 -1
  116. package/dist/tools-logic/session-end-reflect.d.ts.map +1 -1
  117. package/dist/tools-logic/session-end-reflect.js +11 -0
  118. package/dist/tools-logic/session-end-reflect.js.map +1 -1
  119. package/dist/tools-logic/session-end.d.ts.map +1 -1
  120. package/dist/tools-logic/session-end.js +23 -7
  121. package/dist/tools-logic/session-end.js.map +1 -1
  122. package/dist/tools-logic/session-start-lite.d.ts.map +1 -1
  123. package/dist/tools-logic/session-start-lite.js +13 -2
  124. package/dist/tools-logic/session-start-lite.js.map +1 -1
  125. package/dist/tools-logic/session-start.d.ts +101 -0
  126. package/dist/tools-logic/session-start.d.ts.map +1 -1
  127. package/dist/tools-logic/session-start.js +301 -78
  128. package/dist/tools-logic/session-start.js.map +1 -1
  129. package/dist/tools-logic/smart-recall.d.ts +87 -62
  130. package/dist/tools-logic/smart-recall.d.ts.map +1 -1
  131. package/dist/tools-logic/smart-recall.js +159 -510
  132. package/dist/tools-logic/smart-recall.js.map +1 -1
  133. package/dist/types.d.ts +1 -1
  134. package/dist/types.js +1 -1
  135. package/package.json +1 -1
@@ -1,6 +1,34 @@
1
1
  /**
2
2
  * smart_recall — unified cross-store search. v3.3.14
3
3
  *
4
+ * ── WAVE 2 (2026-08-29/30, plywood SOP ecbd4351) ────────────────────────────
5
+ * Internals migrated onto the shared retrieval pipeline
6
+ * (`retrieval/query-memory.ts`'s `queryMemory()`). EXTERNAL CONTRACT
7
+ * UNCHANGED: same `SmartRecallInput`/`SmartRecallResult` shape, same
8
+ * feedback-rating footer, same archive-fallback/bridge/graph-walk behavior.
9
+ * The composition that used to live directly in this file — journalSearch +
10
+ * palaceSearch + recallInsight + archiveSearch, plus the 5 scattered scoring
11
+ * formulas below and the two-stage RRF fusion — now lives in
12
+ * `retrieval/query-memory.ts` as MANDATORY PIPELINE STAGES (fetch ->
13
+ * trust-filter -> tokenize+score -> scope -> rank/fuse -> fence). See that
14
+ * file's header comment for the full CHALLENGE-by-CHALLENGE design reasoning
15
+ * (why scoring stays per-tier/pluggable rather than unified into one formula;
16
+ * how the Wave-1 candidate superset is handled per source; why FENCE is not
17
+ * applied to this surface's per-item fields). This file now owns exactly the
18
+ * smart_recall-SPECIFIC post-pipeline concerns that do not generalize to
19
+ * other future `queryMemory()` consumers: confidence calibration
20
+ * (`calibratedConfidence`), the Beta-feedback multiplier + feedback log, the
21
+ * remote/local backend race + degraded-timeout handling, the Bridge
22
+ * drilldown, and the F4 archive-fallback's confidence GATE (the policy
23
+ * decision of *when* to call `queryArchiveFallback` — its fetch/score logic
24
+ * itself moved to query-memory.ts).
25
+ *
26
+ * The formulas described below (Fix 1-5b) are UNCHANGED in substance — they
27
+ * are simply now implemented in query-memory.ts's per-tier scoring functions
28
+ * and RANK/FUSE stage instead of inline here. Kept as historical/design
29
+ * documentation because the RATIONALE is still exactly why those formulas
30
+ * are what they are.
31
+ *
4
32
  * ## Scoring Architecture (why it works this way)
5
33
  *
6
34
  * ### Problem with the old approach (< v3.3.14): Linear Score Fusion
@@ -25,7 +53,6 @@
25
53
  * Formula: R(t) = e^(-t/S), where S = memory strength (days).
26
54
  * Different memory types have different S values based on psychological research:
27
55
  * - Journal (episodic, low meaning): S = 2 → 60% retained after 1 day
28
- * - Knowledge/bug-fix (procedural): S = 180 → 99.4% retained after 1 day
29
56
  * - Palace/decisions (semantic): S = 9999 → barely decays
30
57
  * - Insight (conceptual): not time-based; uses confirmation count instead
31
58
  * This replaces the uniform 0.95^days that treated all memory equally.
@@ -59,46 +86,22 @@
59
86
  * duplicates (same id) could. A later "dedup by excerpt" pass then silently
60
87
  * collapsed same-excerpt entries by first-inserted-wins, DISCARDING the other
61
88
  * source's score entirely instead of summing it in.
62
- * Fix: fusion is now TWO stages. Stage 1 (applyRRF, unchanged key: `item.id`)
63
- * still consolidates multiple hits from the SAME source document — e.g.
64
- * palaceSearch legitimately returns one hit per matching LINE within a file,
65
- * all sharing that file's id, and those must accumulate into one per-document
66
- * entry, not fragment (an excerpt-only key at this stage was tried and
67
- * REJECTED — it broke associative-link.test.mjs by starving genuinely-
68
- * matched files of their combined per-file weight). Stage 2 (fuseCanonical)
69
- * then re-keys those already-consolidated per-document entries by NORMALIZED
70
- * EXCERPT CONTENT — the same identity notion the old post-hoc dedup pass
71
- * already used to decide "same memory". Two per-document entries from
72
- * different sources whose representative excerpt matches now land in the
73
- * SAME canonical entry, so cross-source accumulation happens. Provenance
74
- * from every contributing source is preserved via `alsoFoundIn` on the fused
75
- * item (primary/display source is whichever source ran first — unchanged),
76
- * rather than being dropped.
89
+ * Fix: fusion is now TWO stages. Stage 1 (applyRRF, keyed by `item.id`) still
90
+ * consolidates multiple hits from the SAME source document. Stage 2
91
+ * (fuseCanonical) then re-keys those already-consolidated per-document
92
+ * entries by NORMALIZED EXCERPT CONTENT. Provenance from every contributing
93
+ * source is preserved via `alsoFoundIn` on the fused item, rather than being
94
+ * dropped. (Both stages live in query-memory.ts now — see that file's
95
+ * `applyRRF`/`fuseCanonical`.)
77
96
  *
78
97
  * ### Fix 5b: insight excerpt is too low-entropy to be a fusion identity
79
98
  * Stage 2's "normalized excerpt content" identity assumption (Fix 5) is
80
99
  * sound for palace/journal, whose `excerpt` is a real matched text snippet.
81
100
  * It was broken for the insight source: its excerpt was synthesized from
82
- * ONLY `severity` + `applies_when` (`[important] deployment, database`),
83
- * omitting the insight's own distinguishing `title` entirely. Two UNRELATED
84
- * insights sharing a severity + tag set produced byte-identical excerpts and
85
- * silently fused into one — one insight vanished from results, and the
86
- * survivor's score absorbed the other's RRF contribution with zero trace
87
- * (same-source collisions don't show up in `alsoFoundIn`, which only records
88
- * source NAMES). Fix: insight items now carry a separate `fusionKey`
101
+ * ONLY `severity` + `applies_when`, omitting the insight's own distinguishing
102
+ * `title` entirely. Fix: insight items now carry a separate `fusionKey`
89
103
  * (`${title} [severity] tags`) that fuseCanonical() and the defensive dedup
90
- * pass key on INSTEAD of `excerpt` when present (see `fusionKey`'s doc
91
- * comment on `SmartRecallResultItem`). The displayed `excerpt` stays terse —
92
- * embedding `title` into it would duplicate title text in every consumer
93
- * that reads `excerpt` directly (recall.ts's display line, the CLI's
94
- * ambient-injection word-overlap scorer, consistency/conflict-scan's
95
- * `title + excerpt` concatenation), which for the word-overlap scorer would
96
- * also double-count title tokens and inflate insight relevance versus other
97
- * sources. Palace/journal items leave `fusionKey` unset (falls back to
98
- * `excerpt`, unchanged from Fix 5) — insights are a distinct "confirmed
99
- * pattern" memory type that isn't expected to share literal content with a
100
- * journal/palace excerpt, so this doesn't reopen the cross-source fusion
101
- * Fix 5 was built for; it only stops insights colliding WITH EACH OTHER.
104
+ * pass key on INSTEAD of `excerpt` when present.
102
105
  */
103
106
  import { type VerbatimKey } from "./drill-down.js";
104
107
  export interface RecallFeedback {
@@ -125,9 +128,10 @@ export interface SmartRecallResultItem {
125
128
  * canonical entry first (palace, then journal, then insight). Kept
126
129
  * singular for backward compatibility with existing consumers.
127
130
  * "archive" (F4, 2026-07-31) is DIFFERENT from the other three: it never
128
- * competes inside localRecallSearch's RRF fusion — it is appended
129
- * separately by smartRecall() only when the fused top confidence from
130
- * palace/journal/insight is below medium (see archiveSearch below). */
131
+ * competes inside the RRF fusion — it is appended separately by
132
+ * smartRecall() only when the fused top confidence from
133
+ * palace/journal/insight is below medium (see the archive-fallback gate
134
+ * below). */
131
135
  source: "palace" | "journal" | "insight" | "archive";
132
136
  /** Other sources that ALSO matched this same canonical memory (same
133
137
  * normalized excerpt) during RRF fusion. Present only when the item was
@@ -136,25 +140,6 @@ export interface SmartRecallResultItem {
136
140
  alsoFoundIn?: Array<"palace" | "journal" | "insight" | "archive">;
137
141
  title: string;
138
142
  excerpt: string;
139
- /** Cross-source fusion identity override (Fix 5b). When present, fusion
140
- * (fuseCanonical() + the defensive dedup pass) keys on THIS instead of
141
- * `excerpt`. Needed for the insight source: its displayed `excerpt` is a
142
- * terse `[severity] tags` summary — good for compact display, but too
143
- * low-entropy to serve as a "same conceptual memory" signal, since two
144
- * genuinely UNRELATED insights sharing a severity + applies_when tag set
145
- * produce byte-identical excerpts. `fusionKey` embeds the insight's own
146
- * distinguishing content (its `title`) so it can't collide with another
147
- * insight's identity, WITHOUT duplicating that title into the displayed
148
- * `excerpt` (which recall.ts, the CLI's ambient-injection word-overlap
149
- * scorer, and consistency/conflict-scan's `title + excerpt` concatenation
150
- * all consume directly — embedding title there would double-count title
151
- * tokens for insights only, and would push `[severity] tags` out of the
152
- * 80-char display truncation in recall.ts's formatResults()). Palace and
153
- * journal items leave this unset — their raw excerpt is already a strong,
154
- * content-derived identity signal (Fix 5's original design), and forcing
155
- * a synthetic fusionKey there would risk breaking their genuine
156
- * cross-source matches. */
157
- fusionKey?: string;
158
143
  score: number;
159
144
  /** Human-readable confidence: "high", "medium", "low", "weak" */
160
145
  confidence: string;
@@ -166,6 +151,32 @@ export interface SmartRecallResultItem {
166
151
  room?: string;
167
152
  date?: string;
168
153
  severity?: string;
154
+ /**
155
+ * CONTRADICTION stage (Wave 5a, `retrieval/contradiction.ts`) — set ONLY
156
+ * when this item was detected as the STALE side of a same-tier version-
157
+ * token conflict with a sibling this result set could confidently order
158
+ * as more current. Holds the CURRENT sibling's `id`. Additive: absent on
159
+ * every item unaffected by the stage. W5a salvage (2026-08-31, HIGH-3):
160
+ * this field is threaded straight through from `QueryMemoryItem` by
161
+ * `localRecallSearch` below — previously computed but silently dropped by
162
+ * this interface's field-list map, making the annotation invisible to any
163
+ * agent reading `smart_recall`'s JSON output.
164
+ *
165
+ * ANNOTATE-ONLY (pre-ship red-team fix, STEP 4a, 2026-09-01): a
166
+ * `supersededBy` item's `score`/rank is NEVER changed by the contradiction
167
+ * stage — see `retrieval/query-memory.ts`'s `applyContradictionStage` for
168
+ * why the original down-rank was removed (a false-positive grammar match
169
+ * used to actively INVERT ranking; now it is, at worst, a harmless extra
170
+ * annotation).
171
+ */
172
+ supersededBy?: string;
173
+ /**
174
+ * CONTRADICTION stage (Wave 5a) — the `id`s of every sibling this item's
175
+ * text grammar-conflicts with, regardless of whether a stale direction
176
+ * could be resolved. Additive; see `supersededBy`'s doc comment for the
177
+ * W5a salvage visibility fix this field shares.
178
+ */
179
+ conflictsWith?: string[];
169
180
  }
170
181
  /** A verbatim source attached when a low-confidence top hit was drilled into. */
171
182
  export interface BridgedSource {
@@ -202,12 +213,26 @@ export interface SmartRecallResult {
202
213
  }
203
214
  /**
204
215
  * localRecallSearch — the core local search logic (palace + journal + insight).
205
- * Performs three parallel searches, scores internally, merges via RRF,
206
- * applies hot-window recency boost, and deduplicates.
207
216
  *
208
- * Called by LocalRecallBackend.search() in recall-backend.ts.
209
- * Feedback multiplier is NOT applied here — that is done in smartRecall()
210
- * so it applies uniformly across all backends.
217
+ * WAVE 2: delegates FETCH/TRUST-FILTER/TOKENIZE+SCORE/RANK-FUSE entirely to
218
+ * `retrieval/query-memory.ts`'s `queryMemory()` — see this file's header.
219
+ * This function's own remaining job: resolve `project` (queryMemory()
220
+ * requires an already-resolved slug, matching Wave 1's `readTierCandidates`
221
+ * convention — previously this resolution happened independently 3x, inside
222
+ * journalSearch/palaceSearch/nowhere-for-insight; now once, here — a
223
+ * characterized simplification, not a behavior change for any caller passing
224
+ * an already-valid explicit slug, which is every existing test and the
225
+ * common real-world case), label each fused item with a calibrated
226
+ * confidence (rrf-local scale, matching the original dedup loop exactly),
227
+ * reconstruct `verbatimKey`, run the graph-walk 1-hop related-room surfacing
228
+ * (smart_recall-specific; no other Wave-3 migration target has this), and
229
+ * attach the raw-candidate-count side channel.
230
+ *
231
+ * Called by LocalRecallBackend.search() in recall-backend.ts, and directly
232
+ * by helpers/associative-link.ts and (in tests) by
233
+ * audit-retrieval-accounting.test.mjs — its signature and the RAW_CANDIDATE_COUNTS
234
+ * side-channel contract are UNCHANGED, since those are real, direct external
235
+ * callers, not just smartRecall()'s own internals.
211
236
  */
212
237
  export declare function localRecallSearch(query: string, project: string | undefined, limit: number, since?: string): Promise<SmartRecallResultItem[]>;
213
238
  export declare function smartRecall(input: SmartRecallInput): Promise<SmartRecallResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"smart-recall.d.ts","sourceRoot":"","sources":["../../src/tools-logic/smart-recall.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqGG;AAcH,OAAO,EAAiB,KAAK,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAQlE,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B;;qDAEiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;wBACoB;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX;;;;;;4EAMwE;IACxE,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACrD;;;yEAGqE;IACrE,WAAW,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC,CAAC;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;;;;;;;;;;;;gCAiB4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAA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