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.
Files changed (78) hide show
  1. package/data/canonical-v1.json +39 -34
  2. package/data/rulesets/baseline.json +29 -0
  3. package/data/rulesets/clud-bug.json +39 -0
  4. package/data/rulesets/public-guard.json +29 -0
  5. package/data/rulesets/skdd.json +42 -0
  6. package/dist/cli/configure-github.d.ts +13 -4
  7. package/dist/cli/configure-github.d.ts.map +1 -1
  8. package/dist/cli/configure-github.js +73 -27
  9. package/dist/cli/configure-github.js.map +1 -1
  10. package/dist/cli/hooks.d.ts.map +1 -1
  11. package/dist/cli/hooks.js +5 -1
  12. package/dist/cli/hooks.js.map +1 -1
  13. package/dist/cli/main.d.ts.map +1 -1
  14. package/dist/cli/main.js +33 -10
  15. package/dist/cli/main.js.map +1 -1
  16. package/dist/cli/post-check-run.d.ts +2 -0
  17. package/dist/cli/post-check-run.d.ts.map +1 -1
  18. package/dist/cli/post-check-run.js +124 -5
  19. package/dist/cli/post-check-run.js.map +1 -1
  20. package/dist/cli/review-prompt.d.ts +11 -1
  21. package/dist/cli/review-prompt.d.ts.map +1 -1
  22. package/dist/cli/review-prompt.js +141 -37
  23. package/dist/cli/review-prompt.js.map +1 -1
  24. package/dist/core/check-verdict.d.ts +1 -1
  25. package/dist/core/check-verdict.d.ts.map +1 -1
  26. package/dist/core/check-verdict.js +14 -1
  27. package/dist/core/check-verdict.js.map +1 -1
  28. package/dist/core/configure-github.d.ts +184 -119
  29. package/dist/core/configure-github.d.ts.map +1 -1
  30. package/dist/core/configure-github.js +407 -209
  31. package/dist/core/configure-github.js.map +1 -1
  32. package/dist/core/index.d.ts +4 -1
  33. package/dist/core/index.d.ts.map +1 -1
  34. package/dist/core/index.js +12 -1
  35. package/dist/core/index.js.map +1 -1
  36. package/dist/core/invariants.d.ts +46 -0
  37. package/dist/core/invariants.d.ts.map +1 -0
  38. package/dist/core/invariants.js +96 -0
  39. package/dist/core/invariants.js.map +1 -0
  40. package/dist/core/notary-bundle.d.ts +95 -0
  41. package/dist/core/notary-bundle.d.ts.map +1 -0
  42. package/dist/core/notary-bundle.js +129 -0
  43. package/dist/core/notary-bundle.js.map +1 -0
  44. package/dist/core/notary-validate.d.ts +86 -0
  45. package/dist/core/notary-validate.d.ts.map +1 -0
  46. package/dist/core/notary-validate.js +270 -0
  47. package/dist/core/notary-validate.js.map +1 -0
  48. package/dist/core/prompt-builder.js +2 -2
  49. package/dist/core/review-schema-zod.d.ts +48 -0
  50. package/dist/core/review-schema-zod.d.ts.map +1 -1
  51. package/dist/core/review-schema-zod.js +5 -0
  52. package/dist/core/review-schema-zod.js.map +1 -1
  53. package/dist/core/review-schema.d.ts +3 -0
  54. package/dist/core/review-schema.d.ts.map +1 -1
  55. package/dist/core/review-schema.js +9 -0
  56. package/dist/core/review-schema.js.map +1 -1
  57. package/dist/core/version.d.ts +1 -1
  58. package/dist/core/version.js +1 -1
  59. package/package.json +1 -1
  60. package/src/cli/configure-github.ts +108 -31
  61. package/src/cli/hooks.ts +5 -1
  62. package/src/cli/main.ts +32 -10
  63. package/src/cli/post-check-run.ts +149 -5
  64. package/src/cli/review-prompt.ts +162 -36
  65. package/src/core/check-verdict.ts +14 -2
  66. package/src/core/configure-github.ts +591 -349
  67. package/src/core/index.ts +46 -0
  68. package/src/core/invariants.ts +123 -0
  69. package/src/core/notary-bundle.ts +196 -0
  70. package/src/core/notary-validate.ts +343 -0
  71. package/src/core/prompt-builder.ts +2 -2
  72. package/src/core/review-schema-zod.ts +5 -0
  73. package/src/core/review-schema.ts +12 -0
  74. package/src/core/version.ts +1 -1
  75. package/templates/skills/design/designing-elite-ui.md +57 -0
  76. package/templates/workflow-py.yml.tmpl +1 -1
  77. package/templates/workflow-ts.yml.tmpl +1 -1
  78. 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 canonical-v1.json structure. Frozen at v1; major bumps require
