@corbat-tech/coding-standards-mcp 1.0.2 → 1.1.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 (104) hide show
  1. package/README.md +170 -269
  2. package/assets/demo.gif +0 -0
  3. package/assets/demo.tape +63 -0
  4. package/dist/agent.d.ts +5 -6
  5. package/dist/agent.d.ts.map +1 -1
  6. package/dist/agent.js +95 -217
  7. package/dist/agent.js.map +1 -1
  8. package/dist/cli/init.js +1 -1
  9. package/dist/cli/init.js.map +1 -1
  10. package/dist/config.d.ts +15 -26
  11. package/dist/config.d.ts.map +1 -1
  12. package/dist/errors.d.ts +58 -0
  13. package/dist/errors.d.ts.map +1 -0
  14. package/dist/errors.js +112 -0
  15. package/dist/errors.js.map +1 -0
  16. package/dist/guardrails.d.ts +35 -0
  17. package/dist/guardrails.d.ts.map +1 -0
  18. package/dist/guardrails.js +303 -0
  19. package/dist/guardrails.js.map +1 -0
  20. package/dist/index.js +1 -1
  21. package/dist/index.js.map +1 -1
  22. package/dist/logger.d.ts +36 -0
  23. package/dist/logger.d.ts.map +1 -0
  24. package/dist/logger.js +63 -0
  25. package/dist/logger.js.map +1 -0
  26. package/dist/metrics.d.ts +40 -0
  27. package/dist/metrics.d.ts.map +1 -0
  28. package/dist/metrics.js +97 -0
  29. package/dist/metrics.js.map +1 -0
  30. package/dist/profiles.d.ts +1 -1
  31. package/dist/profiles.d.ts.map +1 -1
  32. package/dist/profiles.js +240 -109
  33. package/dist/profiles.js.map +1 -1
  34. package/dist/prompts.js +1 -1
  35. package/dist/prompts.js.map +1 -1
  36. package/dist/tools/definitions.d.ts +104 -0
  37. package/dist/tools/definitions.d.ts.map +1 -0
  38. package/dist/tools/definitions.js +171 -0
  39. package/dist/tools/definitions.js.map +1 -0
  40. package/dist/tools/handlers/get-context.d.ts +12 -0
  41. package/dist/tools/handlers/get-context.d.ts.map +1 -0
  42. package/dist/tools/handlers/get-context.js +118 -0
  43. package/dist/tools/handlers/get-context.js.map +1 -0
  44. package/dist/tools/handlers/health.d.ts +11 -0
  45. package/dist/tools/handlers/health.d.ts.map +1 -0
  46. package/dist/tools/handlers/health.js +57 -0
  47. package/dist/tools/handlers/health.js.map +1 -0
  48. package/dist/tools/handlers/index.d.ts +11 -0
  49. package/dist/tools/handlers/index.d.ts.map +1 -0
  50. package/dist/tools/handlers/index.js +11 -0
  51. package/dist/tools/handlers/index.js.map +1 -0
  52. package/dist/tools/handlers/init.d.ts +12 -0
  53. package/dist/tools/handlers/init.d.ts.map +1 -0
  54. package/dist/tools/handlers/init.js +102 -0
  55. package/dist/tools/handlers/init.js.map +1 -0
  56. package/dist/tools/handlers/profiles.d.ts +11 -0
  57. package/dist/tools/handlers/profiles.d.ts.map +1 -0
  58. package/dist/tools/handlers/profiles.js +25 -0
  59. package/dist/tools/handlers/profiles.js.map +1 -0
  60. package/dist/tools/handlers/search.d.ts +12 -0
  61. package/dist/tools/handlers/search.d.ts.map +1 -0
  62. package/dist/tools/handlers/search.js +58 -0
  63. package/dist/tools/handlers/search.js.map +1 -0
  64. package/dist/tools/handlers/validate.d.ts +12 -0
  65. package/dist/tools/handlers/validate.d.ts.map +1 -0
  66. package/dist/tools/handlers/validate.js +76 -0
  67. package/dist/tools/handlers/validate.js.map +1 -0
  68. package/dist/tools/index.d.ts +22 -0
  69. package/dist/tools/index.d.ts.map +1 -0
  70. package/dist/tools/index.js +72 -0
  71. package/dist/tools/index.js.map +1 -0
  72. package/dist/tools/schemas.d.ts +29 -0
  73. package/dist/tools/schemas.d.ts.map +1 -0
  74. package/dist/tools/schemas.js +20 -0
  75. package/dist/tools/schemas.js.map +1 -0
  76. package/dist/tools.js +2 -2
  77. package/dist/tools.js.map +1 -1
  78. package/dist/types.d.ts +417 -2588
  79. package/dist/types.d.ts.map +1 -1
  80. package/dist/types.js +99 -47
  81. package/dist/types.js.map +1 -1
  82. package/dist/utils/index.d.ts +1 -1
  83. package/dist/utils/index.d.ts.map +1 -1
  84. package/dist/utils/index.js +1 -1
  85. package/dist/utils/index.js.map +1 -1
  86. package/dist/utils/retry.d.ts.map +1 -1
  87. package/dist/utils/retry.js +3 -2
  88. package/dist/utils/retry.js.map +1 -1
  89. package/package.json +10 -9
  90. package/profiles/examples/microservice-kafka.yaml +122 -0
  91. package/profiles/examples/startup-fast.yaml +67 -0
  92. package/profiles/examples/strict-enterprise.yaml +62 -0
  93. package/profiles/templates/angular.yaml +614 -0
  94. package/profiles/templates/csharp-dotnet.yaml +529 -0
  95. package/profiles/templates/flutter.yaml +547 -0
  96. package/profiles/templates/go.yaml +1276 -0
  97. package/profiles/templates/java-spring-backend.yaml +326 -0
  98. package/profiles/templates/kotlin-spring.yaml +417 -0
  99. package/profiles/templates/nextjs.yaml +536 -0
  100. package/profiles/templates/nodejs.yaml +594 -0
  101. package/profiles/templates/python.yaml +546 -0
  102. package/profiles/templates/react.yaml +456 -0
  103. package/profiles/templates/rust.yaml +508 -0
  104. package/profiles/templates/vue.yaml +483 -0
package/dist/types.d.ts CHANGED
@@ -1,103 +1,61 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
3
  * Architecture layer schema.
