@moo.md/hum 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/defaults/hum.json +9 -2
- package/package.json +1 -1
- package/schema/hum.schema.json +208 -7
- package/src/adapters/github.ts +27 -4
- package/src/adapters/registry.ts +2 -1
- package/src/cli/setup.ts +14 -4
- package/src/config/checks.ts +13 -0
- package/src/config/migrate.ts +5 -2
- package/src/config/refusal.ts +8 -2
- package/src/config/schema.ts +67 -5
- package/src/config/wake-job.ts +74 -0
- package/src/service/workflows.ts +164 -47
- package/src/setup/propose.ts +74 -3
- package/src/setup/scan.ts +61 -5
- package/src/setup/tables.ts +18 -0
- package/src/setup/write.ts +50 -17
- package/surface.json +445 -40
package/surface.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"schemaVersion": {
|
|
8
8
|
"type": "number",
|
|
9
|
-
"const":
|
|
9
|
+
"const": 2
|
|
10
10
|
},
|
|
11
11
|
"levels": {
|
|
12
12
|
"minItems": 1,
|
|
@@ -499,10 +499,54 @@
|
|
|
499
499
|
"exclusiveMinimum": 0,
|
|
500
500
|
"maximum": 9007199254740991
|
|
501
501
|
},
|
|
502
|
-
"
|
|
503
|
-
"default":
|
|
504
|
-
|
|
505
|
-
|
|
502
|
+
"pullRequestToken": {
|
|
503
|
+
"default": {
|
|
504
|
+
"from": "secret",
|
|
505
|
+
"secret": "HUM_GITHUB_TOKEN"
|
|
506
|
+
},
|
|
507
|
+
"oneOf": [
|
|
508
|
+
{
|
|
509
|
+
"type": "object",
|
|
510
|
+
"properties": {
|
|
511
|
+
"from": {
|
|
512
|
+
"type": "string",
|
|
513
|
+
"const": "secret"
|
|
514
|
+
},
|
|
515
|
+
"secret": {
|
|
516
|
+
"type": "string",
|
|
517
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"required": [
|
|
521
|
+
"from",
|
|
522
|
+
"secret"
|
|
523
|
+
],
|
|
524
|
+
"additionalProperties": false
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"type": "object",
|
|
528
|
+
"properties": {
|
|
529
|
+
"from": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"const": "app"
|
|
532
|
+
},
|
|
533
|
+
"clientIdSecret": {
|
|
534
|
+
"type": "string",
|
|
535
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
536
|
+
},
|
|
537
|
+
"privateKeySecret": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
"required": [
|
|
543
|
+
"from",
|
|
544
|
+
"clientIdSecret",
|
|
545
|
+
"privateKeySecret"
|
|
546
|
+
],
|
|
547
|
+
"additionalProperties": false
|
|
548
|
+
}
|
|
549
|
+
]
|
|
506
550
|
},
|
|
507
551
|
"ciWakeTimeoutMinutes": {
|
|
508
552
|
"default": 60,
|
|
@@ -510,6 +554,159 @@
|
|
|
510
554
|
"exclusiveMinimum": 0,
|
|
511
555
|
"maximum": 9007199254740991
|
|
512
556
|
},
|
|
557
|
+
"ciRunner": {
|
|
558
|
+
"default": "ubuntu-latest",
|
|
559
|
+
"anyOf": [
|
|
560
|
+
{
|
|
561
|
+
"anyOf": [
|
|
562
|
+
{
|
|
563
|
+
"type": "string",
|
|
564
|
+
"minLength": 1
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"minItems": 1,
|
|
568
|
+
"type": "array",
|
|
569
|
+
"items": {
|
|
570
|
+
"type": "string",
|
|
571
|
+
"minLength": 1
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
]
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"type": "object",
|
|
578
|
+
"properties": {
|
|
579
|
+
"group": {
|
|
580
|
+
"type": "string",
|
|
581
|
+
"minLength": 1
|
|
582
|
+
},
|
|
583
|
+
"labels": {
|
|
584
|
+
"anyOf": [
|
|
585
|
+
{
|
|
586
|
+
"type": "string",
|
|
587
|
+
"minLength": 1
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"minItems": 1,
|
|
591
|
+
"type": "array",
|
|
592
|
+
"items": {
|
|
593
|
+
"type": "string",
|
|
594
|
+
"minLength": 1
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
]
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"required": [
|
|
601
|
+
"group"
|
|
602
|
+
],
|
|
603
|
+
"additionalProperties": false
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
},
|
|
607
|
+
"ciContainer": {
|
|
608
|
+
"default": null,
|
|
609
|
+
"anyOf": [
|
|
610
|
+
{
|
|
611
|
+
"anyOf": [
|
|
612
|
+
{
|
|
613
|
+
"type": "string",
|
|
614
|
+
"minLength": 1
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"type": "object",
|
|
618
|
+
"properties": {
|
|
619
|
+
"image": {
|
|
620
|
+
"type": "string",
|
|
621
|
+
"minLength": 1
|
|
622
|
+
},
|
|
623
|
+
"credentials": {
|
|
624
|
+
"type": "object",
|
|
625
|
+
"properties": {
|
|
626
|
+
"username": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"minLength": 1
|
|
629
|
+
},
|
|
630
|
+
"password": {
|
|
631
|
+
"type": "string",
|
|
632
|
+
"minLength": 1
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
"required": [
|
|
636
|
+
"username",
|
|
637
|
+
"password"
|
|
638
|
+
],
|
|
639
|
+
"additionalProperties": false
|
|
640
|
+
},
|
|
641
|
+
"env": {
|
|
642
|
+
"type": "object",
|
|
643
|
+
"propertyNames": {
|
|
644
|
+
"type": "string",
|
|
645
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
646
|
+
},
|
|
647
|
+
"additionalProperties": {
|
|
648
|
+
"type": "string"
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
"ports": {
|
|
652
|
+
"type": "array",
|
|
653
|
+
"items": {
|
|
654
|
+
"anyOf": [
|
|
655
|
+
{
|
|
656
|
+
"type": "string",
|
|
657
|
+
"minLength": 1
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"type": "integer",
|
|
661
|
+
"exclusiveMinimum": 0,
|
|
662
|
+
"maximum": 9007199254740991
|
|
663
|
+
}
|
|
664
|
+
]
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
"volumes": {
|
|
668
|
+
"type": "array",
|
|
669
|
+
"items": {
|
|
670
|
+
"type": "string",
|
|
671
|
+
"minLength": 1
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"options": {
|
|
675
|
+
"type": "string",
|
|
676
|
+
"minLength": 1
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
"required": [
|
|
680
|
+
"image"
|
|
681
|
+
],
|
|
682
|
+
"additionalProperties": false
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"type": "null"
|
|
688
|
+
}
|
|
689
|
+
]
|
|
690
|
+
},
|
|
691
|
+
"ciEnv": {
|
|
692
|
+
"default": {},
|
|
693
|
+
"type": "object",
|
|
694
|
+
"propertyNames": {
|
|
695
|
+
"type": "string",
|
|
696
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
697
|
+
},
|
|
698
|
+
"additionalProperties": {
|
|
699
|
+
"type": "string"
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"ciClaudeAuth": {
|
|
703
|
+
"default": "oauth-token",
|
|
704
|
+
"type": "string",
|
|
705
|
+
"enum": [
|
|
706
|
+
"oauth-token",
|
|
707
|
+
"env"
|
|
708
|
+
]
|
|
709
|
+
},
|
|
513
710
|
"strictPaths": {
|
|
514
711
|
"default": [],
|
|
515
712
|
"type": "array",
|
|
@@ -1274,7 +1471,7 @@
|
|
|
1274
1471
|
"additionalProperties": false
|
|
1275
1472
|
},
|
|
1276
1473
|
"defaults": {
|
|
1277
|
-
"schemaVersion":
|
|
1474
|
+
"schemaVersion": 2,
|
|
1278
1475
|
"levels": [
|
|
1279
1476
|
{
|
|
1280
1477
|
"name": "low",
|
|
@@ -1414,7 +1611,14 @@
|
|
|
1414
1611
|
},
|
|
1415
1612
|
"restartDelaySeconds": 10,
|
|
1416
1613
|
"ciWakeTimeoutMinutes": 60,
|
|
1417
|
-
"
|
|
1614
|
+
"pullRequestToken": {
|
|
1615
|
+
"from": "secret",
|
|
1616
|
+
"secret": "HUM_GITHUB_TOKEN"
|
|
1617
|
+
},
|
|
1618
|
+
"ciRunner": "ubuntu-latest",
|
|
1619
|
+
"ciContainer": null,
|
|
1620
|
+
"ciEnv": {},
|
|
1621
|
+
"ciClaudeAuth": "oauth-token",
|
|
1418
1622
|
"strictPaths": [],
|
|
1419
1623
|
"launches": [],
|
|
1420
1624
|
"sizeRange": {
|
|
@@ -1952,7 +2156,7 @@
|
|
|
1952
2156
|
"src/state/format.ts": {
|
|
1953
2157
|
"ENGINE_VERSION": {
|
|
1954
2158
|
"type": "string",
|
|
1955
|
-
"value": "0.
|
|
2159
|
+
"value": "0.3.0"
|
|
1956
2160
|
},
|
|
1957
2161
|
"Envelope": {
|
|
1958
2162
|
"type": "export type Envelope = z.infer<typeof Envelope>;\n= { format: 1; engineVersion: string; itemId: string; kind: string; machineVersion: string; savedAt: number; snapshot: JSONType; }\nZodObject<{ format: ZodLiteral<1>; engineVersion: ZodString; itemId: ZodString; kind: ZodString; machineVersion: ZodString; savedAt: ZodInt; snapshot: ZodJSONSchema; }, $strip>",
|
|
@@ -2411,7 +2615,7 @@
|
|
|
2411
2615
|
"type": "export type AdmitInput = {\n readonly name: string;\n readonly adapter: Adapter;\n readonly files?: readonly string[];\n readonly root?: string;\n readonly faults: Faults;\n readonly guard: Omit<GuardOptions, \"provider\" | \"faults\">;\n};\n= { readonly name: string; readonly adapter: Adapter; readonly files?: readonly string[] | undefined; readonly root?: string | undefined; readonly faults: Faults; readonly guard: Omit<GuardOptions, \"faults\" | \"provider\">; }"
|
|
2412
2616
|
},
|
|
2413
2617
|
"alignedPlacement": {
|
|
2414
|
-
"type": "(placement: Placement, answer: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }, config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
2618
|
+
"type": "(placement: Placement, answer: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }, config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"levels\" | \"mergeRisk\">) => Placement"
|
|
2415
2619
|
},
|
|
2416
2620
|
"AlignmentAnswer": {
|
|
2417
2621
|
"type": "export type AlignmentAnswer = z.infer<typeof AlignmentAnswer>;\n= { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }\nZodObject<{ alignment: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; verification: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; }, $strict>",
|
|
@@ -2444,7 +2648,7 @@
|
|
|
2444
2648
|
}
|
|
2445
2649
|
},
|
|
2446
2650
|
"alignmentQuestion": {
|
|
2447
|
-
"type": "(item: Pick<{ id: string & $brand<\"ItemId\">; title: string; body: string; ready: boolean; thread: { kind: \"answer\" | \"comment\" | \"decision\" | \"question\"; text: string; at: number; option?: string | undefined; author?: \"hum\" | \"person\" | undefined; }[]; labels?: string[] | undefined; }, \"body\" | \"title\">, diff: string, config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
2651
|
+
"type": "(item: Pick<{ id: string & $brand<\"ItemId\">; title: string; body: string; ready: boolean; thread: { kind: \"answer\" | \"comment\" | \"decision\" | \"question\"; text: string; at: number; option?: string | undefined; author?: \"hum\" | \"person\" | undefined; }[]; labels?: string[] | undefined; }, \"body\" | \"title\">, diff: string, config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"decisionModel\" | \"diffLimit\" | \"measuredModels\" | \"minJudgeRate\">) => { boundary: \"alignment\"; reportOnly: true | undefined; prompt: string; answer: ZodObject<{ alignment: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; verification: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; }, $strict>; }"
|
|
2448
2652
|
},
|
|
2449
2653
|
"Answer": {
|
|
2450
2654
|
"type": "export type Answer = {\n readonly text: string;\n readonly option?: string;\n};\n= { readonly text: string; readonly option?: string | undefined; }"
|
|
@@ -2463,13 +2667,13 @@
|
|
|
2463
2667
|
"value": "background-start-check-failed"
|
|
2464
2668
|
},
|
|
2465
2669
|
"BackgroundOptions": {
|
|
2466
|
-
"type": "export type BackgroundOptions = Pick<RunnerOptions, \"binary\" | \"env\" | \"now\"> & {\n readonly state: Pick<State, \"stops\" | \"faults\" | \"limit\">;\n readonly config: Pick<HumConfig, \"deniedRunCommands\" | \"runAutoMode\" | \"backgroundPollSeconds\" | \"backgroundLaunchSeconds\" | \"commandTimeoutSeconds\">;\n readonly fallback: Runner;\n};\n= Pick<RunnerOptions, \"binary\" | \"env\" | \"now\"> & { readonly state: Pick<{ dir: string; statusPath: string; heartbeatPath: string; inbox: string; stops: string; faults: Faults; items: Items; events: EventLog; ops: OpKeys; runs: RunRecords; parked: Records<ZodObject<{ item: ZodString; why: ZodEnum<{ review: \"review\"; stuck: \"stuck\"; }>; cause: ZodString; since: ZodInt; }, $strip>>; spent: Records<ZodObject<{ item: ZodString; total: ZodInt; base: ZodInt; }, $strip>>; kinds: Records<ZodObject<{ tiers: ZodArray<ZodObject<{ purpose: ZodEnum<{ fix: \"fix\"; review: \"review\"; plan: \"plan\"; build: \"build\"; }>; level: ZodOptional<ZodString>; size: ZodOptional<ZodEnum<{ small: \"small\"; medium: \"medium\"; large: \"large\"; }>>; tier: ZodEnum<{ light: \"light\"; standard: \"standard\"; top: \"top\"; }>; effort: ZodEnum<{ medium: \"medium\"; low: \"low\"; high: \"high\"; }>; }, $strict>>; tokenCap: ZodObject<{ tokens: ZodNumber; overCap: ZodString; }, $strict>; stateMap: ZodOptional<ZodRecord<ZodString, ZodRecord<ZodString, ZodString>>>; machine: ZodObject<{ id: ZodString; version: ZodString; initial: ZodString; states: ZodRecord<ZodString, ZodObject<{ type: ZodOptional<ZodEnum<{ atomic: \"atomic\"; final: \"final\"; }>>; description: ZodOptional<ZodString>; tags: ZodOptional<ZodArray<ZodString>>; invoke: ZodOptional<ZodObject<{ src: ZodString; onDone: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; onError: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; }, $strict>>; on: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; always: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; after: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; timeout: ZodOptional<ZodNumber>; onTimeout: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; entry: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; exit: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; }, $strict>>; }, $strict>; }, $strict>>; limit: Records<ZodObject<{ until: ZodInt; }, $strip>>; ready: Records<ZodObject<{ ids: ZodArray<ZodString>; }, $strip>>; slots: Records<ZodDiscriminatedUnion<[ZodObject<{ status: ZodEnum<{ out: \"out\"; new: \"new\"; free: \"free\"; stale: \"stale\"; }>; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>, ZodObject<{ status: ZodEnum<{ taken: \"taken\"; kept: \"kept\"; }>; item: ZodString; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>], \"status\">>; landings: Records<ZodObject<{ item: ZodString; branch: ZodString; since: ZodInt; change: ZodReadonly<ZodObject<{ paths: ZodReadonly<ZodArray<ZodString>>; size: ZodInt; loosened: ZodBoolean; pinChanged: ZodBoolean; }, $strip>>; head: ZodString; ownerApproved: ZodBoolean; alignment: ZodOptional<ZodUnion<readonly [ZodObject<{ graded: ZodObject<{ alignment: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; verification: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; }, $strict>; }, $strip>, ZodObject<{ abstained: ZodString; }, $strip>]>>; }, $strip>>; learned: Records<ZodObject<{ glob: ZodString; level: ZodString; item: ZodString; commit: ZodString; pull: ZodOptional<ZodString>; at: ZodInt; }, $strip>>; itemKinds: Records<ZodDiscriminatedUnion<[ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"source\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"model\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"fallback\">; why: ZodString; }, $strip>], \"from\">>; plans: Records<ZodObject<{ item: ZodString; plan: ZodObject<{ summary: ZodString; steps: ZodArray<ZodString>; paths: ZodArray<ZodString>; }, $strict>; hash: ZodString; models: ZodArray<ZodString>; }, $strip>>; verdicts: Records<ZodObject<{ item: ZodString; head: ZodString; event: ZodString; reason: ZodString; cites: ZodArray<ZodObject<{ file: ZodString; line: ZodInt; }, $strict>>; models: ZodArray<ZodString>; }, $strip>>; questions: Records<ZodObject<{ item: ZodString; text: ZodString; options: ZodOptional<ZodArray<ZodString>>; detail: ZodOptional<ZodString>; priority: ZodInt; footprint: ZodOptional<ZodArray<ZodString>>; queuedAt: ZodInt; askedAt: ZodOptional<ZodInt>; }, $strip>>; choices: Records<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; at: ZodMiniInt; }, $strip>>; answers: Records<ZodDiscriminatedUnion<[ZodObject<{ source: ZodLiteral<\"marker\">; option: ZodOptional<ZodString>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ model: \"model\"; \"first-word\": \"first-word\"; }>; option: ZodString; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ free: \"free\"; abstained: \"abstained\"; \"none-of-these\": \"none-of-these\"; }>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>], \"source\">>; notes: Records<ZodObject<{ source: ZodEnum<{ fix: \"fix\"; \"review-comment\": \"review-comment\"; \"review-body\": \"review-body\"; \"plan-answer\": \"plan-answer\"; revert: \"revert\"; }>; sourceId: ZodString; change: ZodString; item: ZodOptional<ZodString>; file: ZodOptional<ZodString>; line: ZodOptional<ZodInt>; hunk: ZodString; text: ZodString; at: ZodInt; }, $strip>>; repeats: Records<ZodObject<{ key: ZodString; notes: ZodArray<ZodString>; item: ZodOptional<ZodString>; commented: ZodArray<ZodString>; checked: ZodOptional<ZodObject<{ at: ZodInt; check: ZodString; }, $strip>>; misses: ZodArray<ZodString>; }, $strip>>; possibleRepeats: Records<ZodObject<{ a: ZodString; b: ZodString; models: ZodArray<ZodString>; at: ZodInt; }, $strip>>; merges: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; }, $strip>>; breaks: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; level: ZodString; failure: ZodString; onBreak: ZodEnum<{ \"follow-up\": \"follow-up\"; block: \"block\"; }>; followUp: ZodString; }, $strip>>; proofs: Records<ZodDiscriminatedUnion<[ZodObject<{ passed: ZodLiteral<true>; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>, ZodObject<{ passed: ZodLiteral<false>; reason: ZodString; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>], \"passed\">>; }, \"faults\" | \"limit\" | \"stops\">; readonly config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestTokenSecret: string; ciWakeTimeoutMinutes: number; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 1; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"backgroundLaunchSeconds\" | \"backgroundPollSeconds\" | \"commandTimeoutSeconds\" | \"deniedRunCommands\" | \"runAutoMode\">; readonly fallback: Runner; }"
|
|
2670
|
+
"type": "export type BackgroundOptions = Pick<RunnerOptions, \"binary\" | \"env\" | \"now\"> & {\n readonly state: Pick<State, \"stops\" | \"faults\" | \"limit\">;\n readonly config: Pick<HumConfig, \"deniedRunCommands\" | \"runAutoMode\" | \"backgroundPollSeconds\" | \"backgroundLaunchSeconds\" | \"commandTimeoutSeconds\">;\n readonly fallback: Runner;\n};\n= Pick<RunnerOptions, \"binary\" | \"env\" | \"now\"> & { readonly state: Pick<{ dir: string; statusPath: string; heartbeatPath: string; inbox: string; stops: string; faults: Faults; items: Items; events: EventLog; ops: OpKeys; runs: RunRecords; parked: Records<ZodObject<{ item: ZodString; why: ZodEnum<{ review: \"review\"; stuck: \"stuck\"; }>; cause: ZodString; since: ZodInt; }, $strip>>; spent: Records<ZodObject<{ item: ZodString; total: ZodInt; base: ZodInt; }, $strip>>; kinds: Records<ZodObject<{ tiers: ZodArray<ZodObject<{ purpose: ZodEnum<{ fix: \"fix\"; review: \"review\"; plan: \"plan\"; build: \"build\"; }>; level: ZodOptional<ZodString>; size: ZodOptional<ZodEnum<{ small: \"small\"; medium: \"medium\"; large: \"large\"; }>>; tier: ZodEnum<{ light: \"light\"; standard: \"standard\"; top: \"top\"; }>; effort: ZodEnum<{ medium: \"medium\"; low: \"low\"; high: \"high\"; }>; }, $strict>>; tokenCap: ZodObject<{ tokens: ZodNumber; overCap: ZodString; }, $strict>; stateMap: ZodOptional<ZodRecord<ZodString, ZodRecord<ZodString, ZodString>>>; machine: ZodObject<{ id: ZodString; version: ZodString; initial: ZodString; states: ZodRecord<ZodString, ZodObject<{ type: ZodOptional<ZodEnum<{ atomic: \"atomic\"; final: \"final\"; }>>; description: ZodOptional<ZodString>; tags: ZodOptional<ZodArray<ZodString>>; invoke: ZodOptional<ZodObject<{ src: ZodString; onDone: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; onError: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; }, $strict>>; on: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; always: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; after: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; timeout: ZodOptional<ZodNumber>; onTimeout: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; entry: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; exit: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; }, $strict>>; }, $strict>; }, $strict>>; limit: Records<ZodObject<{ until: ZodInt; }, $strip>>; ready: Records<ZodObject<{ ids: ZodArray<ZodString>; }, $strip>>; slots: Records<ZodDiscriminatedUnion<[ZodObject<{ status: ZodEnum<{ out: \"out\"; new: \"new\"; free: \"free\"; stale: \"stale\"; }>; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>, ZodObject<{ status: ZodEnum<{ taken: \"taken\"; kept: \"kept\"; }>; item: ZodString; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>], \"status\">>; landings: Records<ZodObject<{ item: ZodString; branch: ZodString; since: ZodInt; change: ZodReadonly<ZodObject<{ paths: ZodReadonly<ZodArray<ZodString>>; size: ZodInt; loosened: ZodBoolean; pinChanged: ZodBoolean; }, $strip>>; head: ZodString; ownerApproved: ZodBoolean; alignment: ZodOptional<ZodUnion<readonly [ZodObject<{ graded: ZodObject<{ alignment: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; verification: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; }, $strict>; }, $strip>, ZodObject<{ abstained: ZodString; }, $strip>]>>; }, $strip>>; learned: Records<ZodObject<{ glob: ZodString; level: ZodString; item: ZodString; commit: ZodString; pull: ZodOptional<ZodString>; at: ZodInt; }, $strip>>; itemKinds: Records<ZodDiscriminatedUnion<[ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"source\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"model\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"fallback\">; why: ZodString; }, $strip>], \"from\">>; plans: Records<ZodObject<{ item: ZodString; plan: ZodObject<{ summary: ZodString; steps: ZodArray<ZodString>; paths: ZodArray<ZodString>; }, $strict>; hash: ZodString; models: ZodArray<ZodString>; }, $strip>>; verdicts: Records<ZodObject<{ item: ZodString; head: ZodString; event: ZodString; reason: ZodString; cites: ZodArray<ZodObject<{ file: ZodString; line: ZodInt; }, $strict>>; models: ZodArray<ZodString>; }, $strip>>; questions: Records<ZodObject<{ item: ZodString; text: ZodString; options: ZodOptional<ZodArray<ZodString>>; detail: ZodOptional<ZodString>; priority: ZodInt; footprint: ZodOptional<ZodArray<ZodString>>; queuedAt: ZodInt; askedAt: ZodOptional<ZodInt>; }, $strip>>; choices: Records<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; at: ZodMiniInt; }, $strip>>; answers: Records<ZodDiscriminatedUnion<[ZodObject<{ source: ZodLiteral<\"marker\">; option: ZodOptional<ZodString>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ model: \"model\"; \"first-word\": \"first-word\"; }>; option: ZodString; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ free: \"free\"; abstained: \"abstained\"; \"none-of-these\": \"none-of-these\"; }>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>], \"source\">>; notes: Records<ZodObject<{ source: ZodEnum<{ fix: \"fix\"; \"review-comment\": \"review-comment\"; \"review-body\": \"review-body\"; \"plan-answer\": \"plan-answer\"; revert: \"revert\"; }>; sourceId: ZodString; change: ZodString; item: ZodOptional<ZodString>; file: ZodOptional<ZodString>; line: ZodOptional<ZodInt>; hunk: ZodString; text: ZodString; at: ZodInt; }, $strip>>; repeats: Records<ZodObject<{ key: ZodString; notes: ZodArray<ZodString>; item: ZodOptional<ZodString>; commented: ZodArray<ZodString>; checked: ZodOptional<ZodObject<{ at: ZodInt; check: ZodString; }, $strip>>; misses: ZodArray<ZodString>; }, $strip>>; possibleRepeats: Records<ZodObject<{ a: ZodString; b: ZodString; models: ZodArray<ZodString>; at: ZodInt; }, $strip>>; merges: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; }, $strip>>; breaks: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; level: ZodString; failure: ZodString; onBreak: ZodEnum<{ \"follow-up\": \"follow-up\"; block: \"block\"; }>; followUp: ZodString; }, $strip>>; proofs: Records<ZodDiscriminatedUnion<[ZodObject<{ passed: ZodLiteral<true>; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>, ZodObject<{ passed: ZodLiteral<false>; reason: ZodString; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>], \"passed\">>; }, \"faults\" | \"limit\" | \"stops\">; readonly config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"backgroundLaunchSeconds\" | \"backgroundPollSeconds\" | \"commandTimeoutSeconds\" | \"deniedRunCommands\" | \"runAutoMode\">; readonly fallback: Runner; }"
|
|
2467
2671
|
},
|
|
2468
2672
|
"backgroundRunner": {
|
|
2469
2673
|
"type": "({ binary, env, state, config, fallback, now }: BackgroundOptions) => Runner"
|
|
2470
2674
|
},
|
|
2471
2675
|
"backgroundSettings": {
|
|
2472
|
-
"type": "({ deniedRunCommands, runAutoMode }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
2676
|
+
"type": "({ deniedRunCommands, runAutoMode }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"deniedRunCommands\" | \"runAutoMode\">, stopsFolder: string, env?: Readonly<Record<string, string>>) => { enabledPlugins: { \"hum@moo.md\": boolean; }; env: { GIT_EDITOR: string; }; permissions: { deny: string[]; }; autoMode: { classifyAllShell: boolean; environment: string[]; allow: string[]; hard_deny: string[]; }; hooks: { [k: string]: { hooks: { type: string; command: string; }[]; }[]; }; }"
|
|
2473
2677
|
},
|
|
2474
2678
|
"BackgroundStartOptions": {
|
|
2475
2679
|
"type": "export type BackgroundStartOptions = Omit<RunnerOptions, \"state\"> & Pick<BackgroundOptions, \"config\" | \"state\"> & {\n readonly state: RunnerOptions[\"state\"];\n readonly repo: string;\n};\n= Omit<RunnerOptions, \"state\"> & Pick<BackgroundOptions, \"config\" | \"state\"> & { readonly state: Pick<{ dir: string; statusPath: string; heartbeatPath: string; inbox: string; stops: string; faults: Faults; items: Items; events: EventLog; ops: OpKeys; runs: RunRecords; parked: Records<ZodObject<{ item: ZodString; why: ZodEnum<{ review: \"review\"; stuck: \"stuck\"; }>; cause: ZodString; since: ZodInt; }, $strip>>; spent: Records<ZodObject<{ item: ZodString; total: ZodInt; base: ZodInt; }, $strip>>; kinds: Records<ZodObject<{ tiers: ZodArray<ZodObject<{ purpose: ZodEnum<{ fix: \"fix\"; review: \"review\"; plan: \"plan\"; build: \"build\"; }>; level: ZodOptional<ZodString>; size: ZodOptional<ZodEnum<{ small: \"small\"; medium: \"medium\"; large: \"large\"; }>>; tier: ZodEnum<{ light: \"light\"; standard: \"standard\"; top: \"top\"; }>; effort: ZodEnum<{ medium: \"medium\"; low: \"low\"; high: \"high\"; }>; }, $strict>>; tokenCap: ZodObject<{ tokens: ZodNumber; overCap: ZodString; }, $strict>; stateMap: ZodOptional<ZodRecord<ZodString, ZodRecord<ZodString, ZodString>>>; machine: ZodObject<{ id: ZodString; version: ZodString; initial: ZodString; states: ZodRecord<ZodString, ZodObject<{ type: ZodOptional<ZodEnum<{ atomic: \"atomic\"; final: \"final\"; }>>; description: ZodOptional<ZodString>; tags: ZodOptional<ZodArray<ZodString>>; invoke: ZodOptional<ZodObject<{ src: ZodString; onDone: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; onError: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; }, $strict>>; on: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; always: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; after: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; timeout: ZodOptional<ZodNumber>; onTimeout: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; entry: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; exit: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; }, $strict>>; }, $strict>; }, $strict>>; limit: Records<ZodObject<{ until: ZodInt; }, $strip>>; ready: Records<ZodObject<{ ids: ZodArray<ZodString>; }, $strip>>; slots: Records<ZodDiscriminatedUnion<[ZodObject<{ status: ZodEnum<{ out: \"out\"; new: \"new\"; free: \"free\"; stale: \"stale\"; }>; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>, ZodObject<{ status: ZodEnum<{ taken: \"taken\"; kept: \"kept\"; }>; item: ZodString; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>], \"status\">>; landings: Records<ZodObject<{ item: ZodString; branch: ZodString; since: ZodInt; change: ZodReadonly<ZodObject<{ paths: ZodReadonly<ZodArray<ZodString>>; size: ZodInt; loosened: ZodBoolean; pinChanged: ZodBoolean; }, $strip>>; head: ZodString; ownerApproved: ZodBoolean; alignment: ZodOptional<ZodUnion<readonly [ZodObject<{ graded: ZodObject<{ alignment: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; verification: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; }, $strict>; }, $strip>, ZodObject<{ abstained: ZodString; }, $strip>]>>; }, $strip>>; learned: Records<ZodObject<{ glob: ZodString; level: ZodString; item: ZodString; commit: ZodString; pull: ZodOptional<ZodString>; at: ZodInt; }, $strip>>; itemKinds: Records<ZodDiscriminatedUnion<[ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"source\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"model\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"fallback\">; why: ZodString; }, $strip>], \"from\">>; plans: Records<ZodObject<{ item: ZodString; plan: ZodObject<{ summary: ZodString; steps: ZodArray<ZodString>; paths: ZodArray<ZodString>; }, $strict>; hash: ZodString; models: ZodArray<ZodString>; }, $strip>>; verdicts: Records<ZodObject<{ item: ZodString; head: ZodString; event: ZodString; reason: ZodString; cites: ZodArray<ZodObject<{ file: ZodString; line: ZodInt; }, $strict>>; models: ZodArray<ZodString>; }, $strip>>; questions: Records<ZodObject<{ item: ZodString; text: ZodString; options: ZodOptional<ZodArray<ZodString>>; detail: ZodOptional<ZodString>; priority: ZodInt; footprint: ZodOptional<ZodArray<ZodString>>; queuedAt: ZodInt; askedAt: ZodOptional<ZodInt>; }, $strip>>; choices: Records<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; at: ZodMiniInt; }, $strip>>; answers: Records<ZodDiscriminatedUnion<[ZodObject<{ source: ZodLiteral<\"marker\">; option: ZodOptional<ZodString>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ model: \"model\"; \"first-word\": \"first-word\"; }>; option: ZodString; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ free: \"free\"; abstained: \"abstained\"; \"none-of-these\": \"none-of-these\"; }>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>], \"source\">>; notes: Records<ZodObject<{ source: ZodEnum<{ fix: \"fix\"; \"review-comment\": \"review-comment\"; \"review-body\": \"review-body\"; \"plan-answer\": \"plan-answer\"; revert: \"revert\"; }>; sourceId: ZodString; change: ZodString; item: ZodOptional<ZodString>; file: ZodOptional<ZodString>; line: ZodOptional<ZodInt>; hunk: ZodString; text: ZodString; at: ZodInt; }, $strip>>; repeats: Records<ZodObject<{ key: ZodString; notes: ZodArray<ZodString>; item: ZodOptional<ZodString>; commented: ZodArray<ZodString>; checked: ZodOptional<ZodObject<{ at: ZodInt; check: ZodString; }, $strip>>; misses: ZodArray<ZodString>; }, $strip>>; possibleRepeats: Records<ZodObject<{ a: ZodString; b: ZodString; models: ZodArray<ZodString>; at: ZodInt; }, $strip>>; merges: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; }, $strip>>; breaks: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; level: ZodString; failure: ZodString; onBreak: ZodEnum<{ \"follow-up\": \"follow-up\"; block: \"block\"; }>; followUp: ZodString; }, $strip>>; proofs: Records<ZodDiscriminatedUnion<[ZodObject<{ passed: ZodLiteral<true>; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>, ZodObject<{ passed: ZodLiteral<false>; reason: ZodString; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>], \"passed\">>; }, \"dir\" | \"faults\" | \"limit\">; readonly repo: string; }"
|
|
@@ -2496,7 +2700,7 @@
|
|
|
2496
2700
|
"type": "export type Change = z.infer<typeof Change>;\n= { readonly paths: readonly string[]; readonly size: number; readonly loosened: boolean; readonly pinChanged: boolean; }\nZodReadonly<ZodObject<{ paths: ZodReadonly<ZodArray<ZodString>>; size: ZodInt; loosened: ZodBoolean; pinChanged: ZodBoolean; }, $strip>>"
|
|
2497
2701
|
},
|
|
2498
2702
|
"changeOf": {
|
|
2499
|
-
"type": "(diff: string, { loosenedCheck, lockfiles }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
2703
|
+
"type": "(diff: string, { loosenedCheck, lockfiles }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"lockfiles\" | \"loosenedCheck\">) => Readonly<{ paths: readonly string[]; size: number; loosened: boolean; pinChanged: boolean; }>"
|
|
2500
2704
|
},
|
|
2501
2705
|
"Check": {
|
|
2502
2706
|
"type": "export type Check = {\n readonly name: string;\n readonly run: () => Promise<void>;\n};\n= { readonly name: string; readonly run: () => Promise<void>; }"
|
|
@@ -2664,7 +2868,7 @@
|
|
|
2664
2868
|
"type": "export type CommitLanded = {\n readonly via: \"push\";\n} | {\n readonly via: \"pull-request\";\n readonly pull: Pull;\n readonly merged: boolean;\n} | {\n readonly via: \"conflict\";\n} | {\n readonly via: \"refused\";\n readonly said: string;\n};\n= { readonly via: \"conflict\"; } | { readonly via: \"pull-request\"; readonly pull: Pull; readonly merged: boolean; } | { readonly via: \"push\"; } | { readonly via: \"refused\"; readonly said: string; }"
|
|
2665
2869
|
},
|
|
2666
2870
|
"Config": {
|
|
2667
|
-
"type": "export type Config = {\n readonly hum: HumConfig;\n readonly kinds: Readonly<Record<string, Kind>>;\n readonly roles: Readonly<Record<string, string>>;\n readonly hash: string;\n};\n= { readonly hum: { checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
2871
|
+
"type": "export type Config = {\n readonly hum: HumConfig;\n readonly kinds: Readonly<Record<string, Kind>>;\n readonly roles: Readonly<Record<string, string>>;\n readonly hash: string;\n};\n= { readonly hum: { checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }; readonly kinds: Readonly<Record<string, { tiers: { purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; tier: \"light\" | \"standard\" | \"top\"; effort: \"high\" | \"low\" | \"medium\"; level?: string | undefined; size?: \"large\" | \"medium\" | \"small\" | undefined; }[]; tokenCap: { tokens: number; overCap: string; }; machine: { id: string; version: string; initial: string; states: Record<string, { type?: \"atomic\" | \"final\" | undefined; description?: string | undefined; tags?: string[] | undefined; invoke?: undefined | { src: string; onDone?: undefined | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]; onError?: undefined | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]; }; on?: Record<string, { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]> | undefined; always?: undefined | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]; after?: Record<string, { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]> | undefined; timeout?: number | undefined; onTimeout?: undefined | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]; entry?: undefined | { type: string; params?: unknown; }[]; exit?: undefined | { type: string; params?: unknown; }[]; }>; }; stateMap?: Record<string, Record<string, string>> | undefined; }>>; readonly roles: Readonly<Record<string, string>>; readonly hash: string; }"
|
|
2668
2872
|
},
|
|
2669
2873
|
"ConfigChange": {
|
|
2670
2874
|
"type": "export type ConfigChange = {\n readonly candidate: RawConfig;\n readonly branch: string;\n readonly saved?: readonly SavedItem[];\n};\n= { readonly candidate: RawConfig; readonly branch: string; readonly saved?: readonly SavedItem[] | undefined; }"
|
|
@@ -2673,7 +2877,7 @@
|
|
|
2673
2877
|
"type": "export type ConfigResult = {\n readonly accepted: true;\n readonly config: Config;\n} | {\n readonly accepted: false;\n readonly config: Config | undefined;\n readonly refusals: readonly Refusal[];\n};\n= { readonly accepted: false; readonly config: Config | undefined; readonly refusals: readonly Refusal[]; } | { readonly accepted: true; readonly config: Config; }"
|
|
2674
2878
|
},
|
|
2675
2879
|
"configuredModelCall": {
|
|
2676
|
-
"type": "(runner: Runner, config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
2880
|
+
"type": "(runner: Runner, config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"decisionModel\" | \"measuredModels\" | \"minJudgeRate\" | \"modelCallTimeoutSeconds\">, onSpent?: ((item: string, tokens: number) => void) | undefined) => ModelCall"
|
|
2677
2881
|
},
|
|
2678
2882
|
"contractChecks": {
|
|
2679
2883
|
"type": "(target: ContractTarget) => Check[]"
|
|
@@ -2704,13 +2908,13 @@
|
|
|
2704
2908
|
"type": "(cites: readonly { file: string; line: number; }[], diff: string) => boolean"
|
|
2705
2909
|
},
|
|
2706
2910
|
"doesLeaveDocs": {
|
|
2707
|
-
"type": "(paths: readonly string[], { docsOnly }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
2911
|
+
"type": "(paths: readonly string[], { docsOnly }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"docsOnly\">) => boolean"
|
|
2708
2912
|
},
|
|
2709
2913
|
"doesNeedReviewRun": {
|
|
2710
2914
|
"type": "(route: Route) => boolean"
|
|
2711
2915
|
},
|
|
2712
2916
|
"doesRaiseLevel": {
|
|
2713
|
-
"type": "({ rank, levels, answer, config: { mergeRisk } }: { readonly rank: number; readonly levels: number; readonly answer: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }; readonly config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
2917
|
+
"type": "({ rank, levels, answer, config: { mergeRisk } }: { readonly rank: number; readonly levels: number; readonly answer: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }; readonly config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"mergeRisk\">; }) => boolean"
|
|
2714
2918
|
},
|
|
2715
2919
|
"doOverlap": {
|
|
2716
2920
|
"type": "(a: Footprint, b: Footprint) => boolean"
|
|
@@ -2723,7 +2927,7 @@
|
|
|
2723
2927
|
},
|
|
2724
2928
|
"ENGINE_VERSION": {
|
|
2725
2929
|
"type": "string",
|
|
2726
|
-
"value": "0.
|
|
2930
|
+
"value": "0.3.0"
|
|
2727
2931
|
},
|
|
2728
2932
|
"engineImporters": {
|
|
2729
2933
|
"type": "(files: readonly string[]) => { file: string; module: string; }[]"
|
|
@@ -2995,7 +3199,7 @@
|
|
|
2995
3199
|
"type": "export type GitHubClient = InstanceType<typeof HumOctokit>;\n= Octokit & paginateGraphQLInterface"
|
|
2996
3200
|
},
|
|
2997
3201
|
"GitHubOptions": {
|
|
2998
|
-
"type": "export type GitHubOptions = {\n readonly repo: string;\n readonly base: string;\n readonly claimPrefix: string;\n readonly readyLabel: string;\n readonly mergeMethod: (typeof MERGE_METHODS)[number];\n readonly client?: GitHubClient;\n readonly timeoutMs: number;\n};\n= { readonly repo: string; readonly base: string; readonly claimPrefix: string; readonly readyLabel: string; readonly mergeMethod: \"merge\" | \"rebase\" | \"squash\"; readonly client?: (Octokit & paginateGraphQLInterface) | undefined; readonly timeoutMs: number; }"
|
|
3202
|
+
"type": "export type GitHubOptions = {\n readonly repo: string;\n readonly base: string;\n readonly claimPrefix: string;\n readonly readyLabel: string;\n readonly mergeMethod: (typeof MERGE_METHODS)[number];\n readonly ownerLogins: readonly string[];\n readonly client?: GitHubClient;\n readonly timeoutMs: number;\n};\n= { readonly repo: string; readonly base: string; readonly claimPrefix: string; readonly readyLabel: string; readonly mergeMethod: \"merge\" | \"rebase\" | \"squash\"; readonly ownerLogins: readonly string[]; readonly client?: (Octokit & paginateGraphQLInterface) | undefined; readonly timeoutMs: number; }"
|
|
2999
3203
|
},
|
|
3000
3204
|
"gitHubPullRequests": {
|
|
3001
3205
|
"type": "(repo: string, options: { readonly timeoutMs: number; } & ({ readonly client: () => Promise<Octokit & paginateGraphQLInterface>; } | { readonly env: Readonly<Record<string, string | undefined>>; })) => PullRequests"
|
|
@@ -3027,7 +3231,7 @@
|
|
|
3027
3231
|
"type": "export type Histories = ReadonlyMap<string, PathHistory>;\n= ReadonlyMap<string, PathHistory>"
|
|
3028
3232
|
},
|
|
3029
3233
|
"historiesOf": {
|
|
3030
|
-
"type": "(changes: readonly PastChange[], { paths, changeLabels }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
3234
|
+
"type": "(changes: readonly PastChange[], { paths, changeLabels }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"changeLabels\" | \"paths\">, broken?: ReadonlySet<string>) => Histories"
|
|
3031
3235
|
},
|
|
3032
3236
|
"Holder": {
|
|
3033
3237
|
"type": "export type Holder = z.infer<typeof Holder>;\n= string & $brand<\"Holder\">\n$ZodBranded<ZodString, \"Holder\", \"out\">",
|
|
@@ -3038,14 +3242,14 @@
|
|
|
3038
3242
|
}
|
|
3039
3243
|
},
|
|
3040
3244
|
"HumConfig": {
|
|
3041
|
-
"type": "export type HumConfig = z.infer<typeof HumConfig>;\n= { checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestTokenSecret: string; ciWakeTimeoutMinutes: number; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 1; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }\nZodObject<{ checks: ZodDefault<ZodArray<ZodString>>; kindLabels: ZodDefault<ZodRecord<ZodString, ZodString>>; runPlaces: ZodDefault<ZodArray<ZodEnum<{ mac: \"mac\"; ci: \"ci\"; }>>>; runBranchPrefix: ZodDefault<ZodString>; claimPrefix: ZodDefault<ZodString>; readyLabel: ZodDefault<ZodString>; mergeMethod: ZodDefault<ZodEnum<{ merge: \"merge\"; squash: \"squash\"; rebase: \"rebase\"; }>>; models: ZodDefault<ZodRecord<ZodEnum<{ light: \"light\"; standard: \"standard\"; top: \"top\"; }>, ZodString>>; runners: ZodDefault<ZodInt>; tickIntervalSeconds: ZodDefault<ZodInt>; drainTimeoutSeconds: ZodDefault<ZodInt>; claimExpirySeconds: ZodDefault<ZodInt>; latestVersionCacheSeconds: ZodDefault<ZodInt>; watchCacheSeconds: ZodDefault<ZodInt>; watchLockSeconds: ZodDefault<ZodInt>; maxFixRuns: ZodDefault<ZodInt>; serviceLabel: ZodDefault<ZodString>; maxCrashes: ZodDefault<ZodInt>; crashWindowSeconds: ZodDefault<ZodInt>; workerDownTicks: ZodDefault<ZodInt>; tokenWarnDays: ZodDefault<ZodInt>; ciSchedule: ZodDefault<ZodString>; ciTickCacheSeconds: ZodDefault<ZodInt>; itemsDir: ZodDefault<ZodString>; providerTimeoutSeconds: ZodDefault<ZodInt>; providerBackoff: ZodDefault<ZodObject<{ firstSeconds: ZodNumber; maxSeconds: ZodNumber; }, $strict>>; mergedShown: ZodDefault<ZodInt>; choicesShown: ZodDefault<ZodInt>; statusReadTimeoutSeconds: ZodDefault<ZodInt>; commandTimeoutSeconds: ZodDefault<ZodInt>; mergeTries: ZodDefault<ZodInt>; writeRaceRetries: ZodDefault<ZodInt>; itemReadsAtOnce: ZodDefault<ZodInt>; restartBackoff: ZodDefault<ZodObject<{ firstSeconds: ZodNumber; maxSeconds: ZodNumber; }, $strict>>; restartDelaySeconds: ZodDefault<ZodInt>; pullRequestTokenSecret: ZodDefault<ZodString>; ciWakeTimeoutMinutes: ZodDefault<ZodInt>; strictPaths: ZodDefault<ZodArray<ZodString>>; launches: ZodDefault<ZodArray<ZodUnion<readonly [ZodObject<{ glob: ZodString; level: ZodString; from: ZodISODate; until: ZodISODate; }, $strict>, ZodObject<{ glob: ZodString; level: ZodString; base: ZodString; }, $strict>]>>>; sizeRange: ZodDefault<ZodObject<{ changes: ZodInt; fewest: ZodInt; middle: ZodNumber; }, $strict>>; loosenedCheck: ZodDefault<ZodObject<{ added: ZodArray<ZodString>; removed: ZodArray<ZodString>; }, $strict>>; changeLabels: ZodDefault<ZodObject<{ fixWindow: ZodInt; fixSubject: ZodString; revertSubject: ZodString; revertTrailer: ZodString; }, $strict>>; historyDepth: ZodDefault<ZodInt>; lockfiles: ZodDefault<ZodArray<ZodString>>; hookPaths: ZodDefault<ZodArray<ZodString>>; diffLimit: ZodDefault<ZodInt>; failureTail: ZodDefault<ZodInt>; kindMeanings: ZodDefault<ZodRecord<ZodString, ZodString>>; fallbackKind: ZodDefault<ZodString>; docsOnly: ZodDefault<ZodObject<{ kind: ZodString; paths: ZodArray<ZodString>; }, $strict>>; decisionModel: ZodDefault<ZodString>; modelCallTimeoutSeconds: ZodDefault<ZodInt>; measuredModels: ZodDefault<ZodRecord<ZodEnum<{ kind: \"kind\"; alignment: \"alignment\"; \"plan-outcome\": \"plan-outcome\"; \"review-verdict\": \"review-verdict\"; \"reply-option\": \"reply-option\"; \"repeat-pair\": \"repeat-pair\"; taste: \"taste\"; }>, ZodRecord<ZodString, ZodNumber>>>; minJudgeRate: ZodDefault<ZodNumber>; questionLimits: ZodDefault<ZodObject<{ cells: ZodInt; wordCells: ZodInt; }, $strict>>; questionTimeoutHours: ZodDefault<ZodInt>; priorityLabels: ZodDefault<ZodArray<ZodString>>; undoableLevels: ZodDefault<ZodArray<ZodString>>; ownerBranchPrefix: ZodDefault<ZodString>; backgroundRuns: ZodDefault<ZodBoolean>; backgroundLaunchSeconds: ZodDefault<ZodNumber>; backgroundPollSeconds: ZodDefault<ZodNumber>; deniedRunCommands: ZodDefault<ZodArray<ZodString>>; runAutoMode: ZodDefault<ZodObject<{ environment: ZodArray<ZodString>; allow: ZodArray<ZodString>; hardDeny: ZodArray<ZodString>; }, $strict>>; runSlots: ZodDefault<ZodObject<{ enabled: ZodBoolean; pool: ZodString; services: ZodEnum<{ \"per-slot\": \"per-slot\"; shared: \"shared\"; }>; ports: ZodObject<{ base: ZodInt; stride: ZodInt; }, $strict>; projectPrefix: ZodString; stepTimeoutSeconds: ZodInt; recipe: ZodObject<{ prepare: ZodArray<ZodString>; refresh: ZodArray<ZodObject<{ run: ZodString; when: ZodEnum<{ always: \"always\"; \"lockfile-changed\": \"lockfile-changed\"; }>; }, $strict>>; ready: ZodArray<ZodString>; }, $strict>; }, $strict>>; ownerLogins: ZodDefault<ZodArray<ZodString>>; repeatAt: ZodDefault<ZodInt>; repeatPrecision: ZodDefault<ZodNumber>; tasteRules: ZodDefault<ZodArray<ZodString>>; memoryMaxBytes: ZodDefault<ZodInt>; memoryUnusedRuns: ZodDefault<ZodInt>; measureWindow: ZodDefault<ZodInt>; loopIntervalSeconds: ZodDefault<ZodInt>; proofTimeoutSeconds: ZodDefault<ZodInt>; kindFloors: ZodDefault<ZodRecord<ZodString, ZodString>>; checkKind: ZodDefault<ZodString>; breakCheck: ZodDefault<ZodBoolean>; mergeRisk: ZodDefault<ZodObject<{ weights: ZodRecord<ZodEnum<{ alignment: \"alignment\"; verification: \"verification\"; impact: \"impact\"; rollback: \"rollback\"; errorDetection: \"errorDetection\"; }>, ZodNumber>; cuts: ZodTuple<[ZodNumber, ZodNumber], null>; }, $strict>>; schemaVersion: ZodLiteral<1>; levels: ZodArray<ZodObject<{ name: ZodString; review: ZodEnum<{ none: \"none\"; agent: \"agent\"; owner: \"owner\"; }>; release: ZodEnum<{ \"at-once\": \"at-once\"; \"after-proof\": \"after-proof\"; }>; onBreak: ZodEnum<{ \"follow-up\": \"follow-up\"; block: \"block\"; }>; }, $strict>>; paths: ZodArray<ZodObject<{ glob: ZodString; level: ZodString; proofs: ZodOptional<ZodRecord<ZodString, ZodString>>; limit: ZodOptional<ZodObject<{ fixes: ZodInt; of: ZodInt; }, $strict>>; }, $strict>>; roles: ZodRecord<ZodString, ZodObject<{ file: ZodString; purpose: ZodEnum<{ fix: \"fix\"; review: \"review\"; plan: \"plan\"; build: \"build\"; }>; skills: ZodArray<ZodString>; }, $strict>>; events: ZodRecord<ZodString, ZodObject<{ source: ZodString; }, $strict>>; kinds: ZodArray<ZodString>; safety: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; dailyQuestionCap: ZodOptional<ZodNumber>; integrations: ZodOptional<ZodRecord<ZodString, ZodString>>; ciToken: ZodOptional<ZodObject<{ setUp: ZodISODate; }, $strict>>; commitIdentity: ZodObject<{ name: ZodString; email: ZodString; }, $strict>; }, $strict>",
|
|
3245
|
+
"type": "export type HumConfig = z.infer<typeof HumConfig>;\n= { checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }\nZodObject<{ checks: ZodDefault<ZodArray<ZodString>>; kindLabels: ZodDefault<ZodRecord<ZodString, ZodString>>; runPlaces: ZodDefault<ZodArray<ZodEnum<{ mac: \"mac\"; ci: \"ci\"; }>>>; runBranchPrefix: ZodDefault<ZodString>; claimPrefix: ZodDefault<ZodString>; readyLabel: ZodDefault<ZodString>; mergeMethod: ZodDefault<ZodEnum<{ merge: \"merge\"; squash: \"squash\"; rebase: \"rebase\"; }>>; models: ZodDefault<ZodRecord<ZodEnum<{ light: \"light\"; standard: \"standard\"; top: \"top\"; }>, ZodString>>; runners: ZodDefault<ZodInt>; tickIntervalSeconds: ZodDefault<ZodInt>; drainTimeoutSeconds: ZodDefault<ZodInt>; claimExpirySeconds: ZodDefault<ZodInt>; latestVersionCacheSeconds: ZodDefault<ZodInt>; watchCacheSeconds: ZodDefault<ZodInt>; watchLockSeconds: ZodDefault<ZodInt>; maxFixRuns: ZodDefault<ZodInt>; serviceLabel: ZodDefault<ZodString>; maxCrashes: ZodDefault<ZodInt>; crashWindowSeconds: ZodDefault<ZodInt>; workerDownTicks: ZodDefault<ZodInt>; tokenWarnDays: ZodDefault<ZodInt>; ciSchedule: ZodDefault<ZodString>; ciTickCacheSeconds: ZodDefault<ZodInt>; itemsDir: ZodDefault<ZodString>; providerTimeoutSeconds: ZodDefault<ZodInt>; providerBackoff: ZodDefault<ZodObject<{ firstSeconds: ZodNumber; maxSeconds: ZodNumber; }, $strict>>; mergedShown: ZodDefault<ZodInt>; choicesShown: ZodDefault<ZodInt>; statusReadTimeoutSeconds: ZodDefault<ZodInt>; commandTimeoutSeconds: ZodDefault<ZodInt>; mergeTries: ZodDefault<ZodInt>; writeRaceRetries: ZodDefault<ZodInt>; itemReadsAtOnce: ZodDefault<ZodInt>; restartBackoff: ZodDefault<ZodObject<{ firstSeconds: ZodNumber; maxSeconds: ZodNumber; }, $strict>>; restartDelaySeconds: ZodDefault<ZodInt>; pullRequestToken: ZodDefault<ZodDiscriminatedUnion<[ZodObject<{ from: ZodLiteral<\"secret\">; secret: ZodString; }, $strict>, ZodObject<{ from: ZodLiteral<\"app\">; clientIdSecret: ZodString; privateKeySecret: ZodString; }, $strict>], \"from\">>; ciWakeTimeoutMinutes: ZodDefault<ZodInt>; ciRunner: ZodDefault<ZodUnion<readonly [ZodUnion<readonly [ZodString, ZodArray<ZodString>]>, ZodObject<{ group: ZodString; labels: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>; }, $strict>]>>; ciContainer: ZodDefault<ZodNullable<ZodUnion<readonly [ZodString, ZodObject<{ image: ZodString; credentials: ZodOptional<ZodObject<{ username: ZodString; password: ZodString; }, $strict>>; env: ZodOptional<ZodRecord<ZodString, ZodString>>; ports: ZodOptional<ZodArray<ZodUnion<readonly [ZodString, ZodInt]>>>; volumes: ZodOptional<ZodArray<ZodString>>; options: ZodOptional<ZodString>; }, $strict>]>>>; ciEnv: ZodDefault<ZodRecord<ZodString, ZodString>>; ciClaudeAuth: ZodDefault<ZodEnum<{ env: \"env\"; \"oauth-token\": \"oauth-token\"; }>>; strictPaths: ZodDefault<ZodArray<ZodString>>; launches: ZodDefault<ZodArray<ZodUnion<readonly [ZodObject<{ glob: ZodString; level: ZodString; from: ZodISODate; until: ZodISODate; }, $strict>, ZodObject<{ glob: ZodString; level: ZodString; base: ZodString; }, $strict>]>>>; sizeRange: ZodDefault<ZodObject<{ changes: ZodInt; fewest: ZodInt; middle: ZodNumber; }, $strict>>; loosenedCheck: ZodDefault<ZodObject<{ added: ZodArray<ZodString>; removed: ZodArray<ZodString>; }, $strict>>; changeLabels: ZodDefault<ZodObject<{ fixWindow: ZodInt; fixSubject: ZodString; revertSubject: ZodString; revertTrailer: ZodString; }, $strict>>; historyDepth: ZodDefault<ZodInt>; lockfiles: ZodDefault<ZodArray<ZodString>>; hookPaths: ZodDefault<ZodArray<ZodString>>; diffLimit: ZodDefault<ZodInt>; failureTail: ZodDefault<ZodInt>; kindMeanings: ZodDefault<ZodRecord<ZodString, ZodString>>; fallbackKind: ZodDefault<ZodString>; docsOnly: ZodDefault<ZodObject<{ kind: ZodString; paths: ZodArray<ZodString>; }, $strict>>; decisionModel: ZodDefault<ZodString>; modelCallTimeoutSeconds: ZodDefault<ZodInt>; measuredModels: ZodDefault<ZodRecord<ZodEnum<{ kind: \"kind\"; alignment: \"alignment\"; \"plan-outcome\": \"plan-outcome\"; \"review-verdict\": \"review-verdict\"; \"reply-option\": \"reply-option\"; \"repeat-pair\": \"repeat-pair\"; taste: \"taste\"; }>, ZodRecord<ZodString, ZodNumber>>>; minJudgeRate: ZodDefault<ZodNumber>; questionLimits: ZodDefault<ZodObject<{ cells: ZodInt; wordCells: ZodInt; }, $strict>>; questionTimeoutHours: ZodDefault<ZodInt>; priorityLabels: ZodDefault<ZodArray<ZodString>>; undoableLevels: ZodDefault<ZodArray<ZodString>>; ownerBranchPrefix: ZodDefault<ZodString>; backgroundRuns: ZodDefault<ZodBoolean>; backgroundLaunchSeconds: ZodDefault<ZodNumber>; backgroundPollSeconds: ZodDefault<ZodNumber>; deniedRunCommands: ZodDefault<ZodArray<ZodString>>; runAutoMode: ZodDefault<ZodObject<{ environment: ZodArray<ZodString>; allow: ZodArray<ZodString>; hardDeny: ZodArray<ZodString>; }, $strict>>; runSlots: ZodDefault<ZodObject<{ enabled: ZodBoolean; pool: ZodString; services: ZodEnum<{ \"per-slot\": \"per-slot\"; shared: \"shared\"; }>; ports: ZodObject<{ base: ZodInt; stride: ZodInt; }, $strict>; projectPrefix: ZodString; stepTimeoutSeconds: ZodInt; recipe: ZodObject<{ prepare: ZodArray<ZodString>; refresh: ZodArray<ZodObject<{ run: ZodString; when: ZodEnum<{ always: \"always\"; \"lockfile-changed\": \"lockfile-changed\"; }>; }, $strict>>; ready: ZodArray<ZodString>; }, $strict>; }, $strict>>; ownerLogins: ZodDefault<ZodArray<ZodString>>; repeatAt: ZodDefault<ZodInt>; repeatPrecision: ZodDefault<ZodNumber>; tasteRules: ZodDefault<ZodArray<ZodString>>; memoryMaxBytes: ZodDefault<ZodInt>; memoryUnusedRuns: ZodDefault<ZodInt>; measureWindow: ZodDefault<ZodInt>; loopIntervalSeconds: ZodDefault<ZodInt>; proofTimeoutSeconds: ZodDefault<ZodInt>; kindFloors: ZodDefault<ZodRecord<ZodString, ZodString>>; checkKind: ZodDefault<ZodString>; breakCheck: ZodDefault<ZodBoolean>; mergeRisk: ZodDefault<ZodObject<{ weights: ZodRecord<ZodEnum<{ alignment: \"alignment\"; verification: \"verification\"; impact: \"impact\"; rollback: \"rollback\"; errorDetection: \"errorDetection\"; }>, ZodNumber>; cuts: ZodTuple<[ZodNumber, ZodNumber], null>; }, $strict>>; schemaVersion: ZodLiteral<2>; levels: ZodArray<ZodObject<{ name: ZodString; review: ZodEnum<{ none: \"none\"; agent: \"agent\"; owner: \"owner\"; }>; release: ZodEnum<{ \"at-once\": \"at-once\"; \"after-proof\": \"after-proof\"; }>; onBreak: ZodEnum<{ \"follow-up\": \"follow-up\"; block: \"block\"; }>; }, $strict>>; paths: ZodArray<ZodObject<{ glob: ZodString; level: ZodString; proofs: ZodOptional<ZodRecord<ZodString, ZodString>>; limit: ZodOptional<ZodObject<{ fixes: ZodInt; of: ZodInt; }, $strict>>; }, $strict>>; roles: ZodRecord<ZodString, ZodObject<{ file: ZodString; purpose: ZodEnum<{ fix: \"fix\"; review: \"review\"; plan: \"plan\"; build: \"build\"; }>; skills: ZodArray<ZodString>; }, $strict>>; events: ZodRecord<ZodString, ZodObject<{ source: ZodString; }, $strict>>; kinds: ZodArray<ZodString>; safety: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; dailyQuestionCap: ZodOptional<ZodNumber>; integrations: ZodOptional<ZodRecord<ZodString, ZodString>>; ciToken: ZodOptional<ZodObject<{ setUp: ZodISODate; }, $strict>>; commitIdentity: ZodObject<{ name: ZodString; email: ZodString; }, $strict>; }, $strict>",
|
|
3042
3246
|
"schema": {
|
|
3043
3247
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3044
3248
|
"type": "object",
|
|
3045
3249
|
"properties": {
|
|
3046
3250
|
"schemaVersion": {
|
|
3047
3251
|
"type": "number",
|
|
3048
|
-
"const":
|
|
3252
|
+
"const": 2
|
|
3049
3253
|
},
|
|
3050
3254
|
"levels": {
|
|
3051
3255
|
"minItems": 1,
|
|
@@ -3538,10 +3742,54 @@
|
|
|
3538
3742
|
"exclusiveMinimum": 0,
|
|
3539
3743
|
"maximum": 9007199254740991
|
|
3540
3744
|
},
|
|
3541
|
-
"
|
|
3542
|
-
"default":
|
|
3543
|
-
|
|
3544
|
-
|
|
3745
|
+
"pullRequestToken": {
|
|
3746
|
+
"default": {
|
|
3747
|
+
"from": "secret",
|
|
3748
|
+
"secret": "HUM_GITHUB_TOKEN"
|
|
3749
|
+
},
|
|
3750
|
+
"oneOf": [
|
|
3751
|
+
{
|
|
3752
|
+
"type": "object",
|
|
3753
|
+
"properties": {
|
|
3754
|
+
"from": {
|
|
3755
|
+
"type": "string",
|
|
3756
|
+
"const": "secret"
|
|
3757
|
+
},
|
|
3758
|
+
"secret": {
|
|
3759
|
+
"type": "string",
|
|
3760
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
3761
|
+
}
|
|
3762
|
+
},
|
|
3763
|
+
"required": [
|
|
3764
|
+
"from",
|
|
3765
|
+
"secret"
|
|
3766
|
+
],
|
|
3767
|
+
"additionalProperties": false
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
"type": "object",
|
|
3771
|
+
"properties": {
|
|
3772
|
+
"from": {
|
|
3773
|
+
"type": "string",
|
|
3774
|
+
"const": "app"
|
|
3775
|
+
},
|
|
3776
|
+
"clientIdSecret": {
|
|
3777
|
+
"type": "string",
|
|
3778
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
3779
|
+
},
|
|
3780
|
+
"privateKeySecret": {
|
|
3781
|
+
"type": "string",
|
|
3782
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
"required": [
|
|
3786
|
+
"from",
|
|
3787
|
+
"clientIdSecret",
|
|
3788
|
+
"privateKeySecret"
|
|
3789
|
+
],
|
|
3790
|
+
"additionalProperties": false
|
|
3791
|
+
}
|
|
3792
|
+
]
|
|
3545
3793
|
},
|
|
3546
3794
|
"ciWakeTimeoutMinutes": {
|
|
3547
3795
|
"default": 60,
|
|
@@ -3549,6 +3797,159 @@
|
|
|
3549
3797
|
"exclusiveMinimum": 0,
|
|
3550
3798
|
"maximum": 9007199254740991
|
|
3551
3799
|
},
|
|
3800
|
+
"ciRunner": {
|
|
3801
|
+
"default": "ubuntu-latest",
|
|
3802
|
+
"anyOf": [
|
|
3803
|
+
{
|
|
3804
|
+
"anyOf": [
|
|
3805
|
+
{
|
|
3806
|
+
"type": "string",
|
|
3807
|
+
"minLength": 1
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"minItems": 1,
|
|
3811
|
+
"type": "array",
|
|
3812
|
+
"items": {
|
|
3813
|
+
"type": "string",
|
|
3814
|
+
"minLength": 1
|
|
3815
|
+
}
|
|
3816
|
+
}
|
|
3817
|
+
]
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
"type": "object",
|
|
3821
|
+
"properties": {
|
|
3822
|
+
"group": {
|
|
3823
|
+
"type": "string",
|
|
3824
|
+
"minLength": 1
|
|
3825
|
+
},
|
|
3826
|
+
"labels": {
|
|
3827
|
+
"anyOf": [
|
|
3828
|
+
{
|
|
3829
|
+
"type": "string",
|
|
3830
|
+
"minLength": 1
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"minItems": 1,
|
|
3834
|
+
"type": "array",
|
|
3835
|
+
"items": {
|
|
3836
|
+
"type": "string",
|
|
3837
|
+
"minLength": 1
|
|
3838
|
+
}
|
|
3839
|
+
}
|
|
3840
|
+
]
|
|
3841
|
+
}
|
|
3842
|
+
},
|
|
3843
|
+
"required": [
|
|
3844
|
+
"group"
|
|
3845
|
+
],
|
|
3846
|
+
"additionalProperties": false
|
|
3847
|
+
}
|
|
3848
|
+
]
|
|
3849
|
+
},
|
|
3850
|
+
"ciContainer": {
|
|
3851
|
+
"default": null,
|
|
3852
|
+
"anyOf": [
|
|
3853
|
+
{
|
|
3854
|
+
"anyOf": [
|
|
3855
|
+
{
|
|
3856
|
+
"type": "string",
|
|
3857
|
+
"minLength": 1
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"type": "object",
|
|
3861
|
+
"properties": {
|
|
3862
|
+
"image": {
|
|
3863
|
+
"type": "string",
|
|
3864
|
+
"minLength": 1
|
|
3865
|
+
},
|
|
3866
|
+
"credentials": {
|
|
3867
|
+
"type": "object",
|
|
3868
|
+
"properties": {
|
|
3869
|
+
"username": {
|
|
3870
|
+
"type": "string",
|
|
3871
|
+
"minLength": 1
|
|
3872
|
+
},
|
|
3873
|
+
"password": {
|
|
3874
|
+
"type": "string",
|
|
3875
|
+
"minLength": 1
|
|
3876
|
+
}
|
|
3877
|
+
},
|
|
3878
|
+
"required": [
|
|
3879
|
+
"username",
|
|
3880
|
+
"password"
|
|
3881
|
+
],
|
|
3882
|
+
"additionalProperties": false
|
|
3883
|
+
},
|
|
3884
|
+
"env": {
|
|
3885
|
+
"type": "object",
|
|
3886
|
+
"propertyNames": {
|
|
3887
|
+
"type": "string",
|
|
3888
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
3889
|
+
},
|
|
3890
|
+
"additionalProperties": {
|
|
3891
|
+
"type": "string"
|
|
3892
|
+
}
|
|
3893
|
+
},
|
|
3894
|
+
"ports": {
|
|
3895
|
+
"type": "array",
|
|
3896
|
+
"items": {
|
|
3897
|
+
"anyOf": [
|
|
3898
|
+
{
|
|
3899
|
+
"type": "string",
|
|
3900
|
+
"minLength": 1
|
|
3901
|
+
},
|
|
3902
|
+
{
|
|
3903
|
+
"type": "integer",
|
|
3904
|
+
"exclusiveMinimum": 0,
|
|
3905
|
+
"maximum": 9007199254740991
|
|
3906
|
+
}
|
|
3907
|
+
]
|
|
3908
|
+
}
|
|
3909
|
+
},
|
|
3910
|
+
"volumes": {
|
|
3911
|
+
"type": "array",
|
|
3912
|
+
"items": {
|
|
3913
|
+
"type": "string",
|
|
3914
|
+
"minLength": 1
|
|
3915
|
+
}
|
|
3916
|
+
},
|
|
3917
|
+
"options": {
|
|
3918
|
+
"type": "string",
|
|
3919
|
+
"minLength": 1
|
|
3920
|
+
}
|
|
3921
|
+
},
|
|
3922
|
+
"required": [
|
|
3923
|
+
"image"
|
|
3924
|
+
],
|
|
3925
|
+
"additionalProperties": false
|
|
3926
|
+
}
|
|
3927
|
+
]
|
|
3928
|
+
},
|
|
3929
|
+
{
|
|
3930
|
+
"type": "null"
|
|
3931
|
+
}
|
|
3932
|
+
]
|
|
3933
|
+
},
|
|
3934
|
+
"ciEnv": {
|
|
3935
|
+
"default": {},
|
|
3936
|
+
"type": "object",
|
|
3937
|
+
"propertyNames": {
|
|
3938
|
+
"type": "string",
|
|
3939
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
3940
|
+
},
|
|
3941
|
+
"additionalProperties": {
|
|
3942
|
+
"type": "string"
|
|
3943
|
+
}
|
|
3944
|
+
},
|
|
3945
|
+
"ciClaudeAuth": {
|
|
3946
|
+
"default": "oauth-token",
|
|
3947
|
+
"type": "string",
|
|
3948
|
+
"enum": [
|
|
3949
|
+
"oauth-token",
|
|
3950
|
+
"env"
|
|
3951
|
+
]
|
|
3952
|
+
},
|
|
3552
3953
|
"strictPaths": {
|
|
3553
3954
|
"default": [],
|
|
3554
3955
|
"type": "array",
|
|
@@ -4332,7 +4733,7 @@
|
|
|
4332
4733
|
"type": "(branch: string, { runBranchPrefix, claimPrefix }: Naming) => boolean"
|
|
4333
4734
|
},
|
|
4334
4735
|
"isTrusted": {
|
|
4335
|
-
"type": "(models: readonly string[], boundary: \"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", { measuredModels, minJudgeRate }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
4736
|
+
"type": "(models: readonly string[], boundary: \"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", { measuredModels, minJudgeRate }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"measuredModels\" | \"minJudgeRate\">) => boolean"
|
|
4336
4737
|
},
|
|
4337
4738
|
"Item": {
|
|
4338
4739
|
"type": "export type Item = z.infer<typeof Item>;\n= { id: string & $brand<\"ItemId\">; title: string; body: string; ready: boolean; thread: { kind: \"answer\" | \"comment\" | \"decision\" | \"question\"; text: string; at: number; option?: string | undefined; author?: \"hum\" | \"person\" | undefined; }[]; labels?: string[] | undefined; }\nZodObject<{ id: $ZodBranded<ZodString, \"ItemId\", \"out\">; title: ZodString; body: ZodString; ready: ZodBoolean; thread: ZodArray<ZodObject<{ kind: ZodEnum<{ answer: \"answer\"; comment: \"comment\"; question: \"question\"; decision: \"decision\"; }>; text: ZodString; at: ZodInt; option: ZodOptional<ZodString>; author: ZodOptional<ZodEnum<{ hum: \"hum\"; person: \"person\"; }>>; }, $strict>>; labels: ZodOptional<ZodArray<ZodString>>; }, $strict>",
|
|
@@ -6138,8 +6539,7 @@
|
|
|
6138
6539
|
"type": "export type Migrations = Steps<ConfigJson>;\n= { readonly [x: number]: (value: Readonly<Record<string, JSONType>>) => Readonly<Record<string, JSONType>>; }"
|
|
6139
6540
|
},
|
|
6140
6541
|
"MIGRATIONS": {
|
|
6141
|
-
"type": "
|
|
6142
|
-
"value": {}
|
|
6542
|
+
"type": "{ 1: ({ pullRequestTokenSecret, ...config }: Readonly<Record<string, JSONType>>) => { pullRequestToken: { from: string; secret: JSONType; }; } | { readonly [x: string]: JSONType; }; }"
|
|
6143
6543
|
},
|
|
6144
6544
|
"ModelCall": {
|
|
6145
6545
|
"type": "export type ModelCall = <T>(question: Question<T>) => Promise<Judgment<T>>;\n= <T>(question: Question<T>) => Promise<Judgment<T>>"
|
|
@@ -6223,7 +6623,7 @@
|
|
|
6223
6623
|
"value": "approve"
|
|
6224
6624
|
},
|
|
6225
6625
|
"OWNER_CHANGEABLE": {
|
|
6226
|
-
"type": "{ readonly machines: \"kinds\"; readonly roles: \"roles\"; readonly integrations: \"integrations\"; readonly \"risk levels\": \"levels\"; readonly \"safety rule\": \"safety\"; readonly \"cheap model call\": \"decisionModel\"; readonly \"daily question cap\": \"dailyQuestionCap\"; readonly \"kinds' tables\": \"kinds\"; readonly \"run branch prefix\": \"runBranchPrefix\"; readonly \"claim prefix\": \"claimPrefix\"; readonly \"ready label\": \"readyLabel\"; readonly \"merge method\": \"mergeMethod\"; readonly \"model per tier\": \"models\"; readonly \"runner count\": \"runners\"; readonly \"tick interval\": \"tickIntervalSeconds\"; readonly \"drain timeout\": \"drainTimeoutSeconds\"; readonly \"claim expiry\": \"claimExpirySeconds\"; readonly \"latest-version cache\": \"latestVersionCacheSeconds\"; readonly \"watch cache\": \"watchCacheSeconds\"; readonly \"watch lock\": \"watchLockSeconds\"; readonly \"fix runs\": \"maxFixRuns\"; readonly \"service label\": \"serviceLabel\"; readonly \"crash limit\": \"maxCrashes\"; readonly \"crash window\": \"crashWindowSeconds\"; readonly \"worker-down age\": \"workerDownTicks\"; readonly \"token warning lead\": \"tokenWarnDays\"; readonly \"CI schedule\": \"ciSchedule\"; readonly \"CI tick cache\": \"ciTickCacheSeconds\"; readonly \"commit identity\": \"commitIdentity\"; readonly \"items folder\": \"itemsDir\"; readonly \"provider timeout\": \"providerTimeoutSeconds\"; readonly \"provider backoff\": \"providerBackoff\"; readonly \"merged changes shown\": \"mergedShown\"; readonly \"choices shown\": \"choicesShown\"; readonly \"status read timeout\": \"statusReadTimeoutSeconds\"; readonly \"command timeout\": \"commandTimeoutSeconds\"; readonly \"merge tries\": \"mergeTries\"; readonly \"write race retries\": \"writeRaceRetries\"; readonly \"item reads at once\": \"itemReadsAtOnce\"; readonly \"restart backoff\": \"restartBackoff\"; readonly \"restart delay\": \"restartDelaySeconds\"; readonly \"CI wake timeout\": \"ciWakeTimeoutMinutes\"; readonly \"pull request token
|
|
6626
|
+
"type": "{ readonly machines: \"kinds\"; readonly roles: \"roles\"; readonly integrations: \"integrations\"; readonly \"risk levels\": \"levels\"; readonly \"safety rule\": \"safety\"; readonly \"cheap model call\": \"decisionModel\"; readonly \"daily question cap\": \"dailyQuestionCap\"; readonly \"kinds' tables\": \"kinds\"; readonly \"run branch prefix\": \"runBranchPrefix\"; readonly \"claim prefix\": \"claimPrefix\"; readonly \"ready label\": \"readyLabel\"; readonly \"merge method\": \"mergeMethod\"; readonly \"model per tier\": \"models\"; readonly \"runner count\": \"runners\"; readonly \"tick interval\": \"tickIntervalSeconds\"; readonly \"drain timeout\": \"drainTimeoutSeconds\"; readonly \"claim expiry\": \"claimExpirySeconds\"; readonly \"latest-version cache\": \"latestVersionCacheSeconds\"; readonly \"watch cache\": \"watchCacheSeconds\"; readonly \"watch lock\": \"watchLockSeconds\"; readonly \"fix runs\": \"maxFixRuns\"; readonly \"service label\": \"serviceLabel\"; readonly \"crash limit\": \"maxCrashes\"; readonly \"crash window\": \"crashWindowSeconds\"; readonly \"worker-down age\": \"workerDownTicks\"; readonly \"token warning lead\": \"tokenWarnDays\"; readonly \"CI schedule\": \"ciSchedule\"; readonly \"CI tick cache\": \"ciTickCacheSeconds\"; readonly \"commit identity\": \"commitIdentity\"; readonly \"items folder\": \"itemsDir\"; readonly \"provider timeout\": \"providerTimeoutSeconds\"; readonly \"provider backoff\": \"providerBackoff\"; readonly \"merged changes shown\": \"mergedShown\"; readonly \"choices shown\": \"choicesShown\"; readonly \"status read timeout\": \"statusReadTimeoutSeconds\"; readonly \"command timeout\": \"commandTimeoutSeconds\"; readonly \"merge tries\": \"mergeTries\"; readonly \"write race retries\": \"writeRaceRetries\"; readonly \"item reads at once\": \"itemReadsAtOnce\"; readonly \"restart backoff\": \"restartBackoff\"; readonly \"restart delay\": \"restartDelaySeconds\"; readonly \"CI wake timeout\": \"ciWakeTimeoutMinutes\"; readonly \"pull request token\": \"pullRequestToken\"; readonly \"CI runner\": \"ciRunner\"; readonly \"CI container\": \"ciContainer\"; readonly \"CI env\": \"ciEnv\"; readonly \"CI Claude auth\": \"ciClaudeAuth\"; readonly \"data and secrets paths\": \"strictPaths\"; readonly \"path rules\": \"paths\"; readonly launches: \"launches\"; readonly \"size range\": \"sizeRange\"; readonly \"loosened-check rule\": \"loosenedCheck\"; readonly \"change labels\": \"changeLabels\"; readonly \"history depth\": \"historyDepth\"; readonly lockfiles: \"lockfiles\"; readonly \"hook paths\": \"hookPaths\"; readonly \"diff limit\": \"diffLimit\"; readonly \"failure tail\": \"failureTail\"; readonly \"kind meanings\": \"kindMeanings\"; readonly \"fallback kind\": \"fallbackKind\"; readonly \"docs-only kind\": \"docsOnly\"; readonly \"model call timeout\": \"modelCallTimeoutSeconds\"; readonly \"measured models\": \"measuredModels\"; readonly \"judge rate bar\": \"minJudgeRate\"; readonly \"merge-risk weights\": \"mergeRisk\"; readonly \"question limits\": \"questionLimits\"; readonly \"question timeout\": \"questionTimeoutHours\"; readonly \"priority labels\": \"priorityLabels\"; readonly \"undoable levels\": \"undoableLevels\"; readonly \"owner branch prefix\": \"ownerBranchPrefix\"; readonly \"background runs\": \"backgroundRuns\"; readonly \"background poll\": \"backgroundPollSeconds\"; readonly \"background launch wait\": \"backgroundLaunchSeconds\"; readonly \"denied run commands\": \"deniedRunCommands\"; readonly \"run auto mode\": \"runAutoMode\"; readonly \"run slots\": \"runSlots\"; readonly \"owner logins\": \"ownerLogins\"; readonly \"repeat threshold\": \"repeatAt\"; readonly \"repeat precision bar\": \"repeatPrecision\"; readonly \"taste rules\": \"tasteRules\"; readonly \"memory size cap\": \"memoryMaxBytes\"; readonly \"memory unused runs\": \"memoryUnusedRuns\"; readonly \"measure window\": \"measureWindow\"; readonly \"loop interval\": \"loopIntervalSeconds\"; readonly \"proof timeout\": \"proofTimeoutSeconds\"; readonly \"kind floors\": \"kindFloors\"; readonly \"check kind\": \"checkKind\"; readonly \"break check\": \"breakCheck\"; readonly checks: \"checks\"; readonly \"kind labels\": \"kindLabels\"; readonly \"run places\": \"runPlaces\"; }",
|
|
6227
6627
|
"value": {
|
|
6228
6628
|
"machines": "kinds",
|
|
6229
6629
|
"roles": "roles",
|
|
@@ -6267,7 +6667,11 @@
|
|
|
6267
6667
|
"restart backoff": "restartBackoff",
|
|
6268
6668
|
"restart delay": "restartDelaySeconds",
|
|
6269
6669
|
"CI wake timeout": "ciWakeTimeoutMinutes",
|
|
6270
|
-
"pull request token
|
|
6670
|
+
"pull request token": "pullRequestToken",
|
|
6671
|
+
"CI runner": "ciRunner",
|
|
6672
|
+
"CI container": "ciContainer",
|
|
6673
|
+
"CI env": "ciEnv",
|
|
6674
|
+
"CI Claude auth": "ciClaudeAuth",
|
|
6271
6675
|
"data and secrets paths": "strictPaths",
|
|
6272
6676
|
"path rules": "paths",
|
|
6273
6677
|
"launches": "launches",
|
|
@@ -6443,7 +6847,7 @@
|
|
|
6443
6847
|
"type": "export type Policy = Pick<HumConfig, \"levels\" | \"paths\" | \"strictPaths\" | \"launches\" | \"sizeRange\" | \"hookPaths\">;\n= { levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; hookPaths: string[]; }"
|
|
6444
6848
|
},
|
|
6445
6849
|
"PoolOptions": {
|
|
6446
|
-
"type": "export type PoolOptions = {\n readonly repo: string;\n readonly state: Pick<State, \"slots\" | \"faults\" | \"runs\">;\n readonly config: Pick<HumConfig, \"runners\" | \"runSlots\" | \"lockfiles\" | \"commandTimeoutSeconds\">;\n readonly base: string;\n readonly liveRuns?: () => Promise<ReadonlySet<string>>;\n readonly now: () => number;\n};\n= { readonly repo: string; readonly state: Pick<{ dir: string; statusPath: string; heartbeatPath: string; inbox: string; stops: string; faults: Faults; items: Items; events: EventLog; ops: OpKeys; runs: RunRecords; parked: Records<ZodObject<{ item: ZodString; why: ZodEnum<{ review: \"review\"; stuck: \"stuck\"; }>; cause: ZodString; since: ZodInt; }, $strip>>; spent: Records<ZodObject<{ item: ZodString; total: ZodInt; base: ZodInt; }, $strip>>; kinds: Records<ZodObject<{ tiers: ZodArray<ZodObject<{ purpose: ZodEnum<{ fix: \"fix\"; review: \"review\"; plan: \"plan\"; build: \"build\"; }>; level: ZodOptional<ZodString>; size: ZodOptional<ZodEnum<{ small: \"small\"; medium: \"medium\"; large: \"large\"; }>>; tier: ZodEnum<{ light: \"light\"; standard: \"standard\"; top: \"top\"; }>; effort: ZodEnum<{ medium: \"medium\"; low: \"low\"; high: \"high\"; }>; }, $strict>>; tokenCap: ZodObject<{ tokens: ZodNumber; overCap: ZodString; }, $strict>; stateMap: ZodOptional<ZodRecord<ZodString, ZodRecord<ZodString, ZodString>>>; machine: ZodObject<{ id: ZodString; version: ZodString; initial: ZodString; states: ZodRecord<ZodString, ZodObject<{ type: ZodOptional<ZodEnum<{ atomic: \"atomic\"; final: \"final\"; }>>; description: ZodOptional<ZodString>; tags: ZodOptional<ZodArray<ZodString>>; invoke: ZodOptional<ZodObject<{ src: ZodString; onDone: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; onError: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; }, $strict>>; on: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; always: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; after: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; timeout: ZodOptional<ZodNumber>; onTimeout: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; entry: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; exit: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; }, $strict>>; }, $strict>; }, $strict>>; limit: Records<ZodObject<{ until: ZodInt; }, $strip>>; ready: Records<ZodObject<{ ids: ZodArray<ZodString>; }, $strip>>; slots: Records<ZodDiscriminatedUnion<[ZodObject<{ status: ZodEnum<{ out: \"out\"; new: \"new\"; free: \"free\"; stale: \"stale\"; }>; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>, ZodObject<{ status: ZodEnum<{ taken: \"taken\"; kept: \"kept\"; }>; item: ZodString; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>], \"status\">>; landings: Records<ZodObject<{ item: ZodString; branch: ZodString; since: ZodInt; change: ZodReadonly<ZodObject<{ paths: ZodReadonly<ZodArray<ZodString>>; size: ZodInt; loosened: ZodBoolean; pinChanged: ZodBoolean; }, $strip>>; head: ZodString; ownerApproved: ZodBoolean; alignment: ZodOptional<ZodUnion<readonly [ZodObject<{ graded: ZodObject<{ alignment: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; verification: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; }, $strict>; }, $strip>, ZodObject<{ abstained: ZodString; }, $strip>]>>; }, $strip>>; learned: Records<ZodObject<{ glob: ZodString; level: ZodString; item: ZodString; commit: ZodString; pull: ZodOptional<ZodString>; at: ZodInt; }, $strip>>; itemKinds: Records<ZodDiscriminatedUnion<[ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"source\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"model\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"fallback\">; why: ZodString; }, $strip>], \"from\">>; plans: Records<ZodObject<{ item: ZodString; plan: ZodObject<{ summary: ZodString; steps: ZodArray<ZodString>; paths: ZodArray<ZodString>; }, $strict>; hash: ZodString; models: ZodArray<ZodString>; }, $strip>>; verdicts: Records<ZodObject<{ item: ZodString; head: ZodString; event: ZodString; reason: ZodString; cites: ZodArray<ZodObject<{ file: ZodString; line: ZodInt; }, $strict>>; models: ZodArray<ZodString>; }, $strip>>; questions: Records<ZodObject<{ item: ZodString; text: ZodString; options: ZodOptional<ZodArray<ZodString>>; detail: ZodOptional<ZodString>; priority: ZodInt; footprint: ZodOptional<ZodArray<ZodString>>; queuedAt: ZodInt; askedAt: ZodOptional<ZodInt>; }, $strip>>; choices: Records<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; at: ZodMiniInt; }, $strip>>; answers: Records<ZodDiscriminatedUnion<[ZodObject<{ source: ZodLiteral<\"marker\">; option: ZodOptional<ZodString>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ model: \"model\"; \"first-word\": \"first-word\"; }>; option: ZodString; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ free: \"free\"; abstained: \"abstained\"; \"none-of-these\": \"none-of-these\"; }>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>], \"source\">>; notes: Records<ZodObject<{ source: ZodEnum<{ fix: \"fix\"; \"review-comment\": \"review-comment\"; \"review-body\": \"review-body\"; \"plan-answer\": \"plan-answer\"; revert: \"revert\"; }>; sourceId: ZodString; change: ZodString; item: ZodOptional<ZodString>; file: ZodOptional<ZodString>; line: ZodOptional<ZodInt>; hunk: ZodString; text: ZodString; at: ZodInt; }, $strip>>; repeats: Records<ZodObject<{ key: ZodString; notes: ZodArray<ZodString>; item: ZodOptional<ZodString>; commented: ZodArray<ZodString>; checked: ZodOptional<ZodObject<{ at: ZodInt; check: ZodString; }, $strip>>; misses: ZodArray<ZodString>; }, $strip>>; possibleRepeats: Records<ZodObject<{ a: ZodString; b: ZodString; models: ZodArray<ZodString>; at: ZodInt; }, $strip>>; merges: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; }, $strip>>; breaks: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; level: ZodString; failure: ZodString; onBreak: ZodEnum<{ \"follow-up\": \"follow-up\"; block: \"block\"; }>; followUp: ZodString; }, $strip>>; proofs: Records<ZodDiscriminatedUnion<[ZodObject<{ passed: ZodLiteral<true>; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>, ZodObject<{ passed: ZodLiteral<false>; reason: ZodString; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>], \"passed\">>; }, \"faults\" | \"runs\" | \"slots\">; readonly config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestTokenSecret: string; ciWakeTimeoutMinutes: number; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 1; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"commandTimeoutSeconds\" | \"lockfiles\" | \"runSlots\" | \"runners\">; readonly base: string; readonly liveRuns?: (() => Promise<ReadonlySet<string>>) | undefined; readonly now: () => number; }"
|
|
6850
|
+
"type": "export type PoolOptions = {\n readonly repo: string;\n readonly state: Pick<State, \"slots\" | \"faults\" | \"runs\">;\n readonly config: Pick<HumConfig, \"runners\" | \"runSlots\" | \"lockfiles\" | \"commandTimeoutSeconds\">;\n readonly base: string;\n readonly liveRuns?: () => Promise<ReadonlySet<string>>;\n readonly now: () => number;\n};\n= { readonly repo: string; readonly state: Pick<{ dir: string; statusPath: string; heartbeatPath: string; inbox: string; stops: string; faults: Faults; items: Items; events: EventLog; ops: OpKeys; runs: RunRecords; parked: Records<ZodObject<{ item: ZodString; why: ZodEnum<{ review: \"review\"; stuck: \"stuck\"; }>; cause: ZodString; since: ZodInt; }, $strip>>; spent: Records<ZodObject<{ item: ZodString; total: ZodInt; base: ZodInt; }, $strip>>; kinds: Records<ZodObject<{ tiers: ZodArray<ZodObject<{ purpose: ZodEnum<{ fix: \"fix\"; review: \"review\"; plan: \"plan\"; build: \"build\"; }>; level: ZodOptional<ZodString>; size: ZodOptional<ZodEnum<{ small: \"small\"; medium: \"medium\"; large: \"large\"; }>>; tier: ZodEnum<{ light: \"light\"; standard: \"standard\"; top: \"top\"; }>; effort: ZodEnum<{ medium: \"medium\"; low: \"low\"; high: \"high\"; }>; }, $strict>>; tokenCap: ZodObject<{ tokens: ZodNumber; overCap: ZodString; }, $strict>; stateMap: ZodOptional<ZodRecord<ZodString, ZodRecord<ZodString, ZodString>>>; machine: ZodObject<{ id: ZodString; version: ZodString; initial: ZodString; states: ZodRecord<ZodString, ZodObject<{ type: ZodOptional<ZodEnum<{ atomic: \"atomic\"; final: \"final\"; }>>; description: ZodOptional<ZodString>; tags: ZodOptional<ZodArray<ZodString>>; invoke: ZodOptional<ZodObject<{ src: ZodString; onDone: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; onError: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; }, $strict>>; on: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; always: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; after: ZodOptional<ZodRecord<ZodString, ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>>; timeout: ZodOptional<ZodNumber>; onTimeout: ZodOptional<ZodPipe<ZodUnion<readonly [ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>, ZodArray<ZodObject<{ target: ZodOptional<ZodString>; guard: ZodOptional<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>; actions: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; description: ZodOptional<ZodString>; }, $strict>>]>, ZodTransform<{ target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[], { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; } | { target?: string | undefined; guard?: undefined | { type: string; params?: unknown; }; actions?: undefined | { type: string; params?: unknown; }[]; description?: string | undefined; }[]>>>; entry: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; exit: ZodOptional<ZodArray<ZodObject<{ type: ZodString; params: ZodOptional<ZodUnknown>; }, $strict>>>; }, $strict>>; }, $strict>; }, $strict>>; limit: Records<ZodObject<{ until: ZodInt; }, $strip>>; ready: Records<ZodObject<{ ids: ZodArray<ZodString>; }, $strip>>; slots: Records<ZodDiscriminatedUnion<[ZodObject<{ status: ZodEnum<{ out: \"out\"; new: \"new\"; free: \"free\"; stale: \"stale\"; }>; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>, ZodObject<{ status: ZodEnum<{ taken: \"taken\"; kept: \"kept\"; }>; item: ZodString; name: ZodString; index: ZodInt; folder: ZodString; lockfiles: ZodOptional<ZodString>; since: ZodInt; }, $strip>], \"status\">>; landings: Records<ZodObject<{ item: ZodString; branch: ZodString; since: ZodInt; change: ZodReadonly<ZodObject<{ paths: ZodReadonly<ZodArray<ZodString>>; size: ZodInt; loosened: ZodBoolean; pinChanged: ZodBoolean; }, $strip>>; head: ZodString; ownerApproved: ZodBoolean; alignment: ZodOptional<ZodUnion<readonly [ZodObject<{ graded: ZodObject<{ alignment: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; verification: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; }, $strict>; }, $strip>, ZodObject<{ abstained: ZodString; }, $strip>]>>; }, $strip>>; learned: Records<ZodObject<{ glob: ZodString; level: ZodString; item: ZodString; commit: ZodString; pull: ZodOptional<ZodString>; at: ZodInt; }, $strip>>; itemKinds: Records<ZodDiscriminatedUnion<[ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"source\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"model\">; }, $strip>, ZodObject<{ item: ZodString; kind: ZodString; from: ZodLiteral<\"fallback\">; why: ZodString; }, $strip>], \"from\">>; plans: Records<ZodObject<{ item: ZodString; plan: ZodObject<{ summary: ZodString; steps: ZodArray<ZodString>; paths: ZodArray<ZodString>; }, $strict>; hash: ZodString; models: ZodArray<ZodString>; }, $strip>>; verdicts: Records<ZodObject<{ item: ZodString; head: ZodString; event: ZodString; reason: ZodString; cites: ZodArray<ZodObject<{ file: ZodString; line: ZodInt; }, $strict>>; models: ZodArray<ZodString>; }, $strip>>; questions: Records<ZodObject<{ item: ZodString; text: ZodString; options: ZodOptional<ZodArray<ZodString>>; detail: ZodOptional<ZodString>; priority: ZodInt; footprint: ZodOptional<ZodArray<ZodString>>; queuedAt: ZodInt; askedAt: ZodOptional<ZodInt>; }, $strip>>; choices: Records<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; at: ZodMiniInt; }, $strip>>; answers: Records<ZodDiscriminatedUnion<[ZodObject<{ source: ZodLiteral<\"marker\">; option: ZodOptional<ZodString>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ model: \"model\"; \"first-word\": \"first-word\"; }>; option: ZodString; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>, ZodObject<{ source: ZodEnum<{ free: \"free\"; abstained: \"abstained\"; \"none-of-these\": \"none-of-these\"; }>; item: ZodString; ordinal: ZodInt; text: ZodString; disposition: ZodEnum<{ applied: \"applied\"; held: \"held\"; dropped: \"dropped\"; }>; why: ZodString; at: ZodInt; }, $strip>], \"source\">>; notes: Records<ZodObject<{ source: ZodEnum<{ fix: \"fix\"; \"review-comment\": \"review-comment\"; \"review-body\": \"review-body\"; \"plan-answer\": \"plan-answer\"; revert: \"revert\"; }>; sourceId: ZodString; change: ZodString; item: ZodOptional<ZodString>; file: ZodOptional<ZodString>; line: ZodOptional<ZodInt>; hunk: ZodString; text: ZodString; at: ZodInt; }, $strip>>; repeats: Records<ZodObject<{ key: ZodString; notes: ZodArray<ZodString>; item: ZodOptional<ZodString>; commented: ZodArray<ZodString>; checked: ZodOptional<ZodObject<{ at: ZodInt; check: ZodString; }, $strip>>; misses: ZodArray<ZodString>; }, $strip>>; possibleRepeats: Records<ZodObject<{ a: ZodString; b: ZodString; models: ZodArray<ZodString>; at: ZodInt; }, $strip>>; merges: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; }, $strip>>; breaks: Records<ZodObject<{ item: ZodString; sha: ZodString; at: ZodInt; paths: ZodArray<ZodString>; level: ZodString; failure: ZodString; onBreak: ZodEnum<{ \"follow-up\": \"follow-up\"; block: \"block\"; }>; followUp: ZodString; }, $strip>>; proofs: Records<ZodDiscriminatedUnion<[ZodObject<{ passed: ZodLiteral<true>; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>, ZodObject<{ passed: ZodLiteral<false>; reason: ZodString; item: ZodString; at: ZodInt; worktrees: ZodInt; ms: ZodInt; }, $strip>], \"passed\">>; }, \"faults\" | \"runs\" | \"slots\">; readonly config: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"commandTimeoutSeconds\" | \"lockfiles\" | \"runSlots\" | \"runners\">; readonly base: string; readonly liveRuns?: (() => Promise<ReadonlySet<string>>) | undefined; readonly now: () => number; }"
|
|
6447
6851
|
},
|
|
6448
6852
|
"PrefixGate": {
|
|
6449
6853
|
"type": "typeof PrefixGate; new ({ now, ttlMs }: { now: () => number; ttlMs?: number | undefined; }) => PrefixGate\nenter: (prefix: string, abort?: AbortSignal | undefined) => Promise<Lease>"
|
|
@@ -6452,7 +6856,7 @@
|
|
|
6452
6856
|
"type": "(ctx: LandContext, { ownerApproved }?: { readonly ownerApproved?: boolean | undefined; }) => Promise<PushOutcome>"
|
|
6453
6857
|
},
|
|
6454
6858
|
"Problem": {
|
|
6455
|
-
"type": "export type Problem = {\n readonly problem: \"unreachable-state\";\n readonly kind: string;\n readonly state: string;\n} | {\n readonly problem: \"dead-end-state\";\n readonly kind: string;\n readonly state: string;\n} | {\n readonly problem: \"wait-without-timeout\";\n readonly kind: string;\n readonly state: string;\n} | {\n readonly problem: \"event-without-source\";\n readonly event: string;\n readonly source: string | undefined;\n} | {\n readonly problem: \"event-without-handler\";\n readonly event: string;\n} | {\n readonly problem: \"run-and-owner-wait\";\n readonly kind: string;\n readonly state: string;\n} | {\n readonly problem: \"missing-hope-skill\";\n readonly skill: string;\n readonly role: string;\n} | {\n readonly problem: \"unknown-state\";\n readonly kind: string;\n readonly state: string;\n readonly why: string;\n} | {\n readonly problem: \"unknown-run-source\";\n readonly kind: string;\n readonly state: string;\n readonly src: string;\n} | {\n readonly problem: \"tier-table-gap\";\n readonly kind: string;\n readonly purpose: string;\n readonly level: string;\n readonly size: string;\n} | {\n readonly problem: \"machine-rejected\";\n readonly kind: string;\n readonly why: string;\n} | {\n readonly problem: \"missing-file\";\n readonly file: string;\n} | {\n readonly problem: \"unknown-level\";\n readonly level: string;\n} | {\n readonly problem: \"path-without-proof\";\n readonly glob: string;\n readonly level: string;\n} | {\n readonly problem: \"overlapping-prefixes\";\n readonly run: string;\n readonly claim: string;\n};\n= { readonly problem: \"dead-end-state\"; readonly kind: string; readonly state: string; } | { readonly problem: \"event-without-handler\"; readonly event: string; } | { readonly problem: \"event-without-source\"; readonly event: string; readonly source: string | undefined; } | { readonly problem: \"machine-rejected\"; readonly kind: string; readonly why: string; } | { readonly problem: \"missing-file\"; readonly file: string; } | { readonly problem: \"missing-hope-skill\"; readonly skill: string; readonly role: string; } | { readonly problem: \"overlapping-prefixes\"; readonly run: string; readonly claim: string; } | { readonly problem: \"path-without-proof\"; readonly glob: string; readonly level: string; } | { readonly problem: \"run-and-owner-wait\"; readonly kind: string; readonly state: string; } | { readonly problem: \"tier-table-gap\"; readonly kind: string; readonly purpose: string; readonly level: string; readonly size: string; } | { readonly problem: \"unknown-level\"; readonly level: string; } | { readonly problem: \"unknown-run-source\"; readonly kind: string; readonly state: string; readonly src: string; } | { readonly problem: \"unknown-state\"; readonly kind: string; readonly state: string; readonly why: string; } | { readonly problem: \"unreachable-state\"; readonly kind: string; readonly state: string; } | { readonly problem: \"wait-without-timeout\"; readonly kind: string; readonly state: string; }"
|
|
6859
|
+
"type": "export type Problem = {\n readonly problem: \"unreachable-state\";\n readonly kind: string;\n readonly state: string;\n} | {\n readonly problem: \"dead-end-state\";\n readonly kind: string;\n readonly state: string;\n} | {\n readonly problem: \"wait-without-timeout\";\n readonly kind: string;\n readonly state: string;\n} | {\n readonly problem: \"event-without-source\";\n readonly event: string;\n readonly source: string | undefined;\n} | {\n readonly problem: \"event-without-handler\";\n readonly event: string;\n} | {\n readonly problem: \"run-and-owner-wait\";\n readonly kind: string;\n readonly state: string;\n} | {\n readonly problem: \"missing-hope-skill\";\n readonly skill: string;\n readonly role: string;\n} | {\n readonly problem: \"unknown-state\";\n readonly kind: string;\n readonly state: string;\n readonly why: string;\n} | {\n readonly problem: \"unknown-run-source\";\n readonly kind: string;\n readonly state: string;\n readonly src: string;\n} | {\n readonly problem: \"tier-table-gap\";\n readonly kind: string;\n readonly purpose: string;\n readonly level: string;\n readonly size: string;\n} | {\n readonly problem: \"machine-rejected\";\n readonly kind: string;\n readonly why: string;\n} | {\n readonly problem: \"missing-file\";\n readonly file: string;\n} | {\n readonly problem: \"unknown-level\";\n readonly level: string;\n} | {\n readonly problem: \"path-without-proof\";\n readonly glob: string;\n readonly level: string;\n} | {\n readonly problem: \"overlapping-prefixes\";\n readonly run: string;\n readonly claim: string;\n} | {\n readonly problem: \"wake-env-taken\";\n readonly name: string;\n} | {\n readonly problem: \"wake-outlasts-app-token\";\n readonly minutes: number;\n readonly tokenMinutes: number;\n};\n= { readonly problem: \"dead-end-state\"; readonly kind: string; readonly state: string; } | { readonly problem: \"event-without-handler\"; readonly event: string; } | { readonly problem: \"event-without-source\"; readonly event: string; readonly source: string | undefined; } | { readonly problem: \"machine-rejected\"; readonly kind: string; readonly why: string; } | { readonly problem: \"missing-file\"; readonly file: string; } | { readonly problem: \"missing-hope-skill\"; readonly skill: string; readonly role: string; } | { readonly problem: \"overlapping-prefixes\"; readonly run: string; readonly claim: string; } | { readonly problem: \"path-without-proof\"; readonly glob: string; readonly level: string; } | { readonly problem: \"run-and-owner-wait\"; readonly kind: string; readonly state: string; } | { readonly problem: \"tier-table-gap\"; readonly kind: string; readonly purpose: string; readonly level: string; readonly size: string; } | { readonly problem: \"unknown-level\"; readonly level: string; } | { readonly problem: \"unknown-run-source\"; readonly kind: string; readonly state: string; readonly src: string; } | { readonly problem: \"unknown-state\"; readonly kind: string; readonly state: string; readonly why: string; } | { readonly problem: \"unreachable-state\"; readonly kind: string; readonly state: string; } | { readonly problem: \"wait-without-timeout\"; readonly kind: string; readonly state: string; } | { readonly problem: \"wake-env-taken\"; readonly name: string; } | { readonly problem: \"wake-outlasts-app-token\"; readonly minutes: number; readonly tokenMinutes: number; }"
|
|
6456
6860
|
},
|
|
6457
6861
|
"PROSE_STATES": {
|
|
6458
6862
|
"type": "{ readonly plan: { readonly boundary: \"plan-outcome\"; readonly events: readonly [\"plan-ready\", \"needs-split\", \"plan-blocked\"]; readonly unsure: \"plan-blocked\"; }; readonly review: { readonly boundary: \"review-verdict\"; readonly events: readonly [\"approve\", \"request-changes\", \"needs-owner\"]; readonly unsure: \"request-changes\"; }; }",
|
|
@@ -6507,7 +6911,8 @@
|
|
|
6507
6911
|
"READABLE_SCHEMA_VERSIONS": {
|
|
6508
6912
|
"type": "readonly number[]",
|
|
6509
6913
|
"value": [
|
|
6510
|
-
1
|
|
6914
|
+
1,
|
|
6915
|
+
2
|
|
6511
6916
|
]
|
|
6512
6917
|
},
|
|
6513
6918
|
"readCiTick": {
|
|
@@ -6520,7 +6925,7 @@
|
|
|
6520
6925
|
"type": "(path: string) => undefined | { time: number; engineVersion: string; configHash: string; inFlight: string[]; intervalMs: number; restarting?: string | undefined; }"
|
|
6521
6926
|
},
|
|
6522
6927
|
"readHistory": {
|
|
6523
|
-
"type": "(git: Git, base: string, { historyDepth, changeLabels, }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
6928
|
+
"type": "(git: Git, base: string, { historyDepth, changeLabels, }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"changeLabels\" | \"historyDepth\">) => Promise<PastChange[]>"
|
|
6524
6929
|
},
|
|
6525
6930
|
"readPick": {
|
|
6526
6931
|
"type": "(purpose: \"plan\" | \"review\", { structured }: Pick<Finished, \"structured\">, diff: string) => Read"
|
|
@@ -6554,7 +6959,7 @@
|
|
|
6554
6959
|
"type": "typeof Records; new <S extends z.core.$ZodType>(folder: string, schema: S) => Records<S>\nget: (key: string) => output<S> | undefined; put: (key: string, value: input<S>) => void; remove: (key: string) => void; list: () => output<S>[]"
|
|
6555
6960
|
},
|
|
6556
6961
|
"Refusal": {
|
|
6557
|
-
"type": "export type Refusal = {\n readonly code: \"malformed-config\";\n readonly where: string;\n readonly message: string;\n} | {\n readonly code: \"unknown-schema-version\";\n readonly found: number | undefined;\n readonly readable: readonly number[];\n readonly message: string;\n} | {\n readonly code: \"invalid-config\";\n readonly problems: readonly Problem[];\n readonly message: string;\n} | {\n readonly code: \"unmapped-state\";\n readonly items: readonly {\n readonly kind: string;\n readonly state: string;\n }[];\n readonly message: string;\n} | {\n readonly code: \"change-from-run\";\n readonly branch: string;\n readonly message: string;\n} | {\n readonly code: \"no-git-identity\";\n readonly missing: readonly string[];\n readonly message: string;\n};\n= { readonly code: \"change-from-run\"; readonly branch: string; readonly message: string; } | { readonly code: \"invalid-config\"; readonly problems: readonly Problem[]; readonly message: string; } | { readonly code: \"malformed-config\"; readonly where: string; readonly message: string; } | { readonly code: \"no-git-identity\"; readonly missing: readonly string[]; readonly message: string; } | { readonly code: \"unknown-schema-version\"; readonly found: number | undefined; readonly readable: readonly number[]; readonly message: string; } | { readonly code: \"unmapped-state\"; readonly items: readonly { readonly kind: string; readonly state: string; }[]; readonly message: string; }"
|
|
6962
|
+
"type": "export type Refusal = {\n readonly code: \"malformed-config\";\n readonly where: string;\n readonly message: string;\n} | {\n readonly code: \"unknown-schema-version\";\n readonly found: number | undefined;\n readonly readable: readonly number[];\n readonly message: string;\n} | {\n readonly code: \"invalid-config\";\n readonly problems: readonly Problem[];\n readonly message: string;\n} | {\n readonly code: \"unmapped-state\";\n readonly items: readonly {\n readonly kind: string;\n readonly state: string;\n }[];\n readonly message: string;\n} | {\n readonly code: \"change-from-run\";\n readonly branch: string;\n readonly message: string;\n} | {\n readonly code: \"no-git-identity\";\n readonly missing: readonly string[];\n readonly message: string;\n} | {\n readonly code: \"own-runner-on-public-repo\";\n readonly message: string;\n};\n= { readonly code: \"change-from-run\"; readonly branch: string; readonly message: string; } | { readonly code: \"invalid-config\"; readonly problems: readonly Problem[]; readonly message: string; } | { readonly code: \"malformed-config\"; readonly where: string; readonly message: string; } | { readonly code: \"no-git-identity\"; readonly missing: readonly string[]; readonly message: string; } | { readonly code: \"own-runner-on-public-repo\"; readonly message: string; } | { readonly code: \"unknown-schema-version\"; readonly found: number | undefined; readonly readable: readonly number[]; readonly message: string; } | { readonly code: \"unmapped-state\"; readonly items: readonly { readonly kind: string; readonly state: string; }[]; readonly message: string; }"
|
|
6558
6963
|
},
|
|
6559
6964
|
"refuseOtherVersion": {
|
|
6560
6965
|
"type": "(name: string, adapter: Adapter, faults: Faults) => undefined | { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }"
|
|
@@ -6584,7 +6989,7 @@
|
|
|
6584
6989
|
"type": "export type Result<T> = {\n readonly ok: true;\n readonly value: T;\n} | {\n readonly ok: false;\n readonly refusal: Refusal;\n};\n= { readonly ok: false; readonly refusal: Refusal; } | { readonly ok: true; readonly value: T; }"
|
|
6585
6990
|
},
|
|
6586
6991
|
"reviewInput": {
|
|
6587
|
-
"type": "(item: ItemText, diff: string, { diffLimit }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number;
|
|
6992
|
+
"type": "(item: ItemText, diff: string, { diffLimit }: Pick<{ checks: string[]; kindLabels: Record<string, string>; runPlaces: (\"ci\" | \"mac\")[]; runBranchPrefix: string; claimPrefix: string; readyLabel: string; mergeMethod: \"merge\" | \"rebase\" | \"squash\"; models: Record<\"light\" | \"standard\" | \"top\", string>; runners: number; tickIntervalSeconds: number; drainTimeoutSeconds: number; claimExpirySeconds: number; latestVersionCacheSeconds: number; watchCacheSeconds: number; watchLockSeconds: number; maxFixRuns: number; serviceLabel: string; maxCrashes: number; crashWindowSeconds: number; workerDownTicks: number; tokenWarnDays: number; ciSchedule: string; ciTickCacheSeconds: number; itemsDir: string; providerTimeoutSeconds: number; providerBackoff: { firstSeconds: number; maxSeconds: number; }; mergedShown: number; choicesShown: number; statusReadTimeoutSeconds: number; commandTimeoutSeconds: number; mergeTries: number; writeRaceRetries: number; itemReadsAtOnce: number; restartBackoff: { firstSeconds: number; maxSeconds: number; }; restartDelaySeconds: number; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; strictPaths: string[]; launches: ({ glob: string; level: string; base: string; } | { glob: string; level: string; from: string; until: string; })[]; sizeRange: { changes: number; fewest: number; middle: number; }; loosenedCheck: { added: string[]; removed: string[]; }; changeLabels: { fixWindow: number; fixSubject: string; revertSubject: string; revertTrailer: string; }; historyDepth: number; lockfiles: string[]; hookPaths: string[]; diffLimit: number; failureTail: number; kindMeanings: Record<string, string>; fallbackKind: string; docsOnly: { kind: string; paths: string[]; }; decisionModel: string; modelCallTimeoutSeconds: number; measuredModels: Record<\"alignment\" | \"kind\" | \"plan-outcome\" | \"repeat-pair\" | \"reply-option\" | \"review-verdict\" | \"taste\", Record<string, number>>; minJudgeRate: number; questionLimits: { cells: number; wordCells: number; }; questionTimeoutHours: number; priorityLabels: string[]; undoableLevels: string[]; ownerBranchPrefix: string; backgroundRuns: boolean; backgroundLaunchSeconds: number; backgroundPollSeconds: number; deniedRunCommands: string[]; runAutoMode: { environment: string[]; allow: string[]; hardDeny: string[]; }; runSlots: { enabled: boolean; pool: string; services: \"per-slot\" | \"shared\"; ports: { base: number; stride: number; }; projectPrefix: string; stepTimeoutSeconds: number; recipe: { prepare: string[]; refresh: { run: string; when: \"always\" | \"lockfile-changed\"; }[]; ready: string[]; }; }; ownerLogins: string[]; repeatAt: number; repeatPrecision: number; tasteRules: string[]; memoryMaxBytes: number; memoryUnusedRuns: number; measureWindow: number; loopIntervalSeconds: number; proofTimeoutSeconds: number; kindFloors: Record<string, string>; checkKind: string; breakCheck: boolean; mergeRisk: { weights: Record<\"alignment\" | \"errorDetection\" | \"impact\" | \"rollback\" | \"verification\", number>; cuts: [number, number]; }; schemaVersion: 2; levels: { name: string; review: \"agent\" | \"none\" | \"owner\"; release: \"after-proof\" | \"at-once\"; onBreak: \"block\" | \"follow-up\"; }[]; paths: { glob: string; level: string; proofs?: Record<string, string> | undefined; limit?: undefined | { fixes: number; of: number; }; }[]; roles: Record<string, { file: string; purpose: \"build\" | \"fix\" | \"plan\" | \"review\"; skills: string[]; }>; events: Record<string, { source: string; }>; kinds: string[]; commitIdentity: { name: string; email: string; }; safety?: Record<string, unknown> | undefined; dailyQuestionCap?: number | undefined; integrations?: Record<string, string> | undefined; ciToken?: undefined | { setUp: string; }; }, \"diffLimit\">) => string"
|
|
6588
6993
|
},
|
|
6589
6994
|
"roundupAdapter": {
|
|
6590
6995
|
"type": "(options: RoundupOptions, { now, env }: AdapterContext) => Whole"
|
|
@@ -6936,8 +7341,8 @@
|
|
|
6936
7341
|
"type": "export type SavedSnapshot = {\n readonly itemId: string;\n readonly kind: string;\n readonly machineVersion: string;\n readonly savedAt: number;\n readonly state: string | undefined;\n};\n= { readonly itemId: string; readonly kind: string; readonly machineVersion: string; readonly savedAt: number; readonly state: string | undefined; }"
|
|
6937
7342
|
},
|
|
6938
7343
|
"SCHEMA_VERSION": {
|
|
6939
|
-
"type": "
|
|
6940
|
-
"value":
|
|
7344
|
+
"type": "2",
|
|
7345
|
+
"value": 2
|
|
6941
7346
|
},
|
|
6942
7347
|
"serialized": {
|
|
6943
7348
|
"type": "(adapter: Integrations) => Integrations"
|
|
@@ -7202,7 +7607,7 @@
|
|
|
7202
7607
|
"type": "export type WorkflowFile = {\n readonly file: string;\n readonly text: string;\n};\n= { readonly file: string; readonly text: string; }"
|
|
7203
7608
|
},
|
|
7204
7609
|
"WorkflowSettings": {
|
|
7205
|
-
"type": "export type WorkflowSettings = Pick<HumConfig, \"runBranchPrefix\" | \"itemsDir\" | \"ciSchedule\" | \"commitIdentity\" | \"ciWakeTimeoutMinutes\" | \"
|
|
7610
|
+
"type": "export type WorkflowSettings = Pick<HumConfig, \"runBranchPrefix\" | \"itemsDir\" | \"ciSchedule\" | \"commitIdentity\" | \"ciWakeTimeoutMinutes\" | \"pullRequestToken\" | \"ciRunner\" | \"ciContainer\" | \"ciEnv\" | \"ciClaudeAuth\">;\n= { commitIdentity: { name: string; email: string; }; runBranchPrefix: string; ciSchedule: string; itemsDir: string; pullRequestToken: { from: \"app\"; clientIdSecret: string; privateKeySecret: string; } | { from: \"secret\"; secret: string; }; ciWakeTimeoutMinutes: number; ciRunner: string | string[] | { group: string; labels?: string | string[] | undefined; }; ciContainer: null | string | { image: string; credentials?: undefined | { username: string; password: string; }; env?: Record<string, string> | undefined; ports?: (number | string)[] | undefined; volumes?: string[] | undefined; options?: string | undefined; }; ciEnv: Record<string, string>; ciClaudeAuth: \"env\" | \"oauth-token\"; }"
|
|
7206
7611
|
},
|
|
7207
7612
|
"WorkSource": {
|
|
7208
7613
|
"type": "export interface WorkSource {\n listReady(): Promise<ItemRef[]>;\n read(id: ItemId): Promise<Item>;\n claim(id: ItemId, holder: Holder, ttlMs: number): Promise<ClaimResult>;\n renew(id: ItemId, holder: Holder, ttlMs: number): Promise<ClaimResult>;\n comment(id: ItemId, text: string): Promise<void>;\n fileFollowUp(from: ItemId, followUp: FollowUp): Promise<ItemRef>;\n}"
|