@rigour-labs/core 6.6.6 → 6.7.1

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 (133) hide show
  1. package/README.md +16 -92
  2. package/dist/environment.test.js +0 -4
  3. package/dist/gates/agent-team.d.ts +0 -2
  4. package/dist/gates/agent-team.js +0 -8
  5. package/dist/gates/checkpoint.d.ts +0 -1
  6. package/dist/gates/checkpoint.js +0 -1
  7. package/dist/gates/context.d.ts +0 -4
  8. package/dist/gates/context.js +7 -17
  9. package/dist/gates/deep-analysis.d.ts +0 -1
  10. package/dist/gates/deep-runner.js +0 -1
  11. package/dist/gates/frontend-secret-exposure.test.js +2 -2
  12. package/dist/gates/hallucinated-imports/index.d.ts +0 -2
  13. package/dist/gates/hallucinated-imports/index.js +2 -2
  14. package/dist/gates/hallucinated-imports/js-resolver.js +1 -0
  15. package/dist/gates/hallucinated-imports.test.js +10 -0
  16. package/dist/gates/runner.js +3 -4
  17. package/dist/gates/test-quality-matchers.d.ts +0 -4
  18. package/dist/gates/test-quality-matchers.js +0 -7
  19. package/dist/gates/test-quality.d.ts +0 -2
  20. package/dist/gates/test-quality.js +1 -10
  21. package/dist/hooks/checker.js +1 -1
  22. package/dist/hooks/index.d.ts +1 -2
  23. package/dist/hooks/index.js +0 -1
  24. package/dist/hooks/types.d.ts +0 -14
  25. package/dist/hooks/types.js +1 -15
  26. package/dist/index.d.ts +6 -1
  27. package/dist/index.js +6 -1
  28. package/dist/inference/cloud-provider.d.ts +2 -0
  29. package/dist/inference/cloud-provider.js +16 -6
  30. package/dist/inference/cloud-provider.test.js +21 -0
  31. package/dist/pattern-index/embeddings.d.ts +0 -5
  32. package/dist/pattern-index/embeddings.js +11 -4
  33. package/dist/pattern-index/semantic-runtime.d.ts +10 -0
  34. package/dist/pattern-index/semantic-runtime.js +46 -0
  35. package/dist/pattern-index/semantic-runtime.test.d.ts +1 -0
  36. package/dist/pattern-index/semantic-runtime.test.js +31 -0
  37. package/dist/review/backtest-judges.d.ts +38 -0
  38. package/dist/review/backtest-judges.js +63 -0
  39. package/dist/review/backtest-judges.test.d.ts +1 -0
  40. package/dist/review/backtest-judges.test.js +32 -0
  41. package/dist/review/backtest.d.ts +9 -4
  42. package/dist/review/backtest.js +19 -9
  43. package/dist/review/backtest.test.js +2 -2
  44. package/dist/review/baseline.js +2 -1
  45. package/dist/review/dead-code.test.js +7 -0
  46. package/dist/review/fix-scope.d.ts +21 -0
  47. package/dist/review/fix-scope.js +94 -0
  48. package/dist/review/fix-scope.test.d.ts +1 -0
  49. package/dist/review/fix-scope.test.js +104 -0
  50. package/dist/review/lint-overlay.js +1 -1
  51. package/dist/review/orphan-files.js +3 -2
  52. package/dist/review/partial-wiring.js +5 -3
  53. package/dist/review/query-patterns.js +3 -2
  54. package/dist/review/review.js +2 -1
  55. package/dist/review/reviewer/adapters.d.ts +23 -7
  56. package/dist/review/reviewer/adapters.js +32 -7
  57. package/dist/review/reviewer/adapters.test.d.ts +1 -0
  58. package/dist/review/reviewer/adapters.test.js +23 -0
  59. package/dist/review/reviewer/background.d.ts +8 -1
  60. package/dist/review/reviewer/background.js +34 -9
  61. package/dist/review/reviewer/background.test.js +16 -2
  62. package/dist/review/reviewer/consensus.d.ts +36 -0
  63. package/dist/review/reviewer/consensus.js +144 -0
  64. package/dist/review/reviewer/context.d.ts +75 -0
  65. package/dist/review/reviewer/context.js +140 -0
  66. package/dist/review/reviewer/context.test.d.ts +1 -0
  67. package/dist/review/reviewer/context.test.js +18 -0
  68. package/dist/review/reviewer/exec.js +6 -2
  69. package/dist/review/reviewer/exec.test.d.ts +1 -0
  70. package/dist/review/reviewer/exec.test.js +23 -0
  71. package/dist/review/reviewer/inputs.d.ts +2 -0
  72. package/dist/review/reviewer/inputs.js +5 -1
  73. package/dist/review/reviewer/panel.d.ts +67 -0
  74. package/dist/review/reviewer/panel.js +101 -0
  75. package/dist/review/reviewer/panel.test.d.ts +1 -0
  76. package/dist/review/reviewer/panel.test.js +110 -0
  77. package/dist/review/reviewer/prompt.d.ts +11 -0
  78. package/dist/review/reviewer/prompt.js +26 -4
  79. package/dist/review/reviewer/settings.d.ts +58 -0
  80. package/dist/review/reviewer/settings.js +152 -0
  81. package/dist/review/reviewer/settings.test.d.ts +1 -0
  82. package/dist/review/reviewer/settings.test.js +57 -0
  83. package/dist/review/reviewer/store.d.ts +25 -2
  84. package/dist/review/reviewer/store.js +43 -1
  85. package/dist/review/reviewer/usage.d.ts +2 -0
  86. package/dist/review/reviewer/usage.js +28 -0
  87. package/dist/review/reviewer/usage.test.d.ts +1 -0
  88. package/dist/review/reviewer/usage.test.js +14 -0
  89. package/dist/review/reviewer/verdict.d.ts +15 -1
  90. package/dist/review/reviewer/verdict.js +17 -7
  91. package/dist/review/reviewer.d.ts +45 -2
  92. package/dist/review/reviewer.js +186 -25
  93. package/dist/review/reviewer.test.js +127 -12
  94. package/dist/review/test-files.d.ts +5 -1
  95. package/dist/review/test-files.js +6 -2
  96. package/dist/review/toolchain.js +10 -3
  97. package/dist/review/toolchain.test.js +6 -3
  98. package/dist/review/typed/program.d.ts +0 -1
  99. package/dist/review/typed/program.js +3 -3
  100. package/dist/review/typed/redundancy.js +43 -4
  101. package/dist/review/typed/redundancy.test.js +58 -0
  102. package/dist/review/typed/schema-nullability.d.ts +6 -0
  103. package/dist/review/typed/schema-nullability.js +218 -0
  104. package/dist/review/typed/schema-nullability.test.d.ts +1 -0
  105. package/dist/review/typed/schema-nullability.test.js +63 -0
  106. package/dist/review/unused-exports.js +5 -6
  107. package/dist/semantic/learn/types.d.ts +2 -2
  108. package/dist/services/adaptive-thresholds.d.ts +2 -52
  109. package/dist/services/adaptive-thresholds.js +2 -147
  110. package/dist/services/adaptive-thresholds.test.js +1 -81
  111. package/dist/settings.d.ts +14 -6
  112. package/dist/settings.js +0 -12
  113. package/dist/storage/team-diagnostics.js +1 -1
  114. package/dist/storage/team-schema.d.ts +1 -1
  115. package/dist/storage/team-schema.js +2 -0
  116. package/dist/storage/team-store.js +26 -3
  117. package/dist/storage/team-sync-scope.test.js +35 -2
  118. package/dist/telemetry/telemetry.d.ts +5 -0
  119. package/dist/telemetry/telemetry.js +11 -1
  120. package/dist/templates/paradigms.js +0 -8
  121. package/dist/templates/presets.d.ts +0 -1
  122. package/dist/templates/presets.js +0 -23
  123. package/dist/templates/universal-config.js +8 -45
  124. package/dist/types/index.d.ts +108 -566
  125. package/dist/types/index.js +41 -66
  126. package/dist/types/index.test.d.ts +1 -0
  127. package/dist/types/index.test.js +33 -0
  128. package/dist/utils/command-line.d.ts +8 -0
  129. package/dist/utils/command-line.js +8 -0
  130. package/dist/utils/command-line.test.d.ts +1 -0
  131. package/dist/utils/command-line.test.js +8 -0
  132. package/dist/utils/profile.js +1 -1
  133. package/package.json +6 -7