4
+ * Supports various naming conventions across different languages/frameworks.
4
5
  */
5
6
  export declare const LayerSchema: z.ZodObject<{
6
7
  name: z.ZodString;
7
8
  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
- }>;
9
+ allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
10
+ packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ modules: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ directories: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ namespaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
+ projects: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ }, z.core.$strip>;
21
16
  /**
22
17
  * ArchUnit configuration schema.
23
18
  */
24
19
  export declare const ArchUnitSchema: z.ZodObject<{
25
20
  enabled: z.ZodDefault<z.ZodBoolean>;
26
21
  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
- }>;
22
+ rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
+ }, z.core.$strip>;
37
24
  /**
38
25
  * Architecture configuration schema.
39
26
  */
40
27
  export declare const ArchitectureSchema: z.ZodObject<{
41
- type: z.ZodDefault<z.ZodEnum<["hexagonal", "clean", "onion", "layered", "microservices", "modular-monolith", "feature-based"]>>;
28
+ type: z.ZodDefault<z.ZodEnum<{
29
+ hexagonal: "hexagonal";
30
+ clean: "clean";
31
+ onion: "onion";
32
+ layered: "layered";
33
+ microservices: "microservices";
34
+ "modular-monolith": "modular-monolith";
35
+ "feature-based": "feature-based";
36
+ }>>;
42
37
  enforceLayerDependencies: z.ZodDefault<z.ZodBoolean>;
43
38
  layers: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
39
  name: z.ZodString;
45
40
  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">>;
41
+ allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
42
+ packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
43
+ modules: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
+ directories: z.ZodOptional<z.ZodArray<z.ZodString>>;
45
+ namespaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
+ projects: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
+ }, z.core.$strip>>>;
59
48
  archUnit: z.ZodOptional<z.ZodObject<{
60
49
  enabled: z.ZodDefault<z.ZodBoolean>;
61
50
  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
- }>;
51
+ rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
52
+ }, z.core.$strip>>;
53
+ architectureTests: z.ZodOptional<z.ZodObject<{
54
+ tool: z.ZodOptional<z.ZodString>;
55
+ enabled: z.ZodOptional<z.ZodBoolean>;
56
+ rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$loose>;
101
59
  /**
102
60
  * DDD patterns schema.
103
61
  */
@@ -110,25 +68,7 @@ export declare const DddPatternsSchema: z.ZodObject<{
110
68
  domainServices: z.ZodDefault<z.ZodBoolean>;
111
69
  factories: z.ZodDefault<z.ZodBoolean>;
112
70
  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
- }>;
71
+ }, z.core.$strip>;
132
72
  export declare const DddSchema: z.ZodObject<{
133
73
  enabled: z.ZodDefault<z.ZodBoolean>;
134
74
  ubiquitousLanguageEnforced: z.ZodDefault<z.ZodBoolean>;
@@ -141,308 +81,72 @@ export declare const DddSchema: z.ZodObject<{
141
81
  domainServices: z.ZodDefault<z.ZodBoolean>;
142
82
  factories: z.ZodDefault<z.ZodBoolean>;
143
83
  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
- }>>;
84
+ }, z.core.$strip>>;
163
85
  valueObjectGuidelines: z.ZodOptional<z.ZodObject<{
164
86
  useRecords: z.ZodDefault<z.ZodBoolean>;
165
87
  immutable: z.ZodDefault<z.ZodBoolean>;
166
88
  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
- }>>;
89
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
+ }, z.core.$strip>>;
179
91
  aggregateGuidelines: z.ZodOptional<z.ZodObject<{
180
92
  singleEntryPoint: z.ZodDefault<z.ZodBoolean>;
181
93
  protectInvariants: z.ZodDefault<z.ZodBoolean>;
182
94
  smallAggregates: z.ZodDefault<z.ZodBoolean>;
183
95
  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
- }>;
96
+ }, z.core.$strip>>;
97
+ }, z.core.$strip>;
246
98
  /**
247
99
  * CQRS configuration schema.
248
100
  */
249
101
  export declare const CqrsSchema: z.ZodObject<{
250
102
  enabled: z.ZodDefault<z.ZodBoolean>;
251
- separation: z.ZodDefault<z.ZodEnum<["logical", "physical"]>>;
103
+ separation: z.ZodDefault<z.ZodEnum<{
104
+ logical: "logical";
105
+ physical: "physical";
106
+ }>>;
252
107
  patterns: z.ZodOptional<z.ZodObject<{
253
108
  commands: z.ZodOptional<z.ZodObject<{
254
109
  suffix: z.ZodDefault<z.ZodString>;
255
110
  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
- }>>;
111
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
112
+ }, z.core.$strip>>;
266
113
  queries: z.ZodOptional<z.ZodObject<{
267
114
  suffix: z.ZodDefault<z.ZodString>;
268
115
  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
- }>;
116
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
117
+ }, z.core.$strip>>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>;
333
120
  /**
334
121
  * Event-driven configuration schema.
335
122
  */
336
123
  export declare const EventDrivenSchema: z.ZodObject<{
337
124
  enabled: z.ZodDefault<z.ZodBoolean>;
338
- approach: z.ZodDefault<z.ZodEnum<["domain-events", "event-sourcing"]>>;
125
+ approach: z.ZodDefault<z.ZodEnum<{
126
+ "domain-events": "domain-events";
127
+ "event-sourcing": "event-sourcing";
128
+ }>>;
339
129
  patterns: z.ZodOptional<z.ZodObject<{
340
130
  domainEvents: z.ZodOptional<z.ZodObject<{
341
131
  suffix: z.ZodDefault<z.ZodString>;
342
132
  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
- }>>;
133
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
134
+ }, z.core.$strip>>;
353
135
  eventPublishing: z.ZodOptional<z.ZodObject<{
354
136
  interface: z.ZodDefault<z.ZodString>;
355
137
  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
- }>>;
138
+ }, z.core.$strip>>;
363
139
  messaging: z.ZodOptional<z.ZodObject<{
364
- broker: z.ZodDefault<z.ZodEnum<["kafka", "rabbitmq", "sqs"]>>;
140
+ broker: z.ZodDefault<z.ZodEnum<{
141
+ kafka: "kafka";
142
+ rabbitmq: "rabbitmq";
143
+ sqs: "sqs";
144
+ }>>;
365
145
  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
- }>;
146
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
147
+ }, z.core.$strip>>;
148
+ }, z.core.$strip>>;
149
+ }, z.core.$strip>;
446
150
  /**
447
151
  * Code quality rules schema.
448
152
  */
