@corbat-tech/coding-standards-mcp 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +371 -0
  3. package/assets/demo.gif +0 -0
  4. package/dist/agent.d.ts +53 -0
  5. package/dist/agent.d.ts.map +1 -0
  6. package/dist/agent.js +629 -0
  7. package/dist/agent.js.map +1 -0
  8. package/dist/cli/init.d.ts +3 -0
  9. package/dist/cli/init.d.ts.map +1 -0
  10. package/dist/cli/init.js +651 -0
  11. package/dist/cli/init.js.map +1 -0
  12. package/dist/config.d.ts +73 -0
  13. package/dist/config.d.ts.map +1 -0
  14. package/dist/config.js +105 -0
  15. package/dist/config.js.map +1 -0
  16. package/dist/index.d.ts +3 -0
  17. package/dist/index.d.ts.map +1 -0
  18. package/dist/index.js +73 -0
  19. package/dist/index.js.map +1 -0
  20. package/dist/profiles.d.ts +39 -0
  21. package/dist/profiles.d.ts.map +1 -0
  22. package/dist/profiles.js +526 -0
  23. package/dist/profiles.js.map +1 -0
  24. package/dist/prompts-legacy.d.ts +25 -0
  25. package/dist/prompts-legacy.d.ts.map +1 -0
  26. package/dist/prompts-legacy.js +600 -0
  27. package/dist/prompts-legacy.js.map +1 -0
  28. package/dist/prompts-v2.d.ts +30 -0
  29. package/dist/prompts-v2.d.ts.map +1 -0
  30. package/dist/prompts-v2.js +310 -0
  31. package/dist/prompts-v2.js.map +1 -0
  32. package/dist/prompts.d.ts +30 -0
  33. package/dist/prompts.d.ts.map +1 -0
  34. package/dist/prompts.js +310 -0
  35. package/dist/prompts.js.map +1 -0
  36. package/dist/resources.d.ts +18 -0
  37. package/dist/resources.d.ts.map +1 -0
  38. package/dist/resources.js +95 -0
  39. package/dist/resources.js.map +1 -0
  40. package/dist/tools-legacy.d.ts +196 -0
  41. package/dist/tools-legacy.d.ts.map +1 -0
  42. package/dist/tools-legacy.js +1230 -0
  43. package/dist/tools-legacy.js.map +1 -0
  44. package/dist/tools-v2.d.ts +92 -0
  45. package/dist/tools-v2.d.ts.map +1 -0
  46. package/dist/tools-v2.js +410 -0
  47. package/dist/tools-v2.js.map +1 -0
  48. package/dist/tools.d.ts +92 -0
  49. package/dist/tools.d.ts.map +1 -0
  50. package/dist/tools.js +410 -0
  51. package/dist/tools.js.map +1 -0
  52. package/dist/types.d.ts +3054 -0
  53. package/dist/types.d.ts.map +1 -0
  54. package/dist/types.js +515 -0
  55. package/dist/types.js.map +1 -0
  56. package/dist/utils/index.d.ts +6 -0
  57. package/dist/utils/index.d.ts.map +1 -0
  58. package/dist/utils/index.js +5 -0
  59. package/dist/utils/index.js.map +1 -0
  60. package/dist/utils/retry.d.ts +44 -0
  61. package/dist/utils/retry.d.ts.map +1 -0
  62. package/dist/utils/retry.js +74 -0
  63. package/dist/utils/retry.js.map +1 -0
  64. package/package.json +79 -0
  65. package/profiles/README.md +199 -0
  66. package/profiles/custom/.gitkeep +2 -0
  67. package/profiles/templates/_template.yaml +159 -0
  68. package/profiles/templates/angular.yaml +494 -0
  69. package/profiles/templates/java-spring-backend.yaml +512 -0
  70. package/profiles/templates/minimal.yaml +102 -0
  71. package/profiles/templates/nodejs.yaml +338 -0
  72. package/profiles/templates/python.yaml +340 -0
  73. package/profiles/templates/react.yaml +331 -0
  74. package/profiles/templates/vue.yaml +598 -0
  75. package/standards/architecture/ddd.md +173 -0
  76. package/standards/architecture/hexagonal.md +97 -0
  77. package/standards/cicd/github-actions.md +567 -0
  78. package/standards/clean-code/naming.md +175 -0
  79. package/standards/clean-code/principles.md +179 -0
  80. package/standards/containerization/dockerfile.md +419 -0
  81. package/standards/database/selection-guide.md +443 -0
  82. package/standards/documentation/guidelines.md +189 -0
  83. package/standards/event-driven/domain-events.md +527 -0
  84. package/standards/kubernetes/deployment.md +518 -0
  85. package/standards/observability/guidelines.md +665 -0
  86. package/standards/project-setup/initialization-checklist.md +650 -0
  87. package/standards/spring-boot/best-practices.md +598 -0
  88. package/standards/testing/guidelines.md +559 -0
  89. package/standards/workflow/llm-development-workflow.md +542 -0
