@standards-kit/conform 0.1.0 → 0.1.3

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 (139) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +143 -0
  3. package/dist/{chunk-P7TIZJ4C.js → chunk-DXIYZR62.js} +2 -2
  4. package/dist/chunk-DXIYZR62.js.map +1 -0
  5. package/dist/{chunk-KHO6NIAI.js → chunk-PZ2NVKI7.js} +7 -7
  6. package/dist/chunk-PZ2NVKI7.js.map +1 -0
  7. package/dist/cli.d.ts +2 -0
  8. package/dist/cli.js +14 -14
  9. package/dist/cli.js.map +1 -1
  10. package/dist/code/index.d.ts +11 -0
  11. package/dist/code/tools/base.d.ts +51 -0
  12. package/dist/code/tools/comment-utils.d.ts +17 -0
  13. package/dist/code/tools/coverage-run.d.ts +37 -0
  14. package/dist/code/tools/disable-comments.d.ts +42 -0
  15. package/dist/code/tools/eslint.d.ts +99 -0
  16. package/dist/code/tools/gitleaks.d.ts +42 -0
  17. package/dist/code/tools/index.d.ts +13 -0
  18. package/dist/code/tools/knip.d.ts +20 -0
  19. package/dist/code/tools/naming.d.ts +64 -0
  20. package/dist/code/tools/pipaudit.d.ts +24 -0
  21. package/dist/code/tools/pnpmaudit.d.ts +36 -0
  22. package/dist/code/tools/ruff.d.ts +46 -0
  23. package/dist/code/tools/tsc.d.ts +57 -0
  24. package/dist/code/tools/ty.d.ts +34 -0
  25. package/dist/code/tools/vulture.d.ts +32 -0
  26. package/dist/core/index.d.ts +7 -0
  27. package/dist/core/loader.d.ts +42 -0
  28. package/dist/core/registry.d.ts +17 -0
  29. package/dist/core/schema.d.ts +1829 -0
  30. package/dist/core/types.d.ts +95 -0
  31. package/dist/{src-KZRTG3EU.js → core-KB2W6SE2.js} +3 -3
  32. package/dist/dependencies/index.d.ts +13 -0
  33. package/dist/dependencies/mappings.d.ts +17 -0
  34. package/dist/dependencies/output.d.ts +12 -0
  35. package/dist/dependencies/types.d.ts +34 -0
  36. package/dist/index.d.ts +21 -0
  37. package/dist/index.js +9 -5
  38. package/dist/index.js.map +1 -1
  39. package/dist/infra/arn.d.ts +16 -0
  40. package/dist/infra/checkers/cloudwatch.d.ts +8 -0
  41. package/dist/infra/checkers/dynamodb.d.ts +8 -0
  42. package/dist/infra/checkers/ec2.d.ts +13 -0
  43. package/dist/infra/checkers/ecs.d.ts +13 -0
  44. package/dist/infra/checkers/elasticache.d.ts +13 -0
  45. package/dist/infra/checkers/elb.d.ts +13 -0
  46. package/dist/infra/checkers/gcp/artifactregistry.d.ts +5 -0
  47. package/dist/infra/checkers/gcp/cloudrun.d.ts +5 -0
  48. package/dist/infra/checkers/gcp/iam.d.ts +5 -0
  49. package/dist/infra/checkers/gcp/index.d.ts +17 -0
  50. package/dist/infra/checkers/gcp/secretmanager.d.ts +5 -0
  51. package/dist/infra/checkers/iam.d.ts +8 -0
  52. package/dist/infra/checkers/index.d.ts +26 -0
  53. package/dist/infra/checkers/lambda.d.ts +8 -0
  54. package/dist/infra/checkers/rds.d.ts +13 -0
  55. package/dist/infra/checkers/s3.d.ts +8 -0
  56. package/dist/infra/checkers/secretsmanager.d.ts +8 -0
  57. package/dist/infra/checkers/sns.d.ts +8 -0
  58. package/dist/infra/checkers/sqs.d.ts +8 -0
  59. package/dist/infra/checkers/types.d.ts +28 -0
  60. package/dist/infra/gcp.d.ts +18 -0
  61. package/dist/infra/generate.d.ts +74 -0
  62. package/dist/infra/index.d.ts +59 -0
  63. package/dist/infra/manifest.d.ts +58 -0
  64. package/dist/infra/output.d.ts +8 -0
  65. package/dist/infra/scan.d.ts +25 -0
  66. package/dist/infra/schemas.d.ts +806 -0
  67. package/dist/infra/types.d.ts +8 -0
  68. package/dist/{infra-UXM5XQX3.js → infra-ZQRXX7AW.js} +3 -3
  69. package/dist/infra-ZQRXX7AW.js.map +1 -0
  70. package/dist/mcp/index.d.ts +7 -0
  71. package/dist/mcp/server.d.ts +18 -0
  72. package/dist/mcp/standards/fetcher.d.ts +29 -0
  73. package/dist/mcp/standards/index.d.ts +4 -0
  74. package/dist/mcp/standards/matcher.d.ts +22 -0
  75. package/dist/mcp/standards/parser.d.ts +46 -0
  76. package/dist/mcp/standards/types.d.ts +32 -0
  77. package/dist/mcp/tools/get-guideline.d.ts +26 -0
  78. package/dist/mcp/tools/get-ruleset.d.ts +26 -0
  79. package/dist/mcp/tools/get-standards.d.ts +27 -0
  80. package/dist/mcp/tools/index.d.ts +4 -0
  81. package/dist/mcp/tools/list-guidelines.d.ts +25 -0
  82. package/dist/{mcp-O5O7XVFG.js → mcp-WXYRFNEV.js} +3 -3
  83. package/dist/mcp-WXYRFNEV.js.map +1 -0
  84. package/dist/output/index.d.ts +14 -0
  85. package/dist/process/commands/check-branch.d.ts +13 -0
  86. package/dist/process/commands/check-commit.d.ts +14 -0
  87. package/dist/process/commands/index.d.ts +2 -0
  88. package/dist/process/index.d.ts +11 -0
  89. package/dist/process/scan/index.d.ts +5 -0
  90. package/dist/process/scan/remote-fetcher.d.ts +18 -0
  91. package/dist/process/scan/scanner.d.ts +6 -0
  92. package/dist/process/scan/types.d.ts +57 -0
  93. package/dist/process/scan/validators.d.ts +37 -0
  94. package/dist/process/sync/applier.d.ts +10 -0
  95. package/dist/process/sync/differ.d.ts +7 -0
  96. package/dist/process/sync/fetcher.d.ts +14 -0
  97. package/dist/process/sync/index.d.ts +9 -0
  98. package/dist/process/sync/types.d.ts +131 -0
  99. package/dist/process/sync/validator.d.ts +22 -0
  100. package/dist/process/tools/backups.d.ts +32 -0
  101. package/dist/process/tools/base.d.ts +52 -0
  102. package/dist/process/tools/branches.d.ts +41 -0
  103. package/dist/process/tools/changesets.d.ts +53 -0
  104. package/dist/process/tools/ci.d.ts +57 -0
  105. package/dist/process/tools/codeowners.d.ts +68 -0
  106. package/dist/process/tools/commits.d.ts +39 -0
  107. package/dist/process/tools/coverage.d.ts +57 -0
  108. package/dist/process/tools/docs-helpers.d.ts +44 -0
  109. package/dist/process/tools/docs.d.ts +38 -0
  110. package/dist/process/tools/forbidden-files.d.ts +40 -0
  111. package/dist/process/tools/hooks.d.ts +39 -0
  112. package/dist/process/tools/index.d.ts +14 -0
  113. package/dist/process/tools/pr.d.ts +59 -0
  114. package/dist/process/tools/repo.d.ts +65 -0
  115. package/dist/process/tools/tickets.d.ts +42 -0
  116. package/dist/projects/detector.d.ts +16 -0
  117. package/dist/projects/index.d.ts +4 -0
  118. package/dist/projects/templates.d.ts +15 -0
  119. package/dist/projects/tier-loader.d.ts +14 -0
  120. package/dist/projects/types.d.ts +76 -0
  121. package/dist/{registry-V65CC7IN.js → registry-7CDIMOLZ.js} +2 -2
  122. package/dist/{scan-EELS42BP.js → scan-IKEHLZXV.js} +4 -4
  123. package/dist/{scan-EELS42BP.js.map → scan-IKEHLZXV.js.map} +1 -1
  124. package/dist/{sync-RLYBGYNY.js → sync-XV6XBLVZ.js} +3 -3
  125. package/dist/{sync-RLYBGYNY.js.map → sync-XV6XBLVZ.js.map} +1 -1
  126. package/dist/validate/guidelines.d.ts +18 -0
  127. package/dist/validate/index.d.ts +5 -0
  128. package/dist/validate/tier.d.ts +14 -0
  129. package/dist/validate/types.d.ts +56 -0
  130. package/dist/{validate-AABLVQJS.js → validate-DKEJICCK.js} +3 -3
  131. package/dist/validate-DKEJICCK.js.map +1 -0
  132. package/package.json +26 -19
  133. package/dist/chunk-KHO6NIAI.js.map +0 -1
  134. package/dist/chunk-P7TIZJ4C.js.map +0 -1
  135. package/dist/infra-UXM5XQX3.js.map +0 -1
  136. package/dist/mcp-O5O7XVFG.js.map +0 -1
  137. package/dist/validate-AABLVQJS.js.map +0 -1
  138. /package/dist/{registry-V65CC7IN.js.map → core-KB2W6SE2.js.map} +0 -0
  139. /package/dist/{src-KZRTG3EU.js.map → registry-7CDIMOLZ.js.map} +0 -0