@@ -455,28 +159,8 @@ export declare const CodeQualitySchema: z.ZodObject<{
455
159
  requireDocumentation: z.ZodDefault<z.ZodBoolean>;
456
160
  requireTests: z.ZodDefault<z.ZodBoolean>;
457
161
  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
- }>;
162
+ principles: z.ZodOptional<z.ZodArray<z.ZodString>>;
163
+ }, z.core.$loose>;
480
164
  /**
481
165
  * Naming conventions schema - supports nested structure.
482
166
  */
@@ -484,22 +168,18 @@ export declare const NamingSchema: z.ZodOptional<z.ZodObject<{
484
168
  general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
485
169
  suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
486
170
  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">>>;
171
+ }, z.core.$loose>>;
496
172
  /**
497
173
  * Testing configuration schema.
174
+ * Supports various testing frameworks and patterns across languages.
498
175
  */
499
176
  export declare const TestingConfigSchema: z.ZodObject<{
500
177
  framework: z.ZodDefault<z.ZodString>;
501
178
  assertionLibrary: z.ZodDefault<z.ZodString>;
502
179
  mockingLibrary: z.ZodDefault<z.ZodString>;
180
+ propertyTesting: z.ZodOptional<z.ZodString>;
181
+ goldenTesting: z.ZodOptional<z.ZodString>;
182
+ coroutineTesting: z.ZodOptional<z.ZodString>;
503
183
  types: z.ZodOptional<z.ZodObject<{
504
184
  unit: z.ZodOptional<z.ZodObject<{
505
185
  suffix: z.ZodDefault<z.ZodString>;
@@ -507,190 +187,55 @@ export declare const TestingConfigSchema: z.ZodObject<{
507
187
  coverage: z.ZodOptional<z.ZodNumber>;
508
188
  fastExecution: z.ZodOptional<z.ZodBoolean>;
509
189
  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
- }>>;
190
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
191
+ parallel: z.ZodOptional<z.ZodBoolean>;
192
+ annotations: z.ZodOptional<z.ZodArray<z.ZodString>>;
193
+ }, z.core.$strip>>;
523
194
  integration: z.ZodOptional<z.ZodObject<{
524
195
  suffix: z.ZodDefault<z.ZodString>;
525
196
  location: z.ZodOptional<z.ZodString>;
526
197
  mavenPlugin: z.ZodOptional<z.ZodString>;
527
198
  mavenPhase: z.ZodOptional<z.ZodString>;
528
199
  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
- }>>;
200
+ useWebTestClient: z.ZodOptional<z.ZodBoolean>;
201
+ useWebApplicationFactory: z.ZodOptional<z.ZodBoolean>;
202
+ useRespawn: z.ZodOptional<z.ZodBoolean>;
203
+ annotations: z.ZodOptional<z.ZodArray<z.ZodString>>;
204
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
205
+ }, z.core.$strip>>;
542
206
  e2e: z.ZodOptional<z.ZodObject<{
543
207
  suffix: z.ZodOptional<z.ZodString>;
544
208
  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
- }>>;
209
+ framework: z.ZodOptional<z.ZodString>;
210
+ }, z.core.$strip>>;
552
211
  architecture: z.ZodOptional<z.ZodObject<{
553
212
  tool: z.ZodDefault<z.ZodString>;
554
213
  recommended: z.ZodDefault<z.ZodBoolean>;
555
214
  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>>;
215
+ }, z.core.$strip>>;
216
+ widget: z.ZodOptional<z.ZodObject<{
217
+ location: z.ZodOptional<z.ZodString>;
218
+ coverage: z.ZodOptional<z.ZodNumber>;
219
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
220
+ example: z.ZodOptional<z.ZodString>;
221
+ }, z.core.$strip>>;
222
+ golden: z.ZodOptional<z.ZodObject<{
223
+ enabled: z.ZodOptional<z.ZodBoolean>;
224
+ location: z.ZodOptional<z.ZodString>;
225
+ example: z.ZodOptional<z.ZodString>;
226
+ }, z.core.$strip>>;
227
+ documentation: z.ZodOptional<z.ZodObject<{
228
+ enabled: z.ZodOptional<z.ZodBoolean>;
229
+ runWithTests: z.ZodOptional<z.ZodBoolean>;
230
+ example: z.ZodOptional<z.ZodString>;
231
+ }, z.core.$strip>>;
232
+ }, z.core.$strip>>;
233
+ patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
615
234
  testcontainers: z.ZodOptional<z.ZodObject<{
616
235
  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
- }>;
236
+ containers: z.ZodOptional<z.ZodArray<z.ZodString>>;
237
+ }, z.core.$strip>>;
238
+ }, z.core.$loose>;
694
239
  /**
695
240
  * HTTP Clients configuration schema.
696
241
  */
@@ -698,62 +243,16 @@ export declare const HttpClientsSchema: z.ZodObject<{
698
243
  simple: z.ZodOptional<z.ZodObject<{
699
244
  tool: z.ZodDefault<z.ZodString>;
700
245
  description: z.ZodOptional<z.ZodString>;
701
- useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
246
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
702
247
  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
- }>>;
248
+ }, z.core.$strip>>;
714
249
  complex: z.ZodOptional<z.ZodObject<{
715
250
  tool: z.ZodDefault<z.ZodString>;
716
251
  description: z.ZodOptional<z.ZodString>;
717
- useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
252
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
718
253
  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
- }>;
254
+ }, z.core.$strip>>;
255
+ }, z.core.$strip>;
757
256
  /**
758
257
  * Observability configuration schema.
759
258
  */
