@substrat-run/kernel 0.211.0 → 0.213.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.
- package/dist/directory-crossing.d.ts +247 -0
- package/dist/directory-crossing.d.ts.map +1 -0
- package/dist/directory-crossing.js +299 -0
- package/dist/directory-crossing.js.map +1 -0
- package/dist/directory-lake.d.ts +337 -0
- package/dist/directory-lake.d.ts.map +1 -0
- package/dist/directory-lake.js +379 -0
- package/dist/directory-lake.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/platform-sweep.d.ts +10 -1
- package/dist/platform-sweep.d.ts.map +1 -1
- package/dist/platform-sweep.js +12 -0
- package/dist/platform-sweep.js.map +1 -1
- package/dist/scope-host.d.ts +44 -0
- package/dist/scope-host.d.ts.map +1 -1
- package/dist/scope-host.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import type { PlatformActorId } from '@substrat-run/contracts';
|
|
2
|
+
import type { RedactionSql } from './subject-redaction.js';
|
|
3
|
+
import type { HostAdmin } from './scope-host.js';
|
|
4
|
+
/**
|
|
5
|
+
* The directory's outbox to the lake (K-70, tenants × time data leaves the objects; step 2 of
|
|
6
|
+
* docs/rfc/tenant-scale.md §12), as statements both adapters run against their directory.
|
|
7
|
+
*
|
|
8
|
+
* The directory keeps nine data sets that grow with tenants times time: the admin log, the staff
|
|
9
|
+
* access log, ops failures, sweep runs, model and build usage, and the request, cost and meter
|
|
10
|
+
* days. Each is shipped to the lake the way a scope ships its events: a row is written into an
|
|
11
|
+
* outbox in the SAME transaction as the row it records, and a drain ships the outbox in batches
|
|
12
|
+
* and deletes what the sink confirmed. Nothing here prunes a source row. What is shipped stays in
|
|
13
|
+
* the directory exactly as long as it did before; pruning to a window is a later, separate switch.
|
|
14
|
+
*
|
|
15
|
+
* **Captured by trigger, not by the writers.** An `AFTER INSERT` trigger on each captured table
|
|
16
|
+
* (and `AFTER UPDATE` where rows change after they are written) copies the row into the outbox.
|
|
17
|
+
* That keeps the guarantee K-70 asks of the admin log, written atomically with its change and
|
|
18
|
+
* shipped after, without touching any of the writers: whatever transaction wrote the source row
|
|
19
|
+
* wrote its outbox row, or neither. It also means a column added to a source table cannot be
|
|
20
|
+
* forgotten the way #1237's was: the trigger's column list is derived from the table as built
|
|
21
|
+
* (`ensureDirectoryLakeTriggers`), and re-derived whenever it differs.
|
|
22
|
+
*
|
|
23
|
+
* **Off unless switched on, per data set.** The triggers exist only for the data sets whose
|
|
24
|
+
* capture is on (`_substrat_directory_capture`), and are dropped when it is switched off, so a
|
|
25
|
+
* directory with capture off writes exactly what it wrote before this file existed. The two tables
|
|
26
|
+
* below are created empty either way, because a directory restore builds every table it may load
|
|
27
|
+
* from the directory's DDL.
|
|
28
|
+
*
|
|
29
|
+
* **What the lake gets.** Every version of a row the directory wrote while capture was on: an
|
|
30
|
+
* update ships the row again, with a later `captured_at` and `seq`. A delete ships nothing, which
|
|
31
|
+
* is what lets the directory prune a row the lake keeps. So a key's value in the lake is its
|
|
32
|
+
* latest captured version, and an erasure that redacted a row in place (ops failures, sweep runs)
|
|
33
|
+
* reaches the lake as a later version, not as the removal of the earlier one.
|
|
34
|
+
*/
|
|
35
|
+
/** One captured data set: its table, its key, and the envelope columns the lake filters on. */
|
|
36
|
+
export interface DirectoryLakeDatasetSpec {
|
|
37
|
+
table: string;
|
|
38
|
+
/** The primary key, in order. One column ships as itself, more as a JSON array. */
|
|
39
|
+
key: readonly string[];
|
|
40
|
+
/** The row's own time: an ISO instant, or a UTC day. */
|
|
41
|
+
at: string;
|
|
42
|
+
tenant: string | null;
|
|
43
|
+
scope: string | null;
|
|
44
|
+
/** The column a reader most often filters on (an action, a method, an operation), or none. */
|
|
45
|
+
kind: string | null;
|
|
46
|
+
actor: string | null;
|
|
47
|
+
/** Whether rows change after they are written, so an update is captured too. */
|
|
48
|
+
updates: boolean;
|
|
49
|
+
/** Bookkeeping columns that are facts about the directory's copy, not the row. */
|
|
50
|
+
notShipped: readonly string[];
|
|
51
|
+
}
|
|
52
|
+
export declare const DIRECTORY_LAKE_DATASETS: {
|
|
53
|
+
readonly admin_log: {
|
|
54
|
+
readonly table: '_substrat_admin_log';
|
|
55
|
+
readonly key: readonly ["id"];
|
|
56
|
+
readonly at: 'at';
|
|
57
|
+
readonly tenant: 'tenant_id';
|
|
58
|
+
readonly scope: 'scope_id';
|
|
59
|
+
readonly kind: 'action';
|
|
60
|
+
readonly actor: 'actor';
|
|
61
|
+
readonly updates: false;
|
|
62
|
+
readonly notShipped: readonly [];
|
|
63
|
+
};
|
|
64
|
+
readonly access_log: {
|
|
65
|
+
readonly table: '_substrat_access_log';
|
|
66
|
+
readonly key: readonly ["id"];
|
|
67
|
+
readonly at: 'at';
|
|
68
|
+
readonly tenant: 'tenant_id';
|
|
69
|
+
readonly scope: 'scope_id';
|
|
70
|
+
readonly kind: 'method';
|
|
71
|
+
readonly actor: 'actor';
|
|
72
|
+
readonly updates: false;
|
|
73
|
+
readonly notShipped: readonly ["drained_at"];
|
|
74
|
+
};
|
|
75
|
+
readonly ops_failures: {
|
|
76
|
+
readonly table: '_substrat_ops_failures';
|
|
77
|
+
readonly key: readonly ["id"];
|
|
78
|
+
readonly at: 'at';
|
|
79
|
+
readonly tenant: 'tenant_id';
|
|
80
|
+
readonly scope: 'scope_id';
|
|
81
|
+
readonly kind: 'operation';
|
|
82
|
+
readonly actor: 'actor';
|
|
83
|
+
readonly updates: true;
|
|
84
|
+
readonly notShipped: readonly [];
|
|
85
|
+
};
|
|
86
|
+
readonly sweep_runs: {
|
|
87
|
+
readonly table: '_substrat_sweep_runs';
|
|
88
|
+
readonly key: readonly ["id"];
|
|
89
|
+
readonly at: 'at';
|
|
90
|
+
readonly tenant: 'tenant_id';
|
|
91
|
+
readonly scope: 'scope_id';
|
|
92
|
+
readonly kind: 'kind';
|
|
93
|
+
readonly actor: null;
|
|
94
|
+
readonly updates: true;
|
|
95
|
+
readonly notShipped: readonly [];
|
|
96
|
+
};
|
|
97
|
+
readonly model_usage: {
|
|
98
|
+
readonly table: '_substrat_model_usage';
|
|
99
|
+
readonly key: readonly ["id"];
|
|
100
|
+
readonly at: 'at';
|
|
101
|
+
readonly tenant: 'tenant_id';
|
|
102
|
+
readonly scope: 'scope_id';
|
|
103
|
+
readonly kind: 'model';
|
|
104
|
+
readonly actor: null;
|
|
105
|
+
readonly updates: false;
|
|
106
|
+
readonly notShipped: readonly [];
|
|
107
|
+
};
|
|
108
|
+
readonly build_usage: {
|
|
109
|
+
readonly table: '_substrat_build_usage';
|
|
110
|
+
readonly key: readonly ["build_id"];
|
|
111
|
+
readonly at: 'at';
|
|
112
|
+
readonly tenant: 'tenant_id';
|
|
113
|
+
readonly scope: null;
|
|
114
|
+
readonly kind: 'vertical';
|
|
115
|
+
readonly actor: null;
|
|
116
|
+
readonly updates: false;
|
|
117
|
+
readonly notShipped: readonly [];
|
|
118
|
+
};
|
|
119
|
+
readonly request_days: {
|
|
120
|
+
readonly table: '_substrat_request_days';
|
|
121
|
+
readonly key: readonly ["day", "tenant_id", "vertical", "scope_id"];
|
|
122
|
+
readonly at: 'day';
|
|
123
|
+
readonly tenant: 'tenant_id';
|
|
124
|
+
readonly scope: 'scope_id';
|
|
125
|
+
readonly kind: 'vertical';
|
|
126
|
+
readonly actor: null;
|
|
127
|
+
readonly updates: true;
|
|
128
|
+
readonly notShipped: readonly [];
|
|
129
|
+
};
|
|
130
|
+
readonly cost_days: {
|
|
131
|
+
readonly table: '_substrat_cost_days';
|
|
132
|
+
readonly key: readonly ["day", "script", "scope_id", "object_class", "object_id", "dimension"];
|
|
133
|
+
readonly at: 'day';
|
|
134
|
+
readonly tenant: 'tenant_id';
|
|
135
|
+
readonly scope: 'scope_id';
|
|
136
|
+
readonly kind: 'dimension';
|
|
137
|
+
readonly actor: null;
|
|
138
|
+
readonly updates: true;
|
|
139
|
+
readonly notShipped: readonly [];
|
|
140
|
+
};
|
|
141
|
+
readonly meter_days: {
|
|
142
|
+
readonly table: '_substrat_meter_days';
|
|
143
|
+
readonly key: readonly ["day", "tenant_id"];
|
|
144
|
+
readonly at: 'day';
|
|
145
|
+
readonly tenant: 'tenant_id';
|
|
146
|
+
readonly scope: null;
|
|
147
|
+
readonly kind: 'status';
|
|
148
|
+
readonly actor: null;
|
|
149
|
+
readonly updates: true;
|
|
150
|
+
readonly notShipped: readonly [];
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
export type DirectoryLakeDataset = keyof typeof DIRECTORY_LAKE_DATASETS;
|
|
154
|
+
export declare const DIRECTORY_LAKE_DATASET_NAMES: [DirectoryLakeDataset, ...DirectoryLakeDataset[]];
|
|
155
|
+
export declare const isDirectoryLakeDataset: (name: string) => name is DirectoryLakeDataset;
|
|
156
|
+
/**
|
|
157
|
+
* The outbox and the capture switch. `seq` is AUTOINCREMENT so a number is never handed out twice,
|
|
158
|
+
* even once every row below it has been shipped and deleted: the lake orders a key's versions by it.
|
|
159
|
+
* `row` is the whole source row as a JSON object of its columns, values as stored.
|
|
160
|
+
*/
|
|
161
|
+
export declare const DIRECTORY_LAKE_DDL = "\n CREATE TABLE IF NOT EXISTS _substrat_directory_outbox (\n seq INTEGER PRIMARY KEY AUTOINCREMENT,\n dataset TEXT NOT NULL,\n row_key TEXT NOT NULL,\n tenant_id TEXT,\n scope_id TEXT,\n at TEXT NOT NULL,\n kind TEXT,\n actor TEXT,\n captured_at TEXT NOT NULL,\n row TEXT NOT NULL\n );\n CREATE TABLE IF NOT EXISTS _substrat_directory_capture (\n dataset TEXT PRIMARY KEY,\n since TEXT NOT NULL,\n backfill_until INTEGER NOT NULL DEFAULT 0,\n backfill_after INTEGER NOT NULL DEFAULT 0,\n backfilled_at TEXT\n );\n";
|
|
162
|
+
/** One outbox row, or one backfilled source row in the same shape (`seq` null: it never queued). */
|
|
163
|
+
export interface DirectoryLakeRow {
|
|
164
|
+
seq: number | null;
|
|
165
|
+
dataset: DirectoryLakeDataset;
|
|
166
|
+
rowKey: string;
|
|
167
|
+
tenantId: string | null;
|
|
168
|
+
scopeId: string | null;
|
|
169
|
+
at: string;
|
|
170
|
+
kind: string | null;
|
|
171
|
+
actor: string | null;
|
|
172
|
+
capturedAt: string;
|
|
173
|
+
/** The source row, a JSON object text. */
|
|
174
|
+
row: string;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Which data sets capture, and since when; the highest source rowid when capture began (every row
|
|
178
|
+
* above it was written with the trigger in place, so a backfill stops there); how far a real
|
|
179
|
+
* backfill has shipped (the rowid its next page starts after); and `backfilledAt` once it is done.
|
|
180
|
+
*/
|
|
181
|
+
export interface DirectoryLakeCaptureState {
|
|
182
|
+
dataset: DirectoryLakeDataset;
|
|
183
|
+
since: string;
|
|
184
|
+
backfillUntil: number;
|
|
185
|
+
backfillAfter: number;
|
|
186
|
+
backfilledAt: string | null;
|
|
187
|
+
}
|
|
188
|
+
/** What one reconcile of the capture switch changed. */
|
|
189
|
+
export interface DirectoryLakeCaptureResult {
|
|
190
|
+
enabled: DirectoryLakeDataset[];
|
|
191
|
+
disabled: DirectoryLakeDataset[];
|
|
192
|
+
current: DirectoryLakeCaptureState[];
|
|
193
|
+
/** Triggers rebuilt because the table they copy no longer had the columns they named. */
|
|
194
|
+
rebuilt: number;
|
|
195
|
+
}
|
|
196
|
+
/** One page of a backfill: the rows in outbox shape, and the cursor after them. */
|
|
197
|
+
export interface DirectoryLakeBackfillPage {
|
|
198
|
+
dataset: DirectoryLakeDataset;
|
|
199
|
+
rows: DirectoryLakeRow[];
|
|
200
|
+
/** The last source rowid read, to pass as `after` next; null when the page was empty. */
|
|
201
|
+
next: number | null;
|
|
202
|
+
/** Whether the walk reached the table's end with this page. */
|
|
203
|
+
done: boolean;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Where the drained rows go. Injected, like `EventSink`: the control plane binds a Pipelines
|
|
207
|
+
* stream; a self-host may bind nothing, and then keeps capture off.
|
|
208
|
+
*
|
|
209
|
+
* `ship` MUST be durable before it resolves: a resolved ship is what licenses deleting the outbox
|
|
210
|
+
* rows, and a sink that returned early would turn the lake's copy into a claim nobody can check.
|
|
211
|
+
*/
|
|
212
|
+
export interface DirectoryLakeSink {
|
|
213
|
+
ship(rows: DirectoryLakeRow[]): Promise<{
|
|
214
|
+
ref: string;
|
|
215
|
+
}>;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* The capture triggers a data set needs against the table as it is built now. Spelled as
|
|
219
|
+
* `sqlite_master` keeps it (no IF NOT EXISTS, single spaces), so one in place can be compared
|
|
220
|
+
* with the one this schema needs, text for text.
|
|
221
|
+
*/
|
|
222
|
+
export declare function directoryLakeTriggerSql(sql: RedactionSql, dataset: DirectoryLakeDataset): {
|
|
223
|
+
name: string;
|
|
224
|
+
sql: string;
|
|
225
|
+
}[];
|
|
226
|
+
export declare function readDirectoryLakeCapture(sql: RedactionSql): DirectoryLakeCaptureState[];
|
|
227
|
+
/**
|
|
228
|
+
* Every capturing data set's triggers, held to its table as built. Run where a directory is
|
|
229
|
+
* constructed (a deploy that added a column rebuilds the trigger before the first write) and before
|
|
230
|
+
* every drain (a restore drops every table, and its triggers with it). Writes nothing when nothing
|
|
231
|
+
* differs.
|
|
232
|
+
*/
|
|
233
|
+
export declare function ensureDirectoryLakeTriggers(sql: RedactionSql): number;
|
|
234
|
+
/**
|
|
235
|
+
* Reconcile the capture switch to `wanted`, in the caller's transaction. A data set switched on
|
|
236
|
+
* gets its triggers and `since = now`; one switched off loses them (its queued rows stay queued and
|
|
237
|
+
* still drain). Switching one back on resets `since` and its backfill mark: the rows written while
|
|
238
|
+
* it was off reached no outbox, so only a new backfill can vouch for them.
|
|
239
|
+
*/
|
|
240
|
+
export declare function setDirectoryLakeCapture(sql: RedactionSql, wanted: readonly DirectoryLakeDataset[], now: string): DirectoryLakeCaptureResult;
|
|
241
|
+
/** The oldest `limit` queued rows, in the order they were written. */
|
|
242
|
+
export declare function readDirectoryOutbox(sql: RedactionSql, limit: number): DirectoryLakeRow[];
|
|
243
|
+
/**
|
|
244
|
+
* Delete the queued rows up to and including `upToSeq`, once the sink has confirmed them. `seq`
|
|
245
|
+
* is handed out in write order, so rows queued during the shipment sort after it and stay.
|
|
246
|
+
*/
|
|
247
|
+
export declare function ackDirectoryOutbox(sql: RedactionSql, upToSeq: number): number;
|
|
248
|
+
/**
|
|
249
|
+
* One page of the rows a data set already held, in the outbox's shape, read by rowid after
|
|
250
|
+
* `after` and up to the rowid its capture began at (or the table's end, for a data set not
|
|
251
|
+
* capturing, which only a dry run reads). Rows above that were captured by the trigger, so a walk
|
|
252
|
+
* never chases the rows its own receipts write. Writes nothing: the backfill ships a page directly rather than queueing it, because a
|
|
253
|
+
* table's whole history through the outbox would cost the directory two writes a row for nothing.
|
|
254
|
+
* A row also captured by its trigger reaches the lake twice; the lake keeps a key's latest version.
|
|
255
|
+
*/
|
|
256
|
+
export declare function readDirectoryLakeBackfill(sql: RedactionSql, dataset: DirectoryLakeDataset, after: number, limit: number): DirectoryLakeBackfillPage;
|
|
257
|
+
/**
|
|
258
|
+
* Record that a real backfill shipped one page of a CAPTURING data set: the page read after
|
|
259
|
+
* `after` and ending at `next`. Refused unless `after` is where the last recorded page ended, so
|
|
260
|
+
* the walk the mark vouches for has no gap, and refused for a data set not capturing (a row
|
|
261
|
+
* written after the walk passed it would then reach no outbox). `done` records `backfilledAt`.
|
|
262
|
+
* Returns the state after the call; writes nothing when the page was already recorded.
|
|
263
|
+
*/
|
|
264
|
+
export declare function advanceDirectoryLakeBackfill(sql: RedactionSql, dataset: DirectoryLakeDataset, page: {
|
|
265
|
+
after: number;
|
|
266
|
+
next: number | null;
|
|
267
|
+
done: boolean;
|
|
268
|
+
}, now: string): {
|
|
269
|
+
state: DirectoryLakeCaptureState;
|
|
270
|
+
changed: boolean;
|
|
271
|
+
};
|
|
272
|
+
/** Why a prune of a data set did nothing this time, when it did nothing for a reason. */
|
|
273
|
+
export type DirectoryLakePruneRefusal = 'not-capturing' | 'not-backfilled' | 'queued-before-window';
|
|
274
|
+
/**
|
|
275
|
+
* K-70's window, applied: delete up to `limit` of a data set's rows older than `before`, oldest
|
|
276
|
+
* first, **only rows the lake already holds.** That is provable for a data set, not per row:
|
|
277
|
+
*
|
|
278
|
+
* - it captures, and its backfill reached the end (`backfilledAt`), so every row written before
|
|
279
|
+
* capture began was shipped by the backfill and every row since was queued by its trigger;
|
|
280
|
+
* - and none of its queued rows is older than `before`, so every such row has been confirmed by
|
|
281
|
+
* the sink and acknowledged out of the outbox.
|
|
282
|
+
*
|
|
283
|
+
* Otherwise it deletes nothing and says why. A delete queues nothing (no delete trigger), so the
|
|
284
|
+
* lake keeps every pruned row. Day-keyed data sets compare the day with `before`'s UTC day.
|
|
285
|
+
*/
|
|
286
|
+
export declare function pruneDirectoryLakeWindow(sql: RedactionSql, dataset: DirectoryLakeDataset, before: string, limit: number): {
|
|
287
|
+
pruned: number;
|
|
288
|
+
refused: DirectoryLakePruneRefusal | null;
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* The switch as the control plane's environment spells it: unset, empty or `off` captures
|
|
292
|
+
* nothing; `all` captures every data set; otherwise a comma list of data set names. A name this
|
|
293
|
+
* code does not know is refused rather than ignored, so a typo cannot read as "on".
|
|
294
|
+
*/
|
|
295
|
+
export declare function parseDirectoryLakeCapture(value: string | undefined): DirectoryLakeDataset[];
|
|
296
|
+
/**
|
|
297
|
+
* K-70's proposed window: how many days of each captured data set the directory keeps once the
|
|
298
|
+
* prune is switched on, and the boundary a history read splits at (directory after, lake before).
|
|
299
|
+
* 35 days covers a billing period and a dispute. An open choice in K-70; one constant on purpose.
|
|
300
|
+
*/
|
|
301
|
+
export declare const DIRECTORY_LAKE_WINDOW_DAYS = 35;
|
|
302
|
+
/** How many outbox rows one batch ships by default, and how many batches one pass may drain. */
|
|
303
|
+
export declare const DIRECTORY_LAKE_BATCH = 500;
|
|
304
|
+
export declare const DIRECTORY_LAKE_BATCHES_PER_PASS = 8;
|
|
305
|
+
export interface DirectoryLakeSweepOptions {
|
|
306
|
+
sink: DirectoryLakeSink;
|
|
307
|
+
/** The data sets that capture. Empty switches capture off; queued rows still drain. */
|
|
308
|
+
capture: readonly DirectoryLakeDataset[];
|
|
309
|
+
/**
|
|
310
|
+
* The data sets whose rows older than the window are pruned once the lake holds them
|
|
311
|
+
* (`pruneDirectoryLakeWindow`). Empty, the default, prunes nothing. The caller decides which may
|
|
312
|
+
* be listed: one whose history readers do not read the lake yet must not be.
|
|
313
|
+
*/
|
|
314
|
+
prune?: readonly DirectoryLakeDataset[];
|
|
315
|
+
/** The window, in days; `DIRECTORY_LAKE_WINDOW_DAYS` by default. */
|
|
316
|
+
windowDays?: number;
|
|
317
|
+
/** The pass's clock, for the window's start. */
|
|
318
|
+
nowMs?: number;
|
|
319
|
+
batch?: number;
|
|
320
|
+
batchesPerPass?: number;
|
|
321
|
+
}
|
|
322
|
+
export interface DirectoryLakeSweepReport {
|
|
323
|
+
/** What the reconcile changed, or null when the host has no directory outbox. */
|
|
324
|
+
capture: DirectoryLakeCaptureResult | null;
|
|
325
|
+
shipped: number;
|
|
326
|
+
acked: number;
|
|
327
|
+
ref: string | null;
|
|
328
|
+
/** Per data set listed for pruning: rows pruned this pass, or why none were. */
|
|
329
|
+
pruned?: Partial<Record<DirectoryLakeDataset, number | DirectoryLakePruneRefusal>>;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* The pass's phase: reconcile the switch, then ship → confirm → delete, batch after batch while
|
|
333
|
+
* each comes back full, up to `batchesPerPass`. A throw anywhere leaves the unconfirmed rows queued,
|
|
334
|
+
* so the next pass ships them again (at least once, never fewer).
|
|
335
|
+
*/
|
|
336
|
+
export declare function sweepDirectoryLake(admin: HostAdmin, actor: PlatformActorId, options: DirectoryLakeSweepOptions, out: DirectoryLakeSweepReport): Promise<void>;
|
|
337
|
+
//# sourceMappingURL=directory-lake.d.ts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