@@ -3,32 +3,19 @@ export declare const GatesSchema: z.ZodObject<{
3
3
  max_file_lines: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4
4
  forbid_todos: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5
5
  forbid_fixme: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6
- forbid_paths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
7
6
  required_files: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
8
7
  ast: z.ZodDefault<z.ZodOptional<z.ZodObject<{
9
8
  complexity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
10
9
  max_methods: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
11
10
  max_params: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
12
- max_nesting: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
13
- max_inheritance_depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
14
- max_class_dependencies: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
15
- max_function_lines: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
16
11
  }, "strip", z.ZodTypeAny, {
17
12
  complexity: number;
18
13
  max_methods: number;
19
14
  max_params: number;
20
- max_nesting: number;
21
- max_inheritance_depth: number;
22
- max_class_dependencies: number;
23
- max_function_lines: number;
24
15
  }, {
25
16
  complexity?: number | undefined;
26
17
  max_methods?: number | undefined;
27
18
  max_params?: number | undefined;
28
- max_nesting?: number | undefined;
29
- max_inheritance_depth?: number | undefined;
30
- max_class_dependencies?: number | undefined;
31
- max_function_lines?: number | undefined;
32
19
  }>>>;
33
20
  staleness: z.ZodDefault<z.ZodOptional<z.ZodObject<{
34
21
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -42,7 +29,6 @@ export declare const GatesSchema: z.ZodObject<{
42
29
  }>>>;
43
30
  dependencies: z.ZodDefault<z.ZodOptional<z.ZodObject<{
44
31
  forbid: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
45
- trusted_registry: z.ZodOptional<z.ZodString>;
46
32
  detect_unused: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
47
33
  detect_heavy_alternatives: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
48
34
  detect_duplicate_purpose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -53,10 +39,8 @@ export declare const GatesSchema: z.ZodObject<{
53
39
  detect_heavy_alternatives: boolean;
54
40
  detect_duplicate_purpose: boolean;
55
41
  unused_allowlist: string[];
56
- trusted_registry?: string | undefined;
57
42
  }, {
58
43
  forbid?: string[] | undefined;
59
- trusted_registry?: string | undefined;
60
44
  detect_unused?: boolean | undefined;
61
45
  detect_heavy_alternatives?: boolean | undefined;
62
46
  detect_duplicate_purpose?: boolean | undefined;
@@ -103,29 +87,14 @@ export declare const GatesSchema: z.ZodObject<{
103
87
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
104
88
  sensitivity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
105
89
  mining_depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
106
- ignored_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
107
- cross_file_patterns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
108
- naming_consistency: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
109
- import_relationships: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
110
- max_cross_file_depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
111
90
  }, "strip", z.ZodTypeAny, {
112
91
  enabled: boolean;
113
92
  sensitivity: number;
114
93
  mining_depth: number;
115
- ignored_patterns: string[];
116
- cross_file_patterns: boolean;
117
- naming_consistency: boolean;
118
- import_relationships: boolean;
119
- max_cross_file_depth: number;
120
94
  }, {
121
95
  enabled?: boolean | undefined;
122
96
  sensitivity?: number | undefined;
123
97
  mining_depth?: number | undefined;
124
- ignored_patterns?: string[] | undefined;
125
- cross_file_patterns?: boolean | undefined;
126
- naming_consistency?: boolean | undefined;
127
- import_relationships?: boolean | undefined;
128
- max_cross_file_depth?: number | undefined;
129
98
  }>>>;
130
99
  environment: z.ZodDefault<z.ZodOptional<z.ZodObject<{
131
100
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -146,36 +115,27 @@ export declare const GatesSchema: z.ZodObject<{
146
115
  retry_loop_breaker: z.ZodDefault<z.ZodOptional<z.ZodObject<{
147
116
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
148
117
  max_retries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
149
- auto_classify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
150
118
  doc_sources: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
151
119
  }, "strip", z.ZodTypeAny, {
152
120
  enabled: boolean;
153
121
  max_retries: number;
154
- auto_classify: boolean;
155
122
  doc_sources: Record<string, string>;
156
123
  }, {
157
124
  enabled?: boolean | undefined;
158
125
  max_retries?: number | undefined;
159
- auto_classify?: boolean | undefined;
160
126
  doc_sources?: Record<string, string> | undefined;
161
127
  }>>>;
162
128
  agent_team: z.ZodDefault<z.ZodOptional<z.ZodObject<{
163
129
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
164
130
  max_concurrent_agents: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
165
- cross_agent_pattern_check: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
166
- handoff_verification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
167
131
  task_ownership: z.ZodDefault<z.ZodOptional<z.ZodEnum<["strict", "collaborative"]>>>;
168
132
  }, "strip", z.ZodTypeAny, {
169
133
  enabled: boolean;
170
134
  max_concurrent_agents: number;
171
- cross_agent_pattern_check: boolean;
172
- handoff_verification: boolean;
173
135
  task_ownership: "strict" | "collaborative";
174
136
  }, {
175
137
  enabled?: boolean | undefined;
176
138
  max_concurrent_agents?: number | undefined;
177
- cross_agent_pattern_check?: boolean | undefined;
178
- handoff_verification?: boolean | undefined;
179
139
  task_ownership?: "strict" | "collaborative" | undefined;
180
140
  }>>>;
181
141
  checkpoint: z.ZodDefault<z.ZodOptional<z.ZodObject<{
@@ -183,19 +143,16 @@ export declare const GatesSchema: z.ZodObject<{
183
143
  interval_minutes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
184
144
  quality_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
185
145
  drift_detection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
186
- auto_save_on_failure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
187
146
  }, "strip", z.ZodTypeAny, {
188
147
  enabled: boolean;
189
148
  interval_minutes: number;
190
149
  quality_threshold: number;
191
150
  drift_detection: boolean;
192
- auto_save_on_failure: boolean;
193
151
  }, {
194
152
  enabled?: boolean | undefined;
195
153
  interval_minutes?: number | undefined;
196
154
  quality_threshold?: number | undefined;
197
155
  drift_detection?: boolean | undefined;
198
- auto_save_on_failure?: boolean | undefined;
199
156
  }>>>;
200
157
  security: z.ZodDefault<z.ZodOptional<z.ZodObject<{
201
158
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -256,25 +213,6 @@ export declare const GatesSchema: z.ZodObject<{
256
213
  server_path_patterns?: string[] | undefined;
257
214
  allowlist_env_names?: string[] | undefined;
258
215
  }>>>;
259
- adaptive: z.ZodDefault<z.ZodOptional<z.ZodObject<{
260
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
261
- base_coverage_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
262
- base_quality_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
263
- auto_detect_tier: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
264
- forced_tier: z.ZodOptional<z.ZodEnum<["hobby", "startup", "enterprise"]>>;
265
- }, "strip", z.ZodTypeAny, {
266
- enabled: boolean;
267
- base_coverage_threshold: number;
268
- base_quality_threshold: number;
269
- auto_detect_tier: boolean;
270
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
271
- }, {
272
- enabled?: boolean | undefined;
273
- base_coverage_threshold?: number | undefined;
274
- base_quality_threshold?: number | undefined;
275
- auto_detect_tier?: boolean | undefined;
276
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
277
- }>>>;
278
216
  duplication_drift: z.ZodDefault<z.ZodOptional<z.ZodObject<{
279
217
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
280
218
  similarity_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -290,18 +228,12 @@ export declare const GatesSchema: z.ZodObject<{
290
228
  }>>>;
291
229
  hallucinated_imports: z.ZodDefault<z.ZodOptional<z.ZodObject<{
292
230
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
293
- check_relative: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
294
- check_packages: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
295
231
  ignore_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
296
232
  }, "strip", z.ZodTypeAny, {
297
233
  enabled: boolean;
298
- check_relative: boolean;
299
- check_packages: boolean;
300
234
  ignore_patterns: string[];
301
235
  }, {
302
236
  enabled?: boolean | undefined;
303
- check_relative?: boolean | undefined;
304
- check_packages?: boolean | undefined;
305
237
  ignore_patterns?: string[] | undefined;
306
238
  }>>>;
307
239
  inconsistent_error_handling: z.ZodDefault<z.ZodOptional<z.ZodObject<{
@@ -419,26 +351,20 @@ export declare const GatesSchema: z.ZodObject<{
419
351
  check_empty_tests: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
420
352
  check_tautological: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
421
353
  check_mock_heavy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
422
- check_snapshot_abuse: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
423
354
  check_assertion_free_async: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
424
355
  max_mocks_per_test: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
425
- ignore_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
426
356
  }, "strip", z.ZodTypeAny, {
427
357
  enabled: boolean;
428
- ignore_patterns: string[];
429
358
  check_empty_tests: boolean;
430
359
  check_tautological: boolean;
431
360
  check_mock_heavy: boolean;
432
- check_snapshot_abuse: boolean;
433
361
  check_assertion_free_async: boolean;
434
362
  max_mocks_per_test: number;
435
363
  }, {
436
364
  enabled?: boolean | undefined;
437
- ignore_patterns?: string[] | undefined;
438
365
  check_empty_tests?: boolean | undefined;
439
366
  check_tautological?: boolean | undefined;
440
367
  check_mock_heavy?: boolean | undefined;
441
- check_snapshot_abuse?: boolean | undefined;
442
368
  check_assertion_free_async?: boolean | undefined;
443
369
  max_mocks_per_test?: number | undefined;
444
370
  }>>>;
@@ -476,28 +402,6 @@ export declare const GatesSchema: z.ZodObject<{
476
402
  protected_skills_paths?: string[] | undefined;
477
403
  exempt_paths?: string[] | undefined;
478
404
  }>>>;
479
- input_validation: z.ZodDefault<z.ZodOptional<z.ZodObject<{
480
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
481
- block_on_detection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
482
- min_secret_length: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
483
- custom_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
484
- ignore_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
485
- audit_log: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
486
- }, "strip", z.ZodTypeAny, {
487
- enabled: boolean;
488
- ignore_patterns: string[];
489
- block_on_detection: boolean;
490
- min_secret_length: number;
491
- custom_patterns: string[];
492
- audit_log: boolean;
493
- }, {
494
- enabled?: boolean | undefined;
495
- ignore_patterns?: string[] | undefined;
496
- block_on_detection?: boolean | undefined;
497
- min_secret_length?: number | undefined;
498
- custom_patterns?: string[] | undefined;
499
- audit_log?: boolean | undefined;
500
- }>>>;
501
405
  unindexed_reads: z.ZodDefault<z.ZodOptional<z.ZodObject<{
502
406
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
503
407
  migrations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
@@ -550,16 +454,21 @@ export declare const GatesSchema: z.ZodObject<{
550
454
  * range on the same column, a nullable row type the query filters non-null, an optional member every host supplies, a
551
455
  * property written and never read. Runs at push, in `rigour review` and in a backtest (the program takes seconds to build).
552
456
  * `wire_contracts`: files whose types another service reads, so their members are never write-only here.
457
+ * `schema_migrations`: folders of SQL migrations (relative, absolute, or `~/`; another repository's is fine, read only)
458
+ * replayed to learn which columns are NOT NULL, for the nullable-not-null-column note. Missing folders are skipped.
553
459
  */
554
460
  redundancy: z.ZodDefault<z.ZodOptional<z.ZodObject<{
555
461
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
556
462
  wire_contracts: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
463
+ schema_migrations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
557
464
  }, "strip", z.ZodTypeAny, {
558
465
  enabled: boolean;
559
466
  wire_contracts: string[];
467
+ schema_migrations: string[];
560
468
  }, {
561
469
  enabled?: boolean | undefined;
562
470
  wire_contracts?: string[] | undefined;
471
+ schema_migrations?: string[] | undefined;
563
472
  }>>>;
564
473
  /** A parameter the change adds as optional that only tests omit (review/optional-params.ts). */
565
474
  optional_params: z.ZodDefault<z.ZodOptional<z.ZodObject<{
@@ -678,15 +587,6 @@ export declare const GatesSchema: z.ZodObject<{
678
587
  track_returns?: boolean | undefined;
679
588
  }>>>;
680
589
  deep: z.ZodDefault<z.ZodOptional<z.ZodObject<{
681
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
682
- pro: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
683
- max: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
684
- provider: z.ZodDefault<z.ZodOptional<z.ZodString>>;
685
- api_key: z.ZodOptional<z.ZodString>;
686
- api_base_url: z.ZodOptional<z.ZodString>;
687
- model_name: z.ZodOptional<z.ZodString>;
688
- model_path: z.ZodOptional<z.ZodString>;
689
- threads: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
690
590
  max_tokens: z.ZodOptional<z.ZodNumber>;
691
591
  temperature: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
692
592
  timeout_ms: z.ZodOptional<z.ZodNumber>;
@@ -737,11 +637,6 @@ export declare const GatesSchema: z.ZodObject<{
737
637
  code_smells?: boolean | undefined;
738
638
  }>>>;
739
639
  }, "strip", z.ZodTypeAny, {
740
- enabled: boolean;
741
- pro: boolean;
742
- max: boolean;
743
- provider: string;
744
- threads: number;
745
640
  temperature: number;
746
641
  intent_checks: boolean;
747
642
  checks: {
@@ -754,10 +649,6 @@ export declare const GatesSchema: z.ZodObject<{
754
649
  error_handling: boolean;
755
650
  code_smells: boolean;
756
651
  };
757
- api_key?: string | undefined;
758
- api_base_url?: string | undefined;
759
- model_name?: string | undefined;
760
- model_path?: string | undefined;
761
652
  max_tokens?: number | undefined;
762
653
  timeout_ms?: number | undefined;
763
654
  budget_ms?: number | undefined;
@@ -770,15 +661,6 @@ export declare const GatesSchema: z.ZodObject<{
770
661
  max_functions?: number | undefined;
771
662
  } | undefined;
772
663
  }, {
773
- enabled?: boolean | undefined;
774
- pro?: boolean | undefined;
775
- max?: boolean | undefined;
776
- provider?: string | undefined;
777
- api_key?: string | undefined;
778
- api_base_url?: string | undefined;
779
- model_name?: string | undefined;
780
- model_path?: string | undefined;
781
- threads?: number | undefined;
782
664
  max_tokens?: number | undefined;
783
665
  temperature?: number | undefined;
784
666
  timeout_ms?: number | undefined;
@@ -805,11 +687,6 @@ export declare const GatesSchema: z.ZodObject<{
805
687
  }>>>;
806
688
  }, "strip", z.ZodTypeAny, {
807
689
  deep: {
808
- enabled: boolean;
809
- pro: boolean;
810
- max: boolean;
811
- provider: string;
812
- threads: number;
813
690
  temperature: number;
814
691
  intent_checks: boolean;
815
692
  checks: {
@@ -822,10 +699,6 @@ export declare const GatesSchema: z.ZodObject<{
822
699
  error_handling: boolean;
823
700
  code_smells: boolean;
824
701
  };
825
- api_key?: string | undefined;
826
- api_base_url?: string | undefined;
827
- model_name?: string | undefined;
828
- model_path?: string | undefined;
829
702
  max_tokens?: number | undefined;
830
703
  timeout_ms?: number | undefined;
831
704
  budget_ms?: number | undefined;
@@ -841,16 +714,11 @@ export declare const GatesSchema: z.ZodObject<{
841
714
  max_file_lines: number;
842
715
  forbid_todos: boolean;
843
716
  forbid_fixme: boolean;
844
- forbid_paths: string[];
845
717
  required_files: string[];
846
718
  ast: {
847
719
  complexity: number;
848
720
  max_methods: number;
849
721
  max_params: number;
850
- max_nesting: number;
851
- max_inheritance_depth: number;
852
- max_class_dependencies: number;
853
- max_function_lines: number;
854
722
  };
855
723
  staleness: {
856
724
  enabled: boolean;
@@ -862,7 +730,6 @@ export declare const GatesSchema: z.ZodObject<{
862
730
  detect_heavy_alternatives: boolean;
863
731
  detect_duplicate_purpose: boolean;
864
732
  unused_allowlist: string[];
865
- trusted_registry?: string | undefined;
866
733
  };
867
734
  architecture: {
868
735
  boundaries: {
@@ -879,11 +746,6 @@ export declare const GatesSchema: z.ZodObject<{
879
746
  enabled: boolean;
880
747
  sensitivity: number;
881
748
  mining_depth: number;
882
- ignored_patterns: string[];
883
- cross_file_patterns: boolean;
884
- naming_consistency: boolean;
885
- import_relationships: boolean;
886
- max_cross_file_depth: number;
887
749
  };
888
750
  environment: {
889
751
  enabled: boolean;
@@ -894,14 +756,11 @@ export declare const GatesSchema: z.ZodObject<{
894
756
  retry_loop_breaker: {
895
757
  enabled: boolean;
896
758
  max_retries: number;
897
- auto_classify: boolean;
898
759
  doc_sources: Record<string, string>;
899
760
  };
900
761
  agent_team: {
901
762
  enabled: boolean;
902
763
  max_concurrent_agents: number;
903
- cross_agent_pattern_check: boolean;
904
- handoff_verification: boolean;
905
764
  task_ownership: "strict" | "collaborative";
906
765
  };
907
766
  checkpoint: {
@@ -909,7 +768,6 @@ export declare const GatesSchema: z.ZodObject<{
909
768
  interval_minutes: number;
910
769
  quality_threshold: number;
911
770
  drift_detection: boolean;
912
- auto_save_on_failure: boolean;
913
771
  };
914
772
  security: {
915
773
  enabled: boolean;
@@ -932,13 +790,6 @@ export declare const GatesSchema: z.ZodObject<{
932
790
  server_path_patterns: string[];
933
791
  allowlist_env_names: string[];
934
792
  };
935
- adaptive: {
936
- enabled: boolean;
937
- base_coverage_threshold: number;
938
- base_quality_threshold: number;
939
- auto_detect_tier: boolean;
940
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
941
- };
942
793
  duplication_drift: {
943
794
  enabled: boolean;
944
795
  similarity_threshold: number;
@@ -946,8 +797,6 @@ export declare const GatesSchema: z.ZodObject<{
946
797
  };
947
798
  hallucinated_imports: {
948
799
  enabled: boolean;
949
- check_relative: boolean;
950
- check_packages: boolean;
951
800
  ignore_patterns: string[];
952
801
  };
953
802
  inconsistent_error_handling: {
@@ -992,11 +841,9 @@ export declare const GatesSchema: z.ZodObject<{
992
841
  };
993
842
  test_quality: {
994
843
  enabled: boolean;
995
- ignore_patterns: string[];
996
844
  check_empty_tests: boolean;
997
845
  check_tautological: boolean;
998
846
  check_mock_heavy: boolean;
999
- check_snapshot_abuse: boolean;
1000
847
  check_assertion_free_async: boolean;
1001
848
  max_mocks_per_test: number;
1002
849
  };
@@ -1009,14 +856,6 @@ export declare const GatesSchema: z.ZodObject<{
1009
856
  protected_skills_paths: string[];
1010
857
  exempt_paths: string[];
1011
858
  };
1012
- input_validation: {
1013
- enabled: boolean;
1014
- ignore_patterns: string[];
1015
- block_on_detection: boolean;
1016
- min_secret_length: number;
1017
- custom_patterns: string[];
1018
- audit_log: boolean;
1019
- };
1020
859
  unindexed_reads: {
1021
860
  enabled: boolean;
1022
861
  migrations: string[];
@@ -1038,6 +877,7 @@ export declare const GatesSchema: z.ZodObject<{
1038
877
  redundancy: {
1039
878
  enabled: boolean;
1040
879
  wire_contracts: string[];
880
+ schema_migrations: string[];
1041
881
  };
1042
882
  optional_params: {
1043
883
  enabled: boolean;
@@ -1084,15 +924,6 @@ export declare const GatesSchema: z.ZodObject<{
1084
924
  };
1085
925
  }, {
1086
926
  deep?: {
1087
- enabled?: boolean | undefined;
1088
- pro?: boolean | undefined;
1089
- max?: boolean | undefined;
1090
- provider?: string | undefined;
1091
- api_key?: string | undefined;
1092
- api_base_url?: string | undefined;
1093
- model_name?: string | undefined;
1094
- model_path?: string | undefined;
1095
- threads?: number | undefined;
1096
927
  max_tokens?: number | undefined;
1097
928
  temperature?: number | undefined;
1098
929
  timeout_ms?: number | undefined;
@@ -1120,16 +951,11 @@ export declare const GatesSchema: z.ZodObject<{
1120
951
  max_file_lines?: number | undefined;
1121
952
  forbid_todos?: boolean | undefined;
1122
953
  forbid_fixme?: boolean | undefined;
1123
- forbid_paths?: string[] | undefined;
1124
954
  required_files?: string[] | undefined;
1125
955
  ast?: {
1126
956
  complexity?: number | undefined;
1127
957
  max_methods?: number | undefined;
1128
958
  max_params?: number | undefined;
1129
- max_nesting?: number | undefined;
1130
- max_inheritance_depth?: number | undefined;
1131
- max_class_dependencies?: number | undefined;
1132
- max_function_lines?: number | undefined;
1133
959
  } | undefined;
1134
960
  staleness?: {
1135
961
  enabled?: boolean | undefined;
@@ -1137,7 +963,6 @@ export declare const GatesSchema: z.ZodObject<{
1137
963
  } | undefined;
1138
964
  dependencies?: {
1139
965
  forbid?: string[] | undefined;
1140
- trusted_registry?: string | undefined;
1141
966
  detect_unused?: boolean | undefined;
1142
967
  detect_heavy_alternatives?: boolean | undefined;
1143
968
  detect_duplicate_purpose?: boolean | undefined;
@@ -1158,11 +983,6 @@ export declare const GatesSchema: z.ZodObject<{
1158
983
  enabled?: boolean | undefined;
1159
984
  sensitivity?: number | undefined;
1160
985
  mining_depth?: number | undefined;
1161
- ignored_patterns?: string[] | undefined;
1162
- cross_file_patterns?: boolean | undefined;
1163
- naming_consistency?: boolean | undefined;
1164
- import_relationships?: boolean | undefined;
1165
- max_cross_file_depth?: number | undefined;
1166
986
  } | undefined;
1167
987
  environment?: {
1168
988
  enabled?: boolean | undefined;
@@ -1173,14 +993,11 @@ export declare const GatesSchema: z.ZodObject<{
1173
993
  retry_loop_breaker?: {
1174
994
  enabled?: boolean | undefined;
1175
995
  max_retries?: number | undefined;
1176
- auto_classify?: boolean | undefined;
1177
996
  doc_sources?: Record<string, string> | undefined;
1178
997
  } | undefined;
1179
998
  agent_team?: {
1180
999
  enabled?: boolean | undefined;
1181
1000
  max_concurrent_agents?: number | undefined;
1182
- cross_agent_pattern_check?: boolean | undefined;
1183
- handoff_verification?: boolean | undefined;
1184
1001
  task_ownership?: "strict" | "collaborative" | undefined;
1185
1002
  } | undefined;
1186
1003
  checkpoint?: {
@@ -1188,7 +1005,6 @@ export declare const GatesSchema: z.ZodObject<{
1188
1005
  interval_minutes?: number | undefined;
1189
1006
  quality_threshold?: number | undefined;
1190
1007
  drift_detection?: boolean | undefined;
1191
- auto_save_on_failure?: boolean | undefined;
1192
1008
  } | undefined;
1193
1009
  security?: {
1194
1010
  enabled?: boolean | undefined;
@@ -1211,13 +1027,6 @@ export declare const GatesSchema: z.ZodObject<{
1211
1027
  server_path_patterns?: string[] | undefined;
1212
1028
  allowlist_env_names?: string[] | undefined;
1213
1029
  } | undefined;
1214
- adaptive?: {
1215
- enabled?: boolean | undefined;
1216
- base_coverage_threshold?: number | undefined;
1217
- base_quality_threshold?: number | undefined;
1218
- auto_detect_tier?: boolean | undefined;
1219
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
1220
- } | undefined;
1221
1030
  duplication_drift?: {
1222
1031
  enabled?: boolean | undefined;
1223
1032
  similarity_threshold?: number | undefined;
@@ -1225,8 +1034,6 @@ export declare const GatesSchema: z.ZodObject<{
1225
1034
  } | undefined;
1226
1035
  hallucinated_imports?: {
1227
1036
  enabled?: boolean | undefined;
1228
- check_relative?: boolean | undefined;
1229
- check_packages?: boolean | undefined;
1230
1037
  ignore_patterns?: string[] | undefined;
1231
1038
  } | undefined;
1232
1039
  inconsistent_error_handling?: {
@@ -1271,11 +1078,9 @@ export declare const GatesSchema: z.ZodObject<{
1271
1078
  } | undefined;
1272
1079
  test_quality?: {
1273
1080
  enabled?: boolean | undefined;
1274
- ignore_patterns?: string[] | undefined;
1275
1081
  check_empty_tests?: boolean | undefined;
1276
1082
  check_tautological?: boolean | undefined;
1277
1083
  check_mock_heavy?: boolean | undefined;
1278
- check_snapshot_abuse?: boolean | undefined;
1279
1084
  check_assertion_free_async?: boolean | undefined;
1280
1085
  max_mocks_per_test?: number | undefined;
1281
1086
  } | undefined;
@@ -1288,14 +1093,6 @@ export declare const GatesSchema: z.ZodObject<{
1288
1093
  protected_skills_paths?: string[] | undefined;
1289
1094
  exempt_paths?: string[] | undefined;
1290
1095
  } | undefined;
1291
- input_validation?: {
1292
- enabled?: boolean | undefined;
1293
- ignore_patterns?: string[] | undefined;
1294
- block_on_detection?: boolean | undefined;
1295
- min_secret_length?: number | undefined;
1296
- custom_patterns?: string[] | undefined;
1297
- audit_log?: boolean | undefined;
1298
- } | undefined;
1299
1096
  unindexed_reads?: {
1300
1097
  enabled?: boolean | undefined;
1301
1098
  migrations?: string[] | undefined;
@@ -1317,6 +1114,7 @@ export declare const GatesSchema: z.ZodObject<{
1317
1114
  redundancy?: {
1318
1115
  enabled?: boolean | undefined;
1319
1116
  wire_contracts?: string[] | undefined;
1117
+ schema_migrations?: string[] | undefined;
1320
1118
  } | undefined;
1321
1119
  optional_params?: {
1322
1120
  enabled?: boolean | undefined;
@@ -1379,34 +1177,14 @@ export declare const CommandsSchema: z.ZodObject<{
1379
1177
  test?: string | undefined;
1380
1178
  }>;
1381
1179
  export declare const HooksSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1382
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1383
- tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["claude", "cursor", "cline", "windsurf"]>, "many">>>;
1384
- fast_gates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1385
- timeout_ms: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1386
- block_on_failure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1387
1180
  /** Stop hook: hold "done" until the agent acknowledges each risky changed function (rigour_review_ack). */
1388
1181
  require_review_ack: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1389
- /** Enable DLP (Data Loss Prevention) pre-input hooks — default ON for security */
1390
- dlp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1391
1182
  }, "strip", z.ZodTypeAny, {
1392
- enabled: boolean;
1393
- tools: ("claude" | "cursor" | "cline" | "windsurf")[];
1394
- timeout_ms: number;
1395
- fast_gates: string[];
1396
- block_on_failure: boolean;
1397
1183
  require_review_ack: boolean;
1398
- dlp: boolean;
1399
1184
  }, {
1400
- enabled?: boolean | undefined;
1401
- tools?: ("claude" | "cursor" | "cline" | "windsurf")[] | undefined;
1402
- timeout_ms?: number | undefined;
1403
- fast_gates?: string[] | undefined;
1404
- block_on_failure?: boolean | undefined;
1405
1185
  require_review_ack?: boolean | undefined;
1406
- dlp?: boolean | undefined;
1407
1186
  }>>>;
1408
1187
  export declare const ConfigSchema: z.ZodObject<{
1409
- version: z.ZodDefault<z.ZodNumber>;
1410
1188
  preset: z.ZodOptional<z.ZodString>;
1411
1189
  paradigm: z.ZodOptional<z.ZodString>;
1412
1190
  commands: z.ZodDefault<z.ZodOptional<z.ZodObject<{
@@ -1429,32 +1207,19 @@ export declare const ConfigSchema: z.ZodObject<{
1429
1207
  max_file_lines: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1430
1208
  forbid_todos: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1431
1209
  forbid_fixme: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1432
- forbid_paths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1433
1210
  required_files: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1434
1211
  ast: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1435
1212
  complexity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1436
1213
  max_methods: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1437
1214
  max_params: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1438
- max_nesting: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1439
- max_inheritance_depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1440
- max_class_dependencies: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1441
- max_function_lines: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1442
1215
  }, "strip", z.ZodTypeAny, {
1443
1216
  complexity: number;
1444
1217
  max_methods: number;
1445
1218
  max_params: number;
1446
- max_nesting: number;
1447
- max_inheritance_depth: number;
1448
- max_class_dependencies: number;
1449
- max_function_lines: number;
1450
1219
  }, {
1451
1220
  complexity?: number | undefined;
1452
1221
  max_methods?: number | undefined;
1453
1222
  max_params?: number | undefined;
1454
- max_nesting?: number | undefined;
1455
- max_inheritance_depth?: number | undefined;
1456
- max_class_dependencies?: number | undefined;
1457
- max_function_lines?: number | undefined;
1458
1223
  }>>>;
1459
1224
  staleness: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1460
1225
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -1468,7 +1233,6 @@ export declare const ConfigSchema: z.ZodObject<{
1468
1233
  }>>>;
1469
1234
  dependencies: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1470
1235
  forbid: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1471
- trusted_registry: z.ZodOptional<z.ZodString>;
1472
1236
  detect_unused: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1473
1237
  detect_heavy_alternatives: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1474
1238
  detect_duplicate_purpose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -1479,10 +1243,8 @@ export declare const ConfigSchema: z.ZodObject<{
1479
1243
  detect_heavy_alternatives: boolean;
1480
1244
  detect_duplicate_purpose: boolean;
1481
1245
  unused_allowlist: string[];
1482
- trusted_registry?: string | undefined;
1483
1246
  }, {
1484
1247
  forbid?: string[] | undefined;
1485
- trusted_registry?: string | undefined;
1486
1248
  detect_unused?: boolean | undefined;
1487
1249
  detect_heavy_alternatives?: boolean | undefined;
1488
1250
  detect_duplicate_purpose?: boolean | undefined;
@@ -1529,29 +1291,14 @@ export declare const ConfigSchema: z.ZodObject<{
1529
1291
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1530
1292
  sensitivity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1531
1293
  mining_depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1532
- ignored_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1533
- cross_file_patterns: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1534
- naming_consistency: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1535
- import_relationships: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1536
- max_cross_file_depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1537
1294
  }, "strip", z.ZodTypeAny, {
1538
1295
  enabled: boolean;
1539
1296
  sensitivity: number;
1540
1297
  mining_depth: number;
1541
- ignored_patterns: string[];
1542
- cross_file_patterns: boolean;
1543
- naming_consistency: boolean;
1544
- import_relationships: boolean;
1545
- max_cross_file_depth: number;
1546
1298
  }, {
1547
1299
  enabled?: boolean | undefined;
1548
1300
  sensitivity?: number | undefined;
1549
1301
  mining_depth?: number | undefined;
1550
- ignored_patterns?: string[] | undefined;
1551
- cross_file_patterns?: boolean | undefined;
1552
- naming_consistency?: boolean | undefined;
1553
- import_relationships?: boolean | undefined;
1554
- max_cross_file_depth?: number | undefined;
1555
1302
  }>>>;
1556
1303
  environment: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1557
1304
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -1572,36 +1319,27 @@ export declare const ConfigSchema: z.ZodObject<{
1572
1319
  retry_loop_breaker: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1573
1320
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1574
1321
  max_retries: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1575
- auto_classify: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1576
1322
  doc_sources: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
1577
1323
  }, "strip", z.ZodTypeAny, {
1578
1324
  enabled: boolean;
1579
1325
  max_retries: number;
1580
- auto_classify: boolean;
1581
1326
  doc_sources: Record<string, string>;
1582
1327
  }, {
1583
1328
  enabled?: boolean | undefined;
1584
1329
  max_retries?: number | undefined;
1585
- auto_classify?: boolean | undefined;
1586
1330
  doc_sources?: Record<string, string> | undefined;
1587
1331
  }>>>;
1588
1332
  agent_team: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1589
1333
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1590
1334
  max_concurrent_agents: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1591
- cross_agent_pattern_check: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1592
- handoff_verification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1593
1335
  task_ownership: z.ZodDefault<z.ZodOptional<z.ZodEnum<["strict", "collaborative"]>>>;
1594
1336
  }, "strip", z.ZodTypeAny, {
1595
1337
  enabled: boolean;
1596
1338
  max_concurrent_agents: number;
1597
- cross_agent_pattern_check: boolean;
1598
- handoff_verification: boolean;
1599
1339
  task_ownership: "strict" | "collaborative";
1600
1340
  }, {
1601
1341
  enabled?: boolean | undefined;
1602
1342
  max_concurrent_agents?: number | undefined;
1603
- cross_agent_pattern_check?: boolean | undefined;
1604
- handoff_verification?: boolean | undefined;
1605
1343
  task_ownership?: "strict" | "collaborative" | undefined;
1606
1344
  }>>>;
1607
1345
  checkpoint: z.ZodDefault<z.ZodOptional<z.ZodObject<{
@@ -1609,19 +1347,16 @@ export declare const ConfigSchema: z.ZodObject<{
1609
1347
  interval_minutes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1610
1348
  quality_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1611
1349
  drift_detection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1612
- auto_save_on_failure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1613
1350
  }, "strip", z.ZodTypeAny, {
1614
1351
  enabled: boolean;
1615
1352
  interval_minutes: number;
1616
1353
  quality_threshold: number;
1617
1354
  drift_detection: boolean;
1618
- auto_save_on_failure: boolean;
1619
1355
  }, {
1620
1356
  enabled?: boolean | undefined;
1621
1357
  interval_minutes?: number | undefined;
1622
1358
  quality_threshold?: number | undefined;
1623
1359
  drift_detection?: boolean | undefined;
1624
- auto_save_on_failure?: boolean | undefined;
1625
1360
  }>>>;
1626
1361
  security: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1627
1362
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -1682,25 +1417,6 @@ export declare const ConfigSchema: z.ZodObject<{
1682
1417
  server_path_patterns?: string[] | undefined;
1683
1418
  allowlist_env_names?: string[] | undefined;
1684
1419
  }>>>;
1685
- adaptive: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1686
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1687
- base_coverage_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1688
- base_quality_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1689
- auto_detect_tier: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1690
- forced_tier: z.ZodOptional<z.ZodEnum<["hobby", "startup", "enterprise"]>>;
1691
- }, "strip", z.ZodTypeAny, {
1692
- enabled: boolean;
1693
- base_coverage_threshold: number;
1694
- base_quality_threshold: number;
1695
- auto_detect_tier: boolean;
1696
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
1697
- }, {
1698
- enabled?: boolean | undefined;
1699
- base_coverage_threshold?: number | undefined;
1700
- base_quality_threshold?: number | undefined;
1701
- auto_detect_tier?: boolean | undefined;
1702
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
1703
- }>>>;
1704
1420
  duplication_drift: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1705
1421
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1706
1422
  similarity_threshold: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -1716,18 +1432,12 @@ export declare const ConfigSchema: z.ZodObject<{
1716
1432
  }>>>;
1717
1433
  hallucinated_imports: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1718
1434
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1719
- check_relative: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1720
- check_packages: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1721
1435
  ignore_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1722
1436
  }, "strip", z.ZodTypeAny, {
1723
1437
  enabled: boolean;
1724
- check_relative: boolean;
1725
- check_packages: boolean;
1726
1438
  ignore_patterns: string[];
1727
1439
  }, {
1728
1440
  enabled?: boolean | undefined;
1729
- check_relative?: boolean | undefined;
1730
- check_packages?: boolean | undefined;
1731
1441
  ignore_patterns?: string[] | undefined;
1732
1442
  }>>>;
1733
1443
  inconsistent_error_handling: z.ZodDefault<z.ZodOptional<z.ZodObject<{
@@ -1845,26 +1555,20 @@ export declare const ConfigSchema: z.ZodObject<{
1845
1555
  check_empty_tests: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1846
1556
  check_tautological: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1847
1557
  check_mock_heavy: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1848
- check_snapshot_abuse: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1849
1558
  check_assertion_free_async: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1850
1559
  max_mocks_per_test: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1851
- ignore_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1852
1560
  }, "strip", z.ZodTypeAny, {
1853
1561
  enabled: boolean;
1854
- ignore_patterns: string[];
1855
1562
  check_empty_tests: boolean;
1856
1563
  check_tautological: boolean;
1857
1564
  check_mock_heavy: boolean;
1858
- check_snapshot_abuse: boolean;
1859
1565
  check_assertion_free_async: boolean;
1860
1566
  max_mocks_per_test: number;
1861
1567
  }, {
1862
1568
  enabled?: boolean | undefined;
1863
- ignore_patterns?: string[] | undefined;
1864
1569
  check_empty_tests?: boolean | undefined;
1865
1570
  check_tautological?: boolean | undefined;
1866
1571
  check_mock_heavy?: boolean | undefined;
1867
- check_snapshot_abuse?: boolean | undefined;
1868
1572
  check_assertion_free_async?: boolean | undefined;
1869
1573
  max_mocks_per_test?: number | undefined;
1870
1574
  }>>>;
@@ -1902,28 +1606,6 @@ export declare const ConfigSchema: z.ZodObject<{
1902
1606
  protected_skills_paths?: string[] | undefined;
1903
1607
  exempt_paths?: string[] | undefined;
1904
1608
  }>>>;
1905
- input_validation: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1906
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1907
- block_on_detection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1908
- min_secret_length: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1909
- custom_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1910
- ignore_patterns: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1911
- audit_log: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1912
- }, "strip", z.ZodTypeAny, {
1913
- enabled: boolean;
1914
- ignore_patterns: string[];
1915
- block_on_detection: boolean;
1916
- min_secret_length: number;
1917
- custom_patterns: string[];
1918
- audit_log: boolean;
1919
- }, {
1920
- enabled?: boolean | undefined;
1921
- ignore_patterns?: string[] | undefined;
1922
- block_on_detection?: boolean | undefined;
1923
- min_secret_length?: number | undefined;
1924
- custom_patterns?: string[] | undefined;
1925
- audit_log?: boolean | undefined;
1926
- }>>>;
1927
1609
  unindexed_reads: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1928
1610
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1929
1611
  migrations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
@@ -1976,16 +1658,21 @@ export declare const ConfigSchema: z.ZodObject<{
1976
1658
  * range on the same column, a nullable row type the query filters non-null, an optional member every host supplies, a
1977
1659
  * property written and never read. Runs at push, in `rigour review` and in a backtest (the program takes seconds to build).
1978
1660
  * `wire_contracts`: files whose types another service reads, so their members are never write-only here.
1661
+ * `schema_migrations`: folders of SQL migrations (relative, absolute, or `~/`; another repository's is fine, read only)
1662
+ * replayed to learn which columns are NOT NULL, for the nullable-not-null-column note. Missing folders are skipped.
1979
1663
  */
1980
1664
  redundancy: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1981
1665
  enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1982
1666
  wire_contracts: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1667
+ schema_migrations: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1983
1668
  }, "strip", z.ZodTypeAny, {
1984
1669
  enabled: boolean;
1985
1670
  wire_contracts: string[];
1671
+ schema_migrations: string[];
1986
1672
  }, {
1987
1673
  enabled?: boolean | undefined;
1988
1674
  wire_contracts?: string[] | undefined;
1675
+ schema_migrations?: string[] | undefined;
1989
1676
  }>>>;
1990
1677
  /** A parameter the change adds as optional that only tests omit (review/optional-params.ts). */
1991
1678
  optional_params: z.ZodDefault<z.ZodOptional<z.ZodObject<{
@@ -2104,15 +1791,6 @@ export declare const ConfigSchema: z.ZodObject<{
2104
1791
  track_returns?: boolean | undefined;
2105
1792
  }>>>;
2106
1793
  deep: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2107
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2108
- pro: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2109
- max: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2110
- provider: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2111
- api_key: z.ZodOptional<z.ZodString>;
2112
- api_base_url: z.ZodOptional<z.ZodString>;
2113
- model_name: z.ZodOptional<z.ZodString>;
2114
- model_path: z.ZodOptional<z.ZodString>;
2115
- threads: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2116
1794
  max_tokens: z.ZodOptional<z.ZodNumber>;
2117
1795
  temperature: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2118
1796
  timeout_ms: z.ZodOptional<z.ZodNumber>;
@@ -2163,11 +1841,6 @@ export declare const ConfigSchema: z.ZodObject<{
2163
1841
  code_smells?: boolean | undefined;
2164
1842
  }>>>;
2165
1843
  }, "strip", z.ZodTypeAny, {
2166
- enabled: boolean;
2167
- pro: boolean;
2168
- max: boolean;
2169
- provider: string;
2170
- threads: number;
2171
1844
  temperature: number;
2172
1845
  intent_checks: boolean;
2173
1846
  checks: {
@@ -2180,10 +1853,6 @@ export declare const ConfigSchema: z.ZodObject<{
2180
1853
  error_handling: boolean;
2181
1854
  code_smells: boolean;
2182
1855
  };
2183
- api_key?: string | undefined;
2184
- api_base_url?: string | undefined;
2185
- model_name?: string | undefined;
2186
- model_path?: string | undefined;
2187
1856
  max_tokens?: number | undefined;
2188
1857
  timeout_ms?: number | undefined;
2189
1858
  budget_ms?: number | undefined;
@@ -2196,15 +1865,6 @@ export declare const ConfigSchema: z.ZodObject<{
2196
1865
  max_functions?: number | undefined;
2197
1866
  } | undefined;
2198
1867
  }, {
2199
- enabled?: boolean | undefined;
2200
- pro?: boolean | undefined;
2201
- max?: boolean | undefined;
2202
- provider?: string | undefined;
2203
- api_key?: string | undefined;
2204
- api_base_url?: string | undefined;
2205
- model_name?: string | undefined;
2206
- model_path?: string | undefined;
2207
- threads?: number | undefined;
2208
1868
  max_tokens?: number | undefined;
2209
1869
  temperature?: number | undefined;
2210
1870
  timeout_ms?: number | undefined;
@@ -2231,11 +1891,6 @@ export declare const ConfigSchema: z.ZodObject<{
2231
1891
  }>>>;
2232
1892
  }, "strip", z.ZodTypeAny, {
2233
1893
  deep: {
2234
- enabled: boolean;
2235
- pro: boolean;
2236
- max: boolean;
2237
- provider: string;
2238
- threads: number;
2239
1894
  temperature: number;
2240
1895
  intent_checks: boolean;
2241
1896
  checks: {
@@ -2248,10 +1903,6 @@ export declare const ConfigSchema: z.ZodObject<{
2248
1903
  error_handling: boolean;
2249
1904
  code_smells: boolean;
2250
1905
  };
2251
- api_key?: string | undefined;
2252
- api_base_url?: string | undefined;
2253
- model_name?: string | undefined;
2254
- model_path?: string | undefined;
2255
1906
  max_tokens?: number | undefined;
2256
1907
  timeout_ms?: number | undefined;
2257
1908
  budget_ms?: number | undefined;
@@ -2267,16 +1918,11 @@ export declare const ConfigSchema: z.ZodObject<{
2267
1918
  max_file_lines: number;
2268
1919
  forbid_todos: boolean;
2269
1920
  forbid_fixme: boolean;
2270
- forbid_paths: string[];
2271
1921
  required_files: string[];
2272
1922
  ast: {
2273
1923
  complexity: number;
2274
1924
  max_methods: number;
2275
1925
  max_params: number;
2276
- max_nesting: number;
2277
- max_inheritance_depth: number;
2278
- max_class_dependencies: number;
2279
- max_function_lines: number;
2280
1926
  };
2281
1927
  staleness: {
2282
1928
  enabled: boolean;
@@ -2288,7 +1934,6 @@ export declare const ConfigSchema: z.ZodObject<{
2288
1934
  detect_heavy_alternatives: boolean;
2289
1935
  detect_duplicate_purpose: boolean;
2290
1936
  unused_allowlist: string[];
2291
- trusted_registry?: string | undefined;
2292
1937
  };
2293
1938
  architecture: {
2294
1939
  boundaries: {
@@ -2305,11 +1950,6 @@ export declare const ConfigSchema: z.ZodObject<{
2305
1950
  enabled: boolean;
2306
1951
  sensitivity: number;
2307
1952
  mining_depth: number;
2308
- ignored_patterns: string[];
2309
- cross_file_patterns: boolean;
2310
- naming_consistency: boolean;
2311
- import_relationships: boolean;
2312
- max_cross_file_depth: number;
2313
1953
  };
2314
1954
  environment: {
2315
1955
  enabled: boolean;
@@ -2320,14 +1960,11 @@ export declare const ConfigSchema: z.ZodObject<{
2320
1960
  retry_loop_breaker: {
2321
1961
  enabled: boolean;
2322
1962
  max_retries: number;
2323
- auto_classify: boolean;
2324
1963
  doc_sources: Record<string, string>;
2325
1964
  };
2326
1965
  agent_team: {
2327
1966
  enabled: boolean;
2328
1967
  max_concurrent_agents: number;
2329
- cross_agent_pattern_check: boolean;
2330
- handoff_verification: boolean;
2331
1968
  task_ownership: "strict" | "collaborative";
2332
1969
  };
2333
1970
  checkpoint: {
@@ -2335,7 +1972,6 @@ export declare const ConfigSchema: z.ZodObject<{
2335
1972
  interval_minutes: number;
2336
1973
  quality_threshold: number;
2337
1974
  drift_detection: boolean;
2338
- auto_save_on_failure: boolean;
2339
1975
  };
2340
1976
  security: {
2341
1977
  enabled: boolean;
@@ -2358,13 +1994,6 @@ export declare const ConfigSchema: z.ZodObject<{
2358
1994
  server_path_patterns: string[];
2359
1995
  allowlist_env_names: string[];
2360
1996
  };
2361
- adaptive: {
2362
- enabled: boolean;
2363
- base_coverage_threshold: number;
2364
- base_quality_threshold: number;
2365
- auto_detect_tier: boolean;
2366
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
2367
- };
2368
1997
  duplication_drift: {
2369
1998
  enabled: boolean;
2370
1999
  similarity_threshold: number;
@@ -2372,8 +2001,6 @@ export declare const ConfigSchema: z.ZodObject<{
2372
2001
  };
2373
2002
  hallucinated_imports: {
2374
2003
  enabled: boolean;
2375
- check_relative: boolean;
2376
- check_packages: boolean;
2377
2004
  ignore_patterns: string[];
2378
2005
  };
2379
2006
  inconsistent_error_handling: {
@@ -2418,11 +2045,9 @@ export declare const ConfigSchema: z.ZodObject<{
2418
2045
  };
2419
2046
  test_quality: {
2420
2047
  enabled: boolean;
2421
- ignore_patterns: string[];
2422
2048
  check_empty_tests: boolean;
2423
2049
  check_tautological: boolean;
2424
2050
  check_mock_heavy: boolean;
2425
- check_snapshot_abuse: boolean;
2426
2051
  check_assertion_free_async: boolean;
2427
2052
  max_mocks_per_test: number;
2428
2053
  };
@@ -2435,14 +2060,6 @@ export declare const ConfigSchema: z.ZodObject<{
2435
2060
  protected_skills_paths: string[];
2436
2061
  exempt_paths: string[];
2437
2062
  };
2438
- input_validation: {
2439
- enabled: boolean;
2440
- ignore_patterns: string[];
2441
- block_on_detection: boolean;
2442
- min_secret_length: number;
2443
- custom_patterns: string[];
2444
- audit_log: boolean;
2445
- };
2446
2063
  unindexed_reads: {
2447
2064
  enabled: boolean;
2448
2065
  migrations: string[];
@@ -2464,6 +2081,7 @@ export declare const ConfigSchema: z.ZodObject<{
2464
2081
  redundancy: {
2465
2082
  enabled: boolean;
2466
2083
  wire_contracts: string[];
2084
+ schema_migrations: string[];
2467
2085
  };
2468
2086
  optional_params: {
2469
2087
  enabled: boolean;
@@ -2510,15 +2128,6 @@ export declare const ConfigSchema: z.ZodObject<{
2510
2128
  };
2511
2129
  }, {
2512
2130
  deep?: {
2513
- enabled?: boolean | undefined;
2514
- pro?: boolean | undefined;
2515
- max?: boolean | undefined;
2516
- provider?: string | undefined;
2517
- api_key?: string | undefined;
2518
- api_base_url?: string | undefined;
2519
- model_name?: string | undefined;
2520
- model_path?: string | undefined;
2521
- threads?: number | undefined;
2522
2131
  max_tokens?: number | undefined;
2523
2132
  temperature?: number | undefined;
2524
2133
  timeout_ms?: number | undefined;
@@ -2546,16 +2155,11 @@ export declare const ConfigSchema: z.ZodObject<{
2546
2155
  max_file_lines?: number | undefined;
2547
2156
  forbid_todos?: boolean | undefined;
2548
2157
  forbid_fixme?: boolean | undefined;
2549
- forbid_paths?: string[] | undefined;
2550
2158
  required_files?: string[] | undefined;
2551
2159
  ast?: {
2552
2160
  complexity?: number | undefined;
2553
2161
  max_methods?: number | undefined;
2554
2162
  max_params?: number | undefined;
2555
- max_nesting?: number | undefined;
2556
- max_inheritance_depth?: number | undefined;
2557
- max_class_dependencies?: number | undefined;
2558
- max_function_lines?: number | undefined;
2559
2163
  } | undefined;
2560
2164
  staleness?: {
2561
2165
  enabled?: boolean | undefined;
@@ -2563,7 +2167,6 @@ export declare const ConfigSchema: z.ZodObject<{
2563
2167
  } | undefined;
2564
2168
  dependencies?: {
2565
2169
  forbid?: string[] | undefined;
2566
- trusted_registry?: string | undefined;
2567
2170
  detect_unused?: boolean | undefined;
2568
2171
  detect_heavy_alternatives?: boolean | undefined;
2569
2172
  detect_duplicate_purpose?: boolean | undefined;
@@ -2584,11 +2187,6 @@ export declare const ConfigSchema: z.ZodObject<{
2584
2187
  enabled?: boolean | undefined;
2585
2188
  sensitivity?: number | undefined;
2586
2189
  mining_depth?: number | undefined;
2587
- ignored_patterns?: string[] | undefined;
2588
- cross_file_patterns?: boolean | undefined;
2589
- naming_consistency?: boolean | undefined;
2590
- import_relationships?: boolean | undefined;
2591
- max_cross_file_depth?: number | undefined;
2592
2190
  } | undefined;
2593
2191
  environment?: {
2594
2192
  enabled?: boolean | undefined;
@@ -2599,14 +2197,11 @@ export declare const ConfigSchema: z.ZodObject<{
2599
2197
  retry_loop_breaker?: {
2600
2198
  enabled?: boolean | undefined;
2601
2199
  max_retries?: number | undefined;
2602
- auto_classify?: boolean | undefined;
2603
2200
  doc_sources?: Record<string, string> | undefined;
2604
2201
  } | undefined;
2605
2202
  agent_team?: {
2606
2203
  enabled?: boolean | undefined;
2607
2204
  max_concurrent_agents?: number | undefined;
2608
- cross_agent_pattern_check?: boolean | undefined;
2609
- handoff_verification?: boolean | undefined;
2610
2205
  task_ownership?: "strict" | "collaborative" | undefined;
2611
2206
  } | undefined;
2612
2207
  checkpoint?: {
@@ -2614,7 +2209,6 @@ export declare const ConfigSchema: z.ZodObject<{
2614
2209
  interval_minutes?: number | undefined;
2615
2210
  quality_threshold?: number | undefined;
2616
2211
  drift_detection?: boolean | undefined;
2617
- auto_save_on_failure?: boolean | undefined;
2618
2212
  } | undefined;
2619
2213
  security?: {
2620
2214
  enabled?: boolean | undefined;
@@ -2637,13 +2231,6 @@ export declare const ConfigSchema: z.ZodObject<{
2637
2231
  server_path_patterns?: string[] | undefined;
2638
2232
  allowlist_env_names?: string[] | undefined;
2639
2233
  } | undefined;
2640
- adaptive?: {
2641
- enabled?: boolean | undefined;
2642
- base_coverage_threshold?: number | undefined;
2643
- base_quality_threshold?: number | undefined;
2644
- auto_detect_tier?: boolean | undefined;
2645
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
2646
- } | undefined;
2647
2234
  duplication_drift?: {
2648
2235
  enabled?: boolean | undefined;
2649
2236
  similarity_threshold?: number | undefined;
@@ -2651,8 +2238,6 @@ export declare const ConfigSchema: z.ZodObject<{
2651
2238
  } | undefined;
2652
2239
  hallucinated_imports?: {
2653
2240
  enabled?: boolean | undefined;
2654
- check_relative?: boolean | undefined;
2655
- check_packages?: boolean | undefined;
2656
2241
  ignore_patterns?: string[] | undefined;
2657
2242
  } | undefined;
2658
2243
  inconsistent_error_handling?: {
@@ -2697,11 +2282,9 @@ export declare const ConfigSchema: z.ZodObject<{
2697
2282
  } | undefined;
2698
2283
  test_quality?: {
2699
2284
  enabled?: boolean | undefined;
2700
- ignore_patterns?: string[] | undefined;
2701
2285
  check_empty_tests?: boolean | undefined;
2702
2286
  check_tautological?: boolean | undefined;
2703
2287
  check_mock_heavy?: boolean | undefined;
2704
- check_snapshot_abuse?: boolean | undefined;
2705
2288
  check_assertion_free_async?: boolean | undefined;
2706
2289
  max_mocks_per_test?: number | undefined;
2707
2290
  } | undefined;
@@ -2714,14 +2297,6 @@ export declare const ConfigSchema: z.ZodObject<{
2714
2297
  protected_skills_paths?: string[] | undefined;
2715
2298
  exempt_paths?: string[] | undefined;
2716
2299
  } | undefined;
2717
- input_validation?: {
2718
- enabled?: boolean | undefined;
2719
- ignore_patterns?: string[] | undefined;
2720
- block_on_detection?: boolean | undefined;
2721
- min_secret_length?: number | undefined;
2722
- custom_patterns?: string[] | undefined;
2723
- audit_log?: boolean | undefined;
2724
- } | undefined;
2725
2300
  unindexed_reads?: {
2726
2301
  enabled?: boolean | undefined;
2727
2302
  migrations?: string[] | undefined;
@@ -2743,6 +2318,7 @@ export declare const ConfigSchema: z.ZodObject<{
2743
2318
  redundancy?: {
2744
2319
  enabled?: boolean | undefined;
2745
2320
  wire_contracts?: string[] | undefined;
2321
+ schema_migrations?: string[] | undefined;
2746
2322
  } | undefined;
2747
2323
  optional_params?: {
2748
2324
  enabled?: boolean | undefined;
@@ -2789,31 +2365,12 @@ export declare const ConfigSchema: z.ZodObject<{
2789
2365
  } | undefined;
2790
2366
  }>>>;
2791
2367
  hooks: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2792
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2793
- tools: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["claude", "cursor", "cline", "windsurf"]>, "many">>>;
2794
- fast_gates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2795
- timeout_ms: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2796
- block_on_failure: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2797
2368
  /** Stop hook: hold "done" until the agent acknowledges each risky changed function (rigour_review_ack). */
2798
2369
  require_review_ack: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2799
- /** Enable DLP (Data Loss Prevention) pre-input hooks — default ON for security */
2800
- dlp: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2801
2370
  }, "strip", z.ZodTypeAny, {
2802
- enabled: boolean;
2803
- tools: ("claude" | "cursor" | "cline" | "windsurf")[];
2804
- timeout_ms: number;
2805
- fast_gates: string[];
2806
- block_on_failure: boolean;
2807
2371
  require_review_ack: boolean;
2808
- dlp: boolean;
2809
2372
  }, {
2810
- enabled?: boolean | undefined;
2811
- tools?: ("claude" | "cursor" | "cline" | "windsurf")[] | undefined;
2812
- timeout_ms?: number | undefined;
2813
- fast_gates?: string[] | undefined;
2814
- block_on_failure?: boolean | undefined;
2815
2373
  require_review_ack?: boolean | undefined;
2816
- dlp?: boolean | undefined;
2817
2374
  }>>>;
2818
2375
  output: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2819
2376
  report_path: z.ZodDefault<z.ZodString>;
@@ -2848,6 +2405,38 @@ export declare const ConfigSchema: z.ZodObject<{
2848
2405
  /** A model per reviewer name, e.g. { cursor: "auto" }. */
2849
2406
  models: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
2850
2407
  timeout_ms: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2408
+ /**
2409
+ * With two vendors: match their findings, cross-examine only what one raised, and block only on what is
2410
+ * confirmed (review/reviewer/panel.ts). `on` implies mode full. `required`: no user or run may turn it off,
2411
+ * and a run without two vendors is unavailable instead of falling back to one.
2412
+ */
2413
+ panel: z.ZodDefault<z.ZodOptional<z.ZodEnum<["off", "on", "required"]>>>;
2414
+ /** No user or run may review with fewer than the team's mode (a protected branch, CI). */
2415
+ mode_required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2416
+ /**
2417
+ * Whether people may dismiss a reviewer finding as not a bug (`rigour dismiss <id>`, Studio). Off by default:
2418
+ * a wrong finding is fixed by improving the reviewer, a right one by fixing the code. A team decision only.
2419
+ */
2420
+ dismissals: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2421
+ /** Findings cross-examined per review at most; the rest are shown as disputed. */
2422
+ panel_max_items: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2423
+ /**
2424
+ * Spending caps per repository and local day, unset by default. Runs are checked before any judge starts
2425
+ * (a cross-examination counts too); dollars are the ones the CLIs reported, so a cap stops new reviews once
2426
+ * reached. Past a cap a review is skipped, or unavailable when the team requires the reviewer.
2427
+ */
2428
+ max_runs_per_day: z.ZodOptional<z.ZodNumber>;
2429
+ max_usd_per_day: z.ZodOptional<z.ZodNumber>;
2430
+ /** Judges in a full or panel review, each from a different vendor; capped by the vendors installed. */
2431
+ judges: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>]>>>;
2432
+ /**
2433
+ * When a full or panel review adds judges. `always`: every review. `risk`: only when the change has a
2434
+ * risky function (the router's score), a human review exists, or the run is the --full hard stop; any
2435
+ * other change gets one judge. Measured against `always` by the backtest before you rely on it.
2436
+ */
2437
+ escalate: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "risk"]>>>;
2438
+ /** A model per reviewer name for cross-examination (a narrow verification task), e.g. { claude: "haiku" }. */
2439
+ cross_models: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
2851
2440
  }, "strip", z.ZodTypeAny, {
2852
2441
  enabled: boolean;
2853
2442
  mode: "single" | "cross" | "full";
@@ -2855,7 +2444,16 @@ export declare const ConfigSchema: z.ZodObject<{
2855
2444
  on_push: "off" | "background" | "wait";
2856
2445
  reviewers: string[];
2857
2446
  models: Record<string, string>;
2447
+ panel: "off" | "on" | "required";
2448
+ mode_required: boolean;
2449
+ dismissals: boolean;
2450
+ panel_max_items: number;
2451
+ judges: 2 | 3;
2452
+ escalate: "always" | "risk";
2453
+ cross_models: Record<string, string>;
2858
2454
  model?: string | undefined;
2455
+ max_runs_per_day?: number | undefined;
2456
+ max_usd_per_day?: number | undefined;
2859
2457
  }, {
2860
2458
  enabled?: boolean | undefined;
2861
2459
  mode?: "single" | "cross" | "full" | undefined;
@@ -2864,6 +2462,15 @@ export declare const ConfigSchema: z.ZodObject<{
2864
2462
  reviewers?: string[] | undefined;
2865
2463
  model?: string | undefined;
2866
2464
  models?: Record<string, string> | undefined;
2465
+ panel?: "off" | "on" | "required" | undefined;
2466
+ mode_required?: boolean | undefined;
2467
+ dismissals?: boolean | undefined;
2468
+ panel_max_items?: number | undefined;
2469
+ max_runs_per_day?: number | undefined;
2470
+ max_usd_per_day?: number | undefined;
2471
+ judges?: 2 | 3 | undefined;
2472
+ escalate?: "always" | "risk" | undefined;
2473
+ cross_models?: Record<string, string> | undefined;
2867
2474
  }>>>;
2868
2475
  }, "strip", z.ZodTypeAny, {
2869
2476
  include_heuristics: boolean;
@@ -2875,7 +2482,16 @@ export declare const ConfigSchema: z.ZodObject<{
2875
2482
  on_push: "off" | "background" | "wait";
2876
2483
  reviewers: string[];
2877
2484
  models: Record<string, string>;
2485
+ panel: "off" | "on" | "required";
2486
+ mode_required: boolean;
2487
+ dismissals: boolean;
2488
+ panel_max_items: number;
2489
+ judges: 2 | 3;
2490
+ escalate: "always" | "risk";
2491
+ cross_models: Record<string, string>;
2878
2492
  model?: string | undefined;
2493
+ max_runs_per_day?: number | undefined;
2494
+ max_usd_per_day?: number | undefined;
2879
2495
  };
2880
2496
  github_account?: string | undefined;
2881
2497
  }, {
@@ -2890,13 +2506,20 @@ export declare const ConfigSchema: z.ZodObject<{
2890
2506
  reviewers?: string[] | undefined;
2891
2507
  model?: string | undefined;
2892
2508
  models?: Record<string, string> | undefined;
2509
+ panel?: "off" | "on" | "required" | undefined;
2510
+ mode_required?: boolean | undefined;
2511
+ dismissals?: boolean | undefined;
2512
+ panel_max_items?: number | undefined;
2513
+ max_runs_per_day?: number | undefined;
2514
+ max_usd_per_day?: number | undefined;
2515
+ judges?: 2 | 3 | undefined;
2516
+ escalate?: "always" | "risk" | undefined;
2517
+ cross_models?: Record<string, string> | undefined;
2893
2518
  } | undefined;
2894
2519
  }>>>;
2895
- planned: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2896
2520
  ignore: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2897
2521
  }, "strip", z.ZodTypeAny, {
2898
2522
  ignore: string[];
2899
- version: number;
2900
2523
  commands: {
2901
2524
  format?: string | undefined;
2902
2525
  lint?: string | undefined;
@@ -2905,11 +2528,6 @@ export declare const ConfigSchema: z.ZodObject<{
2905
2528
  };
2906
2529
  gates: {
2907
2530
  deep: {
2908
- enabled: boolean;
2909
- pro: boolean;
2910
- max: boolean;
2911
- provider: string;
2912
- threads: number;
2913
2531
  temperature: number;
2914
2532
  intent_checks: boolean;
2915
2533
  checks: {
@@ -2922,10 +2540,6 @@ export declare const ConfigSchema: z.ZodObject<{
2922
2540
  error_handling: boolean;
2923
2541
  code_smells: boolean;
2924
2542
  };
2925
- api_key?: string | undefined;
2926
- api_base_url?: string | undefined;
2927
- model_name?: string | undefined;
2928
- model_path?: string | undefined;
2929
2543
  max_tokens?: number | undefined;
2930
2544
  timeout_ms?: number | undefined;
2931
2545
  budget_ms?: number | undefined;
@@ -2941,16 +2555,11 @@ export declare const ConfigSchema: z.ZodObject<{
2941
2555
  max_file_lines: number;
2942
2556
  forbid_todos: boolean;
2943
2557
  forbid_fixme: boolean;
2944
- forbid_paths: string[];
2945
2558
  required_files: string[];
2946
2559
  ast: {
2947
2560
  complexity: number;
2948
2561
  max_methods: number;
2949
2562
  max_params: number;
2950
- max_nesting: number;
2951
- max_inheritance_depth: number;
2952
- max_class_dependencies: number;
2953
- max_function_lines: number;
2954
2563
  };
2955
2564
  staleness: {
2956
2565
  enabled: boolean;
@@ -2962,7 +2571,6 @@ export declare const ConfigSchema: z.ZodObject<{
2962
2571
  detect_heavy_alternatives: boolean;
2963
2572
  detect_duplicate_purpose: boolean;
2964
2573
  unused_allowlist: string[];
2965
- trusted_registry?: string | undefined;
2966
2574
  };
2967
2575
  architecture: {
2968
2576
  boundaries: {
@@ -2979,11 +2587,6 @@ export declare const ConfigSchema: z.ZodObject<{
2979
2587
  enabled: boolean;
2980
2588
  sensitivity: number;
2981
2589
  mining_depth: number;
2982
- ignored_patterns: string[];
2983
- cross_file_patterns: boolean;
2984
- naming_consistency: boolean;
2985
- import_relationships: boolean;
2986
- max_cross_file_depth: number;
2987
2590
  };
2988
2591
  environment: {
2989
2592
  enabled: boolean;
@@ -2994,14 +2597,11 @@ export declare const ConfigSchema: z.ZodObject<{
2994
2597
  retry_loop_breaker: {
2995
2598
  enabled: boolean;
2996
2599
  max_retries: number;
2997
- auto_classify: boolean;
2998
2600
  doc_sources: Record<string, string>;
2999
2601
  };
3000
2602
  agent_team: {
3001
2603
  enabled: boolean;
3002
2604
  max_concurrent_agents: number;
3003
- cross_agent_pattern_check: boolean;
3004
- handoff_verification: boolean;
3005
2605
  task_ownership: "strict" | "collaborative";
3006
2606
  };
3007
2607
  checkpoint: {
@@ -3009,7 +2609,6 @@ export declare const ConfigSchema: z.ZodObject<{
3009
2609
  interval_minutes: number;
3010
2610
  quality_threshold: number;
3011
2611
  drift_detection: boolean;
3012
- auto_save_on_failure: boolean;
3013
2612
  };
3014
2613
  security: {
3015
2614
  enabled: boolean;
@@ -3032,13 +2631,6 @@ export declare const ConfigSchema: z.ZodObject<{
3032
2631
  server_path_patterns: string[];
3033
2632
  allowlist_env_names: string[];
3034
2633
  };
3035
- adaptive: {
3036
- enabled: boolean;
3037
- base_coverage_threshold: number;
3038
- base_quality_threshold: number;
3039
- auto_detect_tier: boolean;
3040
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
3041
- };
3042
2634
  duplication_drift: {
3043
2635
  enabled: boolean;
3044
2636
  similarity_threshold: number;
@@ -3046,8 +2638,6 @@ export declare const ConfigSchema: z.ZodObject<{
3046
2638
  };
3047
2639
  hallucinated_imports: {
3048
2640
  enabled: boolean;
3049
- check_relative: boolean;
3050
- check_packages: boolean;
3051
2641
  ignore_patterns: string[];
3052
2642
  };
3053
2643
  inconsistent_error_handling: {
@@ -3092,11 +2682,9 @@ export declare const ConfigSchema: z.ZodObject<{
3092
2682
  };
3093
2683
  test_quality: {
3094
2684
  enabled: boolean;
3095
- ignore_patterns: string[];
3096
2685
  check_empty_tests: boolean;
3097
2686
  check_tautological: boolean;
3098
2687
  check_mock_heavy: boolean;
3099
- check_snapshot_abuse: boolean;
3100
2688
  check_assertion_free_async: boolean;
3101
2689
  max_mocks_per_test: number;
3102
2690
  };
@@ -3109,14 +2697,6 @@ export declare const ConfigSchema: z.ZodObject<{
3109
2697
  protected_skills_paths: string[];
3110
2698
  exempt_paths: string[];
3111
2699
  };
3112
- input_validation: {
3113
- enabled: boolean;
3114
- ignore_patterns: string[];
3115
- block_on_detection: boolean;
3116
- min_secret_length: number;
3117
- custom_patterns: string[];
3118
- audit_log: boolean;
3119
- };
3120
2700
  unindexed_reads: {
3121
2701
  enabled: boolean;
3122
2702
  migrations: string[];
@@ -3138,6 +2718,7 @@ export declare const ConfigSchema: z.ZodObject<{
3138
2718
  redundancy: {
3139
2719
  enabled: boolean;
3140
2720
  wire_contracts: string[];
2721
+ schema_migrations: string[];
3141
2722
  };
3142
2723
  optional_params: {
3143
2724
  enabled: boolean;
@@ -3184,13 +2765,7 @@ export declare const ConfigSchema: z.ZodObject<{
3184
2765
  };
3185
2766
  };
3186
2767
  hooks: {
3187
- enabled: boolean;
3188
- tools: ("claude" | "cursor" | "cline" | "windsurf")[];
3189
- timeout_ms: number;
3190
- fast_gates: string[];
3191
- block_on_failure: boolean;
3192
2768
  require_review_ack: boolean;
3193
- dlp: boolean;
3194
2769
  };
3195
2770
  output: {
3196
2771
  report_path: string;
@@ -3205,16 +2780,23 @@ export declare const ConfigSchema: z.ZodObject<{
3205
2780
  on_push: "off" | "background" | "wait";
3206
2781
  reviewers: string[];
3207
2782
  models: Record<string, string>;
2783
+ panel: "off" | "on" | "required";
2784
+ mode_required: boolean;
2785
+ dismissals: boolean;
2786
+ panel_max_items: number;
2787
+ judges: 2 | 3;
2788
+ escalate: "always" | "risk";
2789
+ cross_models: Record<string, string>;
3208
2790
  model?: string | undefined;
2791
+ max_runs_per_day?: number | undefined;
2792
+ max_usd_per_day?: number | undefined;
3209
2793
  };
3210
2794
  github_account?: string | undefined;
3211
2795
  };
3212
- planned: string[];
3213
2796
  preset?: string | undefined;
3214
2797
  paradigm?: string | undefined;
3215
2798
  }, {
3216
2799
  ignore?: string[] | undefined;
3217
- version?: number | undefined;
3218
2800
  preset?: string | undefined;
3219
2801
  paradigm?: string | undefined;
3220
2802
  commands?: {
@@ -3225,15 +2807,6 @@ export declare const ConfigSchema: z.ZodObject<{
3225
2807
  } | undefined;
3226
2808
  gates?: {
3227
2809
  deep?: {
3228
- enabled?: boolean | undefined;
3229
- pro?: boolean | undefined;
3230
- max?: boolean | undefined;
3231
- provider?: string | undefined;
3232
- api_key?: string | undefined;
3233
- api_base_url?: string | undefined;
3234
- model_name?: string | undefined;
3235
- model_path?: string | undefined;
3236
- threads?: number | undefined;
3237
2810
  max_tokens?: number | undefined;
3238
2811
  temperature?: number | undefined;
3239
2812
  timeout_ms?: number | undefined;
@@ -3261,16 +2834,11 @@ export declare const ConfigSchema: z.ZodObject<{
3261
2834
  max_file_lines?: number | undefined;
3262
2835
  forbid_todos?: boolean | undefined;
3263
2836
  forbid_fixme?: boolean | undefined;
3264
- forbid_paths?: string[] | undefined;
3265
2837
  required_files?: string[] | undefined;
3266
2838
  ast?: {
3267
2839
  complexity?: number | undefined;
3268
2840
  max_methods?: number | undefined;
3269
2841
  max_params?: number | undefined;
3270
- max_nesting?: number | undefined;
3271
- max_inheritance_depth?: number | undefined;
3272
- max_class_dependencies?: number | undefined;
3273
- max_function_lines?: number | undefined;
3274
2842
  } | undefined;
3275
2843
  staleness?: {
3276
2844
  enabled?: boolean | undefined;
@@ -3278,7 +2846,6 @@ export declare const ConfigSchema: z.ZodObject<{
3278
2846
  } | undefined;
3279
2847
  dependencies?: {
3280
2848
  forbid?: string[] | undefined;
3281
- trusted_registry?: string | undefined;
3282
2849
  detect_unused?: boolean | undefined;
3283
2850
  detect_heavy_alternatives?: boolean | undefined;
3284
2851
  detect_duplicate_purpose?: boolean | undefined;
@@ -3299,11 +2866,6 @@ export declare const ConfigSchema: z.ZodObject<{
3299
2866
  enabled?: boolean | undefined;
3300
2867
  sensitivity?: number | undefined;
3301
2868
  mining_depth?: number | undefined;
3302
- ignored_patterns?: string[] | undefined;
3303
- cross_file_patterns?: boolean | undefined;
3304
- naming_consistency?: boolean | undefined;
3305
- import_relationships?: boolean | undefined;
3306
- max_cross_file_depth?: number | undefined;
3307
2869
  } | undefined;
3308
2870
  environment?: {
3309
2871
  enabled?: boolean | undefined;
@@ -3314,14 +2876,11 @@ export declare const ConfigSchema: z.ZodObject<{
3314
2876
  retry_loop_breaker?: {
3315
2877
  enabled?: boolean | undefined;
3316
2878
  max_retries?: number | undefined;
3317
- auto_classify?: boolean | undefined;
3318
2879
  doc_sources?: Record<string, string> | undefined;
3319
2880
  } | undefined;
3320
2881
  agent_team?: {
3321
2882
  enabled?: boolean | undefined;
3322
2883
  max_concurrent_agents?: number | undefined;
3323
- cross_agent_pattern_check?: boolean | undefined;
3324
- handoff_verification?: boolean | undefined;
3325
2884
  task_ownership?: "strict" | "collaborative" | undefined;
3326
2885
  } | undefined;
3327
2886
  checkpoint?: {
@@ -3329,7 +2888,6 @@ export declare const ConfigSchema: z.ZodObject<{
3329
2888
  interval_minutes?: number | undefined;
3330
2889
  quality_threshold?: number | undefined;
3331
2890
  drift_detection?: boolean | undefined;
3332
- auto_save_on_failure?: boolean | undefined;
3333
2891
  } | undefined;
3334
2892
  security?: {
3335
2893
  enabled?: boolean | undefined;
@@ -3352,13 +2910,6 @@ export declare const ConfigSchema: z.ZodObject<{
3352
2910
  server_path_patterns?: string[] | undefined;
3353
2911
  allowlist_env_names?: string[] | undefined;
3354
2912
  } | undefined;
3355
- adaptive?: {
3356
- enabled?: boolean | undefined;
3357
- base_coverage_threshold?: number | undefined;
3358
- base_quality_threshold?: number | undefined;
3359
- auto_detect_tier?: boolean | undefined;
3360
- forced_tier?: "hobby" | "startup" | "enterprise" | undefined;
3361
- } | undefined;
3362
2913
  duplication_drift?: {
3363
2914
  enabled?: boolean | undefined;
3364
2915
  similarity_threshold?: number | undefined;
@@ -3366,8 +2917,6 @@ export declare const ConfigSchema: z.ZodObject<{
3366
2917
  } | undefined;
3367
2918
  hallucinated_imports?: {
3368
2919
  enabled?: boolean | undefined;
3369
- check_relative?: boolean | undefined;
3370
- check_packages?: boolean | undefined;
3371
2920
  ignore_patterns?: string[] | undefined;
3372
2921
  } | undefined;
3373
2922
  inconsistent_error_handling?: {
@@ -3412,11 +2961,9 @@ export declare const ConfigSchema: z.ZodObject<{
3412
2961
  } | undefined;
3413
2962
  test_quality?: {
3414
2963
  enabled?: boolean | undefined;
3415
- ignore_patterns?: string[] | undefined;
3416
2964
  check_empty_tests?: boolean | undefined;
3417
2965
  check_tautological?: boolean | undefined;
3418
2966
  check_mock_heavy?: boolean | undefined;
3419
- check_snapshot_abuse?: boolean | undefined;
3420
2967
  check_assertion_free_async?: boolean | undefined;
3421
2968
  max_mocks_per_test?: number | undefined;
3422
2969
  } | undefined;
@@ -3429,14 +2976,6 @@ export declare const ConfigSchema: z.ZodObject<{
3429
2976
  protected_skills_paths?: string[] | undefined;
3430
2977
  exempt_paths?: string[] | undefined;
3431
2978
  } | undefined;
3432
- input_validation?: {
3433
- enabled?: boolean | undefined;
3434
- ignore_patterns?: string[] | undefined;
3435
- block_on_detection?: boolean | undefined;
3436
- min_secret_length?: number | undefined;
3437
- custom_patterns?: string[] | undefined;
3438
- audit_log?: boolean | undefined;
3439
- } | undefined;
3440
2979
  unindexed_reads?: {
3441
2980
  enabled?: boolean | undefined;
3442
2981
  migrations?: string[] | undefined;
@@ -3458,6 +2997,7 @@ export declare const ConfigSchema: z.ZodObject<{
3458
2997
  redundancy?: {
3459
2998
  enabled?: boolean | undefined;
3460
2999
  wire_contracts?: string[] | undefined;
3000
+ schema_migrations?: string[] | undefined;
3461
3001
  } | undefined;
3462
3002
  optional_params?: {
3463
3003
  enabled?: boolean | undefined;
@@ -3504,13 +3044,7 @@ export declare const ConfigSchema: z.ZodObject<{
3504
3044
  } | undefined;
3505
3045
  } | undefined;
3506
3046
  hooks?: {
3507
- enabled?: boolean | undefined;
3508
- tools?: ("claude" | "cursor" | "cline" | "windsurf")[] | undefined;
3509
- timeout_ms?: number | undefined;
3510
- fast_gates?: string[] | undefined;
3511
- block_on_failure?: boolean | undefined;
3512
3047
  require_review_ack?: boolean | undefined;
3513
- dlp?: boolean | undefined;
3514
3048
  } | undefined;
3515
3049
  output?: {
3516
3050
  report_path?: string | undefined;
@@ -3527,9 +3061,17 @@ export declare const ConfigSchema: z.ZodObject<{
3527
3061
  reviewers?: string[] | undefined;
3528
3062
  model?: string | undefined;
3529
3063
  models?: Record<string, string> | undefined;
3064
+ panel?: "off" | "on" | "required" | undefined;
3065
+ mode_required?: boolean | undefined;
3066
+ dismissals?: boolean | undefined;
3067
+ panel_max_items?: number | undefined;
3068
+ max_runs_per_day?: number | undefined;
3069
+ max_usd_per_day?: number | undefined;
3070
+ judges?: 2 | 3 | undefined;
3071
+ escalate?: "always" | "risk" | undefined;
3072
+ cross_models?: Record<string, string> | undefined;
3530
3073
  } | undefined;
3531
3074
  } | undefined;
3532
- planned?: string[] | undefined;
3533
3075
  }>;
3534
3076
  export type Gates = z.infer<typeof GatesSchema>;
3535
3077
  export type Commands = z.infer<typeof CommandsSchema>;
@@ -3728,7 +3270,7 @@ export declare const ReportSchema: z.ZodObject<{
3728
3270
  } | undefined;
3729
3271
  model?: string | undefined;
3730
3272
  error?: string | undefined;
3731
- tier?: "deep" | "max" | "lite" | "legacy" | "cloud" | undefined;
3273
+ tier?: "deep" | "lite" | "legacy" | "max" | "cloud" | undefined;
3732
3274
  model_fallback?: boolean | undefined;
3733
3275
  total_ms?: number | undefined;
3734
3276
  files_analyzed?: number | undefined;
@@ -3756,7 +3298,7 @@ export declare const ReportSchema: z.ZodObject<{
3756
3298
  } | undefined;
3757
3299
  model?: string | undefined;
3758
3300
  error?: string | undefined;
3759
- tier?: "deep" | "max" | "lite" | "legacy" | "cloud" | undefined;
3301
+ tier?: "deep" | "lite" | "legacy" | "max" | "cloud" | undefined;
3760
3302
  model_fallback?: boolean | undefined;
3761
3303
  total_ms?: number | undefined;
3762
3304
  files_analyzed?: number | undefined;
@@ -3787,7 +3329,7 @@ export declare const ReportSchema: z.ZodObject<{
3787
3329
  } | undefined;
3788
3330
  model?: string | undefined;
3789
3331
  error?: string | undefined;
3790
- tier?: "deep" | "max" | "lite" | "legacy" | "cloud" | undefined;
3332
+ tier?: "deep" | "lite" | "legacy" | "max" | "cloud" | undefined;
3791
3333
  model_fallback?: boolean | undefined;
3792
3334
  total_ms?: number | undefined;
3793
3335
  files_analyzed?: number | undefined;
@@ -3830,7 +3372,7 @@ export declare const ReportSchema: z.ZodObject<{
3830
3372
  } | undefined;
3831
3373
  model?: string | undefined;
3832
3374
  error?: string | undefined;
3833
- tier?: "deep" | "max" | "lite" | "legacy" | "cloud" | undefined;
3375
+ tier?: "deep" | "lite" | "legacy" | "max" | "cloud" | undefined;
3834
3376
  model_fallback?: boolean | undefined;
3835
3377
  total_ms?: number | undefined;
3836
3378
  files_analyzed?: number | undefined;
@@ -3875,7 +3417,7 @@ export declare const ReportSchema: z.ZodObject<{
3875
3417
  } | undefined;
3876
3418
  model?: string | undefined;
3877
3419
  error?: string | undefined;
3878
- tier?: "deep" | "max" | "lite" | "legacy" | "cloud" | undefined;
3420
+ tier?: "deep" | "lite" | "legacy" | "max" | "cloud" | undefined;
3879
3421
  model_fallback?: boolean | undefined;
3880
3422
  total_ms?: number | undefined;
3881
3423
  files_analyzed?: number | undefined;
@@ -3938,7 +3480,7 @@ export declare const ReportSchema: z.ZodObject<{
3938
3480
  } | undefined;
3939
3481
  model?: string | undefined;
3940
3482
  error?: string | undefined;
3941
- tier?: "deep" | "max" | "lite" | "legacy" | "cloud" | undefined;
3483
+ tier?: "deep" | "lite" | "legacy" | "max" | "cloud" | undefined;
3942
3484
  model_fallback?: boolean | undefined;
3943
3485
  total_ms?: number | undefined;
3944
3486
  files_analyzed?: number | undefined;