@@ -764,154 +263,42 @@ export declare const ObservabilitySchema: z.ZodObject<{
764
263
  format: z.ZodOptional<z.ZodString>;
765
264
  structuredLogging: z.ZodOptional<z.ZodBoolean>;
766
265
  correlationId: z.ZodOptional<z.ZodBoolean>;
767
- mdc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
266
+ mdc: z.ZodOptional<z.ZodArray<z.ZodString>>;
768
267
  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
- }>>;
268
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString>>;
269
+ subscribers: z.ZodOptional<z.ZodArray<z.ZodString>>;
270
+ spans: z.ZodOptional<z.ZodBoolean>;
271
+ example: z.ZodOptional<z.ZodString>;
272
+ enrichers: z.ZodOptional<z.ZodArray<z.ZodString>>;
273
+ sinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
274
+ }, z.core.$loose>>;
787
275
  metrics: z.ZodOptional<z.ZodObject<{
788
276
  framework: z.ZodOptional<z.ZodString>;
789
277
  registry: z.ZodOptional<z.ZodString>;
790
278
  customMetrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
791
279
  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">>;
280
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
281
+ }, z.core.$strip>>>;
800
282
  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
- }>>;
283
+ types: z.ZodOptional<z.ZodArray<z.ZodString>>;
284
+ exporters: z.ZodOptional<z.ZodArray<z.ZodString>>;
285
+ }, z.core.$loose>>;
818
286
  tracing: z.ZodOptional<z.ZodObject<{
819
287
  framework: z.ZodOptional<z.ZodString>;
820
288
  propagation: z.ZodOptional<z.ZodString>;
821
289
  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
- }>>;
290
+ exporters: z.ZodOptional<z.ZodArray<z.ZodString>>;
291
+ spanAttributes: z.ZodOptional<z.ZodArray<z.ZodString>>;
292
+ }, z.core.$loose>>;
837
293
  healthChecks: z.ZodOptional<z.ZodObject<{
838
- actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
294
+ actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
839
295
  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
- }>;
296
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
297
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
298
+ library: z.ZodOptional<z.ZodString>;
299
+ checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
300
+ }, z.core.$loose>>;
301
+ }, z.core.$loose>;
915
302
  /**
916
303
  * API Documentation configuration schema.
917
304
  */
@@ -919,24 +306,10 @@ export declare const ApiDocumentationSchema: z.ZodObject<{
919
306
  enabled: z.ZodDefault<z.ZodBoolean>;
920
307
  tool: z.ZodDefault<z.ZodString>;
921
308
  version: z.ZodOptional<z.ZodString>;
922
- requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
309
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
923
310
  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
- }>;
311
+ output: z.ZodOptional<z.ZodArray<z.ZodString>>;
312
+ }, z.core.$strip>;
940
313
  /**
941
314
  * Security configuration schema.
942
315
  */
@@ -944,163 +317,31 @@ export declare const SecuritySchema: z.ZodObject<{
944
317
  authentication: z.ZodOptional<z.ZodObject<{
945
318
  method: z.ZodOptional<z.ZodString>;
946
319
  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
- }>>;
320
+ }, z.core.$strip>>;
954
321
  authorization: z.ZodOptional<z.ZodObject<{
955
322
  framework: z.ZodOptional<z.ZodString>;
956
323
  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
- }>;
324
+ }, z.core.$strip>>;
325
+ practices: z.ZodOptional<z.ZodArray<z.ZodString>>;
326
+ }, z.core.$strip>;
986
327
  /**
987
328
  * Error handling configuration schema.
988
329
  */
989
330
  export declare const ErrorHandlingSchema: z.ZodObject<{
990
331
  format: z.ZodDefault<z.ZodString>;
991
332
  globalHandler: z.ZodOptional<z.ZodString>;
992
- structure: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
333
+ structure: z.ZodOptional<z.ZodArray<z.ZodString>>;
993
334
  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
- }>;
335
+ domain: z.ZodOptional<z.ZodArray<z.ZodString>>;
336
+ application: z.ZodOptional<z.ZodArray<z.ZodString>>;
337
+ infrastructure: z.ZodOptional<z.ZodArray<z.ZodString>>;
338
+ }, z.core.$strip>>;
339
+ }, z.core.$loose>;
1020
340
  /**
1021
341
  * Database configuration schema.
342
+ * Uses passthrough to support various database configurations across languages.
1022
343
  */
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
- }>;
344
+ export declare const DatabaseSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1104
345
  /**
1105
346
  * Object mapping configuration schema.
1106
347
  */
@@ -1108,21 +349,9 @@ export declare const MappingSchema: z.ZodObject<{
1108
349
  tool: z.ZodDefault<z.ZodString>;
1109
350
  componentModel: z.ZodOptional<z.ZodString>;
1110
351
  nullValueHandling: z.ZodOptional<z.ZodString>;
1111
- patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
352
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1112
353
  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
- }>;
354
+ }, z.core.$strip>;
1126
355
  /**
1127
356
  * Technology configuration schema.
1128
357
  */
@@ -1131,84 +360,48 @@ export declare const TechnologySchema: z.ZodObject<{
1131
360
  version: z.ZodOptional<z.ZodString>;
1132
361
  tool: z.ZodOptional<z.ZodString>;
1133
362
  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
- }>;
363
+ }, z.core.$strip>;
1145
364
  /**
1146
365
  * Complete profile schema.
366
+ * Uses passthrough() to allow language-specific fields not explicitly defined.
367
+ * Supports inheritance via the 'extends' field.
1147
368
  */