@@ -0,0 +1,3054 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Architecture layer schema.
4
+ */
5
+ export declare const LayerSchema: z.ZodObject<{
6
+ name: z.ZodString;
7
+ description: z.ZodString;
8
+ allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
9
+ packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ name: string;
12
+ description: string;
13
+ allowedDependencies: string[];
14
+ packages?: string[] | undefined;
15
+ }, {
16
+ name: string;
17
+ description: string;
18
+ allowedDependencies?: string[] | undefined;
19
+ packages?: string[] | undefined;
20
+ }>;
21
+ /**
22
+ * ArchUnit configuration schema.
23
+ */
24
+ export declare const ArchUnitSchema: z.ZodObject<{
25
+ enabled: z.ZodDefault<z.ZodBoolean>;
26
+ recommended: z.ZodDefault<z.ZodBoolean>;
27
+ rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ enabled: boolean;
30
+ recommended: boolean;
31
+ rules?: string[] | undefined;
32
+ }, {
33
+ enabled?: boolean | undefined;
34
+ recommended?: boolean | undefined;
35
+ rules?: string[] | undefined;
36
+ }>;
37
+ /**
38
+ * Architecture configuration schema.
39
+ */
40
+ export declare const ArchitectureSchema: z.ZodObject<{
41
+ type: z.ZodDefault<z.ZodEnum<["hexagonal", "clean", "onion", "layered", "microservices", "modular-monolith", "feature-based"]>>;
42
+ enforceLayerDependencies: z.ZodDefault<z.ZodBoolean>;
43
+ layers: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
+ name: z.ZodString;
45
+ description: z.ZodString;
46
+ allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
47
+ packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ name: string;
50
+ description: string;
51
+ allowedDependencies: string[];
52
+ packages?: string[] | undefined;
53
+ }, {
54
+ name: string;
55
+ description: string;
56
+ allowedDependencies?: string[] | undefined;
57
+ packages?: string[] | undefined;
58
+ }>, "many">>;
59
+ archUnit: z.ZodOptional<z.ZodObject<{
60
+ enabled: z.ZodDefault<z.ZodBoolean>;
61
+ recommended: z.ZodDefault<z.ZodBoolean>;
62
+ rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ enabled: boolean;
65
+ recommended: boolean;
66
+ rules?: string[] | undefined;
67
+ }, {
68
+ enabled?: boolean | undefined;
69
+ recommended?: boolean | undefined;
70
+ rules?: string[] | undefined;
71
+ }>>;
72
+ }, "strip", z.ZodTypeAny, {
73
+ type: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based";
74
+ enforceLayerDependencies: boolean;
75
+ layers?: {
76
+ name: string;
77
+ description: string;
78
+ allowedDependencies: string[];
79
+ packages?: string[] | undefined;
80
+ }[] | undefined;
81
+ archUnit?: {
82
+ enabled: boolean;
83
+ recommended: boolean;
84
+ rules?: string[] | undefined;
85
+ } | undefined;
86
+ }, {
87
+ type?: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based" | undefined;
88
+ enforceLayerDependencies?: boolean | undefined;
89
+ layers?: {
90
+ name: string;
91
+ description: string;
92
+ allowedDependencies?: string[] | undefined;
93
+ packages?: string[] | undefined;
94
+ }[] | undefined;
95
+ archUnit?: {
96
+ enabled?: boolean | undefined;
97
+ recommended?: boolean | undefined;
98
+ rules?: string[] | undefined;
99
+ } | undefined;
100
+ }>;
101
+ /**
102
+ * DDD patterns schema.
103
+ */
104
+ export declare const DddPatternsSchema: z.ZodObject<{
105
+ aggregates: z.ZodDefault<z.ZodBoolean>;
106
+ entities: z.ZodDefault<z.ZodBoolean>;
107
+ valueObjects: z.ZodDefault<z.ZodBoolean>;
108
+ domainEvents: z.ZodDefault<z.ZodBoolean>;
109
+ repositories: z.ZodDefault<z.ZodBoolean>;
110
+ domainServices: z.ZodDefault<z.ZodBoolean>;
111
+ factories: z.ZodDefault<z.ZodBoolean>;
112
+ specifications: z.ZodDefault<z.ZodBoolean>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ aggregates: boolean;
115
+ entities: boolean;
116
+ valueObjects: boolean;
117
+ domainEvents: boolean;
118
+ repositories: boolean;
119
+ domainServices: boolean;
120
+ factories: boolean;
121
+ specifications: boolean;
122
+ }, {
123
+ aggregates?: boolean | undefined;
124
+ entities?: boolean | undefined;
125
+ valueObjects?: boolean | undefined;
126
+ domainEvents?: boolean | undefined;
127
+ repositories?: boolean | undefined;
128
+ domainServices?: boolean | undefined;
129
+ factories?: boolean | undefined;
130
+ specifications?: boolean | undefined;
131
+ }>;
132
+ export declare const DddSchema: z.ZodObject<{
133
+ enabled: z.ZodDefault<z.ZodBoolean>;
134
+ ubiquitousLanguageEnforced: z.ZodDefault<z.ZodBoolean>;
135
+ patterns: z.ZodOptional<z.ZodObject<{
136
+ aggregates: z.ZodDefault<z.ZodBoolean>;
137
+ entities: z.ZodDefault<z.ZodBoolean>;
138
+ valueObjects: z.ZodDefault<z.ZodBoolean>;
139
+ domainEvents: z.ZodDefault<z.ZodBoolean>;
140
+ repositories: z.ZodDefault<z.ZodBoolean>;
141
+ domainServices: z.ZodDefault<z.ZodBoolean>;
142
+ factories: z.ZodDefault<z.ZodBoolean>;
143
+ specifications: z.ZodDefault<z.ZodBoolean>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ aggregates: boolean;
146
+ entities: boolean;
147
+ valueObjects: boolean;
148
+ domainEvents: boolean;
149
+ repositories: boolean;
150
+ domainServices: boolean;
151
+ factories: boolean;
152
+ specifications: boolean;
153
+ }, {
154
+ aggregates?: boolean | undefined;
155
+ entities?: boolean | undefined;
156
+ valueObjects?: boolean | undefined;
157
+ domainEvents?: boolean | undefined;
158
+ repositories?: boolean | undefined;
159
+ domainServices?: boolean | undefined;
160
+ factories?: boolean | undefined;
161
+ specifications?: boolean | undefined;
162
+ }>>;
163
+ valueObjectGuidelines: z.ZodOptional<z.ZodObject<{
164
+ useRecords: z.ZodDefault<z.ZodBoolean>;
165
+ immutable: z.ZodDefault<z.ZodBoolean>;
166
+ selfValidating: z.ZodDefault<z.ZodBoolean>;
167
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
168
+ }, "strip", z.ZodTypeAny, {
169
+ useRecords: boolean;
170
+ immutable: boolean;
171
+ selfValidating: boolean;
172
+ examples?: string[] | undefined;
173
+ }, {
174
+ useRecords?: boolean | undefined;
175
+ immutable?: boolean | undefined;
176
+ selfValidating?: boolean | undefined;
177
+ examples?: string[] | undefined;
178
+ }>>;
179
+ aggregateGuidelines: z.ZodOptional<z.ZodObject<{
180
+ singleEntryPoint: z.ZodDefault<z.ZodBoolean>;
181
+ protectInvariants: z.ZodDefault<z.ZodBoolean>;
182
+ smallAggregates: z.ZodDefault<z.ZodBoolean>;
183
+ referenceByIdentity: z.ZodDefault<z.ZodBoolean>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ singleEntryPoint: boolean;
186
+ protectInvariants: boolean;
187
+ smallAggregates: boolean;
188
+ referenceByIdentity: boolean;
189
+ }, {
190
+ singleEntryPoint?: boolean | undefined;
191
+ protectInvariants?: boolean | undefined;
192
+ smallAggregates?: boolean | undefined;
193
+ referenceByIdentity?: boolean | undefined;
194
+ }>>;
195
+ }, "strip", z.ZodTypeAny, {
196
+ enabled: boolean;
197
+ ubiquitousLanguageEnforced: boolean;
198
+ patterns?: {
199
+ aggregates: boolean;
200
+ entities: boolean;
201
+ valueObjects: boolean;
202
+ domainEvents: boolean;
203
+ repositories: boolean;
204
+ domainServices: boolean;
205
+ factories: boolean;
206
+ specifications: boolean;
207
+ } | undefined;
208
+ valueObjectGuidelines?: {
209
+ useRecords: boolean;
210
+ immutable: boolean;
211
+ selfValidating: boolean;
212
+ examples?: string[] | undefined;
213
+ } | undefined;
214
+ aggregateGuidelines?: {
215
+ singleEntryPoint: boolean;
216
+ protectInvariants: boolean;
217
+ smallAggregates: boolean;
218
+ referenceByIdentity: boolean;
219
+ } | undefined;
220
+ }, {
221
+ enabled?: boolean | undefined;
222
+ ubiquitousLanguageEnforced?: boolean | undefined;
223
+ patterns?: {
224
+ aggregates?: boolean | undefined;
225
+ entities?: boolean | undefined;
226
+ valueObjects?: boolean | undefined;
227
+ domainEvents?: boolean | undefined;
228
+ repositories?: boolean | undefined;
229
+ domainServices?: boolean | undefined;
230
+ factories?: boolean | undefined;
231
+ specifications?: boolean | undefined;
232
+ } | undefined;
233
+ valueObjectGuidelines?: {
234
+ useRecords?: boolean | undefined;
235
+ immutable?: boolean | undefined;
236
+ selfValidating?: boolean | undefined;
237
+ examples?: string[] | undefined;
238
+ } | undefined;
239
+ aggregateGuidelines?: {
240
+ singleEntryPoint?: boolean | undefined;
241
+ protectInvariants?: boolean | undefined;
242
+ smallAggregates?: boolean | undefined;
243
+ referenceByIdentity?: boolean | undefined;
244
+ } | undefined;
245
+ }>;
246
+ /**
247
+ * CQRS configuration schema.
248
+ */
249
+ export declare const CqrsSchema: z.ZodObject<{
250
+ enabled: z.ZodDefault<z.ZodBoolean>;
251
+ separation: z.ZodDefault<z.ZodEnum<["logical", "physical"]>>;
252
+ patterns: z.ZodOptional<z.ZodObject<{
253
+ commands: z.ZodOptional<z.ZodObject<{
254
+ suffix: z.ZodDefault<z.ZodString>;
255
+ handler: z.ZodDefault<z.ZodString>;
256
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
257
+ }, "strip", z.ZodTypeAny, {
258
+ suffix: string;
259
+ handler: string;
260
+ examples?: string[] | undefined;
261
+ }, {
262
+ examples?: string[] | undefined;
263
+ suffix?: string | undefined;
264
+ handler?: string | undefined;
265
+ }>>;
266
+ queries: z.ZodOptional<z.ZodObject<{
267
+ suffix: z.ZodDefault<z.ZodString>;
268
+ handler: z.ZodDefault<z.ZodString>;
269
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ suffix: string;
272
+ handler: string;
273
+ examples?: string[] | undefined;
274
+ }, {
275
+ examples?: string[] | undefined;
276
+ suffix?: string | undefined;
277
+ handler?: string | undefined;
278
+ }>>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ commands?: {
281
+ suffix: string;
282
+ handler: string;
283
+ examples?: string[] | undefined;
284
+ } | undefined;
285
+ queries?: {
286
+ suffix: string;
287
+ handler: string;
288
+ examples?: string[] | undefined;
289
+ } | undefined;
290
+ }, {
291
+ commands?: {
292
+ examples?: string[] | undefined;
293
+ suffix?: string | undefined;
294
+ handler?: string | undefined;
295
+ } | undefined;
296
+ queries?: {
297
+ examples?: string[] | undefined;
298
+ suffix?: string | undefined;
299
+ handler?: string | undefined;
300
+ } | undefined;
301
+ }>>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ enabled: boolean;
304
+ separation: "logical" | "physical";
305
+ patterns?: {
306
+ commands?: {
307
+ suffix: string;
308
+ handler: string;
309
+ examples?: string[] | undefined;
310
+ } | undefined;
311
+ queries?: {
312
+ suffix: string;
313
+ handler: string;
314
+ examples?: string[] | undefined;
315
+ } | undefined;
316
+ } | undefined;
317
+ }, {
318
+ enabled?: boolean | undefined;
319
+ patterns?: {
320
+ commands?: {
321
+ examples?: string[] | undefined;
322
+ suffix?: string | undefined;
323
+ handler?: string | undefined;
324
+ } | undefined;
325
+ queries?: {
326
+ examples?: string[] | undefined;
327
+ suffix?: string | undefined;
328
+ handler?: string | undefined;
329
+ } | undefined;
330
+ } | undefined;
331
+ separation?: "logical" | "physical" | undefined;
332
+ }>;
333
+ /**
334
+ * Event-driven configuration schema.
335
+ */
336
+ export declare const EventDrivenSchema: z.ZodObject<{
337
+ enabled: z.ZodDefault<z.ZodBoolean>;
338
+ approach: z.ZodDefault<z.ZodEnum<["domain-events", "event-sourcing"]>>;
339
+ patterns: z.ZodOptional<z.ZodObject<{
340
+ domainEvents: z.ZodOptional<z.ZodObject<{
341
+ suffix: z.ZodDefault<z.ZodString>;
342
+ pastTense: z.ZodDefault<z.ZodBoolean>;
343
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
344
+ }, "strip", z.ZodTypeAny, {
345
+ suffix: string;
346
+ pastTense: boolean;
347
+ examples?: string[] | undefined;
348
+ }, {
349
+ examples?: string[] | undefined;
350
+ suffix?: string | undefined;
351
+ pastTense?: boolean | undefined;
352
+ }>>;
353
+ eventPublishing: z.ZodOptional<z.ZodObject<{
354
+ interface: z.ZodDefault<z.ZodString>;
355
+ async: z.ZodDefault<z.ZodBoolean>;
356
+ }, "strip", z.ZodTypeAny, {
357
+ interface: string;
358
+ async: boolean;
359
+ }, {
360
+ interface?: string | undefined;
361
+ async?: boolean | undefined;
362
+ }>>;
363
+ messaging: z.ZodOptional<z.ZodObject<{
364
+ broker: z.ZodDefault<z.ZodEnum<["kafka", "rabbitmq", "sqs"]>>;
365
+ topicNaming: z.ZodOptional<z.ZodString>;
366
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
367
+ }, "strip", z.ZodTypeAny, {
368
+ broker: "kafka" | "rabbitmq" | "sqs";
369
+ examples?: string[] | undefined;
370
+ topicNaming?: string | undefined;
371
+ }, {
372
+ examples?: string[] | undefined;
373
+ broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
374
+ topicNaming?: string | undefined;
375
+ }>>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ domainEvents?: {
378
+ suffix: string;
379
+ pastTense: boolean;
380
+ examples?: string[] | undefined;
381
+ } | undefined;
382
+ eventPublishing?: {
383
+ interface: string;
384
+ async: boolean;
385
+ } | undefined;
386
+ messaging?: {
387
+ broker: "kafka" | "rabbitmq" | "sqs";
388
+ examples?: string[] | undefined;
389
+ topicNaming?: string | undefined;
390
+ } | undefined;
391
+ }, {
392
+ domainEvents?: {
393
+ examples?: string[] | undefined;
394
+ suffix?: string | undefined;
395
+ pastTense?: boolean | undefined;
396
+ } | undefined;
397
+ eventPublishing?: {
398
+ interface?: string | undefined;
399
+ async?: boolean | undefined;
400
+ } | undefined;
401
+ messaging?: {
402
+ examples?: string[] | undefined;
403
+ broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
404
+ topicNaming?: string | undefined;
405
+ } | undefined;
406
+ }>>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ enabled: boolean;
409
+ approach: "domain-events" | "event-sourcing";
410
+ patterns?: {
411
+ domainEvents?: {
412
+ suffix: string;
413
+ pastTense: boolean;
414
+ examples?: string[] | undefined;
415
+ } | undefined;
416
+ eventPublishing?: {
417
+ interface: string;
418
+ async: boolean;
419
+ } | undefined;
420
+ messaging?: {
421
+ broker: "kafka" | "rabbitmq" | "sqs";
422
+ examples?: string[] | undefined;
423
+ topicNaming?: string | undefined;
424
+ } | undefined;
425
+ } | undefined;
426
+ }, {
427
+ enabled?: boolean | undefined;
428
+ patterns?: {
429
+ domainEvents?: {
430
+ examples?: string[] | undefined;
431
+ suffix?: string | undefined;
432
+ pastTense?: boolean | undefined;
433
+ } | undefined;
434
+ eventPublishing?: {
435
+ interface?: string | undefined;
436
+ async?: boolean | undefined;
437
+ } | undefined;
438
+ messaging?: {
439
+ examples?: string[] | undefined;
440
+ broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
441
+ topicNaming?: string | undefined;
442
+ } | undefined;
443
+ } | undefined;
444
+ approach?: "domain-events" | "event-sourcing" | undefined;
445
+ }>;
446
+ /**
447
+ * Code quality rules schema.
448
+ */
449
+ export declare const CodeQualitySchema: z.ZodObject<{
450
+ maxMethodLines: z.ZodDefault<z.ZodNumber>;
451
+ maxClassLines: z.ZodDefault<z.ZodNumber>;
452
+ maxFileLines: z.ZodDefault<z.ZodNumber>;
453
+ maxMethodParameters: z.ZodDefault<z.ZodNumber>;
454
+ maxCyclomaticComplexity: z.ZodDefault<z.ZodNumber>;
455
+ requireDocumentation: z.ZodDefault<z.ZodBoolean>;
456
+ requireTests: z.ZodDefault<z.ZodBoolean>;
457
+ minimumTestCoverage: z.ZodDefault<z.ZodNumber>;
458
+ principles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ maxMethodLines: number;
461
+ maxClassLines: number;
462
+ maxFileLines: number;
463
+ maxMethodParameters: number;
464
+ maxCyclomaticComplexity: number;
465
+ requireDocumentation: boolean;
466
+ requireTests: boolean;
467
+ minimumTestCoverage: number;
468
+ principles?: string[] | undefined;
469
+ }, {
470
+ maxMethodLines?: number | undefined;
471
+ maxClassLines?: number | undefined;
472
+ maxFileLines?: number | undefined;
473
+ maxMethodParameters?: number | undefined;
474
+ maxCyclomaticComplexity?: number | undefined;
475
+ requireDocumentation?: boolean | undefined;
476
+ requireTests?: boolean | undefined;
477
+ minimumTestCoverage?: number | undefined;
478
+ principles?: string[] | undefined;
479
+ }>;
480
+ /**
481
+ * Naming conventions schema - supports nested structure.
482
+ */
483
+ export declare const NamingSchema: z.ZodOptional<z.ZodObject<{
484
+ general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
485
+ suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
486
+ testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
487
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
488
+ general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
489
+ suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
490
+ testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
491
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
492
+ general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
493
+ suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
494
+ testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
495
+ }, z.ZodTypeAny, "passthrough">>>;
496
+ /**
497
+ * Testing configuration schema.
498
+ */
499
+ export declare const TestingConfigSchema: z.ZodObject<{
500
+ framework: z.ZodDefault<z.ZodString>;
501
+ assertionLibrary: z.ZodDefault<z.ZodString>;
502
+ mockingLibrary: z.ZodDefault<z.ZodString>;
503
+ types: z.ZodOptional<z.ZodObject<{
504
+ unit: z.ZodOptional<z.ZodObject<{
505
+ suffix: z.ZodDefault<z.ZodString>;
506
+ location: z.ZodOptional<z.ZodString>;
507
+ coverage: z.ZodOptional<z.ZodNumber>;
508
+ fastExecution: z.ZodOptional<z.ZodBoolean>;
509
+ mavenPhase: z.ZodOptional<z.ZodString>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ suffix: string;
512
+ location?: string | undefined;
513
+ coverage?: number | undefined;
514
+ fastExecution?: boolean | undefined;
515
+ mavenPhase?: string | undefined;
516
+ }, {
517
+ suffix?: string | undefined;
518
+ location?: string | undefined;
519
+ coverage?: number | undefined;
520
+ fastExecution?: boolean | undefined;
521
+ mavenPhase?: string | undefined;
522
+ }>>;
523
+ integration: z.ZodOptional<z.ZodObject<{
524
+ suffix: z.ZodDefault<z.ZodString>;
525
+ location: z.ZodOptional<z.ZodString>;
526
+ mavenPlugin: z.ZodOptional<z.ZodString>;
527
+ mavenPhase: z.ZodOptional<z.ZodString>;
528
+ useTestcontainers: z.ZodOptional<z.ZodBoolean>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ suffix: string;
531
+ location?: string | undefined;
532
+ mavenPhase?: string | undefined;
533
+ mavenPlugin?: string | undefined;
534
+ useTestcontainers?: boolean | undefined;
535
+ }, {
536
+ suffix?: string | undefined;
537
+ location?: string | undefined;
538
+ mavenPhase?: string | undefined;
539
+ mavenPlugin?: string | undefined;
540
+ useTestcontainers?: boolean | undefined;
541
+ }>>;
542
+ e2e: z.ZodOptional<z.ZodObject<{
543
+ suffix: z.ZodOptional<z.ZodString>;
544
+ location: z.ZodOptional<z.ZodString>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ suffix?: string | undefined;
547
+ location?: string | undefined;
548
+ }, {
549
+ suffix?: string | undefined;
550
+ location?: string | undefined;
551
+ }>>;
552
+ architecture: z.ZodOptional<z.ZodObject<{
553
+ tool: z.ZodDefault<z.ZodString>;
554
+ recommended: z.ZodDefault<z.ZodBoolean>;
555
+ location: z.ZodOptional<z.ZodString>;
556
+ }, "strip", z.ZodTypeAny, {
557
+ recommended: boolean;
558
+ tool: string;
559
+ location?: string | undefined;
560
+ }, {
561
+ recommended?: boolean | undefined;
562
+ location?: string | undefined;
563
+ tool?: string | undefined;
564
+ }>>;
565
+ }, "strip", z.ZodTypeAny, {
566
+ unit?: {
567
+ suffix: string;
568
+ location?: string | undefined;
569
+ coverage?: number | undefined;
570
+ fastExecution?: boolean | undefined;
571
+ mavenPhase?: string | undefined;
572
+ } | undefined;
573
+ integration?: {
574
+ suffix: string;
575
+ location?: string | undefined;
576
+ mavenPhase?: string | undefined;
577
+ mavenPlugin?: string | undefined;
578
+ useTestcontainers?: boolean | undefined;
579
+ } | undefined;
580
+ e2e?: {
581
+ suffix?: string | undefined;
582
+ location?: string | undefined;
583
+ } | undefined;
584
+ architecture?: {
585
+ recommended: boolean;
586
+ tool: string;
587
+ location?: string | undefined;
588
+ } | undefined;
589
+ }, {
590
+ unit?: {
591
+ suffix?: string | undefined;
592
+ location?: string | undefined;
593
+ coverage?: number | undefined;
594
+ fastExecution?: boolean | undefined;
595
+ mavenPhase?: string | undefined;
596
+ } | undefined;
597
+ integration?: {
598
+ suffix?: string | undefined;
599
+ location?: string | undefined;
600
+ mavenPhase?: string | undefined;
601
+ mavenPlugin?: string | undefined;
602
+ useTestcontainers?: boolean | undefined;
603
+ } | undefined;
604
+ e2e?: {
605
+ suffix?: string | undefined;
606
+ location?: string | undefined;
607
+ } | undefined;
608
+ architecture?: {
609
+ recommended?: boolean | undefined;
610
+ location?: string | undefined;
611
+ tool?: string | undefined;
612
+ } | undefined;
613
+ }>>;
614
+ patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
615
+ testcontainers: z.ZodOptional<z.ZodObject<{
616
+ enabled: z.ZodDefault<z.ZodBoolean>;
617
+ containers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
618
+ }, "strip", z.ZodTypeAny, {
619
+ enabled: boolean;
620
+ containers?: string[] | undefined;
621
+ }, {
622
+ enabled?: boolean | undefined;
623
+ containers?: string[] | undefined;
624
+ }>>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ framework: string;
627
+ assertionLibrary: string;
628
+ mockingLibrary: string;
629
+ patterns?: Record<string, boolean> | undefined;
630
+ types?: {
631
+ unit?: {
632
+ suffix: string;
633
+ location?: string | undefined;
634
+ coverage?: number | undefined;
635
+ fastExecution?: boolean | undefined;
636
+ mavenPhase?: string | undefined;
637
+ } | undefined;
638
+ integration?: {
639
+ suffix: string;
640
+ location?: string | undefined;
641
+ mavenPhase?: string | undefined;
642
+ mavenPlugin?: string | undefined;
643
+ useTestcontainers?: boolean | undefined;
644
+ } | undefined;
645
+ e2e?: {
646
+ suffix?: string | undefined;
647
+ location?: string | undefined;
648
+ } | undefined;
649
+ architecture?: {
650
+ recommended: boolean;
651
+ tool: string;
652
+ location?: string | undefined;
653
+ } | undefined;
654
+ } | undefined;
655
+ testcontainers?: {
656
+ enabled: boolean;
657
+ containers?: string[] | undefined;
658
+ } | undefined;
659
+ }, {
660
+ patterns?: Record<string, boolean> | undefined;
661
+ framework?: string | undefined;
662
+ assertionLibrary?: string | undefined;
663
+ mockingLibrary?: string | undefined;
664
+ types?: {
665
+ unit?: {
666
+ suffix?: string | undefined;
667
+ location?: string | undefined;
668
+ coverage?: number | undefined;
669
+ fastExecution?: boolean | undefined;
670
+ mavenPhase?: string | undefined;
671
+ } | undefined;
672
+ integration?: {
673
+ suffix?: string | undefined;
674
+ location?: string | undefined;
675
+ mavenPhase?: string | undefined;
676
+ mavenPlugin?: string | undefined;
677
+ useTestcontainers?: boolean | undefined;
678
+ } | undefined;
679
+ e2e?: {
680
+ suffix?: string | undefined;
681
+ location?: string | undefined;
682
+ } | undefined;
683
+ architecture?: {
684
+ recommended?: boolean | undefined;
685
+ location?: string | undefined;
686
+ tool?: string | undefined;
687
+ } | undefined;
688
+ } | undefined;
689
+ testcontainers?: {
690
+ enabled?: boolean | undefined;
691
+ containers?: string[] | undefined;
692
+ } | undefined;
693
+ }>;
694
+ /**
695
+ * HTTP Clients configuration schema.
696
+ */
697
+ export declare const HttpClientsSchema: z.ZodObject<{
698
+ simple: z.ZodOptional<z.ZodObject<{
699
+ tool: z.ZodDefault<z.ZodString>;
700
+ description: z.ZodOptional<z.ZodString>;
701
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
702
+ example: z.ZodOptional<z.ZodString>;
703
+ }, "strip", z.ZodTypeAny, {
704
+ tool: string;
705
+ description?: string | undefined;
706
+ useWhen?: string[] | undefined;
707
+ example?: string | undefined;
708
+ }, {
709
+ description?: string | undefined;
710
+ tool?: string | undefined;
711
+ useWhen?: string[] | undefined;
712
+ example?: string | undefined;
713
+ }>>;
714
+ complex: z.ZodOptional<z.ZodObject<{
715
+ tool: z.ZodDefault<z.ZodString>;
716
+ description: z.ZodOptional<z.ZodString>;
717
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
718
+ example: z.ZodOptional<z.ZodString>;
719
+ }, "strip", z.ZodTypeAny, {
720
+ tool: string;
721
+ description?: string | undefined;
722
+ useWhen?: string[] | undefined;
723
+ example?: string | undefined;
724
+ }, {
725
+ description?: string | undefined;
726
+ tool?: string | undefined;
727
+ useWhen?: string[] | undefined;
728
+ example?: string | undefined;
729
+ }>>;
730
+ }, "strip", z.ZodTypeAny, {
731
+ simple?: {
732
+ tool: string;
733
+ description?: string | undefined;
734
+ useWhen?: string[] | undefined;
735
+ example?: string | undefined;
736
+ } | undefined;
737
+ complex?: {
738
+ tool: string;
739
+ description?: string | undefined;
740
+ useWhen?: string[] | undefined;
741
+ example?: string | undefined;
742
+ } | undefined;
743
+ }, {
744
+ simple?: {
745
+ description?: string | undefined;
746
+ tool?: string | undefined;
747
+ useWhen?: string[] | undefined;
748
+ example?: string | undefined;
749
+ } | undefined;
750
+ complex?: {
751
+ description?: string | undefined;
752
+ tool?: string | undefined;
753
+ useWhen?: string[] | undefined;
754
+ example?: string | undefined;
755
+ } | undefined;
756
+ }>;
757
+ /**
758
+ * Observability configuration schema.
759
+ */
760
+ export declare const ObservabilitySchema: z.ZodObject<{
761
+ enabled: z.ZodDefault<z.ZodBoolean>;
762
+ logging: z.ZodOptional<z.ZodObject<{
763
+ framework: z.ZodOptional<z.ZodString>;
764
+ format: z.ZodOptional<z.ZodString>;
765
+ structuredLogging: z.ZodOptional<z.ZodBoolean>;
766
+ correlationId: z.ZodOptional<z.ZodBoolean>;
767
+ mdc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
768
+ levels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
769
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
770
+ }, "strip", z.ZodTypeAny, {
771
+ framework?: string | undefined;
772
+ format?: string | undefined;
773
+ structuredLogging?: boolean | undefined;
774
+ correlationId?: boolean | undefined;
775
+ mdc?: string[] | undefined;
776
+ levels?: Record<string, string> | undefined;
777
+ avoid?: string[] | undefined;
778
+ }, {
779
+ framework?: string | undefined;
780
+ format?: string | undefined;
781
+ structuredLogging?: boolean | undefined;
782
+ correlationId?: boolean | undefined;
783
+ mdc?: string[] | undefined;
784
+ levels?: Record<string, string> | undefined;
785
+ avoid?: string[] | undefined;
786
+ }>>;
787
+ metrics: z.ZodOptional<z.ZodObject<{
788
+ framework: z.ZodOptional<z.ZodString>;
789
+ registry: z.ZodOptional<z.ZodString>;
790
+ customMetrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
791
+ type: z.ZodString;
792
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
793
+ }, "strip", z.ZodTypeAny, {
794
+ type: string;
795
+ examples?: string[] | undefined;
796
+ }, {
797
+ type: string;
798
+ examples?: string[] | undefined;
799
+ }>, "many">>;
800
+ naming: z.ZodOptional<z.ZodString>;
801
+ }, "strip", z.ZodTypeAny, {
802
+ framework?: string | undefined;
803
+ registry?: string | undefined;
804
+ customMetrics?: {
805
+ type: string;
806
+ examples?: string[] | undefined;
807
+ }[] | undefined;
808
+ naming?: string | undefined;
809
+ }, {
810
+ framework?: string | undefined;
811
+ registry?: string | undefined;
812
+ customMetrics?: {
813
+ type: string;
814
+ examples?: string[] | undefined;
815
+ }[] | undefined;
816
+ naming?: string | undefined;
817
+ }>>;
818
+ tracing: z.ZodOptional<z.ZodObject<{
819
+ framework: z.ZodOptional<z.ZodString>;
820
+ propagation: z.ZodOptional<z.ZodString>;
821
+ samplingRate: z.ZodOptional<z.ZodNumber>;
822
+ exporters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
823
+ spanAttributes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
824
+ }, "strip", z.ZodTypeAny, {
825
+ framework?: string | undefined;
826
+ propagation?: string | undefined;
827
+ samplingRate?: number | undefined;
828
+ exporters?: string[] | undefined;
829
+ spanAttributes?: string[] | undefined;
830
+ }, {
831
+ framework?: string | undefined;
832
+ propagation?: string | undefined;
833
+ samplingRate?: number | undefined;
834
+ exporters?: string[] | undefined;
835
+ spanAttributes?: string[] | undefined;
836
+ }>>;
837
+ healthChecks: z.ZodOptional<z.ZodObject<{
838
+ actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
839
+ customHealthIndicators: z.ZodOptional<z.ZodBoolean>;
840
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
841
+ }, "strip", z.ZodTypeAny, {
842
+ examples?: string[] | undefined;
843
+ actuatorEndpoints?: string[] | undefined;
844
+ customHealthIndicators?: boolean | undefined;
845
+ }, {
846
+ examples?: string[] | undefined;
847
+ actuatorEndpoints?: string[] | undefined;
848
+ customHealthIndicators?: boolean | undefined;
849
+ }>>;
850
+ }, "strip", z.ZodTypeAny, {
851
+ enabled: boolean;
852
+ logging?: {
853
+ framework?: string | undefined;
854
+ format?: string | undefined;
855
+ structuredLogging?: boolean | undefined;
856
+ correlationId?: boolean | undefined;
857
+ mdc?: string[] | undefined;
858
+ levels?: Record<string, string> | undefined;
859
+ avoid?: string[] | undefined;
860
+ } | undefined;
861
+ metrics?: {
862
+ framework?: string | undefined;
863
+ registry?: string | undefined;
864
+ customMetrics?: {
865
+ type: string;
866
+ examples?: string[] | undefined;
867
+ }[] | undefined;
868
+ naming?: string | undefined;
869
+ } | undefined;
870
+ tracing?: {
871
+ framework?: string | undefined;
872
+ propagation?: string | undefined;
873
+ samplingRate?: number | undefined;
874
+ exporters?: string[] | undefined;
875
+ spanAttributes?: string[] | undefined;
876
+ } | undefined;
877
+ healthChecks?: {
878
+ examples?: string[] | undefined;
879
+ actuatorEndpoints?: string[] | undefined;
880
+ customHealthIndicators?: boolean | undefined;
881
+ } | undefined;
882
+ }, {
883
+ enabled?: boolean | undefined;
884
+ logging?: {
885
+ framework?: string | undefined;
886
+ format?: string | undefined;
887
+ structuredLogging?: boolean | undefined;
888
+ correlationId?: boolean | undefined;
889
+ mdc?: string[] | undefined;
890
+ levels?: Record<string, string> | undefined;
891
+ avoid?: string[] | undefined;
892
+ } | undefined;
893
+ metrics?: {
894
+ framework?: string | undefined;
895
+ registry?: string | undefined;
896
+ customMetrics?: {
897
+ type: string;
898
+ examples?: string[] | undefined;
899
+ }[] | undefined;
900
+ naming?: string | undefined;
901
+ } | undefined;
902
+ tracing?: {
903
+ framework?: string | undefined;
904
+ propagation?: string | undefined;
905
+ samplingRate?: number | undefined;
906
+ exporters?: string[] | undefined;
907
+ spanAttributes?: string[] | undefined;
908
+ } | undefined;
909
+ healthChecks?: {
910
+ examples?: string[] | undefined;
911
+ actuatorEndpoints?: string[] | undefined;
912
+ customHealthIndicators?: boolean | undefined;
913
+ } | undefined;
914
+ }>;
915
+ /**
916
+ * API Documentation configuration schema.
917
+ */
918
+ export declare const ApiDocumentationSchema: z.ZodObject<{
919
+ enabled: z.ZodDefault<z.ZodBoolean>;
920
+ tool: z.ZodDefault<z.ZodString>;
921
+ version: z.ZodOptional<z.ZodString>;
922
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
923
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
924
+ output: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
925
+ }, "strip", z.ZodTypeAny, {
926
+ enabled: boolean;
927
+ tool: string;
928
+ version?: string | undefined;
929
+ requirements?: string[] | undefined;
930
+ annotations?: Record<string, string> | undefined;
931
+ output?: string[] | undefined;
932
+ }, {
933
+ enabled?: boolean | undefined;
934
+ tool?: string | undefined;
935
+ version?: string | undefined;
936
+ requirements?: string[] | undefined;
937
+ annotations?: Record<string, string> | undefined;
938
+ output?: string[] | undefined;
939
+ }>;
940
+ /**
941
+ * Security configuration schema.
942
+ */
943
+ export declare const SecuritySchema: z.ZodObject<{
944
+ authentication: z.ZodOptional<z.ZodObject<{
945
+ method: z.ZodOptional<z.ZodString>;
946
+ storage: z.ZodOptional<z.ZodString>;
947
+ }, "strip", z.ZodTypeAny, {
948
+ method?: string | undefined;
949
+ storage?: string | undefined;
950
+ }, {
951
+ method?: string | undefined;
952
+ storage?: string | undefined;
953
+ }>>;
954
+ authorization: z.ZodOptional<z.ZodObject<{
955
+ framework: z.ZodOptional<z.ZodString>;
956
+ method: z.ZodOptional<z.ZodString>;
957
+ }, "strip", z.ZodTypeAny, {
958
+ framework?: string | undefined;
959
+ method?: string | undefined;
960
+ }, {
961
+ framework?: string | undefined;
962
+ method?: string | undefined;
963
+ }>>;
964
+ practices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
965
+ }, "strip", z.ZodTypeAny, {
966
+ authentication?: {
967
+ method?: string | undefined;
968
+ storage?: string | undefined;
969
+ } | undefined;
970
+ authorization?: {
971
+ framework?: string | undefined;
972
+ method?: string | undefined;
973
+ } | undefined;
974
+ practices?: string[] | undefined;
975
+ }, {
976
+ authentication?: {
977
+ method?: string | undefined;
978
+ storage?: string | undefined;
979
+ } | undefined;
980
+ authorization?: {
981
+ framework?: string | undefined;
982
+ method?: string | undefined;
983
+ } | undefined;
984
+ practices?: string[] | undefined;
985
+ }>;
986
+ /**
987
+ * Error handling configuration schema.
988
+ */
989
+ export declare const ErrorHandlingSchema: z.ZodObject<{
990
+ format: z.ZodDefault<z.ZodString>;
991
+ globalHandler: z.ZodOptional<z.ZodString>;
992
+ structure: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
993
+ customExceptions: z.ZodOptional<z.ZodObject<{
994
+ domain: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
995
+ application: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
996
+ }, "strip", z.ZodTypeAny, {
997
+ domain?: string[] | undefined;
998
+ application?: string[] | undefined;
999
+ }, {
1000
+ domain?: string[] | undefined;
1001
+ application?: string[] | undefined;
1002
+ }>>;
1003
+ }, "strip", z.ZodTypeAny, {
1004
+ format: string;
1005
+ globalHandler?: string | undefined;
1006
+ structure?: string[] | undefined;
1007
+ customExceptions?: {
1008
+ domain?: string[] | undefined;
1009
+ application?: string[] | undefined;
1010
+ } | undefined;
1011
+ }, {
1012
+ format?: string | undefined;
1013
+ globalHandler?: string | undefined;
1014
+ structure?: string[] | undefined;
1015
+ customExceptions?: {
1016
+ domain?: string[] | undefined;
1017
+ application?: string[] | undefined;
1018
+ } | undefined;
1019
+ }>;
1020
+ /**
1021
+ * Database configuration schema.
1022
+ */
1023
+ export declare const DatabaseSchema: z.ZodObject<{
1024
+ migrations: z.ZodOptional<z.ZodObject<{
1025
+ tool: z.ZodDefault<z.ZodString>;
1026
+ location: z.ZodOptional<z.ZodString>;
1027
+ naming: z.ZodOptional<z.ZodString>;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ tool: string;
1030
+ location?: string | undefined;
1031
+ naming?: string | undefined;
1032
+ }, {
1033
+ location?: string | undefined;
1034
+ tool?: string | undefined;
1035
+ naming?: string | undefined;
1036
+ }>>;
1037
+ auditing: z.ZodOptional<z.ZodObject<{
1038
+ enabled: z.ZodDefault<z.ZodBoolean>;
1039
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1040
+ }, "strip", z.ZodTypeAny, {
1041
+ enabled: boolean;
1042
+ fields?: string[] | undefined;
1043
+ }, {
1044
+ enabled?: boolean | undefined;
1045
+ fields?: string[] | undefined;
1046
+ }>>;
1047
+ mapping: z.ZodOptional<z.ZodObject<{
1048
+ tool: z.ZodOptional<z.ZodString>;
1049
+ nullHandling: z.ZodOptional<z.ZodString>;
1050
+ }, "strip", z.ZodTypeAny, {
1051
+ tool?: string | undefined;
1052
+ nullHandling?: string | undefined;
1053
+ }, {
1054
+ tool?: string | undefined;
1055
+ nullHandling?: string | undefined;
1056
+ }>>;
1057
+ softDelete: z.ZodOptional<z.ZodObject<{
1058
+ recommended: z.ZodOptional<z.ZodBoolean>;
1059
+ field: z.ZodOptional<z.ZodString>;
1060
+ }, "strip", z.ZodTypeAny, {
1061
+ recommended?: boolean | undefined;
1062
+ field?: string | undefined;
1063
+ }, {
1064
+ recommended?: boolean | undefined;
1065
+ field?: string | undefined;
1066
+ }>>;
1067
+ }, "strip", z.ZodTypeAny, {
1068
+ migrations?: {
1069
+ tool: string;
1070
+ location?: string | undefined;
1071
+ naming?: string | undefined;
1072
+ } | undefined;
1073
+ auditing?: {
1074
+ enabled: boolean;
1075
+ fields?: string[] | undefined;
1076
+ } | undefined;
1077
+ mapping?: {
1078
+ tool?: string | undefined;
1079
+ nullHandling?: string | undefined;
1080
+ } | undefined;
1081
+ softDelete?: {
1082
+ recommended?: boolean | undefined;
1083
+ field?: string | undefined;
1084
+ } | undefined;
1085
+ }, {
1086
+ migrations?: {
1087
+ location?: string | undefined;
1088
+ tool?: string | undefined;
1089
+ naming?: string | undefined;
1090
+ } | undefined;
1091
+ auditing?: {
1092
+ enabled?: boolean | undefined;
1093
+ fields?: string[] | undefined;
1094
+ } | undefined;
1095
+ mapping?: {
1096
+ tool?: string | undefined;
1097
+ nullHandling?: string | undefined;
1098
+ } | undefined;
1099
+ softDelete?: {
1100
+ recommended?: boolean | undefined;
1101
+ field?: string | undefined;
1102
+ } | undefined;
1103
+ }>;
1104
+ /**
1105
+ * Object mapping configuration schema.
1106
+ */
1107
+ export declare const MappingSchema: z.ZodObject<{
1108
+ tool: z.ZodDefault<z.ZodString>;
1109
+ componentModel: z.ZodOptional<z.ZodString>;
1110
+ nullValueHandling: z.ZodOptional<z.ZodString>;
1111
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1112
+ example: z.ZodOptional<z.ZodString>;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ tool: string;
1115
+ patterns?: string[] | undefined;
1116
+ example?: string | undefined;
1117
+ componentModel?: string | undefined;
1118
+ nullValueHandling?: string | undefined;
1119
+ }, {
1120
+ patterns?: string[] | undefined;
1121
+ tool?: string | undefined;
1122
+ example?: string | undefined;
1123
+ componentModel?: string | undefined;
1124
+ nullValueHandling?: string | undefined;
1125
+ }>;
1126
+ /**
1127
+ * Technology configuration schema.
1128
+ */
1129
+ export declare const TechnologySchema: z.ZodObject<{
1130
+ name: z.ZodString;
1131
+ version: z.ZodOptional<z.ZodString>;
1132
+ tool: z.ZodOptional<z.ZodString>;
1133
+ specificRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1134
+ }, "strip", z.ZodTypeAny, {
1135
+ name: string;
1136
+ tool?: string | undefined;
1137
+ version?: string | undefined;
1138
+ specificRules?: Record<string, unknown> | undefined;
1139
+ }, {
1140
+ name: string;
1141
+ tool?: string | undefined;
1142
+ version?: string | undefined;
1143
+ specificRules?: Record<string, unknown> | undefined;
1144
+ }>;
1145
+ /**
1146
+ * Complete profile schema.
1147
+ */
1148
+ export declare const ProfileSchema: z.ZodObject<{
1149
+ name: z.ZodString;
1150
+ description: z.ZodOptional<z.ZodString>;
1151
+ architecture: z.ZodOptional<z.ZodObject<{
1152
+ type: z.ZodDefault<z.ZodEnum<["hexagonal", "clean", "onion", "layered", "microservices", "modular-monolith", "feature-based"]>>;
1153
+ enforceLayerDependencies: z.ZodDefault<z.ZodBoolean>;
1154
+ layers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1155
+ name: z.ZodString;
1156
+ description: z.ZodString;
1157
+ allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1158
+ packages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ name: string;
1161
+ description: string;
1162
+ allowedDependencies: string[];
1163
+ packages?: string[] | undefined;
1164
+ }, {
1165
+ name: string;
1166
+ description: string;
1167
+ allowedDependencies?: string[] | undefined;
1168
+ packages?: string[] | undefined;
1169
+ }>, "many">>;
1170
+ archUnit: z.ZodOptional<z.ZodObject<{
1171
+ enabled: z.ZodDefault<z.ZodBoolean>;
1172
+ recommended: z.ZodDefault<z.ZodBoolean>;
1173
+ rules: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ enabled: boolean;
1176
+ recommended: boolean;
1177
+ rules?: string[] | undefined;
1178
+ }, {
1179
+ enabled?: boolean | undefined;
1180
+ recommended?: boolean | undefined;
1181
+ rules?: string[] | undefined;
1182
+ }>>;
1183
+ }, "strip", z.ZodTypeAny, {
1184
+ type: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based";
1185
+ enforceLayerDependencies: boolean;
1186
+ layers?: {
1187
+ name: string;
1188
+ description: string;
1189
+ allowedDependencies: string[];
1190
+ packages?: string[] | undefined;
1191
+ }[] | undefined;
1192
+ archUnit?: {
1193
+ enabled: boolean;
1194
+ recommended: boolean;
1195
+ rules?: string[] | undefined;
1196
+ } | undefined;
1197
+ }, {
1198
+ type?: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based" | undefined;
1199
+ enforceLayerDependencies?: boolean | undefined;
1200
+ layers?: {
1201
+ name: string;
1202
+ description: string;
1203
+ allowedDependencies?: string[] | undefined;
1204
+ packages?: string[] | undefined;
1205
+ }[] | undefined;
1206
+ archUnit?: {
1207
+ enabled?: boolean | undefined;
1208
+ recommended?: boolean | undefined;
1209
+ rules?: string[] | undefined;
1210
+ } | undefined;
1211
+ }>>;
1212
+ ddd: z.ZodOptional<z.ZodObject<{
1213
+ enabled: z.ZodDefault<z.ZodBoolean>;
1214
+ ubiquitousLanguageEnforced: z.ZodDefault<z.ZodBoolean>;
1215
+ patterns: z.ZodOptional<z.ZodObject<{
1216
+ aggregates: z.ZodDefault<z.ZodBoolean>;
1217
+ entities: z.ZodDefault<z.ZodBoolean>;
1218
+ valueObjects: z.ZodDefault<z.ZodBoolean>;
1219
+ domainEvents: z.ZodDefault<z.ZodBoolean>;
1220
+ repositories: z.ZodDefault<z.ZodBoolean>;
1221
+ domainServices: z.ZodDefault<z.ZodBoolean>;
1222
+ factories: z.ZodDefault<z.ZodBoolean>;
1223
+ specifications: z.ZodDefault<z.ZodBoolean>;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ aggregates: boolean;
1226
+ entities: boolean;
1227
+ valueObjects: boolean;
1228
+ domainEvents: boolean;
1229
+ repositories: boolean;
1230
+ domainServices: boolean;
1231
+ factories: boolean;
1232
+ specifications: boolean;
1233
+ }, {
1234
+ aggregates?: boolean | undefined;
1235
+ entities?: boolean | undefined;
1236
+ valueObjects?: boolean | undefined;
1237
+ domainEvents?: boolean | undefined;
1238
+ repositories?: boolean | undefined;
1239
+ domainServices?: boolean | undefined;
1240
+ factories?: boolean | undefined;
1241
+ specifications?: boolean | undefined;
1242
+ }>>;
1243
+ valueObjectGuidelines: z.ZodOptional<z.ZodObject<{
1244
+ useRecords: z.ZodDefault<z.ZodBoolean>;
1245
+ immutable: z.ZodDefault<z.ZodBoolean>;
1246
+ selfValidating: z.ZodDefault<z.ZodBoolean>;
1247
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ useRecords: boolean;
1250
+ immutable: boolean;
1251
+ selfValidating: boolean;
1252
+ examples?: string[] | undefined;
1253
+ }, {
1254
+ useRecords?: boolean | undefined;
1255
+ immutable?: boolean | undefined;
1256
+ selfValidating?: boolean | undefined;
1257
+ examples?: string[] | undefined;
1258
+ }>>;
1259
+ aggregateGuidelines: z.ZodOptional<z.ZodObject<{
1260
+ singleEntryPoint: z.ZodDefault<z.ZodBoolean>;
1261
+ protectInvariants: z.ZodDefault<z.ZodBoolean>;
1262
+ smallAggregates: z.ZodDefault<z.ZodBoolean>;
1263
+ referenceByIdentity: z.ZodDefault<z.ZodBoolean>;
1264
+ }, "strip", z.ZodTypeAny, {
1265
+ singleEntryPoint: boolean;
1266
+ protectInvariants: boolean;
1267
+ smallAggregates: boolean;
1268
+ referenceByIdentity: boolean;
1269
+ }, {
1270
+ singleEntryPoint?: boolean | undefined;
1271
+ protectInvariants?: boolean | undefined;
1272
+ smallAggregates?: boolean | undefined;
1273
+ referenceByIdentity?: boolean | undefined;
1274
+ }>>;
1275
+ }, "strip", z.ZodTypeAny, {
1276
+ enabled: boolean;
1277
+ ubiquitousLanguageEnforced: boolean;
1278
+ patterns?: {
1279
+ aggregates: boolean;
1280
+ entities: boolean;
1281
+ valueObjects: boolean;
1282
+ domainEvents: boolean;
1283
+ repositories: boolean;
1284
+ domainServices: boolean;
1285
+ factories: boolean;
1286
+ specifications: boolean;
1287
+ } | undefined;
1288
+ valueObjectGuidelines?: {
1289
+ useRecords: boolean;
1290
+ immutable: boolean;
1291
+ selfValidating: boolean;
1292
+ examples?: string[] | undefined;
1293
+ } | undefined;
1294
+ aggregateGuidelines?: {
1295
+ singleEntryPoint: boolean;
1296
+ protectInvariants: boolean;
1297
+ smallAggregates: boolean;
1298
+ referenceByIdentity: boolean;
1299
+ } | undefined;
1300
+ }, {
1301
+ enabled?: boolean | undefined;
1302
+ ubiquitousLanguageEnforced?: boolean | undefined;
1303
+ patterns?: {
1304
+ aggregates?: boolean | undefined;
1305
+ entities?: boolean | undefined;
1306
+ valueObjects?: boolean | undefined;
1307
+ domainEvents?: boolean | undefined;
1308
+ repositories?: boolean | undefined;
1309
+ domainServices?: boolean | undefined;
1310
+ factories?: boolean | undefined;
1311
+ specifications?: boolean | undefined;
1312
+ } | undefined;
1313
+ valueObjectGuidelines?: {
1314
+ useRecords?: boolean | undefined;
1315
+ immutable?: boolean | undefined;
1316
+ selfValidating?: boolean | undefined;
1317
+ examples?: string[] | undefined;
1318
+ } | undefined;
1319
+ aggregateGuidelines?: {
1320
+ singleEntryPoint?: boolean | undefined;
1321
+ protectInvariants?: boolean | undefined;
1322
+ smallAggregates?: boolean | undefined;
1323
+ referenceByIdentity?: boolean | undefined;
1324
+ } | undefined;
1325
+ }>>;
1326
+ cqrs: z.ZodOptional<z.ZodObject<{
1327
+ enabled: z.ZodDefault<z.ZodBoolean>;
1328
+ separation: z.ZodDefault<z.ZodEnum<["logical", "physical"]>>;
1329
+ patterns: z.ZodOptional<z.ZodObject<{
1330
+ commands: z.ZodOptional<z.ZodObject<{
1331
+ suffix: z.ZodDefault<z.ZodString>;
1332
+ handler: z.ZodDefault<z.ZodString>;
1333
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1334
+ }, "strip", z.ZodTypeAny, {
1335
+ suffix: string;
1336
+ handler: string;
1337
+ examples?: string[] | undefined;
1338
+ }, {
1339
+ examples?: string[] | undefined;
1340
+ suffix?: string | undefined;
1341
+ handler?: string | undefined;
1342
+ }>>;
1343
+ queries: z.ZodOptional<z.ZodObject<{
1344
+ suffix: z.ZodDefault<z.ZodString>;
1345
+ handler: z.ZodDefault<z.ZodString>;
1346
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ suffix: string;
1349
+ handler: string;
1350
+ examples?: string[] | undefined;
1351
+ }, {
1352
+ examples?: string[] | undefined;
1353
+ suffix?: string | undefined;
1354
+ handler?: string | undefined;
1355
+ }>>;
1356
+ }, "strip", z.ZodTypeAny, {
1357
+ commands?: {
1358
+ suffix: string;
1359
+ handler: string;
1360
+ examples?: string[] | undefined;
1361
+ } | undefined;
1362
+ queries?: {
1363
+ suffix: string;
1364
+ handler: string;
1365
+ examples?: string[] | undefined;
1366
+ } | undefined;
1367
+ }, {
1368
+ commands?: {
1369
+ examples?: string[] | undefined;
1370
+ suffix?: string | undefined;
1371
+ handler?: string | undefined;
1372
+ } | undefined;
1373
+ queries?: {
1374
+ examples?: string[] | undefined;
1375
+ suffix?: string | undefined;
1376
+ handler?: string | undefined;
1377
+ } | undefined;
1378
+ }>>;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ enabled: boolean;
1381
+ separation: "logical" | "physical";
1382
+ patterns?: {
1383
+ commands?: {
1384
+ suffix: string;
1385
+ handler: string;
1386
+ examples?: string[] | undefined;
1387
+ } | undefined;
1388
+ queries?: {
1389
+ suffix: string;
1390
+ handler: string;
1391
+ examples?: string[] | undefined;
1392
+ } | undefined;
1393
+ } | undefined;
1394
+ }, {
1395
+ enabled?: boolean | undefined;
1396
+ patterns?: {
1397
+ commands?: {
1398
+ examples?: string[] | undefined;
1399
+ suffix?: string | undefined;
1400
+ handler?: string | undefined;
1401
+ } | undefined;
1402
+ queries?: {
1403
+ examples?: string[] | undefined;
1404
+ suffix?: string | undefined;
1405
+ handler?: string | undefined;
1406
+ } | undefined;
1407
+ } | undefined;
1408
+ separation?: "logical" | "physical" | undefined;
1409
+ }>>;
1410
+ eventDriven: z.ZodOptional<z.ZodObject<{
1411
+ enabled: z.ZodDefault<z.ZodBoolean>;
1412
+ approach: z.ZodDefault<z.ZodEnum<["domain-events", "event-sourcing"]>>;
1413
+ patterns: z.ZodOptional<z.ZodObject<{
1414
+ domainEvents: z.ZodOptional<z.ZodObject<{
1415
+ suffix: z.ZodDefault<z.ZodString>;
1416
+ pastTense: z.ZodDefault<z.ZodBoolean>;
1417
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1418
+ }, "strip", z.ZodTypeAny, {
1419
+ suffix: string;
1420
+ pastTense: boolean;
1421
+ examples?: string[] | undefined;
1422
+ }, {
1423
+ examples?: string[] | undefined;
1424
+ suffix?: string | undefined;
1425
+ pastTense?: boolean | undefined;
1426
+ }>>;
1427
+ eventPublishing: z.ZodOptional<z.ZodObject<{
1428
+ interface: z.ZodDefault<z.ZodString>;
1429
+ async: z.ZodDefault<z.ZodBoolean>;
1430
+ }, "strip", z.ZodTypeAny, {
1431
+ interface: string;
1432
+ async: boolean;
1433
+ }, {
1434
+ interface?: string | undefined;
1435
+ async?: boolean | undefined;
1436
+ }>>;
1437
+ messaging: z.ZodOptional<z.ZodObject<{
1438
+ broker: z.ZodDefault<z.ZodEnum<["kafka", "rabbitmq", "sqs"]>>;
1439
+ topicNaming: z.ZodOptional<z.ZodString>;
1440
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1441
+ }, "strip", z.ZodTypeAny, {
1442
+ broker: "kafka" | "rabbitmq" | "sqs";
1443
+ examples?: string[] | undefined;
1444
+ topicNaming?: string | undefined;
1445
+ }, {
1446
+ examples?: string[] | undefined;
1447
+ broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
1448
+ topicNaming?: string | undefined;
1449
+ }>>;
1450
+ }, "strip", z.ZodTypeAny, {
1451
+ domainEvents?: {
1452
+ suffix: string;
1453
+ pastTense: boolean;
1454
+ examples?: string[] | undefined;
1455
+ } | undefined;
1456
+ eventPublishing?: {
1457
+ interface: string;
1458
+ async: boolean;
1459
+ } | undefined;
1460
+ messaging?: {
1461
+ broker: "kafka" | "rabbitmq" | "sqs";
1462
+ examples?: string[] | undefined;
1463
+ topicNaming?: string | undefined;
1464
+ } | undefined;
1465
+ }, {
1466
+ domainEvents?: {
1467
+ examples?: string[] | undefined;
1468
+ suffix?: string | undefined;
1469
+ pastTense?: boolean | undefined;
1470
+ } | undefined;
1471
+ eventPublishing?: {
1472
+ interface?: string | undefined;
1473
+ async?: boolean | undefined;
1474
+ } | undefined;
1475
+ messaging?: {
1476
+ examples?: string[] | undefined;
1477
+ broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
1478
+ topicNaming?: string | undefined;
1479
+ } | undefined;
1480
+ }>>;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ enabled: boolean;
1483
+ approach: "domain-events" | "event-sourcing";
1484
+ patterns?: {
1485
+ domainEvents?: {
1486
+ suffix: string;
1487
+ pastTense: boolean;
1488
+ examples?: string[] | undefined;
1489
+ } | undefined;
1490
+ eventPublishing?: {
1491
+ interface: string;
1492
+ async: boolean;
1493
+ } | undefined;
1494
+ messaging?: {
1495
+ broker: "kafka" | "rabbitmq" | "sqs";
1496
+ examples?: string[] | undefined;
1497
+ topicNaming?: string | undefined;
1498
+ } | undefined;
1499
+ } | undefined;
1500
+ }, {
1501
+ enabled?: boolean | undefined;
1502
+ patterns?: {
1503
+ domainEvents?: {
1504
+ examples?: string[] | undefined;
1505
+ suffix?: string | undefined;
1506
+ pastTense?: boolean | undefined;
1507
+ } | undefined;
1508
+ eventPublishing?: {
1509
+ interface?: string | undefined;
1510
+ async?: boolean | undefined;
1511
+ } | undefined;
1512
+ messaging?: {
1513
+ examples?: string[] | undefined;
1514
+ broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
1515
+ topicNaming?: string | undefined;
1516
+ } | undefined;
1517
+ } | undefined;
1518
+ approach?: "domain-events" | "event-sourcing" | undefined;
1519
+ }>>;
1520
+ codeQuality: z.ZodOptional<z.ZodObject<{
1521
+ maxMethodLines: z.ZodDefault<z.ZodNumber>;
1522
+ maxClassLines: z.ZodDefault<z.ZodNumber>;
1523
+ maxFileLines: z.ZodDefault<z.ZodNumber>;
1524
+ maxMethodParameters: z.ZodDefault<z.ZodNumber>;
1525
+ maxCyclomaticComplexity: z.ZodDefault<z.ZodNumber>;
1526
+ requireDocumentation: z.ZodDefault<z.ZodBoolean>;
1527
+ requireTests: z.ZodDefault<z.ZodBoolean>;
1528
+ minimumTestCoverage: z.ZodDefault<z.ZodNumber>;
1529
+ principles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1530
+ }, "strip", z.ZodTypeAny, {
1531
+ maxMethodLines: number;
1532
+ maxClassLines: number;
1533
+ maxFileLines: number;
1534
+ maxMethodParameters: number;
1535
+ maxCyclomaticComplexity: number;
1536
+ requireDocumentation: boolean;
1537
+ requireTests: boolean;
1538
+ minimumTestCoverage: number;
1539
+ principles?: string[] | undefined;
1540
+ }, {
1541
+ maxMethodLines?: number | undefined;
1542
+ maxClassLines?: number | undefined;
1543
+ maxFileLines?: number | undefined;
1544
+ maxMethodParameters?: number | undefined;
1545
+ maxCyclomaticComplexity?: number | undefined;
1546
+ requireDocumentation?: boolean | undefined;
1547
+ requireTests?: boolean | undefined;
1548
+ minimumTestCoverage?: number | undefined;
1549
+ principles?: string[] | undefined;
1550
+ }>>;
1551
+ naming: z.ZodOptional<z.ZodObject<{
1552
+ general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1553
+ suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1554
+ testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1555
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1556
+ general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1557
+ suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1558
+ testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1559
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1560
+ general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1561
+ suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1562
+ testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1563
+ }, z.ZodTypeAny, "passthrough">>>;
1564
+ testing: z.ZodOptional<z.ZodObject<{
1565
+ framework: z.ZodDefault<z.ZodString>;
1566
+ assertionLibrary: z.ZodDefault<z.ZodString>;
1567
+ mockingLibrary: z.ZodDefault<z.ZodString>;
1568
+ types: z.ZodOptional<z.ZodObject<{
1569
+ unit: z.ZodOptional<z.ZodObject<{
1570
+ suffix: z.ZodDefault<z.ZodString>;
1571
+ location: z.ZodOptional<z.ZodString>;
1572
+ coverage: z.ZodOptional<z.ZodNumber>;
1573
+ fastExecution: z.ZodOptional<z.ZodBoolean>;
1574
+ mavenPhase: z.ZodOptional<z.ZodString>;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ suffix: string;
1577
+ location?: string | undefined;
1578
+ coverage?: number | undefined;
1579
+ fastExecution?: boolean | undefined;
1580
+ mavenPhase?: string | undefined;
1581
+ }, {
1582
+ suffix?: string | undefined;
1583
+ location?: string | undefined;
1584
+ coverage?: number | undefined;
1585
+ fastExecution?: boolean | undefined;
1586
+ mavenPhase?: string | undefined;
1587
+ }>>;
1588
+ integration: z.ZodOptional<z.ZodObject<{
1589
+ suffix: z.ZodDefault<z.ZodString>;
1590
+ location: z.ZodOptional<z.ZodString>;
1591
+ mavenPlugin: z.ZodOptional<z.ZodString>;
1592
+ mavenPhase: z.ZodOptional<z.ZodString>;
1593
+ useTestcontainers: z.ZodOptional<z.ZodBoolean>;
1594
+ }, "strip", z.ZodTypeAny, {
1595
+ suffix: string;
1596
+ location?: string | undefined;
1597
+ mavenPhase?: string | undefined;
1598
+ mavenPlugin?: string | undefined;
1599
+ useTestcontainers?: boolean | undefined;
1600
+ }, {
1601
+ suffix?: string | undefined;
1602
+ location?: string | undefined;
1603
+ mavenPhase?: string | undefined;
1604
+ mavenPlugin?: string | undefined;
1605
+ useTestcontainers?: boolean | undefined;
1606
+ }>>;
1607
+ e2e: z.ZodOptional<z.ZodObject<{
1608
+ suffix: z.ZodOptional<z.ZodString>;
1609
+ location: z.ZodOptional<z.ZodString>;
1610
+ }, "strip", z.ZodTypeAny, {
1611
+ suffix?: string | undefined;
1612
+ location?: string | undefined;
1613
+ }, {
1614
+ suffix?: string | undefined;
1615
+ location?: string | undefined;
1616
+ }>>;
1617
+ architecture: z.ZodOptional<z.ZodObject<{
1618
+ tool: z.ZodDefault<z.ZodString>;
1619
+ recommended: z.ZodDefault<z.ZodBoolean>;
1620
+ location: z.ZodOptional<z.ZodString>;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ recommended: boolean;
1623
+ tool: string;
1624
+ location?: string | undefined;
1625
+ }, {
1626
+ recommended?: boolean | undefined;
1627
+ location?: string | undefined;
1628
+ tool?: string | undefined;
1629
+ }>>;
1630
+ }, "strip", z.ZodTypeAny, {
1631
+ unit?: {
1632
+ suffix: string;
1633
+ location?: string | undefined;
1634
+ coverage?: number | undefined;
1635
+ fastExecution?: boolean | undefined;
1636
+ mavenPhase?: string | undefined;
1637
+ } | undefined;
1638
+ integration?: {
1639
+ suffix: string;
1640
+ location?: string | undefined;
1641
+ mavenPhase?: string | undefined;
1642
+ mavenPlugin?: string | undefined;
1643
+ useTestcontainers?: boolean | undefined;
1644
+ } | undefined;
1645
+ e2e?: {
1646
+ suffix?: string | undefined;
1647
+ location?: string | undefined;
1648
+ } | undefined;
1649
+ architecture?: {
1650
+ recommended: boolean;
1651
+ tool: string;
1652
+ location?: string | undefined;
1653
+ } | undefined;
1654
+ }, {
1655
+ unit?: {
1656
+ suffix?: string | undefined;
1657
+ location?: string | undefined;
1658
+ coverage?: number | undefined;
1659
+ fastExecution?: boolean | undefined;
1660
+ mavenPhase?: string | undefined;
1661
+ } | undefined;
1662
+ integration?: {
1663
+ suffix?: string | undefined;
1664
+ location?: string | undefined;
1665
+ mavenPhase?: string | undefined;
1666
+ mavenPlugin?: string | undefined;
1667
+ useTestcontainers?: boolean | undefined;
1668
+ } | undefined;
1669
+ e2e?: {
1670
+ suffix?: string | undefined;
1671
+ location?: string | undefined;
1672
+ } | undefined;
1673
+ architecture?: {
1674
+ recommended?: boolean | undefined;
1675
+ location?: string | undefined;
1676
+ tool?: string | undefined;
1677
+ } | undefined;
1678
+ }>>;
1679
+ patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1680
+ testcontainers: z.ZodOptional<z.ZodObject<{
1681
+ enabled: z.ZodDefault<z.ZodBoolean>;
1682
+ containers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1683
+ }, "strip", z.ZodTypeAny, {
1684
+ enabled: boolean;
1685
+ containers?: string[] | undefined;
1686
+ }, {
1687
+ enabled?: boolean | undefined;
1688
+ containers?: string[] | undefined;
1689
+ }>>;
1690
+ }, "strip", z.ZodTypeAny, {
1691
+ framework: string;
1692
+ assertionLibrary: string;
1693
+ mockingLibrary: string;
1694
+ patterns?: Record<string, boolean> | undefined;
1695
+ types?: {
1696
+ unit?: {
1697
+ suffix: string;
1698
+ location?: string | undefined;
1699
+ coverage?: number | undefined;
1700
+ fastExecution?: boolean | undefined;
1701
+ mavenPhase?: string | undefined;
1702
+ } | undefined;
1703
+ integration?: {
1704
+ suffix: string;
1705
+ location?: string | undefined;
1706
+ mavenPhase?: string | undefined;
1707
+ mavenPlugin?: string | undefined;
1708
+ useTestcontainers?: boolean | undefined;
1709
+ } | undefined;
1710
+ e2e?: {
1711
+ suffix?: string | undefined;
1712
+ location?: string | undefined;
1713
+ } | undefined;
1714
+ architecture?: {
1715
+ recommended: boolean;
1716
+ tool: string;
1717
+ location?: string | undefined;
1718
+ } | undefined;
1719
+ } | undefined;
1720
+ testcontainers?: {
1721
+ enabled: boolean;
1722
+ containers?: string[] | undefined;
1723
+ } | undefined;
1724
+ }, {
1725
+ patterns?: Record<string, boolean> | undefined;
1726
+ framework?: string | undefined;
1727
+ assertionLibrary?: string | undefined;
1728
+ mockingLibrary?: string | undefined;
1729
+ types?: {
1730
+ unit?: {
1731
+ suffix?: string | undefined;
1732
+ location?: string | undefined;
1733
+ coverage?: number | undefined;
1734
+ fastExecution?: boolean | undefined;
1735
+ mavenPhase?: string | undefined;
1736
+ } | undefined;
1737
+ integration?: {
1738
+ suffix?: string | undefined;
1739
+ location?: string | undefined;
1740
+ mavenPhase?: string | undefined;
1741
+ mavenPlugin?: string | undefined;
1742
+ useTestcontainers?: boolean | undefined;
1743
+ } | undefined;
1744
+ e2e?: {
1745
+ suffix?: string | undefined;
1746
+ location?: string | undefined;
1747
+ } | undefined;
1748
+ architecture?: {
1749
+ recommended?: boolean | undefined;
1750
+ location?: string | undefined;
1751
+ tool?: string | undefined;
1752
+ } | undefined;
1753
+ } | undefined;
1754
+ testcontainers?: {
1755
+ enabled?: boolean | undefined;
1756
+ containers?: string[] | undefined;
1757
+ } | undefined;
1758
+ }>>;
1759
+ httpClients: z.ZodOptional<z.ZodObject<{
1760
+ simple: z.ZodOptional<z.ZodObject<{
1761
+ tool: z.ZodDefault<z.ZodString>;
1762
+ description: z.ZodOptional<z.ZodString>;
1763
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1764
+ example: z.ZodOptional<z.ZodString>;
1765
+ }, "strip", z.ZodTypeAny, {
1766
+ tool: string;
1767
+ description?: string | undefined;
1768
+ useWhen?: string[] | undefined;
1769
+ example?: string | undefined;
1770
+ }, {
1771
+ description?: string | undefined;
1772
+ tool?: string | undefined;
1773
+ useWhen?: string[] | undefined;
1774
+ example?: string | undefined;
1775
+ }>>;
1776
+ complex: z.ZodOptional<z.ZodObject<{
1777
+ tool: z.ZodDefault<z.ZodString>;
1778
+ description: z.ZodOptional<z.ZodString>;
1779
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1780
+ example: z.ZodOptional<z.ZodString>;
1781
+ }, "strip", z.ZodTypeAny, {
1782
+ tool: string;
1783
+ description?: string | undefined;
1784
+ useWhen?: string[] | undefined;
1785
+ example?: string | undefined;
1786
+ }, {
1787
+ description?: string | undefined;
1788
+ tool?: string | undefined;
1789
+ useWhen?: string[] | undefined;
1790
+ example?: string | undefined;
1791
+ }>>;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ simple?: {
1794
+ tool: string;
1795
+ description?: string | undefined;
1796
+ useWhen?: string[] | undefined;
1797
+ example?: string | undefined;
1798
+ } | undefined;
1799
+ complex?: {
1800
+ tool: string;
1801
+ description?: string | undefined;
1802
+ useWhen?: string[] | undefined;
1803
+ example?: string | undefined;
1804
+ } | undefined;
1805
+ }, {
1806
+ simple?: {
1807
+ description?: string | undefined;
1808
+ tool?: string | undefined;
1809
+ useWhen?: string[] | undefined;
1810
+ example?: string | undefined;
1811
+ } | undefined;
1812
+ complex?: {
1813
+ description?: string | undefined;
1814
+ tool?: string | undefined;
1815
+ useWhen?: string[] | undefined;
1816
+ example?: string | undefined;
1817
+ } | undefined;
1818
+ }>>;
1819
+ observability: z.ZodOptional<z.ZodObject<{
1820
+ enabled: z.ZodDefault<z.ZodBoolean>;
1821
+ logging: z.ZodOptional<z.ZodObject<{
1822
+ framework: z.ZodOptional<z.ZodString>;
1823
+ format: z.ZodOptional<z.ZodString>;
1824
+ structuredLogging: z.ZodOptional<z.ZodBoolean>;
1825
+ correlationId: z.ZodOptional<z.ZodBoolean>;
1826
+ mdc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1827
+ levels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1828
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1829
+ }, "strip", z.ZodTypeAny, {
1830
+ framework?: string | undefined;
1831
+ format?: string | undefined;
1832
+ structuredLogging?: boolean | undefined;
1833
+ correlationId?: boolean | undefined;
1834
+ mdc?: string[] | undefined;
1835
+ levels?: Record<string, string> | undefined;
1836
+ avoid?: string[] | undefined;
1837
+ }, {
1838
+ framework?: string | undefined;
1839
+ format?: string | undefined;
1840
+ structuredLogging?: boolean | undefined;
1841
+ correlationId?: boolean | undefined;
1842
+ mdc?: string[] | undefined;
1843
+ levels?: Record<string, string> | undefined;
1844
+ avoid?: string[] | undefined;
1845
+ }>>;
1846
+ metrics: z.ZodOptional<z.ZodObject<{
1847
+ framework: z.ZodOptional<z.ZodString>;
1848
+ registry: z.ZodOptional<z.ZodString>;
1849
+ customMetrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1850
+ type: z.ZodString;
1851
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1852
+ }, "strip", z.ZodTypeAny, {
1853
+ type: string;
1854
+ examples?: string[] | undefined;
1855
+ }, {
1856
+ type: string;
1857
+ examples?: string[] | undefined;
1858
+ }>, "many">>;
1859
+ naming: z.ZodOptional<z.ZodString>;
1860
+ }, "strip", z.ZodTypeAny, {
1861
+ framework?: string | undefined;
1862
+ registry?: string | undefined;
1863
+ customMetrics?: {
1864
+ type: string;
1865
+ examples?: string[] | undefined;
1866
+ }[] | undefined;
1867
+ naming?: string | undefined;
1868
+ }, {
1869
+ framework?: string | undefined;
1870
+ registry?: string | undefined;
1871
+ customMetrics?: {
1872
+ type: string;
1873
+ examples?: string[] | undefined;
1874
+ }[] | undefined;
1875
+ naming?: string | undefined;
1876
+ }>>;
1877
+ tracing: z.ZodOptional<z.ZodObject<{
1878
+ framework: z.ZodOptional<z.ZodString>;
1879
+ propagation: z.ZodOptional<z.ZodString>;
1880
+ samplingRate: z.ZodOptional<z.ZodNumber>;
1881
+ exporters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1882
+ spanAttributes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1883
+ }, "strip", z.ZodTypeAny, {
1884
+ framework?: string | undefined;
1885
+ propagation?: string | undefined;
1886
+ samplingRate?: number | undefined;
1887
+ exporters?: string[] | undefined;
1888
+ spanAttributes?: string[] | undefined;
1889
+ }, {
1890
+ framework?: string | undefined;
1891
+ propagation?: string | undefined;
1892
+ samplingRate?: number | undefined;
1893
+ exporters?: string[] | undefined;
1894
+ spanAttributes?: string[] | undefined;
1895
+ }>>;
1896
+ healthChecks: z.ZodOptional<z.ZodObject<{
1897
+ actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1898
+ customHealthIndicators: z.ZodOptional<z.ZodBoolean>;
1899
+ examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1900
+ }, "strip", z.ZodTypeAny, {
1901
+ examples?: string[] | undefined;
1902
+ actuatorEndpoints?: string[] | undefined;
1903
+ customHealthIndicators?: boolean | undefined;
1904
+ }, {
1905
+ examples?: string[] | undefined;
1906
+ actuatorEndpoints?: string[] | undefined;
1907
+ customHealthIndicators?: boolean | undefined;
1908
+ }>>;
1909
+ }, "strip", z.ZodTypeAny, {
1910
+ enabled: boolean;
1911
+ logging?: {
1912
+ framework?: string | undefined;
1913
+ format?: string | undefined;
1914
+ structuredLogging?: boolean | undefined;
1915
+ correlationId?: boolean | undefined;
1916
+ mdc?: string[] | undefined;
1917
+ levels?: Record<string, string> | undefined;
1918
+ avoid?: string[] | undefined;
1919
+ } | undefined;
1920
+ metrics?: {
1921
+ framework?: string | undefined;
1922
+ registry?: string | undefined;
1923
+ customMetrics?: {
1924
+ type: string;
1925
+ examples?: string[] | undefined;
1926
+ }[] | undefined;
1927
+ naming?: string | undefined;
1928
+ } | undefined;
1929
+ tracing?: {
1930
+ framework?: string | undefined;
1931
+ propagation?: string | undefined;
1932
+ samplingRate?: number | undefined;
1933
+ exporters?: string[] | undefined;
1934
+ spanAttributes?: string[] | undefined;
1935
+ } | undefined;
1936
+ healthChecks?: {
1937
+ examples?: string[] | undefined;
1938
+ actuatorEndpoints?: string[] | undefined;
1939
+ customHealthIndicators?: boolean | undefined;
1940
+ } | undefined;
1941
+ }, {
1942
+ enabled?: boolean | undefined;
1943
+ logging?: {
1944
+ framework?: string | undefined;
1945
+ format?: string | undefined;
1946
+ structuredLogging?: boolean | undefined;
1947
+ correlationId?: boolean | undefined;
1948
+ mdc?: string[] | undefined;
1949
+ levels?: Record<string, string> | undefined;
1950
+ avoid?: string[] | undefined;
1951
+ } | undefined;
1952
+ metrics?: {
1953
+ framework?: string | undefined;
1954
+ registry?: string | undefined;
1955
+ customMetrics?: {
1956
+ type: string;
1957
+ examples?: string[] | undefined;
1958
+ }[] | undefined;
1959
+ naming?: string | undefined;
1960
+ } | undefined;
1961
+ tracing?: {
1962
+ framework?: string | undefined;
1963
+ propagation?: string | undefined;
1964
+ samplingRate?: number | undefined;
1965
+ exporters?: string[] | undefined;
1966
+ spanAttributes?: string[] | undefined;
1967
+ } | undefined;
1968
+ healthChecks?: {
1969
+ examples?: string[] | undefined;
1970
+ actuatorEndpoints?: string[] | undefined;
1971
+ customHealthIndicators?: boolean | undefined;
1972
+ } | undefined;
1973
+ }>>;
1974
+ apiDocumentation: z.ZodOptional<z.ZodObject<{
1975
+ enabled: z.ZodDefault<z.ZodBoolean>;
1976
+ tool: z.ZodDefault<z.ZodString>;
1977
+ version: z.ZodOptional<z.ZodString>;
1978
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1979
+ annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1980
+ output: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1981
+ }, "strip", z.ZodTypeAny, {
1982
+ enabled: boolean;
1983
+ tool: string;
1984
+ version?: string | undefined;
1985
+ requirements?: string[] | undefined;
1986
+ annotations?: Record<string, string> | undefined;
1987
+ output?: string[] | undefined;
1988
+ }, {
1989
+ enabled?: boolean | undefined;
1990
+ tool?: string | undefined;
1991
+ version?: string | undefined;
1992
+ requirements?: string[] | undefined;
1993
+ annotations?: Record<string, string> | undefined;
1994
+ output?: string[] | undefined;
1995
+ }>>;
1996
+ security: z.ZodOptional<z.ZodObject<{
1997
+ authentication: z.ZodOptional<z.ZodObject<{
1998
+ method: z.ZodOptional<z.ZodString>;
1999
+ storage: z.ZodOptional<z.ZodString>;
2000
+ }, "strip", z.ZodTypeAny, {
2001
+ method?: string | undefined;
2002
+ storage?: string | undefined;
2003
+ }, {
2004
+ method?: string | undefined;
2005
+ storage?: string | undefined;
2006
+ }>>;
2007
+ authorization: z.ZodOptional<z.ZodObject<{
2008
+ framework: z.ZodOptional<z.ZodString>;
2009
+ method: z.ZodOptional<z.ZodString>;
2010
+ }, "strip", z.ZodTypeAny, {
2011
+ framework?: string | undefined;
2012
+ method?: string | undefined;
2013
+ }, {
2014
+ framework?: string | undefined;
2015
+ method?: string | undefined;
2016
+ }>>;
2017
+ practices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2018
+ }, "strip", z.ZodTypeAny, {
2019
+ authentication?: {
2020
+ method?: string | undefined;
2021
+ storage?: string | undefined;
2022
+ } | undefined;
2023
+ authorization?: {
2024
+ framework?: string | undefined;
2025
+ method?: string | undefined;
2026
+ } | undefined;
2027
+ practices?: string[] | undefined;
2028
+ }, {
2029
+ authentication?: {
2030
+ method?: string | undefined;
2031
+ storage?: string | undefined;
2032
+ } | undefined;
2033
+ authorization?: {
2034
+ framework?: string | undefined;
2035
+ method?: string | undefined;
2036
+ } | undefined;
2037
+ practices?: string[] | undefined;
2038
+ }>>;
2039
+ errorHandling: z.ZodOptional<z.ZodObject<{
2040
+ format: z.ZodDefault<z.ZodString>;
2041
+ globalHandler: z.ZodOptional<z.ZodString>;
2042
+ structure: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2043
+ customExceptions: z.ZodOptional<z.ZodObject<{
2044
+ domain: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2045
+ application: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2046
+ }, "strip", z.ZodTypeAny, {
2047
+ domain?: string[] | undefined;
2048
+ application?: string[] | undefined;
2049
+ }, {
2050
+ domain?: string[] | undefined;
2051
+ application?: string[] | undefined;
2052
+ }>>;
2053
+ }, "strip", z.ZodTypeAny, {
2054
+ format: string;
2055
+ globalHandler?: string | undefined;
2056
+ structure?: string[] | undefined;
2057
+ customExceptions?: {
2058
+ domain?: string[] | undefined;
2059
+ application?: string[] | undefined;
2060
+ } | undefined;
2061
+ }, {
2062
+ format?: string | undefined;
2063
+ globalHandler?: string | undefined;
2064
+ structure?: string[] | undefined;
2065
+ customExceptions?: {
2066
+ domain?: string[] | undefined;
2067
+ application?: string[] | undefined;
2068
+ } | undefined;
2069
+ }>>;
2070
+ database: z.ZodOptional<z.ZodObject<{
2071
+ migrations: z.ZodOptional<z.ZodObject<{
2072
+ tool: z.ZodDefault<z.ZodString>;
2073
+ location: z.ZodOptional<z.ZodString>;
2074
+ naming: z.ZodOptional<z.ZodString>;
2075
+ }, "strip", z.ZodTypeAny, {
2076
+ tool: string;
2077
+ location?: string | undefined;
2078
+ naming?: string | undefined;
2079
+ }, {
2080
+ location?: string | undefined;
2081
+ tool?: string | undefined;
2082
+ naming?: string | undefined;
2083
+ }>>;
2084
+ auditing: z.ZodOptional<z.ZodObject<{
2085
+ enabled: z.ZodDefault<z.ZodBoolean>;
2086
+ fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2087
+ }, "strip", z.ZodTypeAny, {
2088
+ enabled: boolean;
2089
+ fields?: string[] | undefined;
2090
+ }, {
2091
+ enabled?: boolean | undefined;
2092
+ fields?: string[] | undefined;
2093
+ }>>;
2094
+ mapping: z.ZodOptional<z.ZodObject<{
2095
+ tool: z.ZodOptional<z.ZodString>;
2096
+ nullHandling: z.ZodOptional<z.ZodString>;
2097
+ }, "strip", z.ZodTypeAny, {
2098
+ tool?: string | undefined;
2099
+ nullHandling?: string | undefined;
2100
+ }, {
2101
+ tool?: string | undefined;
2102
+ nullHandling?: string | undefined;
2103
+ }>>;
2104
+ softDelete: z.ZodOptional<z.ZodObject<{
2105
+ recommended: z.ZodOptional<z.ZodBoolean>;
2106
+ field: z.ZodOptional<z.ZodString>;
2107
+ }, "strip", z.ZodTypeAny, {
2108
+ recommended?: boolean | undefined;
2109
+ field?: string | undefined;
2110
+ }, {
2111
+ recommended?: boolean | undefined;
2112
+ field?: string | undefined;
2113
+ }>>;
2114
+ }, "strip", z.ZodTypeAny, {
2115
+ migrations?: {
2116
+ tool: string;
2117
+ location?: string | undefined;
2118
+ naming?: string | undefined;
2119
+ } | undefined;
2120
+ auditing?: {
2121
+ enabled: boolean;
2122
+ fields?: string[] | undefined;
2123
+ } | undefined;
2124
+ mapping?: {
2125
+ tool?: string | undefined;
2126
+ nullHandling?: string | undefined;
2127
+ } | undefined;
2128
+ softDelete?: {
2129
+ recommended?: boolean | undefined;
2130
+ field?: string | undefined;
2131
+ } | undefined;
2132
+ }, {
2133
+ migrations?: {
2134
+ location?: string | undefined;
2135
+ tool?: string | undefined;
2136
+ naming?: string | undefined;
2137
+ } | undefined;
2138
+ auditing?: {
2139
+ enabled?: boolean | undefined;
2140
+ fields?: string[] | undefined;
2141
+ } | undefined;
2142
+ mapping?: {
2143
+ tool?: string | undefined;
2144
+ nullHandling?: string | undefined;
2145
+ } | undefined;
2146
+ softDelete?: {
2147
+ recommended?: boolean | undefined;
2148
+ field?: string | undefined;
2149
+ } | undefined;
2150
+ }>>;
2151
+ mapping: z.ZodOptional<z.ZodObject<{
2152
+ tool: z.ZodDefault<z.ZodString>;
2153
+ componentModel: z.ZodOptional<z.ZodString>;
2154
+ nullValueHandling: z.ZodOptional<z.ZodString>;
2155
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2156
+ example: z.ZodOptional<z.ZodString>;
2157
+ }, "strip", z.ZodTypeAny, {
2158
+ tool: string;
2159
+ patterns?: string[] | undefined;
2160
+ example?: string | undefined;
2161
+ componentModel?: string | undefined;
2162
+ nullValueHandling?: string | undefined;
2163
+ }, {
2164
+ patterns?: string[] | undefined;
2165
+ tool?: string | undefined;
2166
+ example?: string | undefined;
2167
+ componentModel?: string | undefined;
2168
+ nullValueHandling?: string | undefined;
2169
+ }>>;
2170
+ technologies: z.ZodOptional<z.ZodArray<z.ZodObject<{
2171
+ name: z.ZodString;
2172
+ version: z.ZodOptional<z.ZodString>;
2173
+ tool: z.ZodOptional<z.ZodString>;
2174
+ specificRules: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2175
+ }, "strip", z.ZodTypeAny, {
2176
+ name: string;
2177
+ tool?: string | undefined;
2178
+ version?: string | undefined;
2179
+ specificRules?: Record<string, unknown> | undefined;
2180
+ }, {
2181
+ name: string;
2182
+ tool?: string | undefined;
2183
+ version?: string | undefined;
2184
+ specificRules?: Record<string, unknown> | undefined;
2185
+ }>, "many">>;
2186
+ }, "strip", z.ZodTypeAny, {
2187
+ name: string;
2188
+ description?: string | undefined;
2189
+ testing?: {
2190
+ framework: string;
2191
+ assertionLibrary: string;
2192
+ mockingLibrary: string;
2193
+ patterns?: Record<string, boolean> | undefined;
2194
+ types?: {
2195
+ unit?: {
2196
+ suffix: string;
2197
+ location?: string | undefined;
2198
+ coverage?: number | undefined;
2199
+ fastExecution?: boolean | undefined;
2200
+ mavenPhase?: string | undefined;
2201
+ } | undefined;
2202
+ integration?: {
2203
+ suffix: string;
2204
+ location?: string | undefined;
2205
+ mavenPhase?: string | undefined;
2206
+ mavenPlugin?: string | undefined;
2207
+ useTestcontainers?: boolean | undefined;
2208
+ } | undefined;
2209
+ e2e?: {
2210
+ suffix?: string | undefined;
2211
+ location?: string | undefined;
2212
+ } | undefined;
2213
+ architecture?: {
2214
+ recommended: boolean;
2215
+ tool: string;
2216
+ location?: string | undefined;
2217
+ } | undefined;
2218
+ } | undefined;
2219
+ testcontainers?: {
2220
+ enabled: boolean;
2221
+ containers?: string[] | undefined;
2222
+ } | undefined;
2223
+ } | undefined;
2224
+ architecture?: {
2225
+ type: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based";
2226
+ enforceLayerDependencies: boolean;
2227
+ layers?: {
2228
+ name: string;
2229
+ description: string;
2230
+ allowedDependencies: string[];
2231
+ packages?: string[] | undefined;
2232
+ }[] | undefined;
2233
+ archUnit?: {
2234
+ enabled: boolean;
2235
+ recommended: boolean;
2236
+ rules?: string[] | undefined;
2237
+ } | undefined;
2238
+ } | undefined;
2239
+ naming?: z.objectOutputType<{
2240
+ general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2241
+ suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2242
+ testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2243
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2244
+ mapping?: {
2245
+ tool: string;
2246
+ patterns?: string[] | undefined;
2247
+ example?: string | undefined;
2248
+ componentModel?: string | undefined;
2249
+ nullValueHandling?: string | undefined;
2250
+ } | undefined;
2251
+ ddd?: {
2252
+ enabled: boolean;
2253
+ ubiquitousLanguageEnforced: boolean;
2254
+ patterns?: {
2255
+ aggregates: boolean;
2256
+ entities: boolean;
2257
+ valueObjects: boolean;
2258
+ domainEvents: boolean;
2259
+ repositories: boolean;
2260
+ domainServices: boolean;
2261
+ factories: boolean;
2262
+ specifications: boolean;
2263
+ } | undefined;
2264
+ valueObjectGuidelines?: {
2265
+ useRecords: boolean;
2266
+ immutable: boolean;
2267
+ selfValidating: boolean;
2268
+ examples?: string[] | undefined;
2269
+ } | undefined;
2270
+ aggregateGuidelines?: {
2271
+ singleEntryPoint: boolean;
2272
+ protectInvariants: boolean;
2273
+ smallAggregates: boolean;
2274
+ referenceByIdentity: boolean;
2275
+ } | undefined;
2276
+ } | undefined;
2277
+ cqrs?: {
2278
+ enabled: boolean;
2279
+ separation: "logical" | "physical";
2280
+ patterns?: {
2281
+ commands?: {
2282
+ suffix: string;
2283
+ handler: string;
2284
+ examples?: string[] | undefined;
2285
+ } | undefined;
2286
+ queries?: {
2287
+ suffix: string;
2288
+ handler: string;
2289
+ examples?: string[] | undefined;
2290
+ } | undefined;
2291
+ } | undefined;
2292
+ } | undefined;
2293
+ eventDriven?: {
2294
+ enabled: boolean;
2295
+ approach: "domain-events" | "event-sourcing";
2296
+ patterns?: {
2297
+ domainEvents?: {
2298
+ suffix: string;
2299
+ pastTense: boolean;
2300
+ examples?: string[] | undefined;
2301
+ } | undefined;
2302
+ eventPublishing?: {
2303
+ interface: string;
2304
+ async: boolean;
2305
+ } | undefined;
2306
+ messaging?: {
2307
+ broker: "kafka" | "rabbitmq" | "sqs";
2308
+ examples?: string[] | undefined;
2309
+ topicNaming?: string | undefined;
2310
+ } | undefined;
2311
+ } | undefined;
2312
+ } | undefined;
2313
+ codeQuality?: {
2314
+ maxMethodLines: number;
2315
+ maxClassLines: number;
2316
+ maxFileLines: number;
2317
+ maxMethodParameters: number;
2318
+ maxCyclomaticComplexity: number;
2319
+ requireDocumentation: boolean;
2320
+ requireTests: boolean;
2321
+ minimumTestCoverage: number;
2322
+ principles?: string[] | undefined;
2323
+ } | undefined;
2324
+ httpClients?: {
2325
+ simple?: {
2326
+ tool: string;
2327
+ description?: string | undefined;
2328
+ useWhen?: string[] | undefined;
2329
+ example?: string | undefined;
2330
+ } | undefined;
2331
+ complex?: {
2332
+ tool: string;
2333
+ description?: string | undefined;
2334
+ useWhen?: string[] | undefined;
2335
+ example?: string | undefined;
2336
+ } | undefined;
2337
+ } | undefined;
2338
+ observability?: {
2339
+ enabled: boolean;
2340
+ logging?: {
2341
+ framework?: string | undefined;
2342
+ format?: string | undefined;
2343
+ structuredLogging?: boolean | undefined;
2344
+ correlationId?: boolean | undefined;
2345
+ mdc?: string[] | undefined;
2346
+ levels?: Record<string, string> | undefined;
2347
+ avoid?: string[] | undefined;
2348
+ } | undefined;
2349
+ metrics?: {
2350
+ framework?: string | undefined;
2351
+ registry?: string | undefined;
2352
+ customMetrics?: {
2353
+ type: string;
2354
+ examples?: string[] | undefined;
2355
+ }[] | undefined;
2356
+ naming?: string | undefined;
2357
+ } | undefined;
2358
+ tracing?: {
2359
+ framework?: string | undefined;
2360
+ propagation?: string | undefined;
2361
+ samplingRate?: number | undefined;
2362
+ exporters?: string[] | undefined;
2363
+ spanAttributes?: string[] | undefined;
2364
+ } | undefined;
2365
+ healthChecks?: {
2366
+ examples?: string[] | undefined;
2367
+ actuatorEndpoints?: string[] | undefined;
2368
+ customHealthIndicators?: boolean | undefined;
2369
+ } | undefined;
2370
+ } | undefined;
2371
+ apiDocumentation?: {
2372
+ enabled: boolean;
2373
+ tool: string;
2374
+ version?: string | undefined;
2375
+ requirements?: string[] | undefined;
2376
+ annotations?: Record<string, string> | undefined;
2377
+ output?: string[] | undefined;
2378
+ } | undefined;
2379
+ security?: {
2380
+ authentication?: {
2381
+ method?: string | undefined;
2382
+ storage?: string | undefined;
2383
+ } | undefined;
2384
+ authorization?: {
2385
+ framework?: string | undefined;
2386
+ method?: string | undefined;
2387
+ } | undefined;
2388
+ practices?: string[] | undefined;
2389
+ } | undefined;
2390
+ errorHandling?: {
2391
+ format: string;
2392
+ globalHandler?: string | undefined;
2393
+ structure?: string[] | undefined;
2394
+ customExceptions?: {
2395
+ domain?: string[] | undefined;
2396
+ application?: string[] | undefined;
2397
+ } | undefined;
2398
+ } | undefined;
2399
+ database?: {
2400
+ migrations?: {
2401
+ tool: string;
2402
+ location?: string | undefined;
2403
+ naming?: string | undefined;
2404
+ } | undefined;
2405
+ auditing?: {
2406
+ enabled: boolean;
2407
+ fields?: string[] | undefined;
2408
+ } | undefined;
2409
+ mapping?: {
2410
+ tool?: string | undefined;
2411
+ nullHandling?: string | undefined;
2412
+ } | undefined;
2413
+ softDelete?: {
2414
+ recommended?: boolean | undefined;
2415
+ field?: string | undefined;
2416
+ } | undefined;
2417
+ } | undefined;
2418
+ technologies?: {
2419
+ name: string;
2420
+ tool?: string | undefined;
2421
+ version?: string | undefined;
2422
+ specificRules?: Record<string, unknown> | undefined;
2423
+ }[] | undefined;
2424
+ }, {
2425
+ name: string;
2426
+ description?: string | undefined;
2427
+ testing?: {
2428
+ patterns?: Record<string, boolean> | undefined;
2429
+ framework?: string | undefined;
2430
+ assertionLibrary?: string | undefined;
2431
+ mockingLibrary?: string | undefined;
2432
+ types?: {
2433
+ unit?: {
2434
+ suffix?: string | undefined;
2435
+ location?: string | undefined;
2436
+ coverage?: number | undefined;
2437
+ fastExecution?: boolean | undefined;
2438
+ mavenPhase?: string | undefined;
2439
+ } | undefined;
2440
+ integration?: {
2441
+ suffix?: string | undefined;
2442
+ location?: string | undefined;
2443
+ mavenPhase?: string | undefined;
2444
+ mavenPlugin?: string | undefined;
2445
+ useTestcontainers?: boolean | undefined;
2446
+ } | undefined;
2447
+ e2e?: {
2448
+ suffix?: string | undefined;
2449
+ location?: string | undefined;
2450
+ } | undefined;
2451
+ architecture?: {
2452
+ recommended?: boolean | undefined;
2453
+ location?: string | undefined;
2454
+ tool?: string | undefined;
2455
+ } | undefined;
2456
+ } | undefined;
2457
+ testcontainers?: {
2458
+ enabled?: boolean | undefined;
2459
+ containers?: string[] | undefined;
2460
+ } | undefined;
2461
+ } | undefined;
2462
+ architecture?: {
2463
+ type?: "hexagonal" | "clean" | "onion" | "layered" | "microservices" | "modular-monolith" | "feature-based" | undefined;
2464
+ enforceLayerDependencies?: boolean | undefined;
2465
+ layers?: {
2466
+ name: string;
2467
+ description: string;
2468
+ allowedDependencies?: string[] | undefined;
2469
+ packages?: string[] | undefined;
2470
+ }[] | undefined;
2471
+ archUnit?: {
2472
+ enabled?: boolean | undefined;
2473
+ recommended?: boolean | undefined;
2474
+ rules?: string[] | undefined;
2475
+ } | undefined;
2476
+ } | undefined;
2477
+ naming?: z.objectInputType<{
2478
+ general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2479
+ suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2480
+ testing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2481
+ }, z.ZodTypeAny, "passthrough"> | undefined;
2482
+ mapping?: {
2483
+ patterns?: string[] | undefined;
2484
+ tool?: string | undefined;
2485
+ example?: string | undefined;
2486
+ componentModel?: string | undefined;
2487
+ nullValueHandling?: string | undefined;
2488
+ } | undefined;
2489
+ ddd?: {
2490
+ enabled?: boolean | undefined;
2491
+ ubiquitousLanguageEnforced?: boolean | undefined;
2492
+ patterns?: {
2493
+ aggregates?: boolean | undefined;
2494
+ entities?: boolean | undefined;
2495
+ valueObjects?: boolean | undefined;
2496
+ domainEvents?: boolean | undefined;
2497
+ repositories?: boolean | undefined;
2498
+ domainServices?: boolean | undefined;
2499
+ factories?: boolean | undefined;
2500
+ specifications?: boolean | undefined;
2501
+ } | undefined;
2502
+ valueObjectGuidelines?: {
2503
+ useRecords?: boolean | undefined;
2504
+ immutable?: boolean | undefined;
2505
+ selfValidating?: boolean | undefined;
2506
+ examples?: string[] | undefined;
2507
+ } | undefined;
2508
+ aggregateGuidelines?: {
2509
+ singleEntryPoint?: boolean | undefined;
2510
+ protectInvariants?: boolean | undefined;
2511
+ smallAggregates?: boolean | undefined;
2512
+ referenceByIdentity?: boolean | undefined;
2513
+ } | undefined;
2514
+ } | undefined;
2515
+ cqrs?: {
2516
+ enabled?: boolean | undefined;
2517
+ patterns?: {
2518
+ commands?: {
2519
+ examples?: string[] | undefined;
2520
+ suffix?: string | undefined;
2521
+ handler?: string | undefined;
2522
+ } | undefined;
2523
+ queries?: {
2524
+ examples?: string[] | undefined;
2525
+ suffix?: string | undefined;
2526
+ handler?: string | undefined;
2527
+ } | undefined;
2528
+ } | undefined;
2529
+ separation?: "logical" | "physical" | undefined;
2530
+ } | undefined;
2531
+ eventDriven?: {
2532
+ enabled?: boolean | undefined;
2533
+ patterns?: {
2534
+ domainEvents?: {
2535
+ examples?: string[] | undefined;
2536
+ suffix?: string | undefined;
2537
+ pastTense?: boolean | undefined;
2538
+ } | undefined;
2539
+ eventPublishing?: {
2540
+ interface?: string | undefined;
2541
+ async?: boolean | undefined;
2542
+ } | undefined;
2543
+ messaging?: {
2544
+ examples?: string[] | undefined;
2545
+ broker?: "kafka" | "rabbitmq" | "sqs" | undefined;
2546
+ topicNaming?: string | undefined;
2547
+ } | undefined;
2548
+ } | undefined;
2549
+ approach?: "domain-events" | "event-sourcing" | undefined;
2550
+ } | undefined;
2551
+ codeQuality?: {
2552
+ maxMethodLines?: number | undefined;
2553
+ maxClassLines?: number | undefined;
2554
+ maxFileLines?: number | undefined;
2555
+ maxMethodParameters?: number | undefined;
2556
+ maxCyclomaticComplexity?: number | undefined;
2557
+ requireDocumentation?: boolean | undefined;
2558
+ requireTests?: boolean | undefined;
2559
+ minimumTestCoverage?: number | undefined;
2560
+ principles?: string[] | undefined;
2561
+ } | undefined;
2562
+ httpClients?: {
2563
+ simple?: {
2564
+ description?: string | undefined;
2565
+ tool?: string | undefined;
2566
+ useWhen?: string[] | undefined;
2567
+ example?: string | undefined;
2568
+ } | undefined;
2569
+ complex?: {
2570
+ description?: string | undefined;
2571
+ tool?: string | undefined;
2572
+ useWhen?: string[] | undefined;
2573
+ example?: string | undefined;
2574
+ } | undefined;
2575
+ } | undefined;
2576
+ observability?: {
2577
+ enabled?: boolean | undefined;
2578
+ logging?: {
2579
+ framework?: string | undefined;
2580
+ format?: string | undefined;
2581
+ structuredLogging?: boolean | undefined;
2582
+ correlationId?: boolean | undefined;
2583
+ mdc?: string[] | undefined;
2584
+ levels?: Record<string, string> | undefined;
2585
+ avoid?: string[] | undefined;
2586
+ } | undefined;
2587
+ metrics?: {
2588
+ framework?: string | undefined;
2589
+ registry?: string | undefined;
2590
+ customMetrics?: {
2591
+ type: string;
2592
+ examples?: string[] | undefined;
2593
+ }[] | undefined;
2594
+ naming?: string | undefined;
2595
+ } | undefined;
2596
+ tracing?: {
2597
+ framework?: string | undefined;
2598
+ propagation?: string | undefined;
2599
+ samplingRate?: number | undefined;
2600
+ exporters?: string[] | undefined;
2601
+ spanAttributes?: string[] | undefined;
2602
+ } | undefined;
2603
+ healthChecks?: {
2604
+ examples?: string[] | undefined;
2605
+ actuatorEndpoints?: string[] | undefined;
2606
+ customHealthIndicators?: boolean | undefined;
2607
+ } | undefined;
2608
+ } | undefined;
2609
+ apiDocumentation?: {
2610
+ enabled?: boolean | undefined;
2611
+ tool?: string | undefined;
2612
+ version?: string | undefined;
2613
+ requirements?: string[] | undefined;
2614
+ annotations?: Record<string, string> | undefined;
2615
+ output?: string[] | undefined;
2616
+ } | undefined;
2617
+ security?: {
2618
+ authentication?: {
2619
+ method?: string | undefined;
2620
+ storage?: string | undefined;
2621
+ } | undefined;
2622
+ authorization?: {
2623
+ framework?: string | undefined;
2624
+ method?: string | undefined;
2625
+ } | undefined;
2626
+ practices?: string[] | undefined;
2627
+ } | undefined;
2628
+ errorHandling?: {
2629
+ format?: string | undefined;
2630
+ globalHandler?: string | undefined;
2631
+ structure?: string[] | undefined;
2632
+ customExceptions?: {
2633
+ domain?: string[] | undefined;
2634
+ application?: string[] | undefined;
2635
+ } | undefined;
2636
+ } | undefined;
2637
+ database?: {
2638
+ migrations?: {
2639
+ location?: string | undefined;
2640
+ tool?: string | undefined;
2641
+ naming?: string | undefined;
2642
+ } | undefined;
2643
+ auditing?: {
2644
+ enabled?: boolean | undefined;
2645
+ fields?: string[] | undefined;
2646
+ } | undefined;
2647
+ mapping?: {
2648
+ tool?: string | undefined;
2649
+ nullHandling?: string | undefined;
2650
+ } | undefined;
2651
+ softDelete?: {
2652
+ recommended?: boolean | undefined;
2653
+ field?: string | undefined;
2654
+ } | undefined;
2655
+ } | undefined;
2656
+ technologies?: {
2657
+ name: string;
2658
+ tool?: string | undefined;
2659
+ version?: string | undefined;
2660
+ specificRules?: Record<string, unknown> | undefined;
2661
+ }[] | undefined;
2662
+ }>;
2663
+ export type Layer = z.infer<typeof LayerSchema>;
2664
+ export type ArchUnit = z.infer<typeof ArchUnitSchema>;
2665
+ export type Architecture = z.infer<typeof ArchitectureSchema>;
2666
+ export type DddPatterns = z.infer<typeof DddPatternsSchema>;
2667
+ export type Ddd = z.infer<typeof DddSchema>;
2668
+ export type Cqrs = z.infer<typeof CqrsSchema>;
2669
+ export type EventDriven = z.infer<typeof EventDrivenSchema>;
2670
+ export type CodeQuality = z.infer<typeof CodeQualitySchema>;
2671
+ export type Naming = z.infer<typeof NamingSchema>;
2672
+ export type TestingConfig = z.infer<typeof TestingConfigSchema>;
2673
+ export type HttpClients = z.infer<typeof HttpClientsSchema>;
2674
+ export type Observability = z.infer<typeof ObservabilitySchema>;
2675
+ export type ApiDocumentation = z.infer<typeof ApiDocumentationSchema>;
2676
+ export type Security = z.infer<typeof SecuritySchema>;
2677
+ export type ErrorHandling = z.infer<typeof ErrorHandlingSchema>;
2678
+ export type Database = z.infer<typeof DatabaseSchema>;
2679
+ export type Mapping = z.infer<typeof MappingSchema>;
2680
+ export type Technology = z.infer<typeof TechnologySchema>;
2681
+ export type Profile = z.infer<typeof ProfileSchema>;
2682
+ /**
2683
+ * Standard document interface.
2684
+ */
2685
+ export interface StandardDocument {
2686
+ id: string;
2687
+ name: string;
2688
+ category: string;
2689
+ content: string;
2690
+ }
2691
+ /**
2692
+ * Task types for guardrails system.
2693
+ */
2694
+ export declare const TaskTypeSchema: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
2695
+ export type TaskType = z.infer<typeof TaskTypeSchema>;
2696
+ /**
2697
+ * Guardrails - mandatory rules by task type.
2698
+ */
2699
+ export declare const GuardrailsSchema: z.ZodObject<{
2700
+ taskType: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
2701
+ mandatory: z.ZodArray<z.ZodString, "many">;
2702
+ recommended: z.ZodArray<z.ZodString, "many">;
2703
+ avoid: z.ZodArray<z.ZodString, "many">;
2704
+ }, "strip", z.ZodTypeAny, {
2705
+ recommended: string[];
2706
+ avoid: string[];
2707
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2708
+ mandatory: string[];
2709
+ }, {
2710
+ recommended: string[];
2711
+ avoid: string[];
2712
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2713
+ mandatory: string[];
2714
+ }>;
2715
+ export type Guardrails = z.infer<typeof GuardrailsSchema>;
2716
+ /**
2717
+ * Project configuration schema (.corbat.json).
2718
+ */
2719
+ export declare const ProjectConfigSchema: z.ZodObject<{
2720
+ profile: z.ZodOptional<z.ZodString>;
2721
+ autoInject: z.ZodDefault<z.ZodBoolean>;
2722
+ rules: z.ZodOptional<z.ZodObject<{
2723
+ always: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2724
+ onNewFile: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2725
+ onTest: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2726
+ onRefactor: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2727
+ }, "strip", z.ZodTypeAny, {
2728
+ always: string[];
2729
+ onNewFile: string[];
2730
+ onTest: string[];
2731
+ onRefactor: string[];
2732
+ }, {
2733
+ always?: string[] | undefined;
2734
+ onNewFile?: string[] | undefined;
2735
+ onTest?: string[] | undefined;
2736
+ onRefactor?: string[] | undefined;
2737
+ }>>;
2738
+ overrides: z.ZodOptional<z.ZodObject<{
2739
+ maxMethodLines: z.ZodOptional<z.ZodNumber>;
2740
+ maxClassLines: z.ZodOptional<z.ZodNumber>;
2741
+ maxFileLines: z.ZodOptional<z.ZodNumber>;
2742
+ minimumTestCoverage: z.ZodOptional<z.ZodNumber>;
2743
+ }, "strip", z.ZodTypeAny, {
2744
+ maxMethodLines?: number | undefined;
2745
+ maxClassLines?: number | undefined;
2746
+ maxFileLines?: number | undefined;
2747
+ minimumTestCoverage?: number | undefined;
2748
+ }, {
2749
+ maxMethodLines?: number | undefined;
2750
+ maxClassLines?: number | undefined;
2751
+ maxFileLines?: number | undefined;
2752
+ minimumTestCoverage?: number | undefined;
2753
+ }>>;
2754
+ decisions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2755
+ guardrails: z.ZodOptional<z.ZodRecord<z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>, z.ZodObject<{
2756
+ taskType: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
2757
+ mandatory: z.ZodArray<z.ZodString, "many">;
2758
+ recommended: z.ZodArray<z.ZodString, "many">;
2759
+ avoid: z.ZodArray<z.ZodString, "many">;
2760
+ }, "strip", z.ZodTypeAny, {
2761
+ recommended: string[];
2762
+ avoid: string[];
2763
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2764
+ mandatory: string[];
2765
+ }, {
2766
+ recommended: string[];
2767
+ avoid: string[];
2768
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2769
+ mandatory: string[];
2770
+ }>>>;
2771
+ }, "strip", z.ZodTypeAny, {
2772
+ autoInject: boolean;
2773
+ rules?: {
2774
+ always: string[];
2775
+ onNewFile: string[];
2776
+ onTest: string[];
2777
+ onRefactor: string[];
2778
+ } | undefined;
2779
+ profile?: string | undefined;
2780
+ overrides?: {
2781
+ maxMethodLines?: number | undefined;
2782
+ maxClassLines?: number | undefined;
2783
+ maxFileLines?: number | undefined;
2784
+ minimumTestCoverage?: number | undefined;
2785
+ } | undefined;
2786
+ decisions?: Record<string, string> | undefined;
2787
+ guardrails?: Partial<Record<"security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure", {
2788
+ recommended: string[];
2789
+ avoid: string[];
2790
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2791
+ mandatory: string[];
2792
+ }>> | undefined;
2793
+ }, {
2794
+ rules?: {
2795
+ always?: string[] | undefined;
2796
+ onNewFile?: string[] | undefined;
2797
+ onTest?: string[] | undefined;
2798
+ onRefactor?: string[] | undefined;
2799
+ } | undefined;
2800
+ profile?: string | undefined;
2801
+ autoInject?: boolean | undefined;
2802
+ overrides?: {
2803
+ maxMethodLines?: number | undefined;
2804
+ maxClassLines?: number | undefined;
2805
+ maxFileLines?: number | undefined;
2806
+ minimumTestCoverage?: number | undefined;
2807
+ } | undefined;
2808
+ decisions?: Record<string, string> | undefined;
2809
+ guardrails?: Partial<Record<"security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure", {
2810
+ recommended: string[];
2811
+ avoid: string[];
2812
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2813
+ mandatory: string[];
2814
+ }>> | undefined;
2815
+ }>;
2816
+ export type ProjectConfig = z.infer<typeof ProjectConfigSchema>;
2817
+ /**
2818
+ * Detected project stack.
2819
+ */
2820
+ export declare const DetectedStackSchema: z.ZodObject<{
2821
+ language: z.ZodString;
2822
+ framework: z.ZodOptional<z.ZodString>;
2823
+ buildTool: z.ZodOptional<z.ZodString>;
2824
+ testFramework: z.ZodOptional<z.ZodString>;
2825
+ suggestedProfile: z.ZodString;
2826
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
2827
+ detectedFiles: z.ZodArray<z.ZodString, "many">;
2828
+ }, "strip", z.ZodTypeAny, {
2829
+ language: string;
2830
+ suggestedProfile: string;
2831
+ confidence: "high" | "medium" | "low";
2832
+ detectedFiles: string[];
2833
+ framework?: string | undefined;
2834
+ buildTool?: string | undefined;
2835
+ testFramework?: string | undefined;
2836
+ }, {
2837
+ language: string;
2838
+ suggestedProfile: string;
2839
+ confidence: "high" | "medium" | "low";
2840
+ detectedFiles: string[];
2841
+ framework?: string | undefined;
2842
+ buildTool?: string | undefined;
2843
+ testFramework?: string | undefined;
2844
+ }>;
2845
+ export type DetectedStack = z.infer<typeof DetectedStackSchema>;
2846
+ /**
2847
+ * Technical decision request/response.
2848
+ */
2849
+ export declare const TechnicalDecisionSchema: z.ZodObject<{
2850
+ context: z.ZodString;
2851
+ category: z.ZodEnum<["database", "cache", "messaging", "authentication", "api-design", "testing", "deployment", "monitoring", "security", "architecture"]>;
2852
+ options: z.ZodArray<z.ZodObject<{
2853
+ name: z.ZodString;
2854
+ description: z.ZodString;
2855
+ pros: z.ZodArray<z.ZodString, "many">;
2856
+ cons: z.ZodArray<z.ZodString, "many">;
2857
+ useWhen: z.ZodArray<z.ZodString, "many">;
2858
+ }, "strip", z.ZodTypeAny, {
2859
+ name: string;
2860
+ description: string;
2861
+ useWhen: string[];
2862
+ pros: string[];
2863
+ cons: string[];
2864
+ }, {
2865
+ name: string;
2866
+ description: string;
2867
+ useWhen: string[];
2868
+ pros: string[];
2869
+ cons: string[];
2870
+ }>, "many">;
2871
+ recommendation: z.ZodString;
2872
+ reasoning: z.ZodString;
2873
+ implementationGuide: z.ZodOptional<z.ZodString>;
2874
+ }, "strip", z.ZodTypeAny, {
2875
+ options: {
2876
+ name: string;
2877
+ description: string;
2878
+ useWhen: string[];
2879
+ pros: string[];
2880
+ cons: string[];
2881
+ }[];
2882
+ context: string;
2883
+ category: "messaging" | "testing" | "architecture" | "authentication" | "security" | "database" | "cache" | "api-design" | "deployment" | "monitoring";
2884
+ recommendation: string;
2885
+ reasoning: string;
2886
+ implementationGuide?: string | undefined;
2887
+ }, {
2888
+ options: {
2889
+ name: string;
2890
+ description: string;
2891
+ useWhen: string[];
2892
+ pros: string[];
2893
+ cons: string[];
2894
+ }[];
2895
+ context: string;
2896
+ category: "messaging" | "testing" | "architecture" | "authentication" | "security" | "database" | "cache" | "api-design" | "deployment" | "monitoring";
2897
+ recommendation: string;
2898
+ reasoning: string;
2899
+ implementationGuide?: string | undefined;
2900
+ }>;
2901
+ export type TechnicalDecision = z.infer<typeof TechnicalDecisionSchema>;
2902
+ /**
2903
+ * Full context response for agent mode.
2904
+ */
2905
+ export declare const FullContextSchema: z.ZodObject<{
2906
+ taskType: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
2907
+ detectedStack: z.ZodOptional<z.ZodObject<{
2908
+ language: z.ZodString;
2909
+ framework: z.ZodOptional<z.ZodString>;
2910
+ buildTool: z.ZodOptional<z.ZodString>;
2911
+ testFramework: z.ZodOptional<z.ZodString>;
2912
+ suggestedProfile: z.ZodString;
2913
+ confidence: z.ZodEnum<["high", "medium", "low"]>;
2914
+ detectedFiles: z.ZodArray<z.ZodString, "many">;
2915
+ }, "strip", z.ZodTypeAny, {
2916
+ language: string;
2917
+ suggestedProfile: string;
2918
+ confidence: "high" | "medium" | "low";
2919
+ detectedFiles: string[];
2920
+ framework?: string | undefined;
2921
+ buildTool?: string | undefined;
2922
+ testFramework?: string | undefined;
2923
+ }, {
2924
+ language: string;
2925
+ suggestedProfile: string;
2926
+ confidence: "high" | "medium" | "low";
2927
+ detectedFiles: string[];
2928
+ framework?: string | undefined;
2929
+ buildTool?: string | undefined;
2930
+ testFramework?: string | undefined;
2931
+ }>>;
2932
+ profile: z.ZodString;
2933
+ guardrails: z.ZodObject<{
2934
+ taskType: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
2935
+ mandatory: z.ZodArray<z.ZodString, "many">;
2936
+ recommended: z.ZodArray<z.ZodString, "many">;
2937
+ avoid: z.ZodArray<z.ZodString, "many">;
2938
+ }, "strip", z.ZodTypeAny, {
2939
+ recommended: string[];
2940
+ avoid: string[];
2941
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2942
+ mandatory: string[];
2943
+ }, {
2944
+ recommended: string[];
2945
+ avoid: string[];
2946
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2947
+ mandatory: string[];
2948
+ }>;
2949
+ projectRules: z.ZodArray<z.ZodString, "many">;
2950
+ architecture: z.ZodString;
2951
+ namingConventions: z.ZodString;
2952
+ codeQuality: z.ZodString;
2953
+ workflow: z.ZodString;
2954
+ relevantStandards: z.ZodArray<z.ZodString, "many">;
2955
+ }, "strip", z.ZodTypeAny, {
2956
+ architecture: string;
2957
+ codeQuality: string;
2958
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2959
+ profile: string;
2960
+ guardrails: {
2961
+ recommended: string[];
2962
+ avoid: string[];
2963
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2964
+ mandatory: string[];
2965
+ };
2966
+ projectRules: string[];
2967
+ namingConventions: string;
2968
+ workflow: string;
2969
+ relevantStandards: string[];
2970
+ detectedStack?: {
2971
+ language: string;
2972
+ suggestedProfile: string;
2973
+ confidence: "high" | "medium" | "low";
2974
+ detectedFiles: string[];
2975
+ framework?: string | undefined;
2976
+ buildTool?: string | undefined;
2977
+ testFramework?: string | undefined;
2978
+ } | undefined;
2979
+ }, {
2980
+ architecture: string;
2981
+ codeQuality: string;
2982
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2983
+ profile: string;
2984
+ guardrails: {
2985
+ recommended: string[];
2986
+ avoid: string[];
2987
+ taskType: "security" | "feature" | "bugfix" | "refactor" | "test" | "documentation" | "performance" | "infrastructure";
2988
+ mandatory: string[];
2989
+ };
2990
+ projectRules: string[];
2991
+ namingConventions: string;
2992
+ workflow: string;
2993
+ relevantStandards: string[];
2994
+ detectedStack?: {
2995
+ language: string;
2996
+ suggestedProfile: string;
2997
+ confidence: "high" | "medium" | "low";
2998
+ detectedFiles: string[];
2999
+ framework?: string | undefined;
3000
+ buildTool?: string | undefined;
3001
+ testFramework?: string | undefined;
3002
+ } | undefined;
3003
+ }>;
3004
+ export type FullContext = z.infer<typeof FullContextSchema>;
3005
+ /**
3006
+ * Code validation result.
3007
+ */
3008
+ export declare const ValidationResultSchema: z.ZodObject<{
3009
+ isValid: z.ZodBoolean;
3010
+ score: z.ZodNumber;
3011
+ issues: z.ZodArray<z.ZodObject<{
3012
+ severity: z.ZodEnum<["critical", "warning", "suggestion"]>;
3013
+ rule: z.ZodString;
3014
+ message: z.ZodString;
3015
+ location: z.ZodOptional<z.ZodString>;
3016
+ }, "strip", z.ZodTypeAny, {
3017
+ message: string;
3018
+ severity: "critical" | "warning" | "suggestion";
3019
+ rule: string;
3020
+ location?: string | undefined;
3021
+ }, {
3022
+ message: string;
3023
+ severity: "critical" | "warning" | "suggestion";
3024
+ rule: string;
3025
+ location?: string | undefined;
3026
+ }>, "many">;
3027
+ summary: z.ZodString;
3028
+ }, "strip", z.ZodTypeAny, {
3029
+ issues: {
3030
+ message: string;
3031
+ severity: "critical" | "warning" | "suggestion";
3032
+ rule: string;
3033
+ location?: string | undefined;
3034
+ }[];
3035
+ isValid: boolean;
3036
+ score: number;
3037
+ summary: string;
3038
+ }, {
3039
+ issues: {
3040
+ message: string;
3041
+ severity: "critical" | "warning" | "suggestion";
3042
+ rule: string;
3043
+ location?: string | undefined;
3044
+ }[];
3045
+ isValid: boolean;
3046
+ score: number;
3047
+ summary: string;
3048
+ }>;
3049
+ export type ValidationResult = z.infer<typeof ValidationResultSchema>;
3050
+ /**
3051
+ * Default architecture layers for hexagonal.
3052
+ */
3053
+ export declare const DEFAULT_HEXAGONAL_LAYERS: Layer[];
3054
+ //# sourceMappingURL=types.d.ts.map