3
- * coordinated tool releases per the protocol repo's `$comment` field.
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: 'v1';
7
- spec_version: string;
8
- branch_protection: {
9
- required_status_checks: {
10
- strict: boolean;
11
- contexts: string[];
12
- };
13
- required_pull_request_reviews: {
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
- * Loads the bundled canonical-v1 ruleset from `data/canonical-v1.json`.
31
- * Memoized so repeated calls don't re-hit the filesystem.
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 file is missing — that's an
34
- * install-time defect (package.json `files` excluded `data/`), not a
35
- * runtime concern, and the loud failure surfaces it immediately.
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
- * Minimal structural Octokit interface only the methods we actually call.
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
- /** Read branch protection state. Throws on 404 (no protection rule). */
54
- getBranchProtection(params: {
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
- branch: string;
144
+ ruleset_id: number;
58
145
  }): Promise<{
59
- data: {
60
- required_status_checks?: {
61
- strict?: boolean;
62
- contexts?: string[];
63
- } | null;
64
- required_pull_request_reviews?: {
65
- required_approving_review_count?: number;
66
- dismiss_stale_reviews?: boolean;
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
- /** PUT branch protection (the REST API does NOT support PATCH). */
87
- updateBranchProtection(params: {
155
+ /** Update an existing ruleset by id (PUT). */
156
+ updateRepoRuleset(params: {
88
157
  owner: string;
89
158
  repo: string;
90
- branch: string;
91
- required_status_checks: {
92
- strict: boolean;
93
- contexts: string[];
94
- } | null;
95
- enforce_admins: boolean | null;
96
- required_pull_request_reviews: {
97
- required_approving_review_count: number;
98
- dismiss_stale_reviews: boolean;
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
- delete_branch_on_merge?: boolean;
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`). Most consumers will use `main`; this
135
- * is exposed for downstream tools that converge non-`main` defaults.
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. Defaults to the bundled `canonical-v1.json`
140
- * (loaded via `loadCanonicalV1()` if absent). Future v2 callers pass
141
- * an explicit ruleset; the type system pins the shape.
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
- * If true, compute diff only and skip all PATCH calls. The result still
146
- * reports `changes: string[]` so the CLI can render the human-readable
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 state already matches every canonical setting. */
211
+ /** True when the live ruleset already satisfies every canonical setting. */
155
212
  alreadyCanonical: boolean;
156
- /** Schema version applied (always 'canonical-v1' for this build). */
213
+ /** Schema-family identifier applied (the `canonical-v1.json` fetch path). */
157
214
  ruleset: 'canonical-v1';
158
215
  }
159
216
  /**
160
- * Applies the canonical ruleset to a GitHub repo. Reads current state via
161
- * the Octokit-like instance, diffs against `ruleset` (default
162
- * `CANONICAL_V1`), and PATCHes only what differs. Idempotent: second call
163
- * returns `alreadyCanonical: true` with no PATCH side effects.
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
- * Behavior on partial mismatch:
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
- * - `required_status_checks.contexts`: canonical contexts that are
168
- * missing get added; extra contexts on the repo are preserved (superset
169
- * contract a repo that runs more CI gates legitimately needs them).
170
- * - `required_approving_review_count`: canonical floor is 1; if the repo
171
- * already requires more, we don't lower (raise-only contract).
172
- * - All booleans (allow_force_pushes, allow_deletions, etc.): converge
173
- * to the canonical value exactly.
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
- * wraps these with a friendly error message.
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":"AA+CA;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,IAAI,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE;QACjB,sBAAsB,EAAE;YACtB,MAAM,EAAE,OAAO,CAAC;YAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;SACpB,CAAC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,CAAC;gBACnC,2BAA2B,CAAC,EAAE,MAAM,CAAC;aACtC,CAAC;SACH,CAAC,CAAC;QACH,iCAAiC;QACjC,MAAM,CAAC,MAAM,EAAE;YACb,KAAK,EAAE,MAAM,CAAC;YACd,IAAI,EAAE,MAAM,CAAC;YACb,sBAAsB,CAAC,EAAE,OAAO,CAAC;YACjC,gBAAgB,CAAC,EAAE,OAAO,CAAC;YAC3B,yBAAyB,CAAC,EAAE,MAAM,CAAC;YACnC,2BAA2B,CAAC,EAAE,MAAM,CAAC;SACtC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;KACtB,CAAC;CACH;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,2FAA2F;IAC3F,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,wEAAwE;IACxE,gBAAgB,EAAE,OAAO,CAAC;IAC1B,qEAAqE;IACrE,OAAO,EAAE,cAAc,CAAC;CACzB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,2BAA2B,GAClC,OAAO,CAAC,WAAW,CAAC,CAmOtB"}
1
+ {"version":3,"file":"configure-github.d.ts","sourceRoot":"","sources":["../../src/core/configure-github.ts"],"names":[],"mappings":"AA8EA,gFAAgF;AAChF,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED,wEAAwE;AACxE,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE;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