1148
369
  export declare const ProfileSchema: z.ZodObject<{
1149
370
  name: z.ZodString;
1150
371
  description: z.ZodOptional<z.ZodString>;
372
+ extends: z.ZodOptional<z.ZodString>;
1151
373
  architecture: z.ZodOptional<z.ZodObject<{
1152
- type: z.ZodDefault<z.ZodEnum<["hexagonal", "clean", "onion", "layered", "microservices", "modular-monolith", "feature-based"]>>;
374
+ type: z.ZodDefault<z.ZodEnum<{
375
+ hexagonal: "hexagonal";
376
+ clean: "clean";
377
+ onion: "onion";
378
+ layered: "layered";
379
+ microservices: "microservices";
380
+ "modular-monolith": "modular-monolith";
381
+ "feature-based": "feature-based";
382
+ }>>;
1153
383
  enforceLayerDependencies: z.ZodDefault<z.ZodBoolean>;
1154
384
  layers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1155
385
  name: z.ZodString;
1156
386
  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">>;
387
+ allowedDependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
388
+ packages: z.ZodOptional<z.ZodArray<z.ZodString>>;
389
+ modules: z.ZodOptional<z.ZodArray<z.ZodString>>;
390
+ directories: z.ZodOptional<z.ZodArray<z.ZodString>>;
391
+ namespaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
392
+ projects: z.ZodOptional<z.ZodArray<z.ZodString>>;
393
+ }, z.core.$strip>>>;
1170
394
  archUnit: z.ZodOptional<z.ZodObject<{
1171
395
  enabled: z.ZodDefault<z.ZodBoolean>;
1172
396
  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
- }>>;
397
+ rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
398
+ }, z.core.$strip>>;
399
+ architectureTests: z.ZodOptional<z.ZodObject<{
400
+ tool: z.ZodOptional<z.ZodString>;
401
+ enabled: z.ZodOptional<z.ZodBoolean>;
402
+ rules: z.ZodOptional<z.ZodArray<z.ZodString>>;
403
+ }, z.core.$strip>>;
404
+ }, z.core.$loose>>;
1212
405
  ddd: z.ZodOptional<z.ZodObject<{
1213
406
  enabled: z.ZodDefault<z.ZodBoolean>;
1214
407
  ubiquitousLanguageEnforced: z.ZodDefault<z.ZodBoolean>;
@@ -1221,302 +414,66 @@ export declare const ProfileSchema: z.ZodObject<{
1221
414
  domainServices: z.ZodDefault<z.ZodBoolean>;
1222
415
  factories: z.ZodDefault<z.ZodBoolean>;
1223
416
  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
- }>>;
417
+ }, z.core.$strip>>;
1243
418
  valueObjectGuidelines: z.ZodOptional<z.ZodObject<{
1244
419
  useRecords: z.ZodDefault<z.ZodBoolean>;
1245
420
  immutable: z.ZodDefault<z.ZodBoolean>;
1246
421
  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
- }>>;
422
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
423
+ }, z.core.$strip>>;
1259
424
  aggregateGuidelines: z.ZodOptional<z.ZodObject<{
1260
425
  singleEntryPoint: z.ZodDefault<z.ZodBoolean>;
1261
426
  protectInvariants: z.ZodDefault<z.ZodBoolean>;
1262
427
  smallAggregates: z.ZodDefault<z.ZodBoolean>;
1263
428
  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
- }>>;
429
+ }, z.core.$strip>>;
430
+ }, z.core.$strip>>;
1326
431
  cqrs: z.ZodOptional<z.ZodObject<{
1327
432
  enabled: z.ZodDefault<z.ZodBoolean>;
1328
- separation: z.ZodDefault<z.ZodEnum<["logical", "physical"]>>;
433
+ separation: z.ZodDefault<z.ZodEnum<{
434
+ logical: "logical";
435
+ physical: "physical";
436
+ }>>;
1329
437
  patterns: z.ZodOptional<z.ZodObject<{
1330
438
  commands: z.ZodOptional<z.ZodObject<{
1331
439
  suffix: z.ZodDefault<z.ZodString>;
1332
440
  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
- }>>;
441
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
442
+ }, z.core.$strip>>;
1343
443
  queries: z.ZodOptional<z.ZodObject<{
1344
444
  suffix: z.ZodDefault<z.ZodString>;
1345
445
  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
- }>>;
446
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
447
+ }, z.core.$strip>>;
448
+ }, z.core.$strip>>;
449
+ }, z.core.$strip>>;
1410
450
  eventDriven: z.ZodOptional<z.ZodObject<{
1411
451
  enabled: z.ZodDefault<z.ZodBoolean>;
1412
- approach: z.ZodDefault<z.ZodEnum<["domain-events", "event-sourcing"]>>;
452
+ approach: z.ZodDefault<z.ZodEnum<{
453
+ "domain-events": "domain-events";
454
+ "event-sourcing": "event-sourcing";
455
+ }>>;
1413
456
  patterns: z.ZodOptional<z.ZodObject<{
1414
457
  domainEvents: z.ZodOptional<z.ZodObject<{
1415
458
  suffix: z.ZodDefault<z.ZodString>;
1416
459
  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
- }>>;
460
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
461
+ }, z.core.$strip>>;
1427
462
  eventPublishing: z.ZodOptional<z.ZodObject<{
1428
463
  interface: z.ZodDefault<z.ZodString>;
1429
464
  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
- }>>;
465
+ }, z.core.$strip>>;
1437
466
  messaging: z.ZodOptional<z.ZodObject<{
1438
- broker: z.ZodDefault<z.ZodEnum<["kafka", "rabbitmq", "sqs"]>>;
467
+ broker: z.ZodDefault<z.ZodEnum<{
468
+ kafka: "kafka";
469
+ rabbitmq: "rabbitmq";
470
+ sqs: "sqs";
471
+ }>>;
1439
472
  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
- }>>;
473
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
474
+ }, z.core.$strip>>;
475
+ }, z.core.$strip>>;
476
+ }, z.core.$strip>>;
1520
477
  codeQuality: z.ZodOptional<z.ZodObject<{
1521
478
  maxMethodLines: z.ZodDefault<z.ZodNumber>;
1522
479
  maxClassLines: z.ZodDefault<z.ZodNumber>;
@@ -1526,45 +483,20 @@ export declare const ProfileSchema: z.ZodObject<{
1526
483
  requireDocumentation: z.ZodDefault<z.ZodBoolean>;
1527
484
  requireTests: z.ZodDefault<z.ZodBoolean>;
1528
485
  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
- }>>;
486
+ principles: z.ZodOptional<z.ZodArray<z.ZodString>>;
487
+ }, z.core.$loose>>;
1551
488
  naming: z.ZodOptional<z.ZodObject<{
1552
489
  general: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1553
490
  suffixes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1554
491
  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">>>;
492
+ }, z.core.$loose>>;
1564
493
  testing: z.ZodOptional<z.ZodObject<{
1565
494
  framework: z.ZodDefault<z.ZodString>;
1566
495
  assertionLibrary: z.ZodDefault<z.ZodString>;
1567
496
  mockingLibrary: z.ZodDefault<z.ZodString>;
497
+ propertyTesting: z.ZodOptional<z.ZodString>;
498
+ goldenTesting: z.ZodOptional<z.ZodString>;
499
+ coroutineTesting: z.ZodOptional<z.ZodString>;
1568
500
  types: z.ZodOptional<z.ZodObject<{
1569
501
  unit: z.ZodOptional<z.ZodObject<{
1570
502
  suffix: z.ZodDefault<z.ZodString>;
@@ -1572,250 +504,69 @@ export declare const ProfileSchema: z.ZodObject<{
1572
504
  coverage: z.ZodOptional<z.ZodNumber>;
1573
505
  fastExecution: z.ZodOptional<z.ZodBoolean>;
1574
506
  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
- }>>;
507
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
508
+ parallel: z.ZodOptional<z.ZodBoolean>;
509
+ annotations: z.ZodOptional<z.ZodArray<z.ZodString>>;
510
+ }, z.core.$strip>>;
1588
511
  integration: z.ZodOptional<z.ZodObject<{
1589
512
  suffix: z.ZodDefault<z.ZodString>;
1590
513
  location: z.ZodOptional<z.ZodString>;
1591
514
  mavenPlugin: z.ZodOptional<z.ZodString>;
1592
515
  mavenPhase: z.ZodOptional<z.ZodString>;
1593
516
  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
- }>>;
517
+ useWebTestClient: z.ZodOptional<z.ZodBoolean>;
518
+ useWebApplicationFactory: z.ZodOptional<z.ZodBoolean>;
519
+ useRespawn: z.ZodOptional<z.ZodBoolean>;
520
+ annotations: z.ZodOptional<z.ZodArray<z.ZodString>>;
521
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
522
+ }, z.core.$strip>>;
1607
523
  e2e: z.ZodOptional<z.ZodObject<{
1608
524
  suffix: z.ZodOptional<z.ZodString>;
1609
525
  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
- }>>;
526
+ framework: z.ZodOptional<z.ZodString>;
527
+ }, z.core.$strip>>;
1617
528
  architecture: z.ZodOptional<z.ZodObject<{
1618
529
  tool: z.ZodDefault<z.ZodString>;
1619
530
  recommended: z.ZodDefault<z.ZodBoolean>;
1620
531
  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>>;
532
+ }, z.core.$strip>>;
533
+ widget: z.ZodOptional<z.ZodObject<{
534
+ location: z.ZodOptional<z.ZodString>;
535
+ coverage: z.ZodOptional<z.ZodNumber>;
536
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
537
+ example: z.ZodOptional<z.ZodString>;
538
+ }, z.core.$strip>>;
539
+ golden: z.ZodOptional<z.ZodObject<{
540
+ enabled: z.ZodOptional<z.ZodBoolean>;
541
+ location: z.ZodOptional<z.ZodString>;
542
+ example: z.ZodOptional<z.ZodString>;
543
+ }, z.core.$strip>>;
544
+ documentation: z.ZodOptional<z.ZodObject<{
545
+ enabled: z.ZodOptional<z.ZodBoolean>;
546
+ runWithTests: z.ZodOptional<z.ZodBoolean>;
547
+ example: z.ZodOptional<z.ZodString>;
548
+ }, z.core.$strip>>;
549
+ }, z.core.$strip>>;
550
+ patterns: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1680
551
  testcontainers: z.ZodOptional<z.ZodObject<{
1681
552
  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
- }>>;
553
+ containers: z.ZodOptional<z.ZodArray<z.ZodString>>;
554
+ }, z.core.$strip>>;
555
+ }, z.core.$loose>>;
1759
556
  httpClients: z.ZodOptional<z.ZodObject<{
1760
557
  simple: z.ZodOptional<z.ZodObject<{
1761
558
  tool: z.ZodDefault<z.ZodString>;
1762
559
  description: z.ZodOptional<z.ZodString>;
1763
- useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
560
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
1764
561
  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
- }>>;
562
+ }, z.core.$strip>>;
1776
563
  complex: z.ZodOptional<z.ZodObject<{
1777
564
  tool: z.ZodDefault<z.ZodString>;
1778
565
  description: z.ZodOptional<z.ZodString>;
1779
- useWhen: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
566
+ useWhen: z.ZodOptional<z.ZodArray<z.ZodString>>;
1780
567
  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
- }>>;
568
+ }, z.core.$strip>>;
569
+ }, z.core.$strip>>;
1819
570
  observability: z.ZodOptional<z.ZodObject<{
1820
571
  enabled: z.ZodDefault<z.ZodBoolean>;
1821
572
  logging: z.ZodOptional<z.ZodObject<{
@@ -1823,843 +574,86 @@ export declare const ProfileSchema: z.ZodObject<{
1823
574
  format: z.ZodOptional<z.ZodString>;
1824
575
  structuredLogging: z.ZodOptional<z.ZodBoolean>;
1825
576
  correlationId: z.ZodOptional<z.ZodBoolean>;
1826
- mdc: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
577
+ mdc: z.ZodOptional<z.ZodArray<z.ZodString>>;
1827
578
  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
- }>>;
579
+ avoid: z.ZodOptional<z.ZodArray<z.ZodString>>;
580
+ subscribers: z.ZodOptional<z.ZodArray<z.ZodString>>;
581
+ spans: z.ZodOptional<z.ZodBoolean>;
582
+ example: z.ZodOptional<z.ZodString>;
583
+ enrichers: z.ZodOptional<z.ZodArray<z.ZodString>>;
584
+ sinks: z.ZodOptional<z.ZodArray<z.ZodString>>;
585
+ }, z.core.$loose>>;
1846
586
  metrics: z.ZodOptional<z.ZodObject<{
1847
587
  framework: z.ZodOptional<z.ZodString>;
1848
588
  registry: z.ZodOptional<z.ZodString>;
1849
589
  customMetrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1850
590
  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">>;
591
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
592
+ }, z.core.$strip>>>;
1859
593
  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
- }>>;
594
+ types: z.ZodOptional<z.ZodArray<z.ZodString>>;
595
+ exporters: z.ZodOptional<z.ZodArray<z.ZodString>>;
596
+ }, z.core.$loose>>;
1877
597
  tracing: z.ZodOptional<z.ZodObject<{
1878
598
  framework: z.ZodOptional<z.ZodString>;
1879
599
  propagation: z.ZodOptional<z.ZodString>;
1880
600
  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
- }>>;
601
+ exporters: z.ZodOptional<z.ZodArray<z.ZodString>>;
602
+ spanAttributes: z.ZodOptional<z.ZodArray<z.ZodString>>;
603
+ }, z.core.$loose>>;
1896
604
  healthChecks: z.ZodOptional<z.ZodObject<{
1897
- actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
605
+ actuatorEndpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
1898
606
  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
- }>>;
607
+ examples: z.ZodOptional<z.ZodArray<z.ZodString>>;
608
+ endpoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
609
+ library: z.ZodOptional<z.ZodString>;
610
+ checks: z.ZodOptional<z.ZodArray<z.ZodString>>;
611
+ }, z.core.$loose>>;
612
+ }, z.core.$loose>>;
1974
613
  apiDocumentation: z.ZodOptional<z.ZodObject<{
1975
614
  enabled: z.ZodDefault<z.ZodBoolean>;
1976
615
  tool: z.ZodDefault<z.ZodString>;
1977
616
  version: z.ZodOptional<z.ZodString>;
1978
- requirements: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
617
+ requirements: z.ZodOptional<z.ZodArray<z.ZodString>>;
1979
618
  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
- }>>;
619
+ output: z.ZodOptional<z.ZodArray<z.ZodString>>;
620
+ }, z.core.$strip>>;
1996
621
  security: z.ZodOptional<z.ZodObject<{
1997
622
  authentication: z.ZodOptional<z.ZodObject<{
1998
623
  method: z.ZodOptional<z.ZodString>;
1999
624
  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
- }>>;
625
+ }, z.core.$strip>>;
2007
626
  authorization: z.ZodOptional<z.ZodObject<{
2008
627
  framework: z.ZodOptional<z.ZodString>;
2009
628
  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
- }>>;
629
+ }, z.core.$strip>>;
630
+ practices: z.ZodOptional<z.ZodArray<z.ZodString>>;
631
+ }, z.core.$strip>>;
2039
632
  errorHandling: z.ZodOptional<z.ZodObject<{
2040
633
  format: z.ZodDefault<z.ZodString>;
2041
634
  globalHandler: z.ZodOptional<z.ZodString>;
2042
- structure: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
635
+ structure: z.ZodOptional<z.ZodArray<z.ZodString>>;
2043
636
  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
- }>>;
637
+ domain: z.ZodOptional<z.ZodArray<z.ZodString>>;
638
+ application: z.ZodOptional<z.ZodArray<z.ZodString>>;
639
+ infrastructure: z.ZodOptional<z.ZodArray<z.ZodString>>;
640
+ }, z.core.$strip>>;
641
+ }, z.core.$loose>>;
642
+ database: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2151
643
  mapping: z.ZodOptional<z.ZodObject<{
2152
644
  tool: z.ZodDefault<z.ZodString>;
2153
645
  componentModel: z.ZodOptional<z.ZodString>;
2154
646
  nullValueHandling: z.ZodOptional<z.ZodString>;
2155
- patterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
647
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
2156
648
  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
- }>>;
649
+ }, z.core.$strip>>;
2170
650
  technologies: z.ZodOptional<z.ZodArray<z.ZodObject<{
2171
651
  name: z.ZodString;
2172
652
  version: z.ZodOptional<z.ZodString>;
2173
653
  tool: z.ZodOptional<z.ZodString>;
2174
654
  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
- }>;
655
+ }, z.core.$strip>>>;
656
+ }, z.core.$loose>;
2663
657
  export type Layer = z.infer<typeof LayerSchema>;
