clud-bug 0.7.0-rc.21 → 0.7.0-rc.23
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/data/canonical-v1.json +39 -34
- package/data/rulesets/baseline.json +29 -0
- package/data/rulesets/clud-bug.json +39 -0
- package/data/rulesets/public-guard.json +29 -0
- package/data/rulesets/skdd.json +42 -0
- package/dist/cli/configure-github.d.ts +13 -4
- package/dist/cli/configure-github.d.ts.map +1 -1
- package/dist/cli/configure-github.js +73 -27
- package/dist/cli/configure-github.js.map +1 -1
- package/dist/cli/hooks.d.ts.map +1 -1
- package/dist/cli/hooks.js +5 -1
- package/dist/cli/hooks.js.map +1 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +33 -10
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/post-check-run.d.ts +2 -0
- package/dist/cli/post-check-run.d.ts.map +1 -1
- package/dist/cli/post-check-run.js +124 -5
- package/dist/cli/post-check-run.js.map +1 -1
- package/dist/cli/review-prompt.d.ts +11 -1
- package/dist/cli/review-prompt.d.ts.map +1 -1
- package/dist/cli/review-prompt.js +141 -37
- package/dist/cli/review-prompt.js.map +1 -1
- package/dist/core/check-verdict.d.ts +1 -1
- package/dist/core/check-verdict.d.ts.map +1 -1
- package/dist/core/check-verdict.js +14 -1
- package/dist/core/check-verdict.js.map +1 -1
- package/dist/core/configure-github.d.ts +184 -119
- package/dist/core/configure-github.d.ts.map +1 -1
- package/dist/core/configure-github.js +407 -209
- package/dist/core/configure-github.js.map +1 -1
- package/dist/core/index.d.ts +4 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +12 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/invariants.d.ts +46 -0
- package/dist/core/invariants.d.ts.map +1 -0
- package/dist/core/invariants.js +96 -0
- package/dist/core/invariants.js.map +1 -0
- package/dist/core/notary-bundle.d.ts +95 -0
- package/dist/core/notary-bundle.d.ts.map +1 -0
- package/dist/core/notary-bundle.js +129 -0
- package/dist/core/notary-bundle.js.map +1 -0
- package/dist/core/notary-validate.d.ts +86 -0
- package/dist/core/notary-validate.d.ts.map +1 -0
- package/dist/core/notary-validate.js +270 -0
- package/dist/core/notary-validate.js.map +1 -0
- package/dist/core/prompt-builder.js +2 -2
- package/dist/core/review-schema-zod.d.ts +48 -0
- package/dist/core/review-schema-zod.d.ts.map +1 -1
- package/dist/core/review-schema-zod.js +5 -0
- package/dist/core/review-schema-zod.js.map +1 -1
- package/dist/core/review-schema.d.ts +3 -0
- package/dist/core/review-schema.d.ts.map +1 -1
- package/dist/core/review-schema.js +9 -0
- package/dist/core/review-schema.js.map +1 -1
- package/dist/core/version.d.ts +1 -1
- package/dist/core/version.js +1 -1
- package/package.json +1 -1
- package/src/cli/configure-github.ts +108 -31
- package/src/cli/hooks.ts +5 -1
- package/src/cli/main.ts +32 -10
- package/src/cli/post-check-run.ts +149 -5
- package/src/cli/review-prompt.ts +162 -36
- package/src/core/check-verdict.ts +14 -2
- package/src/core/configure-github.ts +591 -349
- package/src/core/index.ts +46 -0
- package/src/core/invariants.ts +123 -0
- package/src/core/notary-bundle.ts +196 -0
- package/src/core/notary-validate.ts +343 -0
- package/src/core/prompt-builder.ts +2 -2
- package/src/core/review-schema-zod.ts +5 -0
- package/src/core/review-schema.ts +12 -0
- package/src/core/version.ts +1 -1
- package/templates/skills/design/designing-elite-ui.md +57 -0
- package/templates/workflow-py.yml.tmpl +1 -1
- package/templates/workflow-ts.yml.tmpl +1 -1
- package/templates/workflow.yml.tmpl +1 -1
|
@@ -1,149 +1,206 @@
|
|
|
1
|
+
/** A single rule inside the ruleset's `rules` array (GitHub rulesets shape). */
|
|
2
|
+
export interface CanonicalRulesetRule {
|
|
3
|
+
type: string;
|
|
4
|
+
parameters?: Record<string, unknown>;
|
|
5
|
+
}
|
|
6
|
+
/** Ruleset targeting conditions (which refs the ruleset applies to). */
|
|
7
|
+
export interface CanonicalRulesetConditions {
|
|
8
|
+
ref_name: {
|
|
9
|
+
include: string[];
|
|
10
|
+
exclude: string[];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/** An actor allowed to bypass the ruleset (e.g. the Repository-admin role). */
|
|
14
|
+
export interface CanonicalRulesetBypassActor {
|
|
15
|
+
actor_type: string;
|
|
16
|
+
actor_id: number;
|
|
17
|
+
bypass_mode: string;
|
|
18
|
+
}
|
|
1
19
|
/**
|
|
2
|
-
* The
|
|
3
|
-
*
|
|
20
|
+
* The vendored ruleset structure (GitHub v2 rulesets shape). The reporulez
|
|
21
|
+
* presets under `data/rulesets/` are vendored verbatim — they carry `name`,
|
|
22
|
+
* `target`, `enforcement`, `conditions`, `bypass_actors`, `rules`, and a
|
|
23
|
+
* `$comment` header (consumer-ignored). `version` / `spec_version` are
|
|
24
|
+
* OPTIONAL: only the legacy metadata-rich `canonical-v1.json` alias carried
|
|
25
|
+
* them; the vendored presets omit them. `$comment` / `$notes` are OPTIONAL
|
|
26
|
+
* and consumer-ignored (not modeled here). Major schema bumps require
|
|
27
|
+
* coordinated tool releases.
|
|
4
28
|
*/
|
|
5
29
|
export interface CanonicalRuleset {
|
|
6
|
-
version
|
|
7
|
-
spec_version
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
required_approving_review_count: number;
|
|
15
|
-
dismiss_stale_reviews: boolean;
|
|
16
|
-
require_code_owner_reviews: boolean;
|
|
17
|
-
};
|
|
18
|
-
required_conversation_resolution: boolean;
|
|
19
|
-
enforce_admins: boolean;
|
|
20
|
-
allow_force_pushes: boolean;
|
|
21
|
-
allow_deletions: boolean;
|
|
22
|
-
required_linear_history: boolean;
|
|
23
|
-
allow_auto_merge: boolean;
|
|
24
|
-
delete_branch_on_merge: boolean;
|
|
25
|
-
squash_merge_commit_title: string;
|
|
26
|
-
squash_merge_commit_message: string;
|
|
27
|
-
};
|
|
30
|
+
version?: 'v2';
|
|
31
|
+
spec_version?: string;
|
|
32
|
+
name: string;
|
|
33
|
+
target: string;
|
|
34
|
+
enforcement: string;
|
|
35
|
+
conditions: CanonicalRulesetConditions;
|
|
36
|
+
bypass_actors: CanonicalRulesetBypassActor[];
|
|
37
|
+
rules: CanonicalRulesetRule[];
|
|
28
38
|
}
|
|
29
39
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
40
|
+
* The purpose-named preset taxonomy, vendored from reporulez (the canonical
|
|
41
|
+
* source) into `data/rulesets/<name>.json`. Ordered least → most strict.
|
|
42
|
+
*/
|
|
43
|
+
export declare const PRESET_NAMES: readonly ["baseline", "clud-bug", "skdd", "public-guard"];
|
|
44
|
+
export type PresetName = (typeof PRESET_NAMES)[number];
|
|
45
|
+
/**
|
|
46
|
+
* Default preset — `skdd` (the four-check SkDD ruleset). Preserves the prior
|
|
47
|
+
* single-canonical behavior when `--preset` isn't passed.
|
|
48
|
+
*/
|
|
49
|
+
export declare const DEFAULT_PRESET: PresetName;
|
|
50
|
+
/** Type guard: is `name` one of the known presets? */
|
|
51
|
+
export declare function isPresetName(name: string): name is PresetName;
|
|
52
|
+
/**
|
|
53
|
+
* Loads a vendored ruleset preset from `data/rulesets/<name>.json`. The four
|
|
54
|
+
* variants (baseline · clud-bug · skdd · public-guard) are vendored verbatim
|
|
55
|
+
* from reporulez (the canonical source); consumers ignore the `$comment`
|
|
56
|
+
* header. Memoized per-name so repeated calls don't re-hit the filesystem.
|
|
32
57
|
*
|
|
33
|
-
* Throws a wrapped error if the JSON
|
|
34
|
-
*
|
|
35
|
-
*
|
|
58
|
+
* Throws a wrapped error if the name is unknown or the JSON is missing —
|
|
59
|
+
* an unknown preset is a caller bug; a missing file is an install-time
|
|
60
|
+
* defect (package.json `files` excluded `data/`). Both surface loudly.
|
|
61
|
+
*/
|
|
62
|
+
export declare function loadPreset(name: PresetName): Promise<CanonicalRuleset>;
|
|
63
|
+
/**
|
|
64
|
+
* Back-compat alias: the historical `loadCanonicalV1()` entry point now
|
|
65
|
+
* resolves the DEFAULT (`skdd`) preset. `data/canonical-v1.json` is retained
|
|
66
|
+
* on disk as a copy of the skdd preset for the stable external fetch path,
|
|
67
|
+
* but the loader reads `data/rulesets/skdd.json`.
|
|
36
68
|
*/
|
|
37
69
|
export declare function loadCanonicalV1(): Promise<CanonicalRuleset>;
|
|
38
70
|
/**
|
|
39
|
-
*
|
|
71
|
+
* Repo-level "conveniences" — merge hygiene that lives on the REPOSITORY,
|
|
72
|
+
* not the ruleset (v2 rulesets can't express these). Applied for EVERY
|
|
73
|
+
* preset as universal hygiene: squash-only merges, auto-merge + branch
|
|
74
|
+
* cleanup on, PR title/body as the squash commit message.
|
|
75
|
+
*/
|
|
76
|
+
export interface RepoConveniences {
|
|
77
|
+
delete_branch_on_merge: boolean;
|
|
78
|
+
allow_auto_merge: boolean;
|
|
79
|
+
allow_squash_merge: boolean;
|
|
80
|
+
allow_merge_commit: boolean;
|
|
81
|
+
allow_rebase_merge: boolean;
|
|
82
|
+
squash_merge_commit_title: string;
|
|
83
|
+
squash_merge_commit_message: string;
|
|
84
|
+
}
|
|
85
|
+
/** The canonical repo-conveniences every preset converges the repo to. */
|
|
86
|
+
export declare const CANONICAL_REPO_CONVENIENCES: RepoConveniences;
|
|
87
|
+
/** A ruleset as returned by GitHub's list endpoint (summary — id + name). */
|
|
88
|
+
export interface RepoRulesetSummary {
|
|
89
|
+
id: number;
|
|
90
|
+
name: string;
|
|
91
|
+
}
|
|
92
|
+
/** A ruleset as returned by GitHub's get-by-id endpoint (full definition). */
|
|
93
|
+
export interface RepoRulesetFull {
|
|
94
|
+
id: number;
|
|
95
|
+
name: string;
|
|
96
|
+
target?: string;
|
|
97
|
+
enforcement?: string;
|
|
98
|
+
conditions?: {
|
|
99
|
+
ref_name?: {
|
|
100
|
+
include?: string[];
|
|
101
|
+
exclude?: string[];
|
|
102
|
+
};
|
|
103
|
+
} | null;
|
|
104
|
+
bypass_actors?: Array<{
|
|
105
|
+
actor_type?: string;
|
|
106
|
+
actor_id?: number;
|
|
107
|
+
bypass_mode?: string;
|
|
108
|
+
}> | null;
|
|
109
|
+
rules?: CanonicalRulesetRule[] | null;
|
|
110
|
+
}
|
|
111
|
+
/** The body sent to POST/PUT `…/rulesets` (the metadata-stripped payload). */
|
|
112
|
+
export interface RulesetWritePayload {
|
|
113
|
+
name: string;
|
|
114
|
+
target: string;
|
|
115
|
+
enforcement: string;
|
|
116
|
+
bypass_actors: CanonicalRulesetBypassActor[];
|
|
117
|
+
conditions: CanonicalRulesetConditions;
|
|
118
|
+
rules: CanonicalRulesetRule[];
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Minimal structural Octokit interface — only the rulesets methods we call.
|
|
40
122
|
*
|
|
41
123
|
* We intentionally don't import `@octokit/rest` types: that would force
|
|
42
124
|
* every consumer (App, CLI, future tools) to install Octokit at runtime
|
|
43
125
|
* even when they pass a `gh`-CLI-backed adapter. Keeping the shape
|
|
44
126
|
* structural lets the CLI's `gh`-wrapping adapter satisfy it without
|
|
45
|
-
* pulling in a 200KB dep.
|
|
46
|
-
*
|
|
47
|
-
* If `@octokit/rest`'s real method shapes ever drift, the adapter +
|
|
48
|
-
* runtime call sites are the only files that need updating; the rule
|
|
49
|
-
* table here stays Octokit-version-agnostic.
|
|
127
|
+
* pulling in a 200KB dep. The method names mirror `@octokit/rest`'s
|
|
128
|
+
* `repos.*` rulesets surface so a real Octokit instance satisfies it too.
|
|
50
129
|
*/
|
|
51
130
|
export interface OctokitLike {
|
|
52
131
|
repos: {
|
|
53
|
-
/**
|
|
54
|
-
|
|
132
|
+
/** List the repo's rulesets (summaries). `includes_parents:false` scopes to repo-level. */
|
|
133
|
+
getRepoRulesets(params: {
|
|
134
|
+
owner: string;
|
|
135
|
+
repo: string;
|
|
136
|
+
includes_parents?: boolean;
|
|
137
|
+
}): Promise<{
|
|
138
|
+
data: RepoRulesetSummary[];
|
|
139
|
+
}>;
|
|
140
|
+
/** Fetch a single ruleset by id (full rules/conditions/bypass_actors). */
|
|
141
|
+
getRepoRuleset(params: {
|
|
55
142
|
owner: string;
|
|
56
143
|
repo: string;
|
|
57
|
-
|
|
144
|
+
ruleset_id: number;
|
|
58
145
|
}): Promise<{
|
|
59
|
-
data:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
require_code_owner_reviews?: boolean;
|
|
68
|
-
} | null;
|
|
69
|
-
required_conversation_resolution?: {
|
|
70
|
-
enabled?: boolean;
|
|
71
|
-
} | null;
|
|
72
|
-
enforce_admins?: {
|
|
73
|
-
enabled?: boolean;
|
|
74
|
-
} | null;
|
|
75
|
-
allow_force_pushes?: {
|
|
76
|
-
enabled?: boolean;
|
|
77
|
-
} | null;
|
|
78
|
-
allow_deletions?: {
|
|
79
|
-
enabled?: boolean;
|
|
80
|
-
} | null;
|
|
81
|
-
required_linear_history?: {
|
|
82
|
-
enabled?: boolean;
|
|
83
|
-
} | null;
|
|
84
|
-
};
|
|
146
|
+
data: RepoRulesetFull;
|
|
147
|
+
}>;
|
|
148
|
+
/** Create a ruleset (POST). */
|
|
149
|
+
createRepoRuleset(params: {
|
|
150
|
+
owner: string;
|
|
151
|
+
repo: string;
|
|
152
|
+
} & RulesetWritePayload): Promise<{
|
|
153
|
+
data: RepoRulesetFull;
|
|
85
154
|
}>;
|
|
86
|
-
/**
|
|
87
|
-
|
|
155
|
+
/** Update an existing ruleset by id (PUT). */
|
|
156
|
+
updateRepoRuleset(params: {
|
|
88
157
|
owner: string;
|
|
89
158
|
repo: string;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
require_code_owner_reviews: boolean;
|
|
100
|
-
} | null;
|
|
101
|
-
restrictions: null;
|
|
102
|
-
required_conversation_resolution?: boolean;
|
|
103
|
-
required_linear_history?: boolean;
|
|
104
|
-
allow_force_pushes?: boolean;
|
|
105
|
-
allow_deletions?: boolean;
|
|
106
|
-
}): Promise<unknown>;
|
|
107
|
-
/** Read repo-level settings (delete_branch_on_merge, allow_auto_merge, etc). */
|
|
159
|
+
ruleset_id: number;
|
|
160
|
+
} & RulesetWritePayload): Promise<{
|
|
161
|
+
data: RepoRulesetFull;
|
|
162
|
+
}>;
|
|
163
|
+
/**
|
|
164
|
+
* Read repo-level settings (the conveniences: merge methods + squash
|
|
165
|
+
* commit shape + branch-cleanup toggles). Backs the universal-hygiene
|
|
166
|
+
* PATCH; mirrors `@octokit/rest`'s `repos.get`.
|
|
167
|
+
*/
|
|
108
168
|
get(params: {
|
|
109
169
|
owner: string;
|
|
110
170
|
repo: string;
|
|
111
171
|
}): Promise<{
|
|
112
|
-
data:
|
|
113
|
-
delete_branch_on_merge?: boolean;
|
|
114
|
-
allow_auto_merge?: boolean;
|
|
115
|
-
squash_merge_commit_title?: string;
|
|
116
|
-
squash_merge_commit_message?: string;
|
|
117
|
-
};
|
|
172
|
+
data: Partial<RepoConveniences>;
|
|
118
173
|
}>;
|
|
119
|
-
/** PATCH repo-level settings. */
|
|
174
|
+
/** PATCH repo-level settings (the conveniences payload). `repos.update`. */
|
|
120
175
|
update(params: {
|
|
121
176
|
owner: string;
|
|
122
177
|
repo: string;
|
|
123
|
-
|
|
124
|
-
allow_auto_merge?: boolean;
|
|
125
|
-
squash_merge_commit_title?: string;
|
|
126
|
-
squash_merge_commit_message?: string;
|
|
127
|
-
}): Promise<unknown>;
|
|
178
|
+
} & Partial<RepoConveniences>): Promise<unknown>;
|
|
128
179
|
};
|
|
129
180
|
}
|
|
130
181
|
export interface ApplyCanonicalRulesetParams {
|
|
131
182
|
owner: string;
|
|
132
183
|
repo: string;
|
|
133
184
|
/**
|
|
134
|
-
* Target branch (default: `main`).
|
|
135
|
-
*
|
|
185
|
+
* Target branch (default: `main`). The canonical ruleset targets the repo's
|
|
186
|
+
* default branch via the `~DEFAULT_BRANCH` sentinel; passing an explicit
|
|
187
|
+
* non-`main` branch narrows the ruleset to `refs/heads/<branch>` instead.
|
|
136
188
|
*/
|
|
137
189
|
branch?: string;
|
|
138
190
|
/**
|
|
139
|
-
* The ruleset to apply.
|
|
140
|
-
*
|
|
141
|
-
*
|
|
191
|
+
* The ruleset to apply. When absent, resolved from `preset` (or the
|
|
192
|
+
* DEFAULT `skdd` preset). Callers may pass an explicit ruleset; the type
|
|
193
|
+
* system pins the shape. Takes precedence over `preset`.
|
|
142
194
|
*/
|
|
143
195
|
ruleset?: CanonicalRuleset;
|
|
144
196
|
/**
|
|
145
|
-
*
|
|
146
|
-
*
|
|
197
|
+
* Named preset to load when `ruleset` isn't passed explicitly. One of
|
|
198
|
+
* baseline · clud-bug · skdd · public-guard. Defaults to `skdd`.
|
|
199
|
+
*/
|
|
200
|
+
preset?: PresetName;
|
|
201
|
+
/**
|
|
202
|
+
* If true, compute diff only and skip all create/update calls. The result
|
|
203
|
+
* still reports `changes: string[]` so the CLI can render the human-readable
|
|
147
204
|
* diff before applying.
|
|
148
205
|
*/
|
|
149
206
|
dryRun?: boolean;
|
|
@@ -151,29 +208,37 @@ export interface ApplyCanonicalRulesetParams {
|
|
|
151
208
|
export interface ApplyResult {
|
|
152
209
|
/** Human-readable diff lines, one per detected difference. Empty when alreadyCanonical. */
|
|
153
210
|
changes: string[];
|
|
154
|
-
/** True when the live
|
|
211
|
+
/** True when the live ruleset already satisfies every canonical setting. */
|
|
155
212
|
alreadyCanonical: boolean;
|
|
156
|
-
/** Schema
|
|
213
|
+
/** Schema-family identifier applied (the `canonical-v1.json` fetch path). */
|
|
157
214
|
ruleset: 'canonical-v1';
|
|
158
215
|
}
|
|
159
216
|
/**
|
|
160
|
-
* Applies the
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
217
|
+
* Applies the selected preset to a GitHub repo: repo conveniences FIRST
|
|
218
|
+
* (universal hygiene for every preset), then the canonical ruleset via the
|
|
219
|
+
* rulesets API.
|
|
220
|
+
*
|
|
221
|
+
* Conveniences: diffs repo-level settings (squash-only merges, auto-merge,
|
|
222
|
+
* delete-branch-on-merge, PR title/body squash message) and PATCHes only
|
|
223
|
+
* what drifted (`repos.update`), before the ruleset write.
|
|
164
224
|
*
|
|
165
|
-
*
|
|
225
|
+
* Ruleset: lists the repo's rulesets, finds the canonical one by name, and:
|
|
226
|
+
* - creates it (POST) if absent, or
|
|
227
|
+
* - diffs the existing one against canonical and updates it (PUT) only
|
|
228
|
+
* when it doesn't already satisfy the canonical contract.
|
|
229
|
+
* Idempotent: a second call against a converged repo returns
|
|
230
|
+
* `alreadyCanonical: true` with no repo-update / create / update side effects.
|
|
166
231
|
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
* - `required_approving_review_count`:
|
|
171
|
-
*
|
|
172
|
-
* -
|
|
173
|
-
*
|
|
232
|
+
* Behavior on partial mismatch (SPEC §7.4):
|
|
233
|
+
* - `required_status_checks` contexts: canonical contexts that are missing
|
|
234
|
+
* get added; extra contexts on the repo are preserved (superset contract).
|
|
235
|
+
* - `required_approving_review_count`: treated as a floor (only raise, never
|
|
236
|
+
* lower an owner-raised value).
|
|
237
|
+
* - `bypass_actors`: superset — extra actors the repo already has survive.
|
|
238
|
+
* - repo conveniences + everything else converge to the canonical value.
|
|
174
239
|
*
|
|
175
|
-
* Throws on Octokit transport failure (auth, network, 403). The CLI
|
|
176
|
-
*
|
|
240
|
+
* Throws on Octokit transport failure (auth, network, 403). The CLI wraps
|
|
241
|
+
* these with a friendly error message.
|
|
177
242
|
*/
|
|
178
243
|
export declare function applyCanonicalRuleset(octokit: OctokitLike, params: ApplyCanonicalRulesetParams): Promise<ApplyResult>;
|
|
179
244
|
//# sourceMappingURL=configure-github.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configure-github.d.ts","sourceRoot":"","sources":["../../src/core/configure-github.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"configure-github.d.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