@manehorizons/cadence-types 1.1.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 (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +5 -0
  3. package/dist/anomaly.d.ts +42 -0
  4. package/dist/anomaly.d.ts.map +1 -0
  5. package/dist/anomaly.js +42 -0
  6. package/dist/anomaly.js.map +1 -0
  7. package/dist/config.d.ts +825 -0
  8. package/dist/config.d.ts.map +1 -0
  9. package/dist/config.js +234 -0
  10. package/dist/config.js.map +1 -0
  11. package/dist/events.d.ts +30 -0
  12. package/dist/events.d.ts.map +1 -0
  13. package/dist/events.js +20 -0
  14. package/dist/events.js.map +1 -0
  15. package/dist/host.d.ts +10 -0
  16. package/dist/host.d.ts.map +1 -0
  17. package/dist/host.js +2 -0
  18. package/dist/host.js.map +1 -0
  19. package/dist/index.d.ts +11 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +11 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/intelligence.d.ts +1876 -0
  24. package/dist/intelligence.d.ts.map +1 -0
  25. package/dist/intelligence.js +321 -0
  26. package/dist/intelligence.js.map +1 -0
  27. package/dist/plan.d.ts +168 -0
  28. package/dist/plan.d.ts.map +1 -0
  29. package/dist/plan.js +36 -0
  30. package/dist/plan.js.map +1 -0
  31. package/dist/profile.d.ts +23 -0
  32. package/dist/profile.d.ts.map +1 -0
  33. package/dist/profile.js +32 -0
  34. package/dist/profile.js.map +1 -0
  35. package/dist/spec.d.ts +67 -0
  36. package/dist/spec.d.ts.map +1 -0
  37. package/dist/spec.js +19 -0
  38. package/dist/spec.js.map +1 -0
  39. package/dist/state.d.ts +256 -0
  40. package/dist/state.d.ts.map +1 -0
  41. package/dist/state.js +81 -0
  42. package/dist/state.js.map +1 -0
  43. package/dist/summary.d.ts +283 -0
  44. package/dist/summary.d.ts.map +1 -0
  45. package/dist/summary.js +42 -0
  46. package/dist/summary.js.map +1 -0
  47. package/package.json +46 -0
@@ -0,0 +1,825 @@
1
+ import { z } from 'zod';
2
+ export declare const CadenceConfigZ: z.ZodObject<{
3
+ $schema: z.ZodOptional<z.ZodString>;
4
+ schemaVersion: z.ZodLiteral<1>;
5
+ /** User-involvement profile per DESIGN.md Section 3.1. Defaults to `auto`. */
6
+ profile: z.ZodDefault<z.ZodEnum<["strict", "standard", "auto"]>>;
7
+ loopEnforcement: z.ZodEnum<["strict", "soft", "reminder"]>;
8
+ acDiscipline: z.ZodEnum<["strict", "tier-scaled", "optional"]>;
9
+ workstreamBackend: z.ZodUnion<[z.ZodEnum<["simple", "multi-branch"]>, z.ZodString]>;
10
+ ruleProvider: z.ZodUnion<[z.ZodEnum<["trigger-taxonomy", "carl"]>, z.ZodString]>;
11
+ subagentPolicy: z.ZodObject<{
12
+ contextBudgetThreshold: z.ZodNumber;
13
+ largeTaskTokens: z.ZodNumber;
14
+ mechanicalBatchMin: z.ZodNumber;
15
+ }, "strip", z.ZodTypeAny, {
16
+ contextBudgetThreshold: number;
17
+ largeTaskTokens: number;
18
+ mechanicalBatchMin: number;
19
+ }, {
20
+ contextBudgetThreshold: number;
21
+ largeTaskTokens: number;
22
+ mechanicalBatchMin: number;
23
+ }>;
24
+ modelPerClass: z.ZodObject<{
25
+ mechanical: z.ZodString;
26
+ standard: z.ZodString;
27
+ complex: z.ZodString;
28
+ drafting: z.ZodString;
29
+ }, "strip", z.ZodTypeAny, {
30
+ standard: string;
31
+ mechanical: string;
32
+ complex: string;
33
+ drafting: string;
34
+ }, {
35
+ standard: string;
36
+ mechanical: string;
37
+ complex: string;
38
+ drafting: string;
39
+ }>;
40
+ commitCadence: z.ZodEnum<["task", "draft", "manual"]>;
41
+ templates: z.ZodObject<{
42
+ dir: z.ZodString;
43
+ overrides: z.ZodArray<z.ZodString, "many">;
44
+ }, "strip", z.ZodTypeAny, {
45
+ dir: string;
46
+ overrides: string[];
47
+ }, {
48
+ dir: string;
49
+ overrides: string[];
50
+ }>;
51
+ hooks: z.ZodObject<{
52
+ sessionStart: z.ZodBoolean;
53
+ stopReminder: z.ZodBoolean;
54
+ preToolUseBuildGate: z.ZodBoolean;
55
+ userPromptSubmit: z.ZodBoolean;
56
+ }, "strip", z.ZodTypeAny, {
57
+ sessionStart: boolean;
58
+ stopReminder: boolean;
59
+ preToolUseBuildGate: boolean;
60
+ userPromptSubmit: boolean;
61
+ }, {
62
+ sessionStart: boolean;
63
+ stopReminder: boolean;
64
+ preToolUseBuildGate: boolean;
65
+ userPromptSubmit: boolean;
66
+ }>;
67
+ packs: z.ZodObject<{
68
+ enabled: z.ZodArray<z.ZodString, "many">;
69
+ disabled: z.ZodArray<z.ZodString, "many">;
70
+ }, "strip", z.ZodTypeAny, {
71
+ enabled: string[];
72
+ disabled: string[];
73
+ }, {
74
+ enabled: string[];
75
+ disabled: string[];
76
+ }>;
77
+ telemetry: z.ZodObject<{
78
+ tokenUtilization: z.ZodBoolean;
79
+ skillInvocations: z.ZodBoolean;
80
+ remoteOptIn: z.ZodBoolean;
81
+ }, "strip", z.ZodTypeAny, {
82
+ tokenUtilization: boolean;
83
+ skillInvocations: boolean;
84
+ remoteOptIn: boolean;
85
+ }, {
86
+ tokenUtilization: boolean;
87
+ skillInvocations: boolean;
88
+ remoteOptIn: boolean;
89
+ }>;
90
+ skillAudit: z.ZodDefault<z.ZodObject<{
91
+ required: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ required: string[];
94
+ }, {
95
+ required?: string[] | undefined;
96
+ }>>;
97
+ convergence: z.ZodDefault<z.ZodObject<{
98
+ maxAttempts: z.ZodDefault<z.ZodNumber>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ maxAttempts: number;
101
+ }, {
102
+ maxAttempts?: number | undefined;
103
+ }>>;
104
+ specReview: z.ZodDefault<z.ZodObject<{
105
+ provider: z.ZodDefault<z.ZodEnum<["mock", "anthropic", "local"]>>;
106
+ model: z.ZodOptional<z.ZodString>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ provider: "mock" | "anthropic" | "local";
109
+ model?: string | undefined;
110
+ }, {
111
+ provider?: "mock" | "anthropic" | "local" | undefined;
112
+ model?: string | undefined;
113
+ }>>;
114
+ tier: z.ZodObject<{
115
+ quickFix: z.ZodObject<{
116
+ maxTasks: z.ZodNumber;
117
+ maxFiles: z.ZodNumber;
118
+ }, "strip", z.ZodTypeAny, {
119
+ maxTasks: number;
120
+ maxFiles: number;
121
+ }, {
122
+ maxTasks: number;
123
+ maxFiles: number;
124
+ }>;
125
+ standard: z.ZodObject<{
126
+ maxTasks: z.ZodNumber;
127
+ maxFiles: z.ZodNumber;
128
+ }, "strip", z.ZodTypeAny, {
129
+ maxTasks: number;
130
+ maxFiles: number;
131
+ }, {
132
+ maxTasks: number;
133
+ maxFiles: number;
134
+ }>;
135
+ complex: z.ZodObject<{
136
+ maxTasks: z.ZodNumber;
137
+ minTasks: z.ZodNumber;
138
+ }, "strip", z.ZodTypeAny, {
139
+ maxTasks: number;
140
+ minTasks: number;
141
+ }, {
142
+ maxTasks: number;
143
+ minTasks: number;
144
+ }>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ standard: {
147
+ maxTasks: number;
148
+ maxFiles: number;
149
+ };
150
+ complex: {
151
+ maxTasks: number;
152
+ minTasks: number;
153
+ };
154
+ quickFix: {
155
+ maxTasks: number;
156
+ maxFiles: number;
157
+ };
158
+ }, {
159
+ standard: {
160
+ maxTasks: number;
161
+ maxFiles: number;
162
+ };
163
+ complex: {
164
+ maxTasks: number;
165
+ minTasks: number;
166
+ };
167
+ quickFix: {
168
+ maxTasks: number;
169
+ maxFiles: number;
170
+ };
171
+ }>;
172
+ verification: z.ZodDefault<z.ZodObject<{
173
+ /**
174
+ * Glob patterns the test-coverage scanner walks. Supports `**` and `*`.
175
+ * Default scans the workspace `packages/**\/*.test.ts(x)`.
176
+ */
177
+ testGlobs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
178
+ /**
179
+ * Shell command the `build-test-must-pass` gate runs at settle time
180
+ * (Phase 39.2). When set, settle runs it and refuses on a non-zero exit
181
+ * unless `--allow-failing-build` / `--force`. When absent, the gate is
182
+ * evaluated but cannot enforce — it passes with a one-time note.
183
+ */
184
+ testCommand: z.ZodOptional<z.ZodString>;
185
+ }, "strip", z.ZodTypeAny, {
186
+ testGlobs: string[];
187
+ testCommand?: string | undefined;
188
+ }, {
189
+ testGlobs?: string[] | undefined;
190
+ testCommand?: string | undefined;
191
+ }>>;
192
+ verifier: z.ZodDefault<z.ZodObject<{
193
+ /**
194
+ * `--deep` verifier provider selection (Phase 15). `mock` always works
195
+ * offline; `anthropic` requires ANTHROPIC_API_KEY in env.
196
+ */
197
+ provider: z.ZodDefault<z.ZodEnum<["mock", "anthropic", "local"]>>;
198
+ /** Optional model override for the Anthropic provider. */
199
+ model: z.ZodOptional<z.ZodString>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ provider: "mock" | "anthropic" | "local";
202
+ model?: string | undefined;
203
+ }, {
204
+ provider?: "mock" | "anthropic" | "local" | undefined;
205
+ model?: string | undefined;
206
+ }>>;
207
+ perTaskVerifier: z.ZodDefault<z.ZodObject<{
208
+ /**
209
+ * Per-task verifier provider selection (Phase 24.2). Fires at
210
+ * `cadence build task <id> --status=DONE` when `'per-task-verify'`
211
+ * is in the effective gate set (strict×standard, strict×complex).
212
+ */
213
+ provider: z.ZodDefault<z.ZodEnum<["mock", "anthropic", "local"]>>;
214
+ /** Optional model override for the Anthropic provider. */
215
+ model: z.ZodOptional<z.ZodString>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ provider: "mock" | "anthropic" | "local";
218
+ model?: string | undefined;
219
+ }, {
220
+ provider?: "mock" | "anthropic" | "local" | undefined;
221
+ model?: string | undefined;
222
+ }>>;
223
+ codeReview: z.ZodDefault<z.ZodObject<{
224
+ /**
225
+ * Code-review verifier provider selection (Phase 24.3). Fires at
226
+ * `cadence settle run` when `'code-review'` is in the effective
227
+ * gate set. HIGH findings refuse settle unless `--force` /
228
+ * `--allow-code-review-failure`.
229
+ */
230
+ provider: z.ZodDefault<z.ZodEnum<["mock", "anthropic", "local"]>>;
231
+ /** Optional model override for the Anthropic provider. */
232
+ model: z.ZodOptional<z.ZodString>;
233
+ }, "strip", z.ZodTypeAny, {
234
+ provider: "mock" | "anthropic" | "local";
235
+ model?: string | undefined;
236
+ }, {
237
+ provider?: "mock" | "anthropic" | "local" | undefined;
238
+ model?: string | undefined;
239
+ }>>;
240
+ planReview: z.ZodDefault<z.ZodObject<{
241
+ /**
242
+ * Plan-review verifier provider selection (Phase 25.1). Fires at
243
+ * `cadence draft approve` when `'plan-review'` is in the effective
244
+ * gate set (strict×complex). `pass=false` refuses approve unless
245
+ * `--allow-plan-review-failure`.
246
+ */
247
+ provider: z.ZodDefault<z.ZodEnum<["mock", "anthropic", "local"]>>;
248
+ /** Optional model override for the Anthropic provider. */
249
+ model: z.ZodOptional<z.ZodString>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ provider: "mock" | "anthropic" | "local";
252
+ model?: string | undefined;
253
+ }, {
254
+ provider?: "mock" | "anthropic" | "local" | undefined;
255
+ model?: string | undefined;
256
+ }>>;
257
+ securityAudit: z.ZodDefault<z.ZodObject<{
258
+ /**
259
+ * Security-audit verifier provider selection (Phase 25.2). Fires at
260
+ * `cadence settle run` (after code-review, before SUMMARY write)
261
+ * when `'security-audit'` is in the effective gate set
262
+ * (strict×complex only). CRITICAL findings refuse settle unless
263
+ * `--force` / `--allow-security-audit-failure`.
264
+ */
265
+ provider: z.ZodDefault<z.ZodEnum<["mock", "anthropic", "local"]>>;
266
+ /** Optional model override for the Anthropic provider. */
267
+ model: z.ZodOptional<z.ZodString>;
268
+ }, "strip", z.ZodTypeAny, {
269
+ provider: "mock" | "anthropic" | "local";
270
+ model?: string | undefined;
271
+ }, {
272
+ provider?: "mock" | "anthropic" | "local" | undefined;
273
+ model?: string | undefined;
274
+ }>>;
275
+ notify: z.ZodDefault<z.ZodEffects<z.ZodObject<{
276
+ /**
277
+ * Anomaly-event transport. `stderr` (default) writes one line per event;
278
+ * `file` appends NDJSON to `notify.file`; `none` drops events;
279
+ * `webhook` POSTs `{events: [...]}` JSON to `notify.webhook.url`
280
+ * (Phase 19.1). Only fires when `'anomaly-notify'` is in the
281
+ * effective gate set.
282
+ */
283
+ transport: z.ZodDefault<z.ZodEnum<["stderr", "file", "none", "webhook"]>>;
284
+ /** Path for the `file` transport. Defaults to `.cadence/anomalies.log`. */
285
+ file: z.ZodOptional<z.ZodString>;
286
+ /**
287
+ * Webhook target for the `webhook` transport (Phase 19.1). Required
288
+ * when transport === 'webhook'; ignored otherwise. URL is sensitive
289
+ * (may carry a token); never logged on failure.
290
+ */
291
+ webhook: z.ZodOptional<z.ZodObject<{
292
+ url: z.ZodString;
293
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
294
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
295
+ }, "strip", z.ZodTypeAny, {
296
+ url: string;
297
+ headers?: Record<string, string> | undefined;
298
+ timeoutMs?: number | undefined;
299
+ }, {
300
+ url: string;
301
+ headers?: Record<string, string> | undefined;
302
+ timeoutMs?: number | undefined;
303
+ }>>;
304
+ }, "strip", z.ZodTypeAny, {
305
+ transport: "stderr" | "file" | "none" | "webhook";
306
+ file?: string | undefined;
307
+ webhook?: {
308
+ url: string;
309
+ headers?: Record<string, string> | undefined;
310
+ timeoutMs?: number | undefined;
311
+ } | undefined;
312
+ }, {
313
+ file?: string | undefined;
314
+ webhook?: {
315
+ url: string;
316
+ headers?: Record<string, string> | undefined;
317
+ timeoutMs?: number | undefined;
318
+ } | undefined;
319
+ transport?: "stderr" | "file" | "none" | "webhook" | undefined;
320
+ }>, {
321
+ transport: "stderr" | "file" | "none" | "webhook";
322
+ file?: string | undefined;
323
+ webhook?: {
324
+ url: string;
325
+ headers?: Record<string, string> | undefined;
326
+ timeoutMs?: number | undefined;
327
+ } | undefined;
328
+ }, {
329
+ file?: string | undefined;
330
+ webhook?: {
331
+ url: string;
332
+ headers?: Record<string, string> | undefined;
333
+ timeoutMs?: number | undefined;
334
+ } | undefined;
335
+ transport?: "stderr" | "file" | "none" | "webhook" | undefined;
336
+ }>>;
337
+ }, "strip", z.ZodTypeAny, {
338
+ schemaVersion: 1;
339
+ profile: "strict" | "standard" | "auto";
340
+ loopEnforcement: "strict" | "soft" | "reminder";
341
+ acDiscipline: "strict" | "tier-scaled" | "optional";
342
+ workstreamBackend: string;
343
+ ruleProvider: string;
344
+ subagentPolicy: {
345
+ contextBudgetThreshold: number;
346
+ largeTaskTokens: number;
347
+ mechanicalBatchMin: number;
348
+ };
349
+ modelPerClass: {
350
+ standard: string;
351
+ mechanical: string;
352
+ complex: string;
353
+ drafting: string;
354
+ };
355
+ commitCadence: "task" | "draft" | "manual";
356
+ templates: {
357
+ dir: string;
358
+ overrides: string[];
359
+ };
360
+ hooks: {
361
+ sessionStart: boolean;
362
+ stopReminder: boolean;
363
+ preToolUseBuildGate: boolean;
364
+ userPromptSubmit: boolean;
365
+ };
366
+ packs: {
367
+ enabled: string[];
368
+ disabled: string[];
369
+ };
370
+ telemetry: {
371
+ tokenUtilization: boolean;
372
+ skillInvocations: boolean;
373
+ remoteOptIn: boolean;
374
+ };
375
+ skillAudit: {
376
+ required: string[];
377
+ };
378
+ convergence: {
379
+ maxAttempts: number;
380
+ };
381
+ specReview: {
382
+ provider: "mock" | "anthropic" | "local";
383
+ model?: string | undefined;
384
+ };
385
+ tier: {
386
+ standard: {
387
+ maxTasks: number;
388
+ maxFiles: number;
389
+ };
390
+ complex: {
391
+ maxTasks: number;
392
+ minTasks: number;
393
+ };
394
+ quickFix: {
395
+ maxTasks: number;
396
+ maxFiles: number;
397
+ };
398
+ };
399
+ verification: {
400
+ testGlobs: string[];
401
+ testCommand?: string | undefined;
402
+ };
403
+ verifier: {
404
+ provider: "mock" | "anthropic" | "local";
405
+ model?: string | undefined;
406
+ };
407
+ perTaskVerifier: {
408
+ provider: "mock" | "anthropic" | "local";
409
+ model?: string | undefined;
410
+ };
411
+ codeReview: {
412
+ provider: "mock" | "anthropic" | "local";
413
+ model?: string | undefined;
414
+ };
415
+ planReview: {
416
+ provider: "mock" | "anthropic" | "local";
417
+ model?: string | undefined;
418
+ };
419
+ securityAudit: {
420
+ provider: "mock" | "anthropic" | "local";
421
+ model?: string | undefined;
422
+ };
423
+ notify: {
424
+ transport: "stderr" | "file" | "none" | "webhook";
425
+ file?: string | undefined;
426
+ webhook?: {
427
+ url: string;
428
+ headers?: Record<string, string> | undefined;
429
+ timeoutMs?: number | undefined;
430
+ } | undefined;
431
+ };
432
+ $schema?: string | undefined;
433
+ }, {
434
+ schemaVersion: 1;
435
+ loopEnforcement: "strict" | "soft" | "reminder";
436
+ acDiscipline: "strict" | "tier-scaled" | "optional";
437
+ workstreamBackend: string;
438
+ ruleProvider: string;
439
+ subagentPolicy: {
440
+ contextBudgetThreshold: number;
441
+ largeTaskTokens: number;
442
+ mechanicalBatchMin: number;
443
+ };
444
+ modelPerClass: {
445
+ standard: string;
446
+ mechanical: string;
447
+ complex: string;
448
+ drafting: string;
449
+ };
450
+ commitCadence: "task" | "draft" | "manual";
451
+ templates: {
452
+ dir: string;
453
+ overrides: string[];
454
+ };
455
+ hooks: {
456
+ sessionStart: boolean;
457
+ stopReminder: boolean;
458
+ preToolUseBuildGate: boolean;
459
+ userPromptSubmit: boolean;
460
+ };
461
+ packs: {
462
+ enabled: string[];
463
+ disabled: string[];
464
+ };
465
+ telemetry: {
466
+ tokenUtilization: boolean;
467
+ skillInvocations: boolean;
468
+ remoteOptIn: boolean;
469
+ };
470
+ tier: {
471
+ standard: {
472
+ maxTasks: number;
473
+ maxFiles: number;
474
+ };
475
+ complex: {
476
+ maxTasks: number;
477
+ minTasks: number;
478
+ };
479
+ quickFix: {
480
+ maxTasks: number;
481
+ maxFiles: number;
482
+ };
483
+ };
484
+ $schema?: string | undefined;
485
+ profile?: "strict" | "standard" | "auto" | undefined;
486
+ skillAudit?: {
487
+ required?: string[] | undefined;
488
+ } | undefined;
489
+ convergence?: {
490
+ maxAttempts?: number | undefined;
491
+ } | undefined;
492
+ specReview?: {
493
+ provider?: "mock" | "anthropic" | "local" | undefined;
494
+ model?: string | undefined;
495
+ } | undefined;
496
+ verification?: {
497
+ testGlobs?: string[] | undefined;
498
+ testCommand?: string | undefined;
499
+ } | undefined;
500
+ verifier?: {
501
+ provider?: "mock" | "anthropic" | "local" | undefined;
502
+ model?: string | undefined;
503
+ } | undefined;
504
+ perTaskVerifier?: {
505
+ provider?: "mock" | "anthropic" | "local" | undefined;
506
+ model?: string | undefined;
507
+ } | undefined;
508
+ codeReview?: {
509
+ provider?: "mock" | "anthropic" | "local" | undefined;
510
+ model?: string | undefined;
511
+ } | undefined;
512
+ planReview?: {
513
+ provider?: "mock" | "anthropic" | "local" | undefined;
514
+ model?: string | undefined;
515
+ } | undefined;
516
+ securityAudit?: {
517
+ provider?: "mock" | "anthropic" | "local" | undefined;
518
+ model?: string | undefined;
519
+ } | undefined;
520
+ notify?: {
521
+ file?: string | undefined;
522
+ webhook?: {
523
+ url: string;
524
+ headers?: Record<string, string> | undefined;
525
+ timeoutMs?: number | undefined;
526
+ } | undefined;
527
+ transport?: "stderr" | "file" | "none" | "webhook" | undefined;
528
+ } | undefined;
529
+ }>;
530
+ export type CadenceConfig = z.infer<typeof CadenceConfigZ>;
531
+ export declare const defaultConfig: CadenceConfig;
532
+ export declare const presets: {
533
+ solo: {
534
+ loopEnforcement: "reminder";
535
+ acDiscipline: "optional";
536
+ commitCadence: "manual";
537
+ schemaVersion: 1;
538
+ profile: "strict" | "standard" | "auto";
539
+ workstreamBackend: string;
540
+ ruleProvider: string;
541
+ subagentPolicy: {
542
+ contextBudgetThreshold: number;
543
+ largeTaskTokens: number;
544
+ mechanicalBatchMin: number;
545
+ };
546
+ modelPerClass: {
547
+ standard: string;
548
+ mechanical: string;
549
+ complex: string;
550
+ drafting: string;
551
+ };
552
+ templates: {
553
+ dir: string;
554
+ overrides: string[];
555
+ };
556
+ hooks: {
557
+ sessionStart: boolean;
558
+ stopReminder: boolean;
559
+ preToolUseBuildGate: boolean;
560
+ userPromptSubmit: boolean;
561
+ };
562
+ packs: {
563
+ enabled: string[];
564
+ disabled: string[];
565
+ };
566
+ telemetry: {
567
+ tokenUtilization: boolean;
568
+ skillInvocations: boolean;
569
+ remoteOptIn: boolean;
570
+ };
571
+ skillAudit: {
572
+ required: string[];
573
+ };
574
+ convergence: {
575
+ maxAttempts: number;
576
+ };
577
+ specReview: {
578
+ provider: "mock" | "anthropic" | "local";
579
+ model?: string | undefined;
580
+ };
581
+ tier: {
582
+ standard: {
583
+ maxTasks: number;
584
+ maxFiles: number;
585
+ };
586
+ complex: {
587
+ maxTasks: number;
588
+ minTasks: number;
589
+ };
590
+ quickFix: {
591
+ maxTasks: number;
592
+ maxFiles: number;
593
+ };
594
+ };
595
+ verification: {
596
+ testGlobs: string[];
597
+ testCommand?: string | undefined;
598
+ };
599
+ verifier: {
600
+ provider: "mock" | "anthropic" | "local";
601
+ model?: string | undefined;
602
+ };
603
+ perTaskVerifier: {
604
+ provider: "mock" | "anthropic" | "local";
605
+ model?: string | undefined;
606
+ };
607
+ codeReview: {
608
+ provider: "mock" | "anthropic" | "local";
609
+ model?: string | undefined;
610
+ };
611
+ planReview: {
612
+ provider: "mock" | "anthropic" | "local";
613
+ model?: string | undefined;
614
+ };
615
+ securityAudit: {
616
+ provider: "mock" | "anthropic" | "local";
617
+ model?: string | undefined;
618
+ };
619
+ notify: {
620
+ transport: "stderr" | "file" | "none" | "webhook";
621
+ file?: string | undefined;
622
+ webhook?: {
623
+ url: string;
624
+ headers?: Record<string, string> | undefined;
625
+ timeoutMs?: number | undefined;
626
+ } | undefined;
627
+ };
628
+ $schema?: string | undefined;
629
+ };
630
+ team: {
631
+ schemaVersion: 1;
632
+ profile: "strict" | "standard" | "auto";
633
+ loopEnforcement: "strict" | "soft" | "reminder";
634
+ acDiscipline: "strict" | "tier-scaled" | "optional";
635
+ workstreamBackend: string;
636
+ ruleProvider: string;
637
+ subagentPolicy: {
638
+ contextBudgetThreshold: number;
639
+ largeTaskTokens: number;
640
+ mechanicalBatchMin: number;
641
+ };
642
+ modelPerClass: {
643
+ standard: string;
644
+ mechanical: string;
645
+ complex: string;
646
+ drafting: string;
647
+ };
648
+ commitCadence: "task" | "draft" | "manual";
649
+ templates: {
650
+ dir: string;
651
+ overrides: string[];
652
+ };
653
+ hooks: {
654
+ sessionStart: boolean;
655
+ stopReminder: boolean;
656
+ preToolUseBuildGate: boolean;
657
+ userPromptSubmit: boolean;
658
+ };
659
+ packs: {
660
+ enabled: string[];
661
+ disabled: string[];
662
+ };
663
+ telemetry: {
664
+ tokenUtilization: boolean;
665
+ skillInvocations: boolean;
666
+ remoteOptIn: boolean;
667
+ };
668
+ skillAudit: {
669
+ required: string[];
670
+ };
671
+ convergence: {
672
+ maxAttempts: number;
673
+ };
674
+ specReview: {
675
+ provider: "mock" | "anthropic" | "local";
676
+ model?: string | undefined;
677
+ };
678
+ tier: {
679
+ standard: {
680
+ maxTasks: number;
681
+ maxFiles: number;
682
+ };
683
+ complex: {
684
+ maxTasks: number;
685
+ minTasks: number;
686
+ };
687
+ quickFix: {
688
+ maxTasks: number;
689
+ maxFiles: number;
690
+ };
691
+ };
692
+ verification: {
693
+ testGlobs: string[];
694
+ testCommand?: string | undefined;
695
+ };
696
+ verifier: {
697
+ provider: "mock" | "anthropic" | "local";
698
+ model?: string | undefined;
699
+ };
700
+ perTaskVerifier: {
701
+ provider: "mock" | "anthropic" | "local";
702
+ model?: string | undefined;
703
+ };
704
+ codeReview: {
705
+ provider: "mock" | "anthropic" | "local";
706
+ model?: string | undefined;
707
+ };
708
+ planReview: {
709
+ provider: "mock" | "anthropic" | "local";
710
+ model?: string | undefined;
711
+ };
712
+ securityAudit: {
713
+ provider: "mock" | "anthropic" | "local";
714
+ model?: string | undefined;
715
+ };
716
+ notify: {
717
+ transport: "stderr" | "file" | "none" | "webhook";
718
+ file?: string | undefined;
719
+ webhook?: {
720
+ url: string;
721
+ headers?: Record<string, string> | undefined;
722
+ timeoutMs?: number | undefined;
723
+ } | undefined;
724
+ };
725
+ $schema?: string | undefined;
726
+ };
727
+ production: {
728
+ loopEnforcement: "strict";
729
+ acDiscipline: "strict";
730
+ hooks: {
731
+ preToolUseBuildGate: true;
732
+ sessionStart: boolean;
733
+ stopReminder: boolean;
734
+ userPromptSubmit: boolean;
735
+ };
736
+ schemaVersion: 1;
737
+ profile: "strict" | "standard" | "auto";
738
+ workstreamBackend: string;
739
+ ruleProvider: string;
740
+ subagentPolicy: {
741
+ contextBudgetThreshold: number;
742
+ largeTaskTokens: number;
743
+ mechanicalBatchMin: number;
744
+ };
745
+ modelPerClass: {
746
+ standard: string;
747
+ mechanical: string;
748
+ complex: string;
749
+ drafting: string;
750
+ };
751
+ commitCadence: "task" | "draft" | "manual";
752
+ templates: {
753
+ dir: string;
754
+ overrides: string[];
755
+ };
756
+ packs: {
757
+ enabled: string[];
758
+ disabled: string[];
759
+ };
760
+ telemetry: {
761
+ tokenUtilization: boolean;
762
+ skillInvocations: boolean;
763
+ remoteOptIn: boolean;
764
+ };
765
+ skillAudit: {
766
+ required: string[];
767
+ };
768
+ convergence: {
769
+ maxAttempts: number;
770
+ };
771
+ specReview: {
772
+ provider: "mock" | "anthropic" | "local";
773
+ model?: string | undefined;
774
+ };
775
+ tier: {
776
+ standard: {
777
+ maxTasks: number;
778
+ maxFiles: number;
779
+ };
780
+ complex: {
781
+ maxTasks: number;
782
+ minTasks: number;
783
+ };
784
+ quickFix: {
785
+ maxTasks: number;
786
+ maxFiles: number;
787
+ };
788
+ };
789
+ verification: {
790
+ testGlobs: string[];
791
+ testCommand?: string | undefined;
792
+ };
793
+ verifier: {
794
+ provider: "mock" | "anthropic" | "local";
795
+ model?: string | undefined;
796
+ };
797
+ perTaskVerifier: {
798
+ provider: "mock" | "anthropic" | "local";
799
+ model?: string | undefined;
800
+ };
801
+ codeReview: {
802
+ provider: "mock" | "anthropic" | "local";
803
+ model?: string | undefined;
804
+ };
805
+ planReview: {
806
+ provider: "mock" | "anthropic" | "local";
807
+ model?: string | undefined;
808
+ };
809
+ securityAudit: {
810
+ provider: "mock" | "anthropic" | "local";
811
+ model?: string | undefined;
812
+ };
813
+ notify: {
814
+ transport: "stderr" | "file" | "none" | "webhook";
815
+ file?: string | undefined;
816
+ webhook?: {
817
+ url: string;
818
+ headers?: Record<string, string> | undefined;
819
+ timeoutMs?: number | undefined;
820
+ } | undefined;
821
+ };
822
+ $schema?: string | undefined;
823
+ };
824
+ };
825
+ //# sourceMappingURL=config.d.ts.map