2664
658
  export type ArchUnit = z.infer<typeof ArchUnitSchema>;
2665
659
  export type Architecture = z.infer<typeof ArchitectureSchema>;
@@ -2691,27 +685,35 @@ export interface StandardDocument {
2691
685
  /**
2692
686
  * Task types for guardrails system.
2693
687
  */
2694
- export declare const TaskTypeSchema: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
688
+ export declare const TaskTypeSchema: z.ZodEnum<{
689
+ documentation: "documentation";
690
+ infrastructure: "infrastructure";
691
+ security: "security";
692
+ feature: "feature";
693
+ bugfix: "bugfix";
694
+ refactor: "refactor";
695
+ test: "test";
696
+ performance: "performance";
697
+ }>;
2695
698
  export type TaskType = z.infer<typeof TaskTypeSchema>;
2696
699
  /**
2697
700
  * Guardrails - mandatory rules by task type.
2698
701
  */
2699
702
  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
- }>;
703
+ taskType: z.ZodEnum<{
704
+ documentation: "documentation";
705
+ infrastructure: "infrastructure";
706
+ security: "security";
707
+ feature: "feature";
708
+ bugfix: "bugfix";
709
+ refactor: "refactor";
710
+ test: "test";
711
+ performance: "performance";
712
+ }>;
713
+ mandatory: z.ZodArray<z.ZodString>;
714
+ recommended: z.ZodArray<z.ZodString>;
715
+ avoid: z.ZodArray<z.ZodString>;
716
+ }, z.core.$strip>;
2715
717
  export type Guardrails = z.infer<typeof GuardrailsSchema>;