@@ -0,0 +1,1829 @@
1
+ import { z } from "zod";
2
+ /** Default ignore patterns for forbidden files scan */
3
+ declare const DEFAULT_FORBIDDEN_FILES_IGNORE: string[];
4
+ export { DEFAULT_FORBIDDEN_FILES_IGNORE };
5
+ /** Full standards.toml schema */
6
+ export declare const configSchema: z.ZodObject<{
7
+ extends: z.ZodOptional<z.ZodObject<{
8
+ registry: z.ZodString;
9
+ rulesets: z.ZodArray<z.ZodString, "many">;
10
+ }, "strict", z.ZodTypeAny, {
11
+ registry: string;
12
+ rulesets: string[];
13
+ }, {
14
+ registry: string;
15
+ rulesets: string[];
16
+ }>>;
17
+ code: z.ZodOptional<z.ZodObject<{
18
+ linting: z.ZodOptional<z.ZodObject<{
19
+ eslint: z.ZodOptional<z.ZodObject<{
20
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
21
+ files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22
+ ignore: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
+ "max-warnings": z.ZodOptional<z.ZodNumber>;
24
+ rules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["off", "warn", "error"]>, z.ZodObject<{
25
+ severity: z.ZodEnum<["off", "warn", "error"]>;
26
+ }, "strip", z.ZodUnknown, z.objectOutputType<{
27
+ severity: z.ZodEnum<["off", "warn", "error"]>;
28
+ }, z.ZodUnknown, "strip">, z.objectInputType<{
29
+ severity: z.ZodEnum<["off", "warn", "error"]>;
30
+ }, z.ZodUnknown, "strip">>]>>>;
31
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
32
+ }, "strict", z.ZodTypeAny, {
33
+ enabled: boolean;
34
+ files?: string[] | undefined;
35
+ ignore?: string[] | undefined;
36
+ "max-warnings"?: number | undefined;
37
+ rules?: Record<string, "error" | "off" | "warn" | z.objectOutputType<{
38
+ severity: z.ZodEnum<["off", "warn", "error"]>;
39
+ }, z.ZodUnknown, "strip">> | undefined;
40
+ dependencies?: string[] | undefined;
41
+ }, {
42
+ enabled?: boolean | undefined;
43
+ files?: string[] | undefined;
44
+ ignore?: string[] | undefined;
45
+ "max-warnings"?: number | undefined;
46
+ rules?: Record<string, "error" | "off" | "warn" | z.objectInputType<{
47
+ severity: z.ZodEnum<["off", "warn", "error"]>;
48
+ }, z.ZodUnknown, "strip">> | undefined;
49
+ dependencies?: string[] | undefined;
50
+ }>>;
51
+ ruff: z.ZodOptional<z.ZodObject<{
52
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
53
+ "line-length": z.ZodOptional<z.ZodNumber>;
54
+ lint: z.ZodOptional<z.ZodObject<{
55
+ select: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
56
+ ignore: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
+ }, "strict", z.ZodTypeAny, {
58
+ ignore?: string[] | undefined;
59
+ select?: string[] | undefined;
60
+ }, {
61
+ ignore?: string[] | undefined;
62
+ select?: string[] | undefined;
63
+ }>>;
64
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
65
+ }, "strict", z.ZodTypeAny, {
66
+ enabled: boolean;
67
+ dependencies?: string[] | undefined;
68
+ "line-length"?: number | undefined;
69
+ lint?: {
70
+ ignore?: string[] | undefined;
71
+ select?: string[] | undefined;
72
+ } | undefined;
73
+ }, {
74
+ enabled?: boolean | undefined;
75
+ dependencies?: string[] | undefined;
76
+ "line-length"?: number | undefined;
77
+ lint?: {
78
+ ignore?: string[] | undefined;
79
+ select?: string[] | undefined;
80
+ } | undefined;
81
+ }>>;
82
+ }, "strict", z.ZodTypeAny, {
83
+ eslint?: {
84
+ enabled: boolean;
85
+ files?: string[] | undefined;
86
+ ignore?: string[] | undefined;
87
+ "max-warnings"?: number | undefined;
88
+ rules?: Record<string, "error" | "off" | "warn" | z.objectOutputType<{
89
+ severity: z.ZodEnum<["off", "warn", "error"]>;
90
+ }, z.ZodUnknown, "strip">> | undefined;
91
+ dependencies?: string[] | undefined;
92
+ } | undefined;
93
+ ruff?: {
94
+ enabled: boolean;
95
+ dependencies?: string[] | undefined;
96
+ "line-length"?: number | undefined;
97
+ lint?: {
98
+ ignore?: string[] | undefined;
99
+ select?: string[] | undefined;
100
+ } | undefined;
101
+ } | undefined;
102
+ }, {
103
+ eslint?: {
104
+ enabled?: boolean | undefined;
105
+ files?: string[] | undefined;
106
+ ignore?: string[] | undefined;
107
+ "max-warnings"?: number | undefined;
108
+ rules?: Record<string, "error" | "off" | "warn" | z.objectInputType<{
109
+ severity: z.ZodEnum<["off", "warn", "error"]>;
110
+ }, z.ZodUnknown, "strip">> | undefined;
111
+ dependencies?: string[] | undefined;
112
+ } | undefined;
113
+ ruff?: {
114
+ enabled?: boolean | undefined;
115
+ dependencies?: string[] | undefined;
116
+ "line-length"?: number | undefined;
117
+ lint?: {
118
+ ignore?: string[] | undefined;
119
+ select?: string[] | undefined;
120
+ } | undefined;
121
+ } | undefined;
122
+ }>>;
123
+ types: z.ZodOptional<z.ZodObject<{
124
+ tsc: z.ZodOptional<z.ZodObject<{
125
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
126
+ require: z.ZodOptional<z.ZodObject<{
127
+ strict: z.ZodOptional<z.ZodBoolean>;
128
+ noImplicitAny: z.ZodOptional<z.ZodBoolean>;
129
+ strictNullChecks: z.ZodOptional<z.ZodBoolean>;
130
+ noUnusedLocals: z.ZodOptional<z.ZodBoolean>;
131
+ noUnusedParameters: z.ZodOptional<z.ZodBoolean>;
132
+ noImplicitReturns: z.ZodOptional<z.ZodBoolean>;
133
+ noFallthroughCasesInSwitch: z.ZodOptional<z.ZodBoolean>;
134
+ esModuleInterop: z.ZodOptional<z.ZodBoolean>;
135
+ skipLibCheck: z.ZodOptional<z.ZodBoolean>;
136
+ forceConsistentCasingInFileNames: z.ZodOptional<z.ZodBoolean>;
137
+ }, "strict", z.ZodTypeAny, {
138
+ strict?: boolean | undefined;
139
+ noImplicitAny?: boolean | undefined;
140
+ strictNullChecks?: boolean | undefined;
141
+ noUnusedLocals?: boolean | undefined;
142
+ noUnusedParameters?: boolean | undefined;
143
+ noImplicitReturns?: boolean | undefined;
144
+ noFallthroughCasesInSwitch?: boolean | undefined;
145
+ esModuleInterop?: boolean | undefined;
146
+ skipLibCheck?: boolean | undefined;
147
+ forceConsistentCasingInFileNames?: boolean | undefined;
148
+ }, {
149
+ strict?: boolean | undefined;
150
+ noImplicitAny?: boolean | undefined;
151
+ strictNullChecks?: boolean | undefined;
152
+ noUnusedLocals?: boolean | undefined;
153
+ noUnusedParameters?: boolean | undefined;
154
+ noImplicitReturns?: boolean | undefined;
155
+ noFallthroughCasesInSwitch?: boolean | undefined;
156
+ esModuleInterop?: boolean | undefined;
157
+ skipLibCheck?: boolean | undefined;
158
+ forceConsistentCasingInFileNames?: boolean | undefined;
159
+ }>>;
160
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
161
+ }, "strict", z.ZodTypeAny, {
162
+ enabled: boolean;
163
+ dependencies?: string[] | undefined;
164
+ require?: {
165
+ strict?: boolean | undefined;
166
+ noImplicitAny?: boolean | undefined;
167
+ strictNullChecks?: boolean | undefined;
168
+ noUnusedLocals?: boolean | undefined;
169
+ noUnusedParameters?: boolean | undefined;
170
+ noImplicitReturns?: boolean | undefined;
171
+ noFallthroughCasesInSwitch?: boolean | undefined;
172
+ esModuleInterop?: boolean | undefined;
173
+ skipLibCheck?: boolean | undefined;
174
+ forceConsistentCasingInFileNames?: boolean | undefined;
175
+ } | undefined;
176
+ }, {
177
+ enabled?: boolean | undefined;
178
+ dependencies?: string[] | undefined;
179
+ require?: {
180
+ strict?: boolean | undefined;
181
+ noImplicitAny?: boolean | undefined;
182
+ strictNullChecks?: boolean | undefined;
183
+ noUnusedLocals?: boolean | undefined;
184
+ noUnusedParameters?: boolean | undefined;
185
+ noImplicitReturns?: boolean | undefined;
186
+ noFallthroughCasesInSwitch?: boolean | undefined;
187
+ esModuleInterop?: boolean | undefined;
188
+ skipLibCheck?: boolean | undefined;
189
+ forceConsistentCasingInFileNames?: boolean | undefined;
190
+ } | undefined;
191
+ }>>;
192
+ ty: z.ZodOptional<z.ZodObject<{
193
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
194
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
195
+ }, "strict", z.ZodTypeAny, {
196
+ enabled: boolean;
197
+ dependencies?: string[] | undefined;
198
+ }, {
199
+ enabled?: boolean | undefined;
200
+ dependencies?: string[] | undefined;
201
+ }>>;
202
+ }, "strict", z.ZodTypeAny, {
203
+ tsc?: {
204
+ enabled: boolean;
205
+ dependencies?: string[] | undefined;
206
+ require?: {
207
+ strict?: boolean | undefined;
208
+ noImplicitAny?: boolean | undefined;
209
+ strictNullChecks?: boolean | undefined;
210
+ noUnusedLocals?: boolean | undefined;
211
+ noUnusedParameters?: boolean | undefined;
212
+ noImplicitReturns?: boolean | undefined;
213
+ noFallthroughCasesInSwitch?: boolean | undefined;
214
+ esModuleInterop?: boolean | undefined;
215
+ skipLibCheck?: boolean | undefined;
216
+ forceConsistentCasingInFileNames?: boolean | undefined;
217
+ } | undefined;
218
+ } | undefined;
219
+ ty?: {
220
+ enabled: boolean;
221
+ dependencies?: string[] | undefined;
222
+ } | undefined;
223
+ }, {
224
+ tsc?: {
225
+ enabled?: boolean | undefined;
226
+ dependencies?: string[] | undefined;
227
+ require?: {
228
+ strict?: boolean | undefined;
229
+ noImplicitAny?: boolean | undefined;
230
+ strictNullChecks?: boolean | undefined;
231
+ noUnusedLocals?: boolean | undefined;
232
+ noUnusedParameters?: boolean | undefined;
233
+ noImplicitReturns?: boolean | undefined;
234
+ noFallthroughCasesInSwitch?: boolean | undefined;
235
+ esModuleInterop?: boolean | undefined;
236
+ skipLibCheck?: boolean | undefined;
237
+ forceConsistentCasingInFileNames?: boolean | undefined;
238
+ } | undefined;
239
+ } | undefined;
240
+ ty?: {
241
+ enabled?: boolean | undefined;
242
+ dependencies?: string[] | undefined;
243
+ } | undefined;
244
+ }>>;
245
+ unused: z.ZodOptional<z.ZodObject<{
246
+ knip: z.ZodOptional<z.ZodObject<{
247
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
248
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
249
+ }, "strict", z.ZodTypeAny, {
250
+ enabled: boolean;
251
+ dependencies?: string[] | undefined;
252
+ }, {
253
+ enabled?: boolean | undefined;
254
+ dependencies?: string[] | undefined;
255
+ }>>;
256
+ vulture: z.ZodOptional<z.ZodObject<{
257
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
258
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
259
+ }, "strict", z.ZodTypeAny, {
260
+ enabled: boolean;
261
+ dependencies?: string[] | undefined;
262
+ }, {
263
+ enabled?: boolean | undefined;
264
+ dependencies?: string[] | undefined;
265
+ }>>;
266
+ }, "strict", z.ZodTypeAny, {
267
+ knip?: {
268
+ enabled: boolean;
269
+ dependencies?: string[] | undefined;
270
+ } | undefined;
271
+ vulture?: {
272
+ enabled: boolean;
273
+ dependencies?: string[] | undefined;
274
+ } | undefined;
275
+ }, {
276
+ knip?: {
277
+ enabled?: boolean | undefined;
278
+ dependencies?: string[] | undefined;
279
+ } | undefined;
280
+ vulture?: {
281
+ enabled?: boolean | undefined;
282
+ dependencies?: string[] | undefined;
283
+ } | undefined;
284
+ }>>;
285
+ coverage_run: z.ZodOptional<z.ZodObject<{
286
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
287
+ min_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
288
+ runner: z.ZodDefault<z.ZodOptional<z.ZodEnum<["vitest", "jest", "pytest", "auto"]>>>;
289
+ command: z.ZodOptional<z.ZodString>;
290
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
291
+ }, "strict", z.ZodTypeAny, {
292
+ enabled: boolean;
293
+ min_threshold: number;
294
+ runner: "vitest" | "jest" | "pytest" | "auto";
295
+ dependencies?: string[] | undefined;
296
+ command?: string | undefined;
297
+ }, {
298
+ enabled?: boolean | undefined;
299
+ dependencies?: string[] | undefined;
300
+ min_threshold?: number | undefined;
301
+ runner?: "vitest" | "jest" | "pytest" | "auto" | undefined;
302
+ command?: string | undefined;
303
+ }>>;
304
+ security: z.ZodOptional<z.ZodObject<{
305
+ secrets: z.ZodOptional<z.ZodObject<{
306
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
307
+ scan_mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["branch", "files", "staged", "full"]>>>;
308
+ base_branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
309
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
310
+ }, "strict", z.ZodTypeAny, {
311
+ enabled: boolean;
312
+ scan_mode: "files" | "branch" | "staged" | "full";
313
+ base_branch: string;
314
+ dependencies?: string[] | undefined;
315
+ }, {
316
+ enabled?: boolean | undefined;
317
+ dependencies?: string[] | undefined;
318
+ scan_mode?: "files" | "branch" | "staged" | "full" | undefined;
319
+ base_branch?: string | undefined;
320
+ }>>;
321
+ pnpmaudit: z.ZodOptional<z.ZodObject<{
322
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
323
+ exclude_dev: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
324
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
325
+ }, "strict", z.ZodTypeAny, {
326
+ enabled: boolean;
327
+ exclude_dev: boolean;
328
+ dependencies?: string[] | undefined;
329
+ }, {
330
+ enabled?: boolean | undefined;
331
+ dependencies?: string[] | undefined;
332
+ exclude_dev?: boolean | undefined;
333
+ }>>;
334
+ pipaudit: z.ZodOptional<z.ZodObject<{
335
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
336
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
337
+ }, "strict", z.ZodTypeAny, {
338
+ enabled: boolean;
339
+ dependencies?: string[] | undefined;
340
+ }, {
341
+ enabled?: boolean | undefined;
342
+ dependencies?: string[] | undefined;
343
+ }>>;
344
+ }, "strict", z.ZodTypeAny, {
345
+ secrets?: {
346
+ enabled: boolean;
347
+ scan_mode: "files" | "branch" | "staged" | "full";
348
+ base_branch: string;
349
+ dependencies?: string[] | undefined;
350
+ } | undefined;
351
+ pnpmaudit?: {
352
+ enabled: boolean;
353
+ exclude_dev: boolean;
354
+ dependencies?: string[] | undefined;
355
+ } | undefined;
356
+ pipaudit?: {
357
+ enabled: boolean;
358
+ dependencies?: string[] | undefined;
359
+ } | undefined;
360
+ }, {
361
+ secrets?: {
362
+ enabled?: boolean | undefined;
363
+ dependencies?: string[] | undefined;
364
+ scan_mode?: "files" | "branch" | "staged" | "full" | undefined;
365
+ base_branch?: string | undefined;
366
+ } | undefined;
367
+ pnpmaudit?: {
368
+ enabled?: boolean | undefined;
369
+ dependencies?: string[] | undefined;
370
+ exclude_dev?: boolean | undefined;
371
+ } | undefined;
372
+ pipaudit?: {
373
+ enabled?: boolean | undefined;
374
+ dependencies?: string[] | undefined;
375
+ } | undefined;
376
+ }>>;
377
+ naming: z.ZodOptional<z.ZodEffects<z.ZodObject<{
378
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
379
+ rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
380
+ extensions: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
381
+ file_case: z.ZodEnum<["kebab-case", "snake_case", "camelCase", "PascalCase"]>;
382
+ folder_case: z.ZodEnum<["kebab-case", "snake_case", "camelCase", "PascalCase"]>;
383
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
384
+ allow_dynamic_routes: z.ZodOptional<z.ZodBoolean>;
385
+ }, "strict", z.ZodTypeAny, {
386
+ extensions: string[];
387
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
388
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
389
+ exclude?: string[] | undefined;
390
+ allow_dynamic_routes?: boolean | undefined;
391
+ }, {
392
+ extensions: string[];
393
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
394
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
395
+ exclude?: string[] | undefined;
396
+ allow_dynamic_routes?: boolean | undefined;
397
+ }>, "many">>;
398
+ }, "strict", z.ZodTypeAny, {
399
+ enabled: boolean;
400
+ rules?: {
401
+ extensions: string[];
402
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
403
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
404
+ exclude?: string[] | undefined;
405
+ allow_dynamic_routes?: boolean | undefined;
406
+ }[] | undefined;
407
+ }, {
408
+ enabled?: boolean | undefined;
409
+ rules?: {
410
+ extensions: string[];
411
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
412
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
413
+ exclude?: string[] | undefined;
414
+ allow_dynamic_routes?: boolean | undefined;
415
+ }[] | undefined;
416
+ }>, {
417
+ enabled: boolean;
418
+ rules?: {
419
+ extensions: string[];
420
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
421
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
422
+ exclude?: string[] | undefined;
423
+ allow_dynamic_routes?: boolean | undefined;
424
+ }[] | undefined;
425
+ }, {
426
+ enabled?: boolean | undefined;
427
+ rules?: {
428
+ extensions: string[];
429
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
430
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
431
+ exclude?: string[] | undefined;
432
+ allow_dynamic_routes?: boolean | undefined;
433
+ }[] | undefined;
434
+ }>>;
435
+ quality: z.ZodOptional<z.ZodObject<{
436
+ "disable-comments": z.ZodOptional<z.ZodObject<{
437
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
438
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
439
+ extensions: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
440
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
441
+ }, "strict", z.ZodTypeAny, {
442
+ enabled: boolean;
443
+ extensions?: string[] | undefined;
444
+ exclude?: string[] | undefined;
445
+ patterns?: string[] | undefined;
446
+ }, {
447
+ enabled?: boolean | undefined;
448
+ extensions?: string[] | undefined;
449
+ exclude?: string[] | undefined;
450
+ patterns?: string[] | undefined;
451
+ }>>;
452
+ }, "strict", z.ZodTypeAny, {
453
+ "disable-comments"?: {
454
+ enabled: boolean;
455
+ extensions?: string[] | undefined;
456
+ exclude?: string[] | undefined;
457
+ patterns?: string[] | undefined;
458
+ } | undefined;
459
+ }, {
460
+ "disable-comments"?: {
461
+ enabled?: boolean | undefined;
462
+ extensions?: string[] | undefined;
463
+ exclude?: string[] | undefined;
464
+ patterns?: string[] | undefined;
465
+ } | undefined;
466
+ }>>;
467
+ }, "strict", z.ZodTypeAny, {
468
+ linting?: {
469
+ eslint?: {
470
+ enabled: boolean;
471
+ files?: string[] | undefined;
472
+ ignore?: string[] | undefined;
473
+ "max-warnings"?: number | undefined;
474
+ rules?: Record<string, "error" | "off" | "warn" | z.objectOutputType<{
475
+ severity: z.ZodEnum<["off", "warn", "error"]>;
476
+ }, z.ZodUnknown, "strip">> | undefined;
477
+ dependencies?: string[] | undefined;
478
+ } | undefined;
479
+ ruff?: {
480
+ enabled: boolean;
481
+ dependencies?: string[] | undefined;
482
+ "line-length"?: number | undefined;
483
+ lint?: {
484
+ ignore?: string[] | undefined;
485
+ select?: string[] | undefined;
486
+ } | undefined;
487
+ } | undefined;
488
+ } | undefined;
489
+ types?: {
490
+ tsc?: {
491
+ enabled: boolean;
492
+ dependencies?: string[] | undefined;
493
+ require?: {
494
+ strict?: boolean | undefined;
495
+ noImplicitAny?: boolean | undefined;
496
+ strictNullChecks?: boolean | undefined;
497
+ noUnusedLocals?: boolean | undefined;
498
+ noUnusedParameters?: boolean | undefined;
499
+ noImplicitReturns?: boolean | undefined;
500
+ noFallthroughCasesInSwitch?: boolean | undefined;
501
+ esModuleInterop?: boolean | undefined;
502
+ skipLibCheck?: boolean | undefined;
503
+ forceConsistentCasingInFileNames?: boolean | undefined;
504
+ } | undefined;
505
+ } | undefined;
506
+ ty?: {
507
+ enabled: boolean;
508
+ dependencies?: string[] | undefined;
509
+ } | undefined;
510
+ } | undefined;
511
+ unused?: {
512
+ knip?: {
513
+ enabled: boolean;
514
+ dependencies?: string[] | undefined;
515
+ } | undefined;
516
+ vulture?: {
517
+ enabled: boolean;
518
+ dependencies?: string[] | undefined;
519
+ } | undefined;
520
+ } | undefined;
521
+ coverage_run?: {
522
+ enabled: boolean;
523
+ min_threshold: number;
524
+ runner: "vitest" | "jest" | "pytest" | "auto";
525
+ dependencies?: string[] | undefined;
526
+ command?: string | undefined;
527
+ } | undefined;
528
+ security?: {
529
+ secrets?: {
530
+ enabled: boolean;
531
+ scan_mode: "files" | "branch" | "staged" | "full";
532
+ base_branch: string;
533
+ dependencies?: string[] | undefined;
534
+ } | undefined;
535
+ pnpmaudit?: {
536
+ enabled: boolean;
537
+ exclude_dev: boolean;
538
+ dependencies?: string[] | undefined;
539
+ } | undefined;
540
+ pipaudit?: {
541
+ enabled: boolean;
542
+ dependencies?: string[] | undefined;
543
+ } | undefined;
544
+ } | undefined;
545
+ naming?: {
546
+ enabled: boolean;
547
+ rules?: {
548
+ extensions: string[];
549
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
550
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
551
+ exclude?: string[] | undefined;
552
+ allow_dynamic_routes?: boolean | undefined;
553
+ }[] | undefined;
554
+ } | undefined;
555
+ quality?: {
556
+ "disable-comments"?: {
557
+ enabled: boolean;
558
+ extensions?: string[] | undefined;
559
+ exclude?: string[] | undefined;
560
+ patterns?: string[] | undefined;
561
+ } | undefined;
562
+ } | undefined;
563
+ }, {
564
+ linting?: {
565
+ eslint?: {
566
+ enabled?: boolean | undefined;
567
+ files?: string[] | undefined;
568
+ ignore?: string[] | undefined;
569
+ "max-warnings"?: number | undefined;
570
+ rules?: Record<string, "error" | "off" | "warn" | z.objectInputType<{
571
+ severity: z.ZodEnum<["off", "warn", "error"]>;
572
+ }, z.ZodUnknown, "strip">> | undefined;
573
+ dependencies?: string[] | undefined;
574
+ } | undefined;
575
+ ruff?: {
576
+ enabled?: boolean | undefined;
577
+ dependencies?: string[] | undefined;
578
+ "line-length"?: number | undefined;
579
+ lint?: {
580
+ ignore?: string[] | undefined;
581
+ select?: string[] | undefined;
582
+ } | undefined;
583
+ } | undefined;
584
+ } | undefined;
585
+ types?: {
586
+ tsc?: {
587
+ enabled?: boolean | undefined;
588
+ dependencies?: string[] | undefined;
589
+ require?: {
590
+ strict?: boolean | undefined;
591
+ noImplicitAny?: boolean | undefined;
592
+ strictNullChecks?: boolean | undefined;
593
+ noUnusedLocals?: boolean | undefined;
594
+ noUnusedParameters?: boolean | undefined;
595
+ noImplicitReturns?: boolean | undefined;
596
+ noFallthroughCasesInSwitch?: boolean | undefined;
597
+ esModuleInterop?: boolean | undefined;
598
+ skipLibCheck?: boolean | undefined;
599
+ forceConsistentCasingInFileNames?: boolean | undefined;
600
+ } | undefined;
601
+ } | undefined;
602
+ ty?: {
603
+ enabled?: boolean | undefined;
604
+ dependencies?: string[] | undefined;
605
+ } | undefined;
606
+ } | undefined;
607
+ unused?: {
608
+ knip?: {
609
+ enabled?: boolean | undefined;
610
+ dependencies?: string[] | undefined;
611
+ } | undefined;
612
+ vulture?: {
613
+ enabled?: boolean | undefined;
614
+ dependencies?: string[] | undefined;
615
+ } | undefined;
616
+ } | undefined;
617
+ coverage_run?: {
618
+ enabled?: boolean | undefined;
619
+ dependencies?: string[] | undefined;
620
+ min_threshold?: number | undefined;
621
+ runner?: "vitest" | "jest" | "pytest" | "auto" | undefined;
622
+ command?: string | undefined;
623
+ } | undefined;
624
+ security?: {
625
+ secrets?: {
626
+ enabled?: boolean | undefined;
627
+ dependencies?: string[] | undefined;
628
+ scan_mode?: "files" | "branch" | "staged" | "full" | undefined;
629
+ base_branch?: string | undefined;
630
+ } | undefined;
631
+ pnpmaudit?: {
632
+ enabled?: boolean | undefined;
633
+ dependencies?: string[] | undefined;
634
+ exclude_dev?: boolean | undefined;
635
+ } | undefined;
636
+ pipaudit?: {
637
+ enabled?: boolean | undefined;
638
+ dependencies?: string[] | undefined;
639
+ } | undefined;
640
+ } | undefined;
641
+ naming?: {
642
+ enabled?: boolean | undefined;
643
+ rules?: {
644
+ extensions: string[];
645
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
646
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
647
+ exclude?: string[] | undefined;
648
+ allow_dynamic_routes?: boolean | undefined;
649
+ }[] | undefined;
650
+ } | undefined;
651
+ quality?: {
652
+ "disable-comments"?: {
653
+ enabled?: boolean | undefined;
654
+ extensions?: string[] | undefined;
655
+ exclude?: string[] | undefined;
656
+ patterns?: string[] | undefined;
657
+ } | undefined;
658
+ } | undefined;
659
+ }>>;
660
+ process: z.ZodOptional<z.ZodObject<{
661
+ hooks: z.ZodOptional<z.ZodObject<{
662
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
663
+ require_husky: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
664
+ require_hooks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
665
+ commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
666
+ protected_branches: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
667
+ }, "strict", z.ZodTypeAny, {
668
+ enabled: boolean;
669
+ require_husky: boolean;
670
+ require_hooks?: string[] | undefined;
671
+ commands?: Record<string, string[]> | undefined;
672
+ protected_branches?: string[] | undefined;
673
+ }, {
674
+ enabled?: boolean | undefined;
675
+ require_husky?: boolean | undefined;
676
+ require_hooks?: string[] | undefined;
677
+ commands?: Record<string, string[]> | undefined;
678
+ protected_branches?: string[] | undefined;
679
+ }>>;
680
+ ci: z.ZodOptional<z.ZodObject<{
681
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
682
+ require_workflows: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
683
+ jobs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
684
+ actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
685
+ commands: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>]>>>;
686
+ }, "strict", z.ZodTypeAny, {
687
+ enabled: boolean;
688
+ commands?: Record<string, string[] | Record<string, string[]>> | undefined;
689
+ require_workflows?: string[] | undefined;
690
+ jobs?: Record<string, string[]> | undefined;
691
+ actions?: Record<string, string[]> | undefined;
692
+ }, {
693
+ enabled?: boolean | undefined;
694
+ commands?: Record<string, string[] | Record<string, string[]>> | undefined;
695
+ require_workflows?: string[] | undefined;
696
+ jobs?: Record<string, string[]> | undefined;
697
+ actions?: Record<string, string[]> | undefined;
698
+ }>>;
699
+ branches: z.ZodOptional<z.ZodObject<{
700
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
701
+ pattern: z.ZodOptional<z.ZodString>;
702
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
703
+ require_issue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
704
+ issue_pattern: z.ZodOptional<z.ZodString>;
705
+ }, "strict", z.ZodTypeAny, {
706
+ enabled: boolean;
707
+ require_issue: boolean;
708
+ exclude?: string[] | undefined;
709
+ pattern?: string | undefined;
710
+ issue_pattern?: string | undefined;
711
+ }, {
712
+ enabled?: boolean | undefined;
713
+ exclude?: string[] | undefined;
714
+ pattern?: string | undefined;
715
+ require_issue?: boolean | undefined;
716
+ issue_pattern?: string | undefined;
717
+ }>>;
718
+ commits: z.ZodOptional<z.ZodObject<{
719
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
720
+ pattern: z.ZodOptional<z.ZodString>;
721
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
722
+ require_scope: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
723
+ max_subject_length: z.ZodOptional<z.ZodNumber>;
724
+ }, "strict", z.ZodTypeAny, {
725
+ enabled: boolean;
726
+ require_scope: boolean;
727
+ types?: string[] | undefined;
728
+ pattern?: string | undefined;
729
+ max_subject_length?: number | undefined;
730
+ }, {
731
+ enabled?: boolean | undefined;
732
+ types?: string[] | undefined;
733
+ pattern?: string | undefined;
734
+ require_scope?: boolean | undefined;
735
+ max_subject_length?: number | undefined;
736
+ }>>;
737
+ changesets: z.ZodOptional<z.ZodObject<{
738
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
739
+ require_for_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
740
+ exclude_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
741
+ validate_format: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
742
+ allowed_bump_types: z.ZodOptional<z.ZodArray<z.ZodEnum<["patch", "minor", "major"]>, "many">>;
743
+ require_description: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
744
+ min_description_length: z.ZodOptional<z.ZodNumber>;
745
+ }, "strict", z.ZodTypeAny, {
746
+ enabled: boolean;
747
+ validate_format: boolean;
748
+ require_description: boolean;
749
+ require_for_paths?: string[] | undefined;
750
+ exclude_paths?: string[] | undefined;
751
+ allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
752
+ min_description_length?: number | undefined;
753
+ }, {
754
+ enabled?: boolean | undefined;
755
+ require_for_paths?: string[] | undefined;
756
+ exclude_paths?: string[] | undefined;
757
+ validate_format?: boolean | undefined;
758
+ allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
759
+ require_description?: boolean | undefined;
760
+ min_description_length?: number | undefined;
761
+ }>>;
762
+ pr: z.ZodOptional<z.ZodObject<{
763
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
764
+ max_files: z.ZodOptional<z.ZodNumber>;
765
+ max_lines: z.ZodOptional<z.ZodNumber>;
766
+ require_issue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
767
+ issue_keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
768
+ exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
769
+ }, "strict", z.ZodTypeAny, {
770
+ enabled: boolean;
771
+ require_issue: boolean;
772
+ exclude?: string[] | undefined;
773
+ max_files?: number | undefined;
774
+ max_lines?: number | undefined;
775
+ issue_keywords?: string[] | undefined;
776
+ }, {
777
+ enabled?: boolean | undefined;
778
+ exclude?: string[] | undefined;
779
+ require_issue?: boolean | undefined;
780
+ max_files?: number | undefined;
781
+ max_lines?: number | undefined;
782
+ issue_keywords?: string[] | undefined;
783
+ }>>;
784
+ tickets: z.ZodOptional<z.ZodObject<{
785
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
786
+ pattern: z.ZodOptional<z.ZodString>;
787
+ require_in_commits: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
788
+ require_in_branch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
789
+ }, "strict", z.ZodTypeAny, {
790
+ enabled: boolean;
791
+ require_in_commits: boolean;
792
+ require_in_branch: boolean;
793
+ pattern?: string | undefined;
794
+ }, {
795
+ enabled?: boolean | undefined;
796
+ pattern?: string | undefined;
797
+ require_in_commits?: boolean | undefined;
798
+ require_in_branch?: boolean | undefined;
799
+ }>>;
800
+ coverage: z.ZodOptional<z.ZodObject<{
801
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
802
+ min_threshold: z.ZodOptional<z.ZodNumber>;
803
+ enforce_in: z.ZodDefault<z.ZodOptional<z.ZodEnum<["ci", "config", "both"]>>>;
804
+ ci_workflow: z.ZodOptional<z.ZodString>;
805
+ ci_job: z.ZodOptional<z.ZodString>;
806
+ }, "strict", z.ZodTypeAny, {
807
+ enabled: boolean;
808
+ enforce_in: "ci" | "config" | "both";
809
+ min_threshold?: number | undefined;
810
+ ci_workflow?: string | undefined;
811
+ ci_job?: string | undefined;
812
+ }, {
813
+ enabled?: boolean | undefined;
814
+ min_threshold?: number | undefined;
815
+ enforce_in?: "ci" | "config" | "both" | undefined;
816
+ ci_workflow?: string | undefined;
817
+ ci_job?: string | undefined;
818
+ }>>;
819
+ repo: z.ZodOptional<z.ZodObject<{
820
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
821
+ require_branch_protection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
822
+ require_codeowners: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
823
+ ruleset: z.ZodOptional<z.ZodObject<{
824
+ name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
825
+ branch: z.ZodDefault<z.ZodOptional<z.ZodString>>;
826
+ enforcement: z.ZodDefault<z.ZodOptional<z.ZodEnum<["active", "evaluate", "disabled"]>>>;
827
+ required_reviews: z.ZodOptional<z.ZodNumber>;
828
+ dismiss_stale_reviews: z.ZodOptional<z.ZodBoolean>;
829
+ require_code_owner_reviews: z.ZodOptional<z.ZodBoolean>;
830
+ require_status_checks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
831
+ require_branches_up_to_date: z.ZodOptional<z.ZodBoolean>;
832
+ require_signed_commits: z.ZodOptional<z.ZodBoolean>;
833
+ enforce_admins: z.ZodOptional<z.ZodBoolean>;
834
+ bypass_actors: z.ZodOptional<z.ZodArray<z.ZodObject<{
835
+ actor_type: z.ZodEnum<["Integration", "OrganizationAdmin", "RepositoryRole", "Team", "DeployKey"]>;
836
+ actor_id: z.ZodOptional<z.ZodNumber>;
837
+ bypass_mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "pull_request"]>>>;
838
+ }, "strict", z.ZodTypeAny, {
839
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
840
+ bypass_mode: "always" | "pull_request";
841
+ actor_id?: number | undefined;
842
+ }, {
843
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
844
+ actor_id?: number | undefined;
845
+ bypass_mode?: "always" | "pull_request" | undefined;
846
+ }>, "many">>;
847
+ }, "strict", z.ZodTypeAny, {
848
+ branch: string;
849
+ name: string;
850
+ enforcement: "active" | "evaluate" | "disabled";
851
+ required_reviews?: number | undefined;
852
+ dismiss_stale_reviews?: boolean | undefined;
853
+ require_code_owner_reviews?: boolean | undefined;
854
+ require_status_checks?: string[] | undefined;
855
+ require_branches_up_to_date?: boolean | undefined;
856
+ require_signed_commits?: boolean | undefined;
857
+ enforce_admins?: boolean | undefined;
858
+ bypass_actors?: {
859
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
860
+ bypass_mode: "always" | "pull_request";
861
+ actor_id?: number | undefined;
862
+ }[] | undefined;
863
+ }, {
864
+ branch?: string | undefined;
865
+ name?: string | undefined;
866
+ enforcement?: "active" | "evaluate" | "disabled" | undefined;
867
+ required_reviews?: number | undefined;
868
+ dismiss_stale_reviews?: boolean | undefined;
869
+ require_code_owner_reviews?: boolean | undefined;
870
+ require_status_checks?: string[] | undefined;
871
+ require_branches_up_to_date?: boolean | undefined;
872
+ require_signed_commits?: boolean | undefined;
873
+ enforce_admins?: boolean | undefined;
874
+ bypass_actors?: {
875
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
876
+ actor_id?: number | undefined;
877
+ bypass_mode?: "always" | "pull_request" | undefined;
878
+ }[] | undefined;
879
+ }>>;
880
+ tag_protection: z.ZodOptional<z.ZodObject<{
881
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
882
+ prevent_deletion: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
883
+ prevent_update: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
884
+ }, "strict", z.ZodTypeAny, {
885
+ prevent_deletion: boolean;
886
+ prevent_update: boolean;
887
+ patterns?: string[] | undefined;
888
+ }, {
889
+ patterns?: string[] | undefined;
890
+ prevent_deletion?: boolean | undefined;
891
+ prevent_update?: boolean | undefined;
892
+ }>>;
893
+ }, "strict", z.ZodTypeAny, {
894
+ enabled: boolean;
895
+ require_branch_protection: boolean;
896
+ require_codeowners: boolean;
897
+ ruleset?: {
898
+ branch: string;
899
+ name: string;
900
+ enforcement: "active" | "evaluate" | "disabled";
901
+ required_reviews?: number | undefined;
902
+ dismiss_stale_reviews?: boolean | undefined;
903
+ require_code_owner_reviews?: boolean | undefined;
904
+ require_status_checks?: string[] | undefined;
905
+ require_branches_up_to_date?: boolean | undefined;
906
+ require_signed_commits?: boolean | undefined;
907
+ enforce_admins?: boolean | undefined;
908
+ bypass_actors?: {
909
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
910
+ bypass_mode: "always" | "pull_request";
911
+ actor_id?: number | undefined;
912
+ }[] | undefined;
913
+ } | undefined;
914
+ tag_protection?: {
915
+ prevent_deletion: boolean;
916
+ prevent_update: boolean;
917
+ patterns?: string[] | undefined;
918
+ } | undefined;
919
+ }, {
920
+ enabled?: boolean | undefined;
921
+ require_branch_protection?: boolean | undefined;
922
+ require_codeowners?: boolean | undefined;
923
+ ruleset?: {
924
+ branch?: string | undefined;
925
+ name?: string | undefined;
926
+ enforcement?: "active" | "evaluate" | "disabled" | undefined;
927
+ required_reviews?: number | undefined;
928
+ dismiss_stale_reviews?: boolean | undefined;
929
+ require_code_owner_reviews?: boolean | undefined;
930
+ require_status_checks?: string[] | undefined;
931
+ require_branches_up_to_date?: boolean | undefined;
932
+ require_signed_commits?: boolean | undefined;
933
+ enforce_admins?: boolean | undefined;
934
+ bypass_actors?: {
935
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
936
+ actor_id?: number | undefined;
937
+ bypass_mode?: "always" | "pull_request" | undefined;
938
+ }[] | undefined;
939
+ } | undefined;
940
+ tag_protection?: {
941
+ patterns?: string[] | undefined;
942
+ prevent_deletion?: boolean | undefined;
943
+ prevent_update?: boolean | undefined;
944
+ } | undefined;
945
+ }>>;
946
+ backups: z.ZodOptional<z.ZodObject<{
947
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
948
+ bucket: z.ZodOptional<z.ZodString>;
949
+ prefix: z.ZodOptional<z.ZodString>;
950
+ max_age_hours: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
951
+ region: z.ZodOptional<z.ZodString>;
952
+ }, "strict", z.ZodTypeAny, {
953
+ enabled: boolean;
954
+ max_age_hours: number;
955
+ bucket?: string | undefined;
956
+ prefix?: string | undefined;
957
+ region?: string | undefined;
958
+ }, {
959
+ enabled?: boolean | undefined;
960
+ bucket?: string | undefined;
961
+ prefix?: string | undefined;
962
+ max_age_hours?: number | undefined;
963
+ region?: string | undefined;
964
+ }>>;
965
+ codeowners: z.ZodOptional<z.ZodObject<{
966
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
967
+ rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
968
+ pattern: z.ZodString;
969
+ owners: z.ZodArray<z.ZodString, "many">;
970
+ }, "strict", z.ZodTypeAny, {
971
+ pattern: string;
972
+ owners: string[];
973
+ }, {
974
+ pattern: string;
975
+ owners: string[];
976
+ }>, "many">>;
977
+ }, "strict", z.ZodTypeAny, {
978
+ enabled: boolean;
979
+ rules?: {
980
+ pattern: string;
981
+ owners: string[];
982
+ }[] | undefined;
983
+ }, {
984
+ enabled?: boolean | undefined;
985
+ rules?: {
986
+ pattern: string;
987
+ owners: string[];
988
+ }[] | undefined;
989
+ }>>;
990
+ docs: z.ZodOptional<z.ZodObject<{
991
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
992
+ path: z.ZodDefault<z.ZodOptional<z.ZodString>>;
993
+ enforcement: z.ZodDefault<z.ZodOptional<z.ZodEnum<["block", "warn"]>>>;
994
+ allowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
995
+ max_files: z.ZodOptional<z.ZodNumber>;
996
+ max_file_lines: z.ZodOptional<z.ZodNumber>;
997
+ max_total_kb: z.ZodOptional<z.ZodNumber>;
998
+ staleness_days: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
999
+ stale_mappings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1000
+ min_coverage: z.ZodOptional<z.ZodNumber>;
1001
+ coverage_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1002
+ exclude_patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1003
+ types: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1004
+ required_sections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1005
+ frontmatter: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1006
+ }, "strict", z.ZodTypeAny, {
1007
+ required_sections?: string[] | undefined;
1008
+ frontmatter?: string[] | undefined;
1009
+ }, {
1010
+ required_sections?: string[] | undefined;
1011
+ frontmatter?: string[] | undefined;
1012
+ }>>>;
1013
+ }, "strict", z.ZodTypeAny, {
1014
+ path: string;
1015
+ enabled: boolean;
1016
+ enforcement: "warn" | "block";
1017
+ staleness_days: number;
1018
+ types?: Record<string, {
1019
+ required_sections?: string[] | undefined;
1020
+ frontmatter?: string[] | undefined;
1021
+ }> | undefined;
1022
+ max_files?: number | undefined;
1023
+ allowlist?: string[] | undefined;
1024
+ max_file_lines?: number | undefined;
1025
+ max_total_kb?: number | undefined;
1026
+ stale_mappings?: Record<string, string> | undefined;
1027
+ min_coverage?: number | undefined;
1028
+ coverage_paths?: string[] | undefined;
1029
+ exclude_patterns?: string[] | undefined;
1030
+ }, {
1031
+ path?: string | undefined;
1032
+ enabled?: boolean | undefined;
1033
+ types?: Record<string, {
1034
+ required_sections?: string[] | undefined;
1035
+ frontmatter?: string[] | undefined;
1036
+ }> | undefined;
1037
+ max_files?: number | undefined;
1038
+ enforcement?: "warn" | "block" | undefined;
1039
+ allowlist?: string[] | undefined;
1040
+ max_file_lines?: number | undefined;
1041
+ max_total_kb?: number | undefined;
1042
+ staleness_days?: number | undefined;
1043
+ stale_mappings?: Record<string, string> | undefined;
1044
+ min_coverage?: number | undefined;
1045
+ coverage_paths?: string[] | undefined;
1046
+ exclude_patterns?: string[] | undefined;
1047
+ }>>;
1048
+ forbidden_files: z.ZodOptional<z.ZodObject<{
1049
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1050
+ files: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1051
+ ignore: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1052
+ message: z.ZodOptional<z.ZodString>;
1053
+ }, "strict", z.ZodTypeAny, {
1054
+ enabled: boolean;
1055
+ message?: string | undefined;
1056
+ files?: string[] | undefined;
1057
+ ignore?: string[] | undefined;
1058
+ }, {
1059
+ message?: string | undefined;
1060
+ enabled?: boolean | undefined;
1061
+ files?: string[] | undefined;
1062
+ ignore?: string[] | undefined;
1063
+ }>>;
1064
+ }, "strict", z.ZodTypeAny, {
1065
+ ci?: {
1066
+ enabled: boolean;
1067
+ commands?: Record<string, string[] | Record<string, string[]>> | undefined;
1068
+ require_workflows?: string[] | undefined;
1069
+ jobs?: Record<string, string[]> | undefined;
1070
+ actions?: Record<string, string[]> | undefined;
1071
+ } | undefined;
1072
+ hooks?: {
1073
+ enabled: boolean;
1074
+ require_husky: boolean;
1075
+ require_hooks?: string[] | undefined;
1076
+ commands?: Record<string, string[]> | undefined;
1077
+ protected_branches?: string[] | undefined;
1078
+ } | undefined;
1079
+ branches?: {
1080
+ enabled: boolean;
1081
+ require_issue: boolean;
1082
+ exclude?: string[] | undefined;
1083
+ pattern?: string | undefined;
1084
+ issue_pattern?: string | undefined;
1085
+ } | undefined;
1086
+ commits?: {
1087
+ enabled: boolean;
1088
+ require_scope: boolean;
1089
+ types?: string[] | undefined;
1090
+ pattern?: string | undefined;
1091
+ max_subject_length?: number | undefined;
1092
+ } | undefined;
1093
+ changesets?: {
1094
+ enabled: boolean;
1095
+ validate_format: boolean;
1096
+ require_description: boolean;
1097
+ require_for_paths?: string[] | undefined;
1098
+ exclude_paths?: string[] | undefined;
1099
+ allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
1100
+ min_description_length?: number | undefined;
1101
+ } | undefined;
1102
+ pr?: {
1103
+ enabled: boolean;
1104
+ require_issue: boolean;
1105
+ exclude?: string[] | undefined;
1106
+ max_files?: number | undefined;
1107
+ max_lines?: number | undefined;
1108
+ issue_keywords?: string[] | undefined;
1109
+ } | undefined;
1110
+ tickets?: {
1111
+ enabled: boolean;
1112
+ require_in_commits: boolean;
1113
+ require_in_branch: boolean;
1114
+ pattern?: string | undefined;
1115
+ } | undefined;
1116
+ coverage?: {
1117
+ enabled: boolean;
1118
+ enforce_in: "ci" | "config" | "both";
1119
+ min_threshold?: number | undefined;
1120
+ ci_workflow?: string | undefined;
1121
+ ci_job?: string | undefined;
1122
+ } | undefined;
1123
+ repo?: {
1124
+ enabled: boolean;
1125
+ require_branch_protection: boolean;
1126
+ require_codeowners: boolean;
1127
+ ruleset?: {
1128
+ branch: string;
1129
+ name: string;
1130
+ enforcement: "active" | "evaluate" | "disabled";
1131
+ required_reviews?: number | undefined;
1132
+ dismiss_stale_reviews?: boolean | undefined;
1133
+ require_code_owner_reviews?: boolean | undefined;
1134
+ require_status_checks?: string[] | undefined;
1135
+ require_branches_up_to_date?: boolean | undefined;
1136
+ require_signed_commits?: boolean | undefined;
1137
+ enforce_admins?: boolean | undefined;
1138
+ bypass_actors?: {
1139
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
1140
+ bypass_mode: "always" | "pull_request";
1141
+ actor_id?: number | undefined;
1142
+ }[] | undefined;
1143
+ } | undefined;
1144
+ tag_protection?: {
1145
+ prevent_deletion: boolean;
1146
+ prevent_update: boolean;
1147
+ patterns?: string[] | undefined;
1148
+ } | undefined;
1149
+ } | undefined;
1150
+ backups?: {
1151
+ enabled: boolean;
1152
+ max_age_hours: number;
1153
+ bucket?: string | undefined;
1154
+ prefix?: string | undefined;
1155
+ region?: string | undefined;
1156
+ } | undefined;
1157
+ codeowners?: {
1158
+ enabled: boolean;
1159
+ rules?: {
1160
+ pattern: string;
1161
+ owners: string[];
1162
+ }[] | undefined;
1163
+ } | undefined;
1164
+ docs?: {
1165
+ path: string;
1166
+ enabled: boolean;
1167
+ enforcement: "warn" | "block";
1168
+ staleness_days: number;
1169
+ types?: Record<string, {
1170
+ required_sections?: string[] | undefined;
1171
+ frontmatter?: string[] | undefined;
1172
+ }> | undefined;
1173
+ max_files?: number | undefined;
1174
+ allowlist?: string[] | undefined;
1175
+ max_file_lines?: number | undefined;
1176
+ max_total_kb?: number | undefined;
1177
+ stale_mappings?: Record<string, string> | undefined;
1178
+ min_coverage?: number | undefined;
1179
+ coverage_paths?: string[] | undefined;
1180
+ exclude_patterns?: string[] | undefined;
1181
+ } | undefined;
1182
+ forbidden_files?: {
1183
+ enabled: boolean;
1184
+ message?: string | undefined;
1185
+ files?: string[] | undefined;
1186
+ ignore?: string[] | undefined;
1187
+ } | undefined;
1188
+ }, {
1189
+ ci?: {
1190
+ enabled?: boolean | undefined;
1191
+ commands?: Record<string, string[] | Record<string, string[]>> | undefined;
1192
+ require_workflows?: string[] | undefined;
1193
+ jobs?: Record<string, string[]> | undefined;
1194
+ actions?: Record<string, string[]> | undefined;
1195
+ } | undefined;
1196
+ hooks?: {
1197
+ enabled?: boolean | undefined;
1198
+ require_husky?: boolean | undefined;
1199
+ require_hooks?: string[] | undefined;
1200
+ commands?: Record<string, string[]> | undefined;
1201
+ protected_branches?: string[] | undefined;
1202
+ } | undefined;
1203
+ branches?: {
1204
+ enabled?: boolean | undefined;
1205
+ exclude?: string[] | undefined;
1206
+ pattern?: string | undefined;
1207
+ require_issue?: boolean | undefined;
1208
+ issue_pattern?: string | undefined;
1209
+ } | undefined;
1210
+ commits?: {
1211
+ enabled?: boolean | undefined;
1212
+ types?: string[] | undefined;
1213
+ pattern?: string | undefined;
1214
+ require_scope?: boolean | undefined;
1215
+ max_subject_length?: number | undefined;
1216
+ } | undefined;
1217
+ changesets?: {
1218
+ enabled?: boolean | undefined;
1219
+ require_for_paths?: string[] | undefined;
1220
+ exclude_paths?: string[] | undefined;
1221
+ validate_format?: boolean | undefined;
1222
+ allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
1223
+ require_description?: boolean | undefined;
1224
+ min_description_length?: number | undefined;
1225
+ } | undefined;
1226
+ pr?: {
1227
+ enabled?: boolean | undefined;
1228
+ exclude?: string[] | undefined;
1229
+ require_issue?: boolean | undefined;
1230
+ max_files?: number | undefined;
1231
+ max_lines?: number | undefined;
1232
+ issue_keywords?: string[] | undefined;
1233
+ } | undefined;
1234
+ tickets?: {
1235
+ enabled?: boolean | undefined;
1236
+ pattern?: string | undefined;
1237
+ require_in_commits?: boolean | undefined;
1238
+ require_in_branch?: boolean | undefined;
1239
+ } | undefined;
1240
+ coverage?: {
1241
+ enabled?: boolean | undefined;
1242
+ min_threshold?: number | undefined;
1243
+ enforce_in?: "ci" | "config" | "both" | undefined;
1244
+ ci_workflow?: string | undefined;
1245
+ ci_job?: string | undefined;
1246
+ } | undefined;
1247
+ repo?: {
1248
+ enabled?: boolean | undefined;
1249
+ require_branch_protection?: boolean | undefined;
1250
+ require_codeowners?: boolean | undefined;
1251
+ ruleset?: {
1252
+ branch?: string | undefined;
1253
+ name?: string | undefined;
1254
+ enforcement?: "active" | "evaluate" | "disabled" | undefined;
1255
+ required_reviews?: number | undefined;
1256
+ dismiss_stale_reviews?: boolean | undefined;
1257
+ require_code_owner_reviews?: boolean | undefined;
1258
+ require_status_checks?: string[] | undefined;
1259
+ require_branches_up_to_date?: boolean | undefined;
1260
+ require_signed_commits?: boolean | undefined;
1261
+ enforce_admins?: boolean | undefined;
1262
+ bypass_actors?: {
1263
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
1264
+ actor_id?: number | undefined;
1265
+ bypass_mode?: "always" | "pull_request" | undefined;
1266
+ }[] | undefined;
1267
+ } | undefined;
1268
+ tag_protection?: {
1269
+ patterns?: string[] | undefined;
1270
+ prevent_deletion?: boolean | undefined;
1271
+ prevent_update?: boolean | undefined;
1272
+ } | undefined;
1273
+ } | undefined;
1274
+ backups?: {
1275
+ enabled?: boolean | undefined;
1276
+ bucket?: string | undefined;
1277
+ prefix?: string | undefined;
1278
+ max_age_hours?: number | undefined;
1279
+ region?: string | undefined;
1280
+ } | undefined;
1281
+ codeowners?: {
1282
+ enabled?: boolean | undefined;
1283
+ rules?: {
1284
+ pattern: string;
1285
+ owners: string[];
1286
+ }[] | undefined;
1287
+ } | undefined;
1288
+ docs?: {
1289
+ path?: string | undefined;
1290
+ enabled?: boolean | undefined;
1291
+ types?: Record<string, {
1292
+ required_sections?: string[] | undefined;
1293
+ frontmatter?: string[] | undefined;
1294
+ }> | undefined;
1295
+ max_files?: number | undefined;
1296
+ enforcement?: "warn" | "block" | undefined;
1297
+ allowlist?: string[] | undefined;
1298
+ max_file_lines?: number | undefined;
1299
+ max_total_kb?: number | undefined;
1300
+ staleness_days?: number | undefined;
1301
+ stale_mappings?: Record<string, string> | undefined;
1302
+ min_coverage?: number | undefined;
1303
+ coverage_paths?: string[] | undefined;
1304
+ exclude_patterns?: string[] | undefined;
1305
+ } | undefined;
1306
+ forbidden_files?: {
1307
+ message?: string | undefined;
1308
+ enabled?: boolean | undefined;
1309
+ files?: string[] | undefined;
1310
+ ignore?: string[] | undefined;
1311
+ } | undefined;
1312
+ }>>;
1313
+ infra: z.ZodOptional<z.ZodObject<{
1314
+ enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1315
+ manifest: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1316
+ }, "strict", z.ZodTypeAny, {
1317
+ enabled: boolean;
1318
+ manifest: string;
1319
+ }, {
1320
+ enabled?: boolean | undefined;
1321
+ manifest?: string | undefined;
1322
+ }>>;
1323
+ mcp: z.ZodOptional<z.ZodObject<{
1324
+ standards: z.ZodOptional<z.ZodObject<{
1325
+ source: z.ZodOptional<z.ZodString>;
1326
+ }, "strict", z.ZodTypeAny, {
1327
+ source?: string | undefined;
1328
+ }, {
1329
+ source?: string | undefined;
1330
+ }>>;
1331
+ }, "strict", z.ZodTypeAny, {
1332
+ standards?: {
1333
+ source?: string | undefined;
1334
+ } | undefined;
1335
+ }, {
1336
+ standards?: {
1337
+ source?: string | undefined;
1338
+ } | undefined;
1339
+ }>>;
1340
+ monorepo: z.ZodOptional<z.ZodObject<{
1341
+ exclude: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
1342
+ }, "strict", z.ZodTypeAny, {
1343
+ exclude?: string[] | undefined;
1344
+ }, {
1345
+ exclude?: string[] | undefined;
1346
+ }>>;
1347
+ }, "strict", z.ZodTypeAny, {
1348
+ code?: {
1349
+ linting?: {
1350
+ eslint?: {
1351
+ enabled: boolean;
1352
+ files?: string[] | undefined;
1353
+ ignore?: string[] | undefined;
1354
+ "max-warnings"?: number | undefined;
1355
+ rules?: Record<string, "error" | "off" | "warn" | z.objectOutputType<{
1356
+ severity: z.ZodEnum<["off", "warn", "error"]>;
1357
+ }, z.ZodUnknown, "strip">> | undefined;
1358
+ dependencies?: string[] | undefined;
1359
+ } | undefined;
1360
+ ruff?: {
1361
+ enabled: boolean;
1362
+ dependencies?: string[] | undefined;
1363
+ "line-length"?: number | undefined;
1364
+ lint?: {
1365
+ ignore?: string[] | undefined;
1366
+ select?: string[] | undefined;
1367
+ } | undefined;
1368
+ } | undefined;
1369
+ } | undefined;
1370
+ types?: {
1371
+ tsc?: {
1372
+ enabled: boolean;
1373
+ dependencies?: string[] | undefined;
1374
+ require?: {
1375
+ strict?: boolean | undefined;
1376
+ noImplicitAny?: boolean | undefined;
1377
+ strictNullChecks?: boolean | undefined;
1378
+ noUnusedLocals?: boolean | undefined;
1379
+ noUnusedParameters?: boolean | undefined;
1380
+ noImplicitReturns?: boolean | undefined;
1381
+ noFallthroughCasesInSwitch?: boolean | undefined;
1382
+ esModuleInterop?: boolean | undefined;
1383
+ skipLibCheck?: boolean | undefined;
1384
+ forceConsistentCasingInFileNames?: boolean | undefined;
1385
+ } | undefined;
1386
+ } | undefined;
1387
+ ty?: {
1388
+ enabled: boolean;
1389
+ dependencies?: string[] | undefined;
1390
+ } | undefined;
1391
+ } | undefined;
1392
+ unused?: {
1393
+ knip?: {
1394
+ enabled: boolean;
1395
+ dependencies?: string[] | undefined;
1396
+ } | undefined;
1397
+ vulture?: {
1398
+ enabled: boolean;
1399
+ dependencies?: string[] | undefined;
1400
+ } | undefined;
1401
+ } | undefined;
1402
+ coverage_run?: {
1403
+ enabled: boolean;
1404
+ min_threshold: number;
1405
+ runner: "vitest" | "jest" | "pytest" | "auto";
1406
+ dependencies?: string[] | undefined;
1407
+ command?: string | undefined;
1408
+ } | undefined;
1409
+ security?: {
1410
+ secrets?: {
1411
+ enabled: boolean;
1412
+ scan_mode: "files" | "branch" | "staged" | "full";
1413
+ base_branch: string;
1414
+ dependencies?: string[] | undefined;
1415
+ } | undefined;
1416
+ pnpmaudit?: {
1417
+ enabled: boolean;
1418
+ exclude_dev: boolean;
1419
+ dependencies?: string[] | undefined;
1420
+ } | undefined;
1421
+ pipaudit?: {
1422
+ enabled: boolean;
1423
+ dependencies?: string[] | undefined;
1424
+ } | undefined;
1425
+ } | undefined;
1426
+ naming?: {
1427
+ enabled: boolean;
1428
+ rules?: {
1429
+ extensions: string[];
1430
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
1431
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
1432
+ exclude?: string[] | undefined;
1433
+ allow_dynamic_routes?: boolean | undefined;
1434
+ }[] | undefined;
1435
+ } | undefined;
1436
+ quality?: {
1437
+ "disable-comments"?: {
1438
+ enabled: boolean;
1439
+ extensions?: string[] | undefined;
1440
+ exclude?: string[] | undefined;
1441
+ patterns?: string[] | undefined;
1442
+ } | undefined;
1443
+ } | undefined;
1444
+ } | undefined;
1445
+ extends?: {
1446
+ registry: string;
1447
+ rulesets: string[];
1448
+ } | undefined;
1449
+ process?: {
1450
+ ci?: {
1451
+ enabled: boolean;
1452
+ commands?: Record<string, string[] | Record<string, string[]>> | undefined;
1453
+ require_workflows?: string[] | undefined;
1454
+ jobs?: Record<string, string[]> | undefined;
1455
+ actions?: Record<string, string[]> | undefined;
1456
+ } | undefined;
1457
+ hooks?: {
1458
+ enabled: boolean;
1459
+ require_husky: boolean;
1460
+ require_hooks?: string[] | undefined;
1461
+ commands?: Record<string, string[]> | undefined;
1462
+ protected_branches?: string[] | undefined;
1463
+ } | undefined;
1464
+ branches?: {
1465
+ enabled: boolean;
1466
+ require_issue: boolean;
1467
+ exclude?: string[] | undefined;
1468
+ pattern?: string | undefined;
1469
+ issue_pattern?: string | undefined;
1470
+ } | undefined;
1471
+ commits?: {
1472
+ enabled: boolean;
1473
+ require_scope: boolean;
1474
+ types?: string[] | undefined;
1475
+ pattern?: string | undefined;
1476
+ max_subject_length?: number | undefined;
1477
+ } | undefined;
1478
+ changesets?: {
1479
+ enabled: boolean;
1480
+ validate_format: boolean;
1481
+ require_description: boolean;
1482
+ require_for_paths?: string[] | undefined;
1483
+ exclude_paths?: string[] | undefined;
1484
+ allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
1485
+ min_description_length?: number | undefined;
1486
+ } | undefined;
1487
+ pr?: {
1488
+ enabled: boolean;
1489
+ require_issue: boolean;
1490
+ exclude?: string[] | undefined;
1491
+ max_files?: number | undefined;
1492
+ max_lines?: number | undefined;
1493
+ issue_keywords?: string[] | undefined;
1494
+ } | undefined;
1495
+ tickets?: {
1496
+ enabled: boolean;
1497
+ require_in_commits: boolean;
1498
+ require_in_branch: boolean;
1499
+ pattern?: string | undefined;
1500
+ } | undefined;
1501
+ coverage?: {
1502
+ enabled: boolean;
1503
+ enforce_in: "ci" | "config" | "both";
1504
+ min_threshold?: number | undefined;
1505
+ ci_workflow?: string | undefined;
1506
+ ci_job?: string | undefined;
1507
+ } | undefined;
1508
+ repo?: {
1509
+ enabled: boolean;
1510
+ require_branch_protection: boolean;
1511
+ require_codeowners: boolean;
1512
+ ruleset?: {
1513
+ branch: string;
1514
+ name: string;
1515
+ enforcement: "active" | "evaluate" | "disabled";
1516
+ required_reviews?: number | undefined;
1517
+ dismiss_stale_reviews?: boolean | undefined;
1518
+ require_code_owner_reviews?: boolean | undefined;
1519
+ require_status_checks?: string[] | undefined;
1520
+ require_branches_up_to_date?: boolean | undefined;
1521
+ require_signed_commits?: boolean | undefined;
1522
+ enforce_admins?: boolean | undefined;
1523
+ bypass_actors?: {
1524
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
1525
+ bypass_mode: "always" | "pull_request";
1526
+ actor_id?: number | undefined;
1527
+ }[] | undefined;
1528
+ } | undefined;
1529
+ tag_protection?: {
1530
+ prevent_deletion: boolean;
1531
+ prevent_update: boolean;
1532
+ patterns?: string[] | undefined;
1533
+ } | undefined;
1534
+ } | undefined;
1535
+ backups?: {
1536
+ enabled: boolean;
1537
+ max_age_hours: number;
1538
+ bucket?: string | undefined;
1539
+ prefix?: string | undefined;
1540
+ region?: string | undefined;
1541
+ } | undefined;
1542
+ codeowners?: {
1543
+ enabled: boolean;
1544
+ rules?: {
1545
+ pattern: string;
1546
+ owners: string[];
1547
+ }[] | undefined;
1548
+ } | undefined;
1549
+ docs?: {
1550
+ path: string;
1551
+ enabled: boolean;
1552
+ enforcement: "warn" | "block";
1553
+ staleness_days: number;
1554
+ types?: Record<string, {
1555
+ required_sections?: string[] | undefined;
1556
+ frontmatter?: string[] | undefined;
1557
+ }> | undefined;
1558
+ max_files?: number | undefined;
1559
+ allowlist?: string[] | undefined;
1560
+ max_file_lines?: number | undefined;
1561
+ max_total_kb?: number | undefined;
1562
+ stale_mappings?: Record<string, string> | undefined;
1563
+ min_coverage?: number | undefined;
1564
+ coverage_paths?: string[] | undefined;
1565
+ exclude_patterns?: string[] | undefined;
1566
+ } | undefined;
1567
+ forbidden_files?: {
1568
+ enabled: boolean;
1569
+ message?: string | undefined;
1570
+ files?: string[] | undefined;
1571
+ ignore?: string[] | undefined;
1572
+ } | undefined;
1573
+ } | undefined;
1574
+ infra?: {
1575
+ enabled: boolean;
1576
+ manifest: string;
1577
+ } | undefined;
1578
+ mcp?: {
1579
+ standards?: {
1580
+ source?: string | undefined;
1581
+ } | undefined;
1582
+ } | undefined;
1583
+ monorepo?: {
1584
+ exclude?: string[] | undefined;
1585
+ } | undefined;
1586
+ }, {
1587
+ code?: {
1588
+ linting?: {
1589
+ eslint?: {
1590
+ enabled?: boolean | undefined;
1591
+ files?: string[] | undefined;
1592
+ ignore?: string[] | undefined;
1593
+ "max-warnings"?: number | undefined;
1594
+ rules?: Record<string, "error" | "off" | "warn" | z.objectInputType<{
1595
+ severity: z.ZodEnum<["off", "warn", "error"]>;
1596
+ }, z.ZodUnknown, "strip">> | undefined;
1597
+ dependencies?: string[] | undefined;
1598
+ } | undefined;
1599
+ ruff?: {
1600
+ enabled?: boolean | undefined;
1601
+ dependencies?: string[] | undefined;
1602
+ "line-length"?: number | undefined;
1603
+ lint?: {
1604
+ ignore?: string[] | undefined;
1605
+ select?: string[] | undefined;
1606
+ } | undefined;
1607
+ } | undefined;
1608
+ } | undefined;
1609
+ types?: {
1610
+ tsc?: {
1611
+ enabled?: boolean | undefined;
1612
+ dependencies?: string[] | undefined;
1613
+ require?: {
1614
+ strict?: boolean | undefined;
1615
+ noImplicitAny?: boolean | undefined;
1616
+ strictNullChecks?: boolean | undefined;
1617
+ noUnusedLocals?: boolean | undefined;
1618
+ noUnusedParameters?: boolean | undefined;
1619
+ noImplicitReturns?: boolean | undefined;
1620
+ noFallthroughCasesInSwitch?: boolean | undefined;
1621
+ esModuleInterop?: boolean | undefined;
1622
+ skipLibCheck?: boolean | undefined;
1623
+ forceConsistentCasingInFileNames?: boolean | undefined;
1624
+ } | undefined;
1625
+ } | undefined;
1626
+ ty?: {
1627
+ enabled?: boolean | undefined;
1628
+ dependencies?: string[] | undefined;
1629
+ } | undefined;
1630
+ } | undefined;
1631
+ unused?: {
1632
+ knip?: {
1633
+ enabled?: boolean | undefined;
1634
+ dependencies?: string[] | undefined;
1635
+ } | undefined;
1636
+ vulture?: {
1637
+ enabled?: boolean | undefined;
1638
+ dependencies?: string[] | undefined;
1639
+ } | undefined;
1640
+ } | undefined;
1641
+ coverage_run?: {
1642
+ enabled?: boolean | undefined;
1643
+ dependencies?: string[] | undefined;
1644
+ min_threshold?: number | undefined;
1645
+ runner?: "vitest" | "jest" | "pytest" | "auto" | undefined;
1646
+ command?: string | undefined;
1647
+ } | undefined;
1648
+ security?: {
1649
+ secrets?: {
1650
+ enabled?: boolean | undefined;
1651
+ dependencies?: string[] | undefined;
1652
+ scan_mode?: "files" | "branch" | "staged" | "full" | undefined;
1653
+ base_branch?: string | undefined;
1654
+ } | undefined;
1655
+ pnpmaudit?: {
1656
+ enabled?: boolean | undefined;
1657
+ dependencies?: string[] | undefined;
1658
+ exclude_dev?: boolean | undefined;
1659
+ } | undefined;
1660
+ pipaudit?: {
1661
+ enabled?: boolean | undefined;
1662
+ dependencies?: string[] | undefined;
1663
+ } | undefined;
1664
+ } | undefined;
1665
+ naming?: {
1666
+ enabled?: boolean | undefined;
1667
+ rules?: {
1668
+ extensions: string[];
1669
+ file_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
1670
+ folder_case: "kebab-case" | "snake_case" | "camelCase" | "PascalCase";
1671
+ exclude?: string[] | undefined;
1672
+ allow_dynamic_routes?: boolean | undefined;
1673
+ }[] | undefined;
1674
+ } | undefined;
1675
+ quality?: {
1676
+ "disable-comments"?: {
1677
+ enabled?: boolean | undefined;
1678
+ extensions?: string[] | undefined;
1679
+ exclude?: string[] | undefined;
1680
+ patterns?: string[] | undefined;
1681
+ } | undefined;
1682
+ } | undefined;
1683
+ } | undefined;
1684
+ extends?: {
1685
+ registry: string;
1686
+ rulesets: string[];
1687
+ } | undefined;
1688
+ process?: {
1689
+ ci?: {
1690
+ enabled?: boolean | undefined;
1691
+ commands?: Record<string, string[] | Record<string, string[]>> | undefined;
1692
+ require_workflows?: string[] | undefined;
1693
+ jobs?: Record<string, string[]> | undefined;
1694
+ actions?: Record<string, string[]> | undefined;
1695
+ } | undefined;
1696
+ hooks?: {
1697
+ enabled?: boolean | undefined;
1698
+ require_husky?: boolean | undefined;
1699
+ require_hooks?: string[] | undefined;
1700
+ commands?: Record<string, string[]> | undefined;
1701
+ protected_branches?: string[] | undefined;
1702
+ } | undefined;
1703
+ branches?: {
1704
+ enabled?: boolean | undefined;
1705
+ exclude?: string[] | undefined;
1706
+ pattern?: string | undefined;
1707
+ require_issue?: boolean | undefined;
1708
+ issue_pattern?: string | undefined;
1709
+ } | undefined;
1710
+ commits?: {
1711
+ enabled?: boolean | undefined;
1712
+ types?: string[] | undefined;
1713
+ pattern?: string | undefined;
1714
+ require_scope?: boolean | undefined;
1715
+ max_subject_length?: number | undefined;
1716
+ } | undefined;
1717
+ changesets?: {
1718
+ enabled?: boolean | undefined;
1719
+ require_for_paths?: string[] | undefined;
1720
+ exclude_paths?: string[] | undefined;
1721
+ validate_format?: boolean | undefined;
1722
+ allowed_bump_types?: ("patch" | "minor" | "major")[] | undefined;
1723
+ require_description?: boolean | undefined;
1724
+ min_description_length?: number | undefined;
1725
+ } | undefined;
1726
+ pr?: {
1727
+ enabled?: boolean | undefined;
1728
+ exclude?: string[] | undefined;
1729
+ require_issue?: boolean | undefined;
1730
+ max_files?: number | undefined;
1731
+ max_lines?: number | undefined;
1732
+ issue_keywords?: string[] | undefined;
1733
+ } | undefined;
1734
+ tickets?: {
1735
+ enabled?: boolean | undefined;
1736
+ pattern?: string | undefined;
1737
+ require_in_commits?: boolean | undefined;
1738
+ require_in_branch?: boolean | undefined;
1739
+ } | undefined;
1740
+ coverage?: {
1741
+ enabled?: boolean | undefined;
1742
+ min_threshold?: number | undefined;
1743
+ enforce_in?: "ci" | "config" | "both" | undefined;
1744
+ ci_workflow?: string | undefined;
1745
+ ci_job?: string | undefined;
1746
+ } | undefined;
1747
+ repo?: {
1748
+ enabled?: boolean | undefined;
1749
+ require_branch_protection?: boolean | undefined;
1750
+ require_codeowners?: boolean | undefined;
1751
+ ruleset?: {
1752
+ branch?: string | undefined;
1753
+ name?: string | undefined;
1754
+ enforcement?: "active" | "evaluate" | "disabled" | undefined;
1755
+ required_reviews?: number | undefined;
1756
+ dismiss_stale_reviews?: boolean | undefined;
1757
+ require_code_owner_reviews?: boolean | undefined;
1758
+ require_status_checks?: string[] | undefined;
1759
+ require_branches_up_to_date?: boolean | undefined;
1760
+ require_signed_commits?: boolean | undefined;
1761
+ enforce_admins?: boolean | undefined;
1762
+ bypass_actors?: {
1763
+ actor_type: "Integration" | "OrganizationAdmin" | "RepositoryRole" | "Team" | "DeployKey";
1764
+ actor_id?: number | undefined;
1765
+ bypass_mode?: "always" | "pull_request" | undefined;
1766
+ }[] | undefined;
1767
+ } | undefined;
1768
+ tag_protection?: {
1769
+ patterns?: string[] | undefined;
1770
+ prevent_deletion?: boolean | undefined;
1771
+ prevent_update?: boolean | undefined;
1772
+ } | undefined;
1773
+ } | undefined;
1774
+ backups?: {
1775
+ enabled?: boolean | undefined;
1776
+ bucket?: string | undefined;
1777
+ prefix?: string | undefined;
1778
+ max_age_hours?: number | undefined;
1779
+ region?: string | undefined;
1780
+ } | undefined;
1781
+ codeowners?: {
1782
+ enabled?: boolean | undefined;
1783
+ rules?: {
1784
+ pattern: string;
1785
+ owners: string[];
1786
+ }[] | undefined;
1787
+ } | undefined;
1788
+ docs?: {
1789
+ path?: string | undefined;
1790
+ enabled?: boolean | undefined;
1791
+ types?: Record<string, {
1792
+ required_sections?: string[] | undefined;
1793
+ frontmatter?: string[] | undefined;
1794
+ }> | undefined;
1795
+ max_files?: number | undefined;
1796
+ enforcement?: "warn" | "block" | undefined;
1797
+ allowlist?: string[] | undefined;
1798
+ max_file_lines?: number | undefined;
1799
+ max_total_kb?: number | undefined;
1800
+ staleness_days?: number | undefined;
1801
+ stale_mappings?: Record<string, string> | undefined;
1802
+ min_coverage?: number | undefined;
1803
+ coverage_paths?: string[] | undefined;
1804
+ exclude_patterns?: string[] | undefined;
1805
+ } | undefined;
1806
+ forbidden_files?: {
1807
+ message?: string | undefined;
1808
+ enabled?: boolean | undefined;
1809
+ files?: string[] | undefined;
1810
+ ignore?: string[] | undefined;
1811
+ } | undefined;
1812
+ } | undefined;
1813
+ infra?: {
1814
+ enabled?: boolean | undefined;
1815
+ manifest?: string | undefined;
1816
+ } | undefined;
1817
+ mcp?: {
1818
+ standards?: {
1819
+ source?: string | undefined;
1820
+ } | undefined;
1821
+ } | undefined;
1822
+ monorepo?: {
1823
+ exclude?: string[] | undefined;
1824
+ } | undefined;
1825
+ }>;
1826
+ /** Inferred TypeScript type from schema */
1827
+ export type Config = z.infer<typeof configSchema>;
1828
+ /** Default configuration */
1829
+ export declare const defaultConfig: Config;