2716
718
  /**
2717
719
  * Project configuration schema (.corbat.json).
@@ -2720,99 +722,43 @@ export declare const ProjectConfigSchema: z.ZodObject<{
2720
722
  profile: z.ZodOptional<z.ZodString>;
2721
723
  autoInject: z.ZodDefault<z.ZodBoolean>;
2722
724
  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
- }>>;
725
+ always: z.ZodDefault<z.ZodArray<z.ZodString>>;
726
+ onNewFile: z.ZodDefault<z.ZodArray<z.ZodString>>;
727
+ onTest: z.ZodDefault<z.ZodArray<z.ZodString>>;
728
+ onRefactor: z.ZodDefault<z.ZodArray<z.ZodString>>;
729
+ }, z.core.$strip>>;
2738
730
  overrides: z.ZodOptional<z.ZodObject<{
2739
731
  maxMethodLines: z.ZodOptional<z.ZodNumber>;
2740
732
  maxClassLines: z.ZodOptional<z.ZodNumber>;
2741
733
  maxFileLines: z.ZodOptional<z.ZodNumber>;
2742
734
  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
- }>>;
735
+ }, z.core.$strip>>;
2754
736
  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
- }>;
737
+ guardrails: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
738
+ documentation: "documentation";
739
+ infrastructure: "infrastructure";
740
+ security: "security";
741
+ feature: "feature";
742
+ bugfix: "bugfix";
743
+ refactor: "refactor";
744
+ test: "test";
745
+ performance: "performance";
746
+ }>, z.ZodObject<{
747
+ taskType: z.ZodEnum<{
748
+ documentation: "documentation";
749
+ infrastructure: "infrastructure";
750
+ security: "security";
751
+ feature: "feature";
752
+ bugfix: "bugfix";
753
+ refactor: "refactor";
754
+ test: "test";
755
+ performance: "performance";
756
+ }>;
757
+ mandatory: z.ZodArray<z.ZodString>;
758
+ recommended: z.ZodArray<z.ZodString>;
759
+ avoid: z.ZodArray<z.ZodString>;
760
+ }, z.core.$strip>>>;
761
+ }, z.core.$strip>;
2816
762
  export type ProjectConfig = z.infer<typeof ProjectConfigSchema>;
2817
763
  /**
2818
764
  * Detected project stack.
@@ -2823,184 +769,93 @@ export declare const DetectedStackSchema: z.ZodObject<{
2823
769
  buildTool: z.ZodOptional<z.ZodString>;
2824
770
  testFramework: z.ZodOptional<z.ZodString>;
2825
771
  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
- }>;
772
+ confidence: z.ZodEnum<{
773
+ high: "high";
774
+ medium: "medium";
775
+ low: "low";
776
+ }>;
777
+ detectedFiles: z.ZodArray<z.ZodString>;
778
+ }, z.core.$strip>;
2845
779
  export type DetectedStack = z.infer<typeof DetectedStackSchema>;
2846
780
  /**
2847
781
  * Technical decision request/response.
2848
782
  */
2849
783
  export declare const TechnicalDecisionSchema: z.ZodObject<{
2850
784
  context: z.ZodString;
2851
- category: z.ZodEnum<["database", "cache", "messaging", "authentication", "api-design", "testing", "deployment", "monitoring", "security", "architecture"]>;
785
+ category: z.ZodEnum<{
786
+ messaging: "messaging";
787
+ testing: "testing";
788
+ architecture: "architecture";
789
+ authentication: "authentication";
790
+ security: "security";
791
+ database: "database";
792
+ cache: "cache";
793
+ "api-design": "api-design";
794
+ deployment: "deployment";
795
+ monitoring: "monitoring";
796
+ }>;
2852
797
  options: z.ZodArray<z.ZodObject<{
2853
798
  name: z.ZodString;
2854
799
  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">;
800
+ pros: z.ZodArray<z.ZodString>;
801
+ cons: z.ZodArray<z.ZodString>;
802
+ useWhen: z.ZodArray<z.ZodString>;
803
+ }, z.core.$strip>>;
2871
804
  recommendation: z.ZodString;
2872
805
  reasoning: z.ZodString;
2873
806
  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
- }>;
807
+ }, z.core.$strip>;
2901
808
  export type TechnicalDecision = z.infer<typeof TechnicalDecisionSchema>;
2902
809
  /**
2903
810
  * Full context response for agent mode.
2904
811
  */
2905
812
  export declare const FullContextSchema: z.ZodObject<{
2906
- taskType: z.ZodEnum<["feature", "bugfix", "refactor", "test", "documentation", "performance", "security", "infrastructure"]>;
813
+ taskType: z.ZodEnum<{
814
+ documentation: "documentation";
815
+ infrastructure: "infrastructure";
816
+ security: "security";
817
+ feature: "feature";
818
+ bugfix: "bugfix";
819
+ refactor: "refactor";
820
+ test: "test";
821
+ performance: "performance";
822
+ }>;
2907
823
  detectedStack: z.ZodOptional<z.ZodObject<{
2908
824
  language: z.ZodString;
2909
825
  framework: z.ZodOptional<z.ZodString>;
2910
826
  buildTool: z.ZodOptional<z.ZodString>;
2911
827
  testFramework: z.ZodOptional<z.ZodString>;
2912
828
  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
- }>>;
829
+ confidence: z.ZodEnum<{
830
+ high: "high";
831
+ medium: "medium";
832
+ low: "low";
833
+ }>;
834
+ detectedFiles: z.ZodArray<z.ZodString>;
835
+ }, z.core.$strip>>;
2932
836
  profile: z.ZodString;
2933
837
  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">;
838
+ taskType: z.ZodEnum<{
839
+ documentation: "documentation";
840
+ infrastructure: "infrastructure";
841
+ security: "security";
842
+ feature: "feature";
843
+ bugfix: "bugfix";
844
+ refactor: "refactor";
845
+ test: "test";
846
+ performance: "performance";
847
+ }>;
848
+ mandatory: z.ZodArray<z.ZodString>;
849
+ recommended: z.ZodArray<z.ZodString>;
850
+ avoid: z.ZodArray<z.ZodString>;
851
+ }, z.core.$strip>;
852
+ projectRules: z.ZodArray<z.ZodString>;
2950
853
  architecture: z.ZodString;
2951
854
  namingConventions: z.ZodString;
2952
855
  codeQuality: z.ZodString;
2953
856
  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
- }>;
857
+ relevantStandards: z.ZodArray<z.ZodString>;
858
+ }, z.core.$strip>;
3004
859
  export type FullContext = z.infer<typeof FullContextSchema>;
3005
860
  /**
3006
861
  * Code validation result.
@@ -3009,43 +864,17 @@ export declare const ValidationResultSchema: z.ZodObject<{
3009
864
  isValid: z.ZodBoolean;
3010
865
  score: z.ZodNumber;
3011
866
  issues: z.ZodArray<z.ZodObject<{
3012
- severity: z.ZodEnum<["critical", "warning", "suggestion"]>;
867
+ severity: z.ZodEnum<{
868
+ critical: "critical";
869
+ warning: "warning";
870
+ suggestion: "suggestion";
871
+ }>;
3013
872
  rule: z.ZodString;
3014
873
  message: z.ZodString;
3015
874
  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">;
875
+ }, z.core.$strip>>;
3027
876
  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
- }>;
877
+ }, z.core.$strip>;
3049
878
  export type ValidationResult = z.infer<typeof ValidationResultSchema>;
3050
879
  /**
3051
880
  * Default architecture layers for hexagonal.