@moo.md/hum 0.4.1 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/defaults/hum.json +39 -12
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -1
- package/release.json +1 -1
- package/schema/hum.schema.json +63 -17
- package/scripts/eval.ts +58 -27
- package/src/adapters/claude-p.ts +7 -0
- package/src/adapters/model-call.ts +8 -4
- package/src/adapters/pull-requests.ts +11 -7
- package/src/cli/setup.ts +13 -18
- package/src/config/json.ts +3 -0
- package/src/config/migrate.ts +11 -0
- package/src/config/schema.ts +21 -6
- package/src/decide/alignment.ts +1 -1
- package/src/decide/merge.ts +21 -1
- package/src/decide/prose.ts +12 -2
- package/src/decide/risk.ts +1 -0
- package/src/loop/breaks.ts +17 -0
- package/src/loop/notes.ts +2 -2
- package/src/loop/pair.ts +2 -2
- package/src/loop/pass.ts +6 -3
- package/src/loop/records.ts +24 -1
- package/src/loop/signals.ts +2 -2
- package/src/measure/cases.ts +102 -0
- package/src/measure/inputs.ts +15 -1
- package/src/measure/judges.ts +52 -0
- package/src/measure/measure.ts +22 -3
- package/src/measure/rate.ts +9 -6
- package/src/measure/remeasure.ts +31 -0
- package/src/publish/handoff.ts +1 -1
- package/src/service/workflows.ts +4 -2
- package/src/setup/write.ts +2 -4
- package/src/state/events.ts +201 -19
- package/src/state/format.ts +9 -2
- package/src/state/item-log.ts +133 -0
- package/src/state/items.ts +6 -5
- package/src/state/open.ts +7 -2
- package/src/state/runs.ts +5 -0
- package/src/state/saved.ts +7 -2
- package/src/status/format.ts +12 -3
- package/src/worker/land.ts +36 -15
- package/src/worker/merged.ts +18 -8
- package/src/worker/open.ts +5 -1
- package/src/worker/prose-run.ts +6 -2
- package/src/worker/signature.ts +11 -5
- package/src/worker/thin-path.ts +69 -53
- package/src/worker/worker.ts +82 -12
- package/surface.json +969 -151
package/surface.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"schemaVersion": {
|
|
8
8
|
"type": "number",
|
|
9
|
-
"const":
|
|
9
|
+
"const": 3
|
|
10
10
|
},
|
|
11
11
|
"levels": {
|
|
12
12
|
"minItems": 1,
|
|
@@ -1024,26 +1024,52 @@
|
|
|
1024
1024
|
"measuredModels": {
|
|
1025
1025
|
"default": {
|
|
1026
1026
|
"kind": {
|
|
1027
|
-
"claude-haiku-5-5":
|
|
1028
|
-
|
|
1027
|
+
"claude-haiku-5-5": {
|
|
1028
|
+
"rate": 0.58,
|
|
1029
|
+
"judgeHash": "38d9c55d5a9ecca44ee320fd408cc34140fe32219a9d199f6d7114fced6800ef"
|
|
1030
|
+
},
|
|
1031
|
+
"claude-sonnet-5-5": {
|
|
1032
|
+
"rate": 0.63,
|
|
1033
|
+
"judgeHash": "38d9c55d5a9ecca44ee320fd408cc34140fe32219a9d199f6d7114fced6800ef"
|
|
1034
|
+
}
|
|
1029
1035
|
},
|
|
1030
1036
|
"alignment": {
|
|
1031
|
-
"claude-haiku-5-5":
|
|
1032
|
-
|
|
1037
|
+
"claude-haiku-5-5": {
|
|
1038
|
+
"rate": 0.68,
|
|
1039
|
+
"judgeHash": "dc59bc1941fa786d738dd1d8810a4d0644b8e672dd4239bea340102d2960fbbd"
|
|
1040
|
+
},
|
|
1041
|
+
"claude-sonnet-5-5": {
|
|
1042
|
+
"rate": 0.68,
|
|
1043
|
+
"judgeHash": "dc59bc1941fa786d738dd1d8810a4d0644b8e672dd4239bea340102d2960fbbd"
|
|
1044
|
+
}
|
|
1033
1045
|
},
|
|
1034
1046
|
"plan-outcome": {
|
|
1035
|
-
"claude-haiku-5-5":
|
|
1036
|
-
|
|
1047
|
+
"claude-haiku-5-5": {
|
|
1048
|
+
"rate": 1
|
|
1049
|
+
},
|
|
1050
|
+
"claude-sonnet-5-5": {
|
|
1051
|
+
"rate": 1
|
|
1052
|
+
}
|
|
1037
1053
|
},
|
|
1038
1054
|
"review-verdict": {
|
|
1039
|
-
"claude-haiku-5-5":
|
|
1040
|
-
|
|
1055
|
+
"claude-haiku-5-5": {
|
|
1056
|
+
"rate": 0.92
|
|
1057
|
+
},
|
|
1058
|
+
"claude-sonnet-5-5": {
|
|
1059
|
+
"rate": 0.83
|
|
1060
|
+
}
|
|
1041
1061
|
},
|
|
1042
1062
|
"reply-option": {
|
|
1043
|
-
"claude-haiku-5-5":
|
|
1063
|
+
"claude-haiku-5-5": {
|
|
1064
|
+
"rate": 0.87,
|
|
1065
|
+
"judgeHash": "75d15bd34fb5907209ae421ff529574447cda9eff461173f2d8ad6771e2ddd47"
|
|
1066
|
+
}
|
|
1044
1067
|
},
|
|
1045
1068
|
"repeat-pair": {
|
|
1046
|
-
"claude-haiku-5-5":
|
|
1069
|
+
"claude-haiku-5-5": {
|
|
1070
|
+
"rate": 1,
|
|
1071
|
+
"judgeHash": "fceeafd3501e0597d2c460ce2ff88021a1746eee91fdc18adc56a334b711d331"
|
|
1072
|
+
}
|
|
1047
1073
|
},
|
|
1048
1074
|
"taste": {}
|
|
1049
1075
|
},
|
|
@@ -1067,9 +1093,22 @@
|
|
|
1067
1093
|
"minLength": 1
|
|
1068
1094
|
},
|
|
1069
1095
|
"additionalProperties": {
|
|
1070
|
-
"type": "
|
|
1071
|
-
"
|
|
1072
|
-
|
|
1096
|
+
"type": "object",
|
|
1097
|
+
"properties": {
|
|
1098
|
+
"rate": {
|
|
1099
|
+
"type": "number",
|
|
1100
|
+
"minimum": 0,
|
|
1101
|
+
"maximum": 1
|
|
1102
|
+
},
|
|
1103
|
+
"judgeHash": {
|
|
1104
|
+
"type": "string",
|
|
1105
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
"required": [
|
|
1109
|
+
"rate"
|
|
1110
|
+
],
|
|
1111
|
+
"additionalProperties": false
|
|
1073
1112
|
}
|
|
1074
1113
|
},
|
|
1075
1114
|
"required": [
|
|
@@ -1088,6 +1127,12 @@
|
|
|
1088
1127
|
"minimum": 0,
|
|
1089
1128
|
"maximum": 1
|
|
1090
1129
|
},
|
|
1130
|
+
"evalRuns": {
|
|
1131
|
+
"default": 3,
|
|
1132
|
+
"type": "integer",
|
|
1133
|
+
"exclusiveMinimum": 0,
|
|
1134
|
+
"maximum": 9007199254740991
|
|
1135
|
+
},
|
|
1091
1136
|
"questionLimits": {
|
|
1092
1137
|
"default": {
|
|
1093
1138
|
"cells": 80,
|
|
@@ -1506,7 +1551,7 @@
|
|
|
1506
1551
|
"additionalProperties": false
|
|
1507
1552
|
},
|
|
1508
1553
|
"defaults": {
|
|
1509
|
-
"schemaVersion":
|
|
1554
|
+
"schemaVersion": 3,
|
|
1510
1555
|
"levels": [
|
|
1511
1556
|
{
|
|
1512
1557
|
"name": "low",
|
|
@@ -1719,28 +1764,55 @@
|
|
|
1719
1764
|
"decisionModel": "claude-haiku-5-5",
|
|
1720
1765
|
"modelCallTimeoutSeconds": 120,
|
|
1721
1766
|
"minJudgeRate": 0.8,
|
|
1767
|
+
"evalRuns": 3,
|
|
1722
1768
|
"measuredModels": {
|
|
1723
1769
|
"kind": {
|
|
1724
|
-
"claude-haiku-5-5":
|
|
1725
|
-
|
|
1770
|
+
"claude-haiku-5-5": {
|
|
1771
|
+
"rate": 0.58,
|
|
1772
|
+
"judgeHash": "38d9c55d5a9ecca44ee320fd408cc34140fe32219a9d199f6d7114fced6800ef"
|
|
1773
|
+
},
|
|
1774
|
+
"claude-sonnet-5-5": {
|
|
1775
|
+
"rate": 0.63,
|
|
1776
|
+
"judgeHash": "38d9c55d5a9ecca44ee320fd408cc34140fe32219a9d199f6d7114fced6800ef"
|
|
1777
|
+
}
|
|
1726
1778
|
},
|
|
1727
1779
|
"alignment": {
|
|
1728
|
-
"claude-haiku-5-5":
|
|
1729
|
-
|
|
1780
|
+
"claude-haiku-5-5": {
|
|
1781
|
+
"rate": 0.68,
|
|
1782
|
+
"judgeHash": "dc59bc1941fa786d738dd1d8810a4d0644b8e672dd4239bea340102d2960fbbd"
|
|
1783
|
+
},
|
|
1784
|
+
"claude-sonnet-5-5": {
|
|
1785
|
+
"rate": 0.68,
|
|
1786
|
+
"judgeHash": "dc59bc1941fa786d738dd1d8810a4d0644b8e672dd4239bea340102d2960fbbd"
|
|
1787
|
+
}
|
|
1730
1788
|
},
|
|
1731
1789
|
"plan-outcome": {
|
|
1732
|
-
"claude-haiku-5-5":
|
|
1733
|
-
|
|
1790
|
+
"claude-haiku-5-5": {
|
|
1791
|
+
"rate": 1
|
|
1792
|
+
},
|
|
1793
|
+
"claude-sonnet-5-5": {
|
|
1794
|
+
"rate": 1
|
|
1795
|
+
}
|
|
1734
1796
|
},
|
|
1735
1797
|
"review-verdict": {
|
|
1736
|
-
"claude-haiku-5-5":
|
|
1737
|
-
|
|
1798
|
+
"claude-haiku-5-5": {
|
|
1799
|
+
"rate": 0.92
|
|
1800
|
+
},
|
|
1801
|
+
"claude-sonnet-5-5": {
|
|
1802
|
+
"rate": 0.83
|
|
1803
|
+
}
|
|
1738
1804
|
},
|
|
1739
1805
|
"reply-option": {
|
|
1740
|
-
"claude-haiku-5-5":
|
|
1806
|
+
"claude-haiku-5-5": {
|
|
1807
|
+
"rate": 0.87,
|
|
1808
|
+
"judgeHash": "75d15bd34fb5907209ae421ff529574447cda9eff461173f2d8ad6771e2ddd47"
|
|
1809
|
+
}
|
|
1741
1810
|
},
|
|
1742
1811
|
"repeat-pair": {
|
|
1743
|
-
"claude-haiku-5-5":
|
|
1812
|
+
"claude-haiku-5-5": {
|
|
1813
|
+
"rate": 1,
|
|
1814
|
+
"judgeHash": "fceeafd3501e0597d2c460ce2ff88021a1746eee91fdc18adc56a334b711d331"
|
|
1815
|
+
}
|
|
1744
1816
|
},
|
|
1745
1817
|
"taste": {}
|
|
1746
1818
|
},
|
|
@@ -2196,7 +2268,7 @@
|
|
|
2196
2268
|
"src/state/format.ts": {
|
|
2197
2269
|
"ENGINE_VERSION": {
|
|
2198
2270
|
"type": "string",
|
|
2199
|
-
"value": "0.
|
|
2271
|
+
"value": "0.6.1"
|
|
2200
2272
|
},
|
|
2201
2273
|
"Envelope": {
|
|
2202
2274
|
"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>",
|
|
@@ -2357,8 +2429,8 @@
|
|
|
2357
2429
|
"additionalProperties": {}
|
|
2358
2430
|
}
|
|
2359
2431
|
},
|
|
2360
|
-
"
|
|
2361
|
-
"type": "({
|
|
2432
|
+
"isNewerThan": {
|
|
2433
|
+
"type": "({ format, engineVersion }: Written, running: { readonly format: number; readonly engineVersion: string; }) => boolean"
|
|
2362
2434
|
},
|
|
2363
2435
|
"SavedHeader": {
|
|
2364
2436
|
"type": "ZodObject<{ itemId: ZodString; kind: ZodString; machineVersion: ZodString; savedAt: ZodInt; snapshot: ZodObject<{ value: ZodCatch<ZodOptional<ZodString>>; }, $loose>; }, $loose>",
|
|
@@ -2402,6 +2474,10 @@
|
|
|
2402
2474
|
],
|
|
2403
2475
|
"additionalProperties": {}
|
|
2404
2476
|
}
|
|
2477
|
+
},
|
|
2478
|
+
"UPDATE_ENGINE": {
|
|
2479
|
+
"type": "\"Update the engine to that version or later: bun add --exact @moo.md/hum@latest.\"",
|
|
2480
|
+
"value": "Update the engine to that version or later: bun add --exact @moo.md/hum@latest."
|
|
2405
2481
|
}
|
|
2406
2482
|
},
|
|
2407
2483
|
"src/status/format.ts": {
|
|
@@ -2428,7 +2504,7 @@
|
|
|
2428
2504
|
"type": "ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; state: ZodMiniString<string>; since: ZodMiniInt; unclear: ZodMiniBoolean<boolean>; }, $strip>"
|
|
2429
2505
|
},
|
|
2430
2506
|
"Measure": {
|
|
2431
|
-
"type": "export type Measure = z.infer<typeof Measure>;\n= { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; }\nZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; window: ZodMiniInt; byPath: ZodMiniArray<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; glob: ZodMiniString<string>; }, $strip>>; }, $strip>"
|
|
2507
|
+
"type": "export type Measure = z.infer<typeof Measure>;\n= { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; byDoneBy: { doneBy: string; merges: number; reverted: number; fixed: number; }[]; }\nZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; window: ZodMiniInt; byPath: ZodMiniArray<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; glob: ZodMiniString<string>; }, $strip>>; byDoneBy: ZodMiniDefault<ZodMiniArray<ZodMiniObject<{ doneBy: ZodMiniString<string>; merges: ZodMiniInt; reverted: ZodMiniInt; fixed: ZodMiniInt; }, $strip>>>; }, $strip>"
|
|
2432
2508
|
},
|
|
2433
2509
|
"Merged": {
|
|
2434
2510
|
"type": "ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; mergedAt: ZodMiniInt; }, $strip>"
|
|
@@ -2437,7 +2513,7 @@
|
|
|
2437
2513
|
"type": "export type Question = z.infer<typeof Question>;\n= { item: string; text: string; options: string[]; since: number; }\nZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; options: ZodMiniArray<ZodMiniString<string>>; since: ZodMiniInt; }, $strip>"
|
|
2438
2514
|
},
|
|
2439
2515
|
"Status": {
|
|
2440
|
-
"type": "export type Status = z.infer<typeof Status>;\n= { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; }; }\nZodMiniObject<{ format: ZodMiniLiteral<2>; writtenAt: ZodMiniInt; workers: ZodMiniObject<{ mac: ZodMiniOptional<ZodMiniInt>; ci: ZodMiniOptional<ZodMiniInt>; }, $strip>; engine: ZodMiniObject<{ version: ZodMiniString<string>; adapterApi: ZodMiniInt; configSchema: ZodMiniInt; latest: ZodMiniOptional<ZodMiniString<string>>; }, $strip>; questions: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; options: ZodMiniArray<ZodMiniString<string>>; since: ZodMiniInt; }, $strip>>; cards: ZodMiniArray<ZodMiniObject<{ kind: ZodMiniEnum<{ waiting: \"waiting\"; limited: \"limited\"; fault: \"fault\"; }>; key: ZodMiniString<string>; item: ZodMiniOptional<ZodMiniString<string>>; code: ZodMiniString<string>; cause: ZodMiniString<string>; fix: ZodMiniString<string>; action: ZodMiniOptional<ZodMiniObject<{ label: ZodMiniString<string>; answer: ZodMiniString<string>; }, $strip>>; since: ZodMiniInt; }, $strip>>; inFlight: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; state: ZodMiniString<string>; since: ZodMiniInt; unclear: ZodMiniBoolean<boolean>; }, $strip>>; merged: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; mergedAt: ZodMiniInt; }, $strip>>; choices: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; at: ZodMiniInt; }, $strip>>; rules: ZodMiniArray<ZodMiniObject<{ glob: ZodMiniString<string>; level: ZodMiniString<string>; item: ZodMiniString<string>; at: ZodMiniInt; undo: ZodMiniObject<{ label: ZodMiniString<string>; command: ZodMiniString<string>; }, $strip>; }, $strip>>; possibleRepeats: ZodMiniArray<ZodMiniObject<{ a: ZodMiniString<string>; b: ZodMiniString<string>; }, $strip>>; unusedMemory: ZodMiniArray<ZodMiniString<string>>; measure: ZodMiniNullable<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; window: ZodMiniInt; byPath: ZodMiniArray<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; glob: ZodMiniString<string>; }, $strip>>; }, $strip>>; }, $strip>"
|
|
2516
|
+
"type": "export type Status = z.infer<typeof Status>;\n= { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; byDoneBy: { doneBy: string; merges: number; reverted: number; fixed: number; }[]; }; }\nZodMiniObject<{ format: ZodMiniLiteral<2>; writtenAt: ZodMiniInt; workers: ZodMiniObject<{ mac: ZodMiniOptional<ZodMiniInt>; ci: ZodMiniOptional<ZodMiniInt>; }, $strip>; engine: ZodMiniObject<{ version: ZodMiniString<string>; adapterApi: ZodMiniInt; configSchema: ZodMiniInt; latest: ZodMiniOptional<ZodMiniString<string>>; }, $strip>; questions: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; options: ZodMiniArray<ZodMiniString<string>>; since: ZodMiniInt; }, $strip>>; cards: ZodMiniArray<ZodMiniObject<{ kind: ZodMiniEnum<{ waiting: \"waiting\"; limited: \"limited\"; fault: \"fault\"; }>; key: ZodMiniString<string>; item: ZodMiniOptional<ZodMiniString<string>>; code: ZodMiniString<string>; cause: ZodMiniString<string>; fix: ZodMiniString<string>; action: ZodMiniOptional<ZodMiniObject<{ label: ZodMiniString<string>; answer: ZodMiniString<string>; }, $strip>>; since: ZodMiniInt; }, $strip>>; inFlight: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; state: ZodMiniString<string>; since: ZodMiniInt; unclear: ZodMiniBoolean<boolean>; }, $strip>>; merged: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; mergedAt: ZodMiniInt; }, $strip>>; choices: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; at: ZodMiniInt; }, $strip>>; rules: ZodMiniArray<ZodMiniObject<{ glob: ZodMiniString<string>; level: ZodMiniString<string>; item: ZodMiniString<string>; at: ZodMiniInt; undo: ZodMiniObject<{ label: ZodMiniString<string>; command: ZodMiniString<string>; }, $strip>; }, $strip>>; possibleRepeats: ZodMiniArray<ZodMiniObject<{ a: ZodMiniString<string>; b: ZodMiniString<string>; }, $strip>>; unusedMemory: ZodMiniArray<ZodMiniString<string>>; measure: ZodMiniNullable<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; window: ZodMiniInt; byPath: ZodMiniArray<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; glob: ZodMiniString<string>; }, $strip>>; byDoneBy: ZodMiniDefault<ZodMiniArray<ZodMiniObject<{ doneBy: ZodMiniString<string>; merges: ZodMiniInt; reverted: ZodMiniInt; fixed: ZodMiniInt; }, $strip>>>; }, $strip>>; }, $strip>"
|
|
2441
2517
|
},
|
|
2442
2518
|
"STATUS_FORMAT": {
|
|
2443
2519
|
"type": "2",
|
|
@@ -2682,7 +2758,7 @@
|
|
|
2682
2758
|
"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\">; }"
|
|
2683
2759
|
},
|
|
2684
2760
|
"alignedPlacement": {
|
|
2685
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
2761
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"levels\" | \"mergeRisk\">) => Placement"
|
|
2686
2762
|
},
|
|
2687
2763
|
"AlignmentAnswer": {
|
|
2688
2764
|
"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>",
|
|
@@ -2715,7 +2791,7 @@
|
|
|
2715
2791
|
}
|
|
2716
2792
|
},
|
|
2717
2793
|
"alignmentQuestion": {
|
|
2718
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
2794
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", 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>; }"
|
|
2719
2795
|
},
|
|
2720
2796
|
"Answer": {
|
|
2721
2797
|
"type": "export type Answer = {\n readonly text: string;\n readonly option?: string;\n};\n= { readonly text: string; readonly option?: string | undefined; }"
|
|
@@ -2734,16 +2810,16 @@
|
|
|
2734
2810
|
"value": "background-start-check-failed"
|
|
2735
2811
|
},
|
|
2736
2812
|
"BackgroundOptions": {
|
|
2737
|
-
"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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"backgroundLaunchSeconds\" | \"backgroundPollSeconds\" | \"commandTimeoutSeconds\" | \"deniedRunCommands\" | \"runAutoMode\">; readonly fallback: Runner; }"
|
|
2813
|
+
"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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }, \"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"backgroundLaunchSeconds\" | \"backgroundPollSeconds\" | \"commandTimeoutSeconds\" | \"deniedRunCommands\" | \"runAutoMode\">; readonly fallback: Runner; }"
|
|
2738
2814
|
},
|
|
2739
2815
|
"backgroundRunner": {
|
|
2740
2816
|
"type": "({ binary, env, state, config, fallback, now }: BackgroundOptions) => Runner"
|
|
2741
2817
|
},
|
|
2742
2818
|
"backgroundSettings": {
|
|
2743
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
2819
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", 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; }[]; }[]; }; }"
|
|
2744
2820
|
},
|
|
2745
2821
|
"BackgroundStartOptions": {
|
|
2746
|
-
"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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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; }"
|
|
2822
|
+
"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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }, \"dir\" | \"faults\" | \"limit\">; readonly repo: string; }"
|
|
2747
2823
|
},
|
|
2748
2824
|
"BegunRun": {
|
|
2749
2825
|
"type": "export type BegunRun = {\n readonly record: RunRecord;\n readonly adopted: boolean;\n readonly saveSession: (sessionId: string) => RunRecord;\n readonly end: (memoryUsed?: readonly string[]) => RunRecord;\n};\n= { readonly record: { itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; }; readonly adopted: boolean; readonly saveSession: (sessionId: string) => { itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; }; readonly end: (memoryUsed?: readonly string[] | undefined) => { itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; }; }"
|
|
@@ -2767,7 +2843,7 @@
|
|
|
2767
2843
|
"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>>"
|
|
2768
2844
|
},
|
|
2769
2845
|
"changeOf": {
|
|
2770
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
2846
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"lockfiles\" | \"loosenedCheck\">) => Readonly<{ paths: readonly string[]; size: number; loosened: boolean; pinChanged: boolean; }>"
|
|
2771
2847
|
},
|
|
2772
2848
|
"Check": {
|
|
2773
2849
|
"type": "export type Check = {\n readonly name: string;\n readonly run: () => Promise<void>;\n};\n= { readonly name: string; readonly run: () => Promise<void>; }"
|
|
@@ -2935,7 +3011,7 @@
|
|
|
2935
3011
|
"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; }"
|
|
2936
3012
|
},
|
|
2937
3013
|
"Config": {
|
|
2938
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
3014
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", 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; }"
|
|
2939
3015
|
},
|
|
2940
3016
|
"ConfigChange": {
|
|
2941
3017
|
"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; }"
|
|
@@ -2944,7 +3020,7 @@
|
|
|
2944
3020
|
"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; }"
|
|
2945
3021
|
},
|
|
2946
3022
|
"configuredModelCall": {
|
|
2947
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
3023
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"decisionModel\" | \"measuredModels\" | \"minJudgeRate\" | \"modelCallTimeoutSeconds\">, onSpent?: ((item: string, tokens: number) => void) | undefined) => ModelCall"
|
|
2948
3024
|
},
|
|
2949
3025
|
"contractChecks": {
|
|
2950
3026
|
"type": "(target: ContractTarget) => Check[]"
|
|
@@ -2975,13 +3051,13 @@
|
|
|
2975
3051
|
"type": "(cites: readonly { file: string; line: number; }[], diff: string) => boolean"
|
|
2976
3052
|
},
|
|
2977
3053
|
"doesLeaveDocs": {
|
|
2978
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
3054
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"docsOnly\">) => boolean"
|
|
2979
3055
|
},
|
|
2980
3056
|
"doesNeedReviewRun": {
|
|
2981
3057
|
"type": "(route: Route) => boolean"
|
|
2982
3058
|
},
|
|
2983
3059
|
"doesRaiseLevel": {
|
|
2984
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
3060
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"mergeRisk\">; }) => boolean"
|
|
2985
3061
|
},
|
|
2986
3062
|
"doOverlap": {
|
|
2987
3063
|
"type": "(a: Footprint, b: Footprint) => boolean"
|
|
@@ -2990,11 +3066,11 @@
|
|
|
2990
3066
|
"type": "export type Effort = (typeof EFFORTS)[number];\n= \"high\" | \"low\" | \"medium\""
|
|
2991
3067
|
},
|
|
2992
3068
|
"emptyStatus": {
|
|
2993
|
-
"type": "(engineVersion: string, writtenAt: number) => { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; }; }"
|
|
3069
|
+
"type": "(engineVersion: string, writtenAt: number) => { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; byDoneBy: { doneBy: string; merges: number; reverted: number; fixed: number; }[]; }; }"
|
|
2994
3070
|
},
|
|
2995
3071
|
"ENGINE_VERSION": {
|
|
2996
3072
|
"type": "string",
|
|
2997
|
-
"value": "0.
|
|
3073
|
+
"value": "0.6.1"
|
|
2998
3074
|
},
|
|
2999
3075
|
"engineImporters": {
|
|
3000
3076
|
"type": "(files: readonly string[]) => { file: string; module: string; }[]"
|
|
@@ -3090,7 +3166,7 @@
|
|
|
3090
3166
|
"type": "export type EnvelopeMigrations = Steps<EnvelopeJson>;\n= { readonly [x: number]: (value: Record<string, JSONType>) => Record<string, JSONType>; }"
|
|
3091
3167
|
},
|
|
3092
3168
|
"EventLog": {
|
|
3093
|
-
"type": "typeof EventLog; new (folder: string, now: () => number) => EventLog\nadd: (event: NewEvent) => { readonly added: boolean; readonly event: { source: string; sourceId: string; itemId: string; type: string; receivedAt: number; payload: JSONType; }; }; get: (key: Pick<{ source: string; sourceId: string; itemId: string; type: string; receivedAt: number; payload: JSONType; }, \"itemId\" | \"source\" | \"sourceId\">) => { source: string; sourceId: string; itemId: string; type: string; receivedAt: number; payload: JSONType; }; list: (itemId: string) => { source: string; sourceId: string; itemId: string; type: string; receivedAt: number; payload: JSONType; }[]"
|
|
3169
|
+
"type": "typeof EventLog; new (folder: string, now: () => number, faults: Faults, engineVersion?: string) => EventLog\nadd: ({ sourceId, ...event }: NewEvent) => { readonly added: boolean; readonly event: { machineVersion: string; type: \"machine-started\"; payload: { afresh: boolean; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { machineVersion: string; type: \"model-answered\"; payload: { run: string; attempt: number; outcome: { kind: \"finished\"; subtype: string; isError: boolean; text: string; tokens: number; cacheReadTokens: number; plugins: string[]; models: string[]; sessionId?: string | undefined; structured?: JSONType | undefined; keySource?: string | undefined; } | { kind: \"over-cap\"; tokens: number; }; question?: string | undefined; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"answered\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"landing-found\"; payload: { head: string; doneBy: \"checks\" | \"owner\" | \"review\" | \"split\"; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"merged\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"picked\"; payload: { judge: \"alignment\"; head: string; alignment: { abstained: string; } | { graded: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }; }; } | { judge: \"plan\"; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; } | { judge: \"review\"; head: string; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }; }; copyTo: (into: EventLog, itemId: string) => void; get: (key: Pick<{ machineVersion: string; type: \"machine-started\"; payload: { afresh: boolean; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { machineVersion: string; type: \"model-answered\"; payload: { run: string; attempt: number; outcome: { kind: \"finished\"; subtype: string; isError: boolean; text: string; tokens: number; cacheReadTokens: number; plugins: string[]; models: string[]; sessionId?: string | undefined; structured?: JSONType | undefined; keySource?: string | undefined; } | { kind: \"over-cap\"; tokens: number; }; question?: string | undefined; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"answered\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"landing-found\"; payload: { head: string; doneBy: \"checks\" | \"owner\" | \"review\" | \"split\"; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"merged\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"picked\"; payload: { judge: \"alignment\"; head: string; alignment: { abstained: string; } | { graded: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }; }; } | { judge: \"plan\"; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; } | { judge: \"review\"; head: string; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }, \"itemId\" | \"source\" | \"sourceId\">) => { machineVersion: string; type: \"machine-started\"; payload: { afresh: boolean; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { machineVersion: string; type: \"model-answered\"; payload: { run: string; attempt: number; outcome: { kind: \"finished\"; subtype: string; isError: boolean; text: string; tokens: number; cacheReadTokens: number; plugins: string[]; models: string[]; sessionId?: string | undefined; structured?: JSONType | undefined; keySource?: string | undefined; } | { kind: \"over-cap\"; tokens: number; }; question?: string | undefined; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"answered\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"landing-found\"; payload: { head: string; doneBy: \"checks\" | \"owner\" | \"review\" | \"split\"; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"merged\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"picked\"; payload: { judge: \"alignment\"; head: string; alignment: { abstained: string; } | { graded: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }; }; } | { judge: \"plan\"; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; } | { judge: \"review\"; head: string; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }; read: (itemId: string) => Outcome<({ machineVersion: string; type: \"machine-started\"; payload: { afresh: boolean; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { machineVersion: string; type: \"model-answered\"; payload: { run: string; attempt: number; outcome: { kind: \"finished\"; subtype: string; isError: boolean; text: string; tokens: number; cacheReadTokens: number; plugins: string[]; models: string[]; sessionId?: string | undefined; structured?: JSONType | undefined; keySource?: string | undefined; } | { kind: \"over-cap\"; tokens: number; }; question?: string | undefined; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"answered\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"landing-found\"; payload: { head: string; doneBy: \"checks\" | \"owner\" | \"review\" | \"split\"; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"merged\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"picked\"; payload: { judge: \"alignment\"; head: string; alignment: { abstained: string; } | { graded: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }; }; } | { judge: \"plan\"; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; } | { judge: \"review\"; head: string; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; })[]>; list: (itemId: string) => ({ machineVersion: string; type: \"machine-started\"; payload: { afresh: boolean; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { machineVersion: string; type: \"model-answered\"; payload: { run: string; attempt: number; outcome: { kind: \"finished\"; subtype: string; isError: boolean; text: string; tokens: number; cacheReadTokens: number; plugins: string[]; models: string[]; sessionId?: string | undefined; structured?: JSONType | undefined; keySource?: string | undefined; } | { kind: \"over-cap\"; tokens: number; }; question?: string | undefined; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"answered\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"landing-found\"; payload: { head: string; doneBy: \"checks\" | \"owner\" | \"review\" | \"split\"; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"merged\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"picked\"; payload: { judge: \"alignment\"; head: string; alignment: { abstained: string; } | { graded: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }; }; } | { judge: \"plan\"; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; } | { judge: \"review\"; head: string; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; })[]"
|
|
3094
3170
|
},
|
|
3095
3171
|
"EventPick": {
|
|
3096
3172
|
"type": "export type EventPick = z.infer<typeof EventPick>;\n= { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }\nZodObject<{ event: ZodString; sure: ZodBoolean; reason: ZodString; cites: ZodDefault<ZodArray<ZodObject<{ file: ZodString; line: ZodInt; }, $strict>>>; plan: ZodOptional<ZodObject<{ summary: ZodString; steps: ZodArray<ZodString>; paths: ZodArray<ZodString>; }, $strict>>; question: ZodOptional<ZodString>; parts: ZodDefault<ZodArray<ZodString>>; }, $strip>",
|
|
@@ -3298,7 +3374,7 @@
|
|
|
3298
3374
|
"type": "export type Histories = ReadonlyMap<string, PathHistory>;\n= ReadonlyMap<string, PathHistory>"
|
|
3299
3375
|
},
|
|
3300
3376
|
"historiesOf": {
|
|
3301
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
3377
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"changeLabels\" | \"paths\">, broken?: ReadonlySet<string>) => Histories"
|
|
3302
3378
|
},
|
|
3303
3379
|
"Holder": {
|
|
3304
3380
|
"type": "export type Holder = z.infer<typeof Holder>;\n= string & $brand<\"Holder\">\n$ZodBranded<ZodString, \"Holder\", \"out\">",
|
|
@@ -3309,14 +3385,14 @@
|
|
|
3309
3385
|
}
|
|
3310
3386
|
},
|
|
3311
3387
|
"HumConfig": {
|
|
3312
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", 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>; ciOutboxMaxMegabytes: ZodDefault<ZodInt>; ciUsageLimitMaxHours: ZodDefault<ZodInt>; followUpsPerPass: ZodDefault<ZodInt>; publishTreeMaxMegabytes: ZodDefault<ZodInt>; ciMergeMarginMinutes: 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<ZodEnum<{ questions: \"questions\"; release: \"release\"; \"work-source\": \"work-source\"; answers: \"answers\"; }> & $partial, ZodString>>; ciToken: ZodOptional<ZodObject<{ setUp: ZodISODate; }, $strict>>; commitIdentity: ZodObject<{ name: ZodString; email: ZodString; }, $strict>; }, $strict>",
|
|
3388
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", 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>; ciOutboxMaxMegabytes: ZodDefault<ZodInt>; ciUsageLimitMaxHours: ZodDefault<ZodInt>; followUpsPerPass: ZodDefault<ZodInt>; publishTreeMaxMegabytes: ZodDefault<ZodInt>; ciMergeMarginMinutes: 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, ZodObject<{ rate: ZodNumber; judgeHash: ZodOptional<ZodString>; }, $strict>>>>; minJudgeRate: ZodDefault<ZodNumber>; evalRuns: ZodDefault<ZodInt>; 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<3>; 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<ZodEnum<{ questions: \"questions\"; release: \"release\"; \"work-source\": \"work-source\"; answers: \"answers\"; }> & $partial, ZodString>>; ciToken: ZodOptional<ZodObject<{ setUp: ZodISODate; }, $strict>>; commitIdentity: ZodObject<{ name: ZodString; email: ZodString; }, $strict>; }, $strict>",
|
|
3313
3389
|
"schema": {
|
|
3314
3390
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3315
3391
|
"type": "object",
|
|
3316
3392
|
"properties": {
|
|
3317
3393
|
"schemaVersion": {
|
|
3318
3394
|
"type": "number",
|
|
3319
|
-
"const":
|
|
3395
|
+
"const": 3
|
|
3320
3396
|
},
|
|
3321
3397
|
"levels": {
|
|
3322
3398
|
"minItems": 1,
|
|
@@ -4334,26 +4410,52 @@
|
|
|
4334
4410
|
"measuredModels": {
|
|
4335
4411
|
"default": {
|
|
4336
4412
|
"kind": {
|
|
4337
|
-
"claude-haiku-5-5":
|
|
4338
|
-
|
|
4413
|
+
"claude-haiku-5-5": {
|
|
4414
|
+
"rate": 0.58,
|
|
4415
|
+
"judgeHash": "38d9c55d5a9ecca44ee320fd408cc34140fe32219a9d199f6d7114fced6800ef"
|
|
4416
|
+
},
|
|
4417
|
+
"claude-sonnet-5-5": {
|
|
4418
|
+
"rate": 0.63,
|
|
4419
|
+
"judgeHash": "38d9c55d5a9ecca44ee320fd408cc34140fe32219a9d199f6d7114fced6800ef"
|
|
4420
|
+
}
|
|
4339
4421
|
},
|
|
4340
4422
|
"alignment": {
|
|
4341
|
-
"claude-haiku-5-5":
|
|
4342
|
-
|
|
4423
|
+
"claude-haiku-5-5": {
|
|
4424
|
+
"rate": 0.68,
|
|
4425
|
+
"judgeHash": "dc59bc1941fa786d738dd1d8810a4d0644b8e672dd4239bea340102d2960fbbd"
|
|
4426
|
+
},
|
|
4427
|
+
"claude-sonnet-5-5": {
|
|
4428
|
+
"rate": 0.68,
|
|
4429
|
+
"judgeHash": "dc59bc1941fa786d738dd1d8810a4d0644b8e672dd4239bea340102d2960fbbd"
|
|
4430
|
+
}
|
|
4343
4431
|
},
|
|
4344
4432
|
"plan-outcome": {
|
|
4345
|
-
"claude-haiku-5-5":
|
|
4346
|
-
|
|
4433
|
+
"claude-haiku-5-5": {
|
|
4434
|
+
"rate": 1
|
|
4435
|
+
},
|
|
4436
|
+
"claude-sonnet-5-5": {
|
|
4437
|
+
"rate": 1
|
|
4438
|
+
}
|
|
4347
4439
|
},
|
|
4348
4440
|
"review-verdict": {
|
|
4349
|
-
"claude-haiku-5-5":
|
|
4350
|
-
|
|
4441
|
+
"claude-haiku-5-5": {
|
|
4442
|
+
"rate": 0.92
|
|
4443
|
+
},
|
|
4444
|
+
"claude-sonnet-5-5": {
|
|
4445
|
+
"rate": 0.83
|
|
4446
|
+
}
|
|
4351
4447
|
},
|
|
4352
4448
|
"reply-option": {
|
|
4353
|
-
"claude-haiku-5-5":
|
|
4449
|
+
"claude-haiku-5-5": {
|
|
4450
|
+
"rate": 0.87,
|
|
4451
|
+
"judgeHash": "75d15bd34fb5907209ae421ff529574447cda9eff461173f2d8ad6771e2ddd47"
|
|
4452
|
+
}
|
|
4354
4453
|
},
|
|
4355
4454
|
"repeat-pair": {
|
|
4356
|
-
"claude-haiku-5-5":
|
|
4455
|
+
"claude-haiku-5-5": {
|
|
4456
|
+
"rate": 1,
|
|
4457
|
+
"judgeHash": "fceeafd3501e0597d2c460ce2ff88021a1746eee91fdc18adc56a334b711d331"
|
|
4458
|
+
}
|
|
4357
4459
|
},
|
|
4358
4460
|
"taste": {}
|
|
4359
4461
|
},
|
|
@@ -4377,9 +4479,22 @@
|
|
|
4377
4479
|
"minLength": 1
|
|
4378
4480
|
},
|
|
4379
4481
|
"additionalProperties": {
|
|
4380
|
-
"type": "
|
|
4381
|
-
"
|
|
4382
|
-
|
|
4482
|
+
"type": "object",
|
|
4483
|
+
"properties": {
|
|
4484
|
+
"rate": {
|
|
4485
|
+
"type": "number",
|
|
4486
|
+
"minimum": 0,
|
|
4487
|
+
"maximum": 1
|
|
4488
|
+
},
|
|
4489
|
+
"judgeHash": {
|
|
4490
|
+
"type": "string",
|
|
4491
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
4492
|
+
}
|
|
4493
|
+
},
|
|
4494
|
+
"required": [
|
|
4495
|
+
"rate"
|
|
4496
|
+
],
|
|
4497
|
+
"additionalProperties": false
|
|
4383
4498
|
}
|
|
4384
4499
|
},
|
|
4385
4500
|
"required": [
|
|
@@ -4398,6 +4513,12 @@
|
|
|
4398
4513
|
"minimum": 0,
|
|
4399
4514
|
"maximum": 1
|
|
4400
4515
|
},
|
|
4516
|
+
"evalRuns": {
|
|
4517
|
+
"default": 3,
|
|
4518
|
+
"type": "integer",
|
|
4519
|
+
"exclusiveMinimum": 0,
|
|
4520
|
+
"maximum": 9007199254740991
|
|
4521
|
+
},
|
|
4401
4522
|
"questionLimits": {
|
|
4402
4523
|
"default": {
|
|
4403
4524
|
"cells": 80,
|
|
@@ -4835,7 +4956,7 @@
|
|
|
4835
4956
|
"type": "(branch: string, { runBranchPrefix, claimPrefix }: Naming) => boolean"
|
|
4836
4957
|
},
|
|
4837
4958
|
"isTrusted": {
|
|
4838
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
4959
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"measuredModels\" | \"minJudgeRate\">) => boolean"
|
|
4839
4960
|
},
|
|
4840
4961
|
"Item": {
|
|
4841
4962
|
"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>",
|
|
@@ -5819,7 +5940,7 @@
|
|
|
5819
5940
|
"type": "(ctx: LandContext) => Promise<ThinResult>"
|
|
5820
5941
|
},
|
|
5821
5942
|
"LandContext": {
|
|
5822
|
-
"type": "export type LandContext = {\n readonly state: State;\n readonly config: Config;\n readonly kind: string;\n readonly id: string;\n readonly item: Item;\n readonly branch: string;\n readonly base: string;\n readonly remote: string;\n readonly clone: string;\n readonly dir: string;\n readonly git: Git;\n readonly workSource: WorkSource;\n readonly questions: Questions;\n readonly pulls: PullRequests | undefined;\n readonly commits: GitHubCommits | undefined;\n readonly now: () => number;\n readonly judge: ModelCall;\n readonly reviewRun: (change: {\n readonly head: string;\n readonly diff: string;\n readonly level: string;\n }) => Promise<ReviewOutcome>;\n readonly mergesBefore?: number;\n};\n= { readonly state: { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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\">>; }; readonly config: Config; readonly kind: string; readonly id: string; readonly item: { 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; }; readonly branch: string; readonly base: string; readonly remote: string; readonly clone: string; readonly dir: string; readonly git: Git; readonly workSource: WorkSource; readonly questions: Questions; readonly pulls: PullRequests | undefined; readonly commits: GitHubCommits | undefined; readonly now: () => number; readonly judge: ModelCall; readonly reviewRun: (change: { readonly head: string; readonly diff: string; readonly level: string; }) => Promise<ReviewOutcome>; readonly mergesBefore?: number | undefined; }"
|
|
5943
|
+
"type": "export type LandContext = {\n readonly state: State;\n readonly config: Config;\n readonly kind: string;\n readonly id: string;\n readonly item: Item;\n readonly branch: string;\n readonly base: string;\n readonly remote: string;\n readonly clone: string;\n readonly dir: string;\n readonly git: Git;\n readonly workSource: WorkSource;\n readonly questions: Questions;\n readonly pulls: PullRequests | undefined;\n readonly commits: GitHubCommits | undefined;\n readonly now: () => number;\n readonly judge: ModelCall;\n readonly reviewRun: (change: {\n readonly head: string;\n readonly diff: string;\n readonly level: string;\n }) => Promise<ReviewOutcome>;\n readonly mergesBefore?: number;\n};\n= { readonly state: { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }; readonly config: Config; readonly kind: string; readonly id: string; readonly item: { 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; }; readonly branch: string; readonly base: string; readonly remote: string; readonly clone: string; readonly dir: string; readonly git: Git; readonly workSource: WorkSource; readonly questions: Questions; readonly pulls: PullRequests | undefined; readonly commits: GitHubCommits | undefined; readonly now: () => number; readonly judge: ModelCall; readonly reviewRun: (change: { readonly head: string; readonly diff: string; readonly level: string; }) => Promise<ReviewOutcome>; readonly mergesBefore?: number | undefined; }"
|
|
5823
5944
|
},
|
|
5824
5945
|
"Landing": {
|
|
5825
5946
|
"type": "export type Landing = {\n readonly via: \"push\";\n} | {\n readonly via: \"pull-request\";\n readonly autoMerge: boolean;\n} | {\n readonly via: \"wait\";\n};\n= { readonly via: \"pull-request\"; readonly autoMerge: boolean; } | { readonly via: \"push\"; } | { readonly via: \"wait\"; }"
|
|
@@ -6623,7 +6744,7 @@
|
|
|
6623
6744
|
"type": "(changes: readonly PastChange[], labels: ReadonlyMap<string, \"clean\" | \"fixed\" | \"reverted\">) => readonly PastChange[]"
|
|
6624
6745
|
},
|
|
6625
6746
|
"Measure": {
|
|
6626
|
-
"type": "export type Measure = z.infer<typeof Measure>;\n= { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; }\nZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; window: ZodMiniInt; byPath: ZodMiniArray<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; glob: ZodMiniString<string>; }, $strip>>; }, $strip>"
|
|
6747
|
+
"type": "export type Measure = z.infer<typeof Measure>;\n= { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; byDoneBy: { doneBy: string; merges: number; reverted: number; fixed: number; }[]; }\nZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; window: ZodMiniInt; byPath: ZodMiniArray<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; glob: ZodMiniString<string>; }, $strip>>; byDoneBy: ZodMiniDefault<ZodMiniArray<ZodMiniObject<{ doneBy: ZodMiniString<string>; merges: ZodMiniInt; reverted: ZodMiniInt; fixed: ZodMiniInt; }, $strip>>>; }, $strip>"
|
|
6627
6748
|
},
|
|
6628
6749
|
"Merged": {
|
|
6629
6750
|
"type": "ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; mergedAt: ZodMiniInt; }, $strip>"
|
|
@@ -6641,7 +6762,7 @@
|
|
|
6641
6762
|
"type": "export type Migrations = Steps<ConfigJson>;\n= { readonly [x: number]: (value: Readonly<Record<string, JSONType>>) => Readonly<Record<string, JSONType>>; }"
|
|
6642
6763
|
},
|
|
6643
6764
|
"MIGRATIONS": {
|
|
6644
|
-
"type": "{ 1: ({ pullRequestTokenSecret, ...config }: Readonly<Record<string, JSONType>>) => { pullRequestToken: { from: string; secret: JSONType; }; } | { readonly [x: string]: JSONType; }; }"
|
|
6765
|
+
"type": "{ 1: ({ pullRequestTokenSecret, ...config }: Readonly<Record<string, JSONType>>) => { pullRequestToken: { from: string; secret: JSONType; }; } | { readonly [x: string]: JSONType; }; 2: ({ measuredModels, ...config }: Readonly<Record<string, JSONType>>) => { readonly [x: string]: JSONType; }; }"
|
|
6645
6766
|
},
|
|
6646
6767
|
"ModelCall": {
|
|
6647
6768
|
"type": "export type ModelCall = <T>(question: Question<T>) => Promise<Judgment<T>>;\n= <T>(question: Question<T>) => Promise<Judgment<T>>"
|
|
@@ -6656,7 +6777,7 @@
|
|
|
6656
6777
|
"type": "export type Moment = {\n readonly now: number;\n readonly base: string;\n readonly kindFloor?: string;\n readonly blocked?: readonly string[];\n};\n= { readonly now: number; readonly base: string; readonly kindFloor?: string | undefined; readonly blocked?: readonly string[] | undefined; }"
|
|
6657
6778
|
},
|
|
6658
6779
|
"NewEvent": {
|
|
6659
|
-
"type": "export type NewEvent = Omit<SavedEvent, \"
|
|
6780
|
+
"type": "export type NewEvent = {\n [Type in SavedEvent[\"type\"]]: Omit<Extract<SavedEvent, {\n type: Type;\n }>, Stamped | \"sourceId\"> & {\n readonly sourceId?: string;\n };\n}[SavedEvent[\"type\"]];\n= (Omit<{ machineVersion: string; type: \"machine-started\"; payload: { afresh: boolean; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }, \"sourceId\" | Stamped> & { readonly sourceId?: string | undefined; }) | (Omit<{ machineVersion: string; type: \"model-answered\"; payload: { run: string; attempt: number; outcome: { kind: \"finished\"; subtype: string; isError: boolean; text: string; tokens: number; cacheReadTokens: number; plugins: string[]; models: string[]; sessionId?: string | undefined; structured?: JSONType | undefined; keySource?: string | undefined; } | { kind: \"over-cap\"; tokens: number; }; question?: string | undefined; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }, \"sourceId\" | Stamped> & { readonly sourceId?: string | undefined; }) | (Omit<{ type: \"answered\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }, \"sourceId\" | Stamped> & { readonly sourceId?: string | undefined; }) | (Omit<{ type: \"landing-found\"; payload: { head: string; doneBy: \"checks\" | \"owner\" | \"review\" | \"split\"; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }, \"sourceId\" | Stamped> & { readonly sourceId?: string | undefined; }) | (Omit<{ type: \"merged\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }, \"sourceId\" | Stamped> & { readonly sourceId?: string | undefined; }) | (Omit<{ type: \"picked\"; payload: { judge: \"alignment\"; head: string; alignment: { abstained: string; } | { graded: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }; }; } | { judge: \"plan\"; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; } | { judge: \"review\"; head: string; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }, \"sourceId\" | Stamped> & { readonly sourceId?: string | undefined; })"
|
|
6660
6781
|
},
|
|
6661
6782
|
"npmLatest": {
|
|
6662
6783
|
"type": "() => Promise<string | undefined>"
|
|
@@ -6665,7 +6786,7 @@
|
|
|
6665
6786
|
"type": "(adapter: Integrations, ops: OpKeys, scope: CallScope) => Integrations"
|
|
6666
6787
|
},
|
|
6667
6788
|
"openState": {
|
|
6668
|
-
"type": "(dir: string, { now, ...codec }: StateOptions) => { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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\">>; }"
|
|
6789
|
+
"type": "(dir: string, { now, ...codec }: StateOptions) => { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }"
|
|
6669
6790
|
},
|
|
6670
6791
|
"openWorker": {
|
|
6671
6792
|
"type": "(repo: string, options: OpenWorkerOptions) => Promise<Worker>"
|
|
@@ -6725,7 +6846,7 @@
|
|
|
6725
6846
|
"value": "approve"
|
|
6726
6847
|
},
|
|
6727
6848
|
"OWNER_CHANGEABLE": {
|
|
6728
|
-
"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 \"CI outbox cap\": \"ciOutboxMaxMegabytes\"; readonly \"CI usage limit cap\": \"ciUsageLimitMaxHours\"; readonly \"follow-ups per pass\": \"followUpsPerPass\"; readonly \"publish tree cap\": \"publishTreeMaxMegabytes\"; readonly \"CI merge margin\": \"ciMergeMarginMinutes\"; 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\"; }",
|
|
6849
|
+
"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 \"CI outbox cap\": \"ciOutboxMaxMegabytes\"; readonly \"CI usage limit cap\": \"ciUsageLimitMaxHours\"; readonly \"follow-ups per pass\": \"followUpsPerPass\"; readonly \"publish tree cap\": \"publishTreeMaxMegabytes\"; readonly \"CI merge margin\": \"ciMergeMarginMinutes\"; 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 \"eval runs\": \"evalRuns\"; 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\"; }",
|
|
6729
6850
|
"value": {
|
|
6730
6851
|
"machines": "kinds",
|
|
6731
6852
|
"roles": "roles",
|
|
@@ -6796,6 +6917,7 @@
|
|
|
6796
6917
|
"model call timeout": "modelCallTimeoutSeconds",
|
|
6797
6918
|
"measured models": "measuredModels",
|
|
6798
6919
|
"judge rate bar": "minJudgeRate",
|
|
6920
|
+
"eval runs": "evalRuns",
|
|
6799
6921
|
"merge-risk weights": "mergeRisk",
|
|
6800
6922
|
"question limits": "questionLimits",
|
|
6801
6923
|
"question timeout": "questionTimeoutHours",
|
|
@@ -6954,7 +7076,7 @@
|
|
|
6954
7076
|
"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[]; }"
|
|
6955
7077
|
},
|
|
6956
7078
|
"PoolOptions": {
|
|
6957
|
-
"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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"commandTimeoutSeconds\" | \"lockfiles\" | \"runSlots\" | \"runners\">; readonly base: string; readonly liveRuns?: (() => Promise<ReadonlySet<string>>) | undefined; readonly now: () => number; }"
|
|
7079
|
+
"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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }, \"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"commandTimeoutSeconds\" | \"lockfiles\" | \"runSlots\" | \"runners\">; readonly base: string; readonly liveRuns?: (() => Promise<ReadonlySet<string>>) | undefined; readonly now: () => number; }"
|
|
6958
7080
|
},
|
|
6959
7081
|
"PrefixGate": {
|
|
6960
7082
|
"type": "typeof PrefixGate; new ({ now, ttlMs }: { now: () => number; ttlMs?: number | undefined; }) => PrefixGate\nenter: (prefix: string, abort?: AbortSignal | undefined) => Promise<Lease>"
|
|
@@ -6998,7 +7120,7 @@
|
|
|
6998
7120
|
"type": "typeof ProviderError; new (message?: string | undefined) => ProviderError; new (message?: string | undefined, options?: ErrorOptions | undefined) => ProviderError; new (message?: string | undefined, options?: ErrorOptions | undefined) => ProviderError\nstatic captureStackTrace: { (targetObject: object, constructorOpt?: Function | undefined): void; (targetObject: object, constructorOpt?: Function | undefined): void; }; static prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any; static stackTraceLimit: number; static isError: (value: unknown) => value is Error; name: \"ProviderError\"; message: string; stack: string | undefined; cause: unknown"
|
|
6999
7121
|
},
|
|
7000
7122
|
"Pull": {
|
|
7001
|
-
"type": "export type Pull = {\n readonly id: string;\n readonly number: number;\n readonly url: string;\n readonly state: \"OPEN\" | \"
|
|
7123
|
+
"type": "export type Pull = {\n readonly id: string;\n readonly number: number;\n readonly url: string;\n readonly autoMerge: boolean;\n readonly behind: boolean;\n} & ({\n readonly state: \"OPEN\" | \"CLOSED\";\n} | {\n readonly state: \"MERGED\";\n readonly mergeCommit: string;\n});\n= { readonly id: string; readonly number: number; readonly url: string; readonly autoMerge: boolean; readonly behind: boolean; } & ({ readonly state: \"CLOSED\" | \"OPEN\"; } | { readonly state: \"MERGED\"; readonly mergeCommit: string; })"
|
|
7002
7124
|
},
|
|
7003
7125
|
"PullRequests": {
|
|
7004
7126
|
"type": "export type PullRequests = {\n readonly rules: (base: string, fresh?: boolean) => Promise<BranchRules>;\n readonly find: (head: string) => Promise<Pull | undefined>;\n readonly open: (change: {\n head: string;\n base: string;\n title: string;\n body: string;\n }) => Promise<Pull>;\n readonly autoMerge: (pull: Pull, on: boolean, method: MergeMethod) => Promise<\"armed\" | \"merged\" | \"off\">;\n readonly merge: (pull: Pull, method: MergeMethod) => Promise<void>;\n readonly update: (pull: Pull) => Promise<void>;\n readonly comment: (pull: Pull, body: string) => Promise<void>;\n};\n= { readonly rules: (base: string, fresh?: boolean | undefined) => Promise<BranchRules>; readonly find: (head: string) => Promise<Pull | undefined>; readonly open: (change: { head: string; base: string; title: string; body: string; }) => Promise<Pull>; readonly autoMerge: (pull: Pull, on: boolean, method: \"merge\" | \"rebase\" | \"squash\") => Promise<\"armed\" | \"merged\" | \"off\">; readonly merge: (pull: Pull, method: \"merge\" | \"rebase\" | \"squash\") => Promise<void>; readonly update: (pull: Pull) => Promise<void>; readonly comment: (pull: Pull, body: string) => Promise<void>; }"
|
|
@@ -7019,7 +7141,8 @@
|
|
|
7019
7141
|
"type": "readonly number[]",
|
|
7020
7142
|
"value": [
|
|
7021
7143
|
1,
|
|
7022
|
-
2
|
|
7144
|
+
2,
|
|
7145
|
+
3
|
|
7023
7146
|
]
|
|
7024
7147
|
},
|
|
7025
7148
|
"readCiTick": {
|
|
@@ -7032,7 +7155,7 @@
|
|
|
7032
7155
|
"type": "(path: string) => undefined | { time: number; engineVersion: string; configHash: string; inFlight: string[]; intervalMs: number; restarting?: string | undefined; }"
|
|
7033
7156
|
},
|
|
7034
7157
|
"readHistory": {
|
|
7035
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
7158
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"changeLabels\" | \"historyDepth\">) => Promise<PastChange[]>"
|
|
7036
7159
|
},
|
|
7037
7160
|
"readPick": {
|
|
7038
7161
|
"type": "(purpose: \"plan\" | \"review\", { structured }: Pick<Finished, \"structured\">, diff: string) => Read"
|
|
@@ -7075,7 +7198,7 @@
|
|
|
7075
7198
|
"type": "export interface Release {\n publish(id: ItemId, ref: string): Promise<void>;\n release(id: ItemId, ref: string): Promise<void>;\n}"
|
|
7076
7199
|
},
|
|
7077
7200
|
"rememberKinds": {
|
|
7078
|
-
"type": "(state: { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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\">>; }, config: Config) => void"
|
|
7201
|
+
"type": "(state: { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }, config: Config) => void"
|
|
7079
7202
|
},
|
|
7080
7203
|
"renderUnit": {
|
|
7081
7204
|
"type": "(kind: UnitKind, vars: UnitVars) => string"
|
|
@@ -7096,7 +7219,7 @@
|
|
|
7096
7219
|
"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; }"
|
|
7097
7220
|
},
|
|
7098
7221
|
"reviewInput": {
|
|
7099
|
-
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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:
|
|
7222
|
+
"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; ciOutboxMaxMegabytes: number; ciUsageLimitMaxHours: number; followUpsPerPass: number; publishTreeMaxMegabytes: number; ciMergeMarginMinutes: 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, { rate: number; judgeHash?: string | undefined; }>>; minJudgeRate: number; evalRuns: 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: 3; 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?: Partial<Record<\"answers\" | \"questions\" | \"release\" | \"work-source\", string>> | undefined; ciToken?: undefined | { setUp: string; }; }, \"diffLimit\">) => string"
|
|
7100
7223
|
},
|
|
7101
7224
|
"roundupAdapter": {
|
|
7102
7225
|
"type": "(options: RoundupOptions, { now, env }: AdapterContext) => Whole"
|
|
@@ -7272,7 +7395,7 @@
|
|
|
7272
7395
|
"type": "export type Runner = {\n readonly run: (request: RunRequest) => Promise<RunOutcome>;\n readonly limitedUntil: () => number;\n readonly liveRuns?: () => Promise<ReadonlySet<string>>;\n};\n= { readonly run: (request: RunRequest) => Promise<RunOutcome>; readonly limitedUntil: () => number; readonly liveRuns?: (() => Promise<ReadonlySet<string>>) | undefined; }"
|
|
7273
7396
|
},
|
|
7274
7397
|
"RunnerOptions": {
|
|
7275
|
-
"type": "export type RunnerOptions = {\n readonly state: Pick<State, \"dir\" | \"faults\" | \"limit\">;\n readonly model: string;\n readonly binary?: string;\n readonly timeoutMs?: number;\n readonly env: Env;\n readonly now: () => number;\n readonly lockBackoffMs?: number;\n};\n= { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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 model: string; readonly binary?: string | undefined; readonly timeoutMs?: number | undefined; readonly env: Readonly<Record<string, string | undefined>>; readonly now: () => number; readonly lockBackoffMs?: number | undefined; }"
|
|
7398
|
+
"type": "export type RunnerOptions = {\n readonly state: Pick<State, \"dir\" | \"faults\" | \"limit\">;\n readonly model: string;\n readonly binary?: string;\n readonly timeoutMs?: number;\n readonly env: Env;\n readonly now: () => number;\n readonly lockBackoffMs?: number;\n};\n= { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }, \"dir\" | \"faults\" | \"limit\">; readonly model: string; readonly binary?: string | undefined; readonly timeoutMs?: number | undefined; readonly env: Readonly<Record<string, string | undefined>>; readonly now: () => number; readonly lockBackoffMs?: number | undefined; }"
|
|
7276
7399
|
},
|
|
7277
7400
|
"runOp": {
|
|
7278
7401
|
"type": "(op: \"answer\" | \"ask\" | \"claim\" | \"comment\" | \"decide\" | \"file-follow-up\" | \"list-ready\" | \"publish\" | \"push\" | \"read\" | \"release\" | \"watch\", argv: readonly string[], io: Io) => Promise<number>"
|
|
@@ -7378,7 +7501,7 @@
|
|
|
7378
7501
|
}
|
|
7379
7502
|
},
|
|
7380
7503
|
"RunRecords": {
|
|
7381
|
-
"type": "typeof RunRecords; new (folder: string, now: () => number) => RunRecords\nget: (key: { itemId: string; run: string; attempt: number; }) => undefined | { itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; }; begin: (key: { itemId: string; run: string; attempt: number; }, { name, sessionId }: { readonly name: string; readonly sessionId?: string | undefined; }) => BegunRun; keep: (record: { itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; }) => void; unended: (itemId: string, run: string) => undefined | { itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; }; all: () => ({ itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; })[]; list: (itemId: string) => ({ itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; })[]"
|
|
7504
|
+
"type": "typeof RunRecords; new (folder: string, now: () => number) => RunRecords\nget: (key: { itemId: string; run: string; attempt: number; }) => undefined | { itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; }; begin: (key: { itemId: string; run: string; attempt: number; }, { name, sessionId }: { readonly name: string; readonly sessionId?: string | undefined; }) => BegunRun; keep: (record: { itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; }) => void; unended: (itemId: string, run: string) => undefined | { itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; }; keyFor: (itemId: string, run: string) => { itemId: string; run: string; attempt: number; }; all: () => ({ itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; })[]; list: (itemId: string) => ({ itemId: string; run: string; attempt: number; name: string; savedAt: number; endedAt: number; sessionId?: string | undefined; memoryUsed?: string[] | undefined; } | { itemId: string; run: string; attempt: number; name: string; savedAt: number; sessionId?: string | undefined; endedAt?: undefined; })[]"
|
|
7382
7505
|
},
|
|
7383
7506
|
"RunRequest": {
|
|
7384
7507
|
"type": "export type RunRequest = {\n readonly prompt: string;\n readonly cwd: string;\n readonly model: string;\n readonly effort: Effort;\n readonly schema: object;\n readonly call?: Call;\n readonly name?: string;\n readonly tokenCap?: number;\n readonly sessionId?: string;\n readonly env?: Readonly<Record<string, string>>;\n readonly signal?: AbortSignal;\n readonly onSession?: (sessionId: string) => void;\n readonly onFirstToken?: () => void;\n};\n= { readonly prompt: string; readonly cwd: string; readonly model: string; readonly effort: \"high\" | \"low\" | \"medium\"; readonly schema: object; readonly call?: \"judgment\" | \"run\" | undefined; readonly name?: string | undefined; readonly tokenCap?: number | undefined; readonly sessionId?: string | undefined; readonly env?: Readonly<Record<string, string>> | undefined; readonly signal?: AbortSignal | undefined; readonly onSession?: ((sessionId: string) => void) | undefined; readonly onFirstToken?: (() => void) | undefined; }"
|
|
@@ -7390,94 +7513,789 @@
|
|
|
7390
7513
|
"type": "(o: ThinPathOptions) => Promise<ThinResult>"
|
|
7391
7514
|
},
|
|
7392
7515
|
"SavedEvent": {
|
|
7393
|
-
"type": "export type SavedEvent = z.infer<typeof SavedEvent>;\n= { source: string; sourceId: string; itemId: string; type: string; receivedAt: number; payload:
|
|
7516
|
+
"type": "export type SavedEvent = z.infer<typeof SavedEvent>;\n= { machineVersion: string; type: \"machine-started\"; payload: { afresh: boolean; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { machineVersion: string; type: \"model-answered\"; payload: { run: string; attempt: number; outcome: { kind: \"finished\"; subtype: string; isError: boolean; text: string; tokens: number; cacheReadTokens: number; plugins: string[]; models: string[]; sessionId?: string | undefined; structured?: JSONType | undefined; keySource?: string | undefined; } | { kind: \"over-cap\"; tokens: number; }; question?: string | undefined; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"answered\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"landing-found\"; payload: { head: string; doneBy: \"checks\" | \"owner\" | \"review\" | \"split\"; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"merged\"; payload: Record<string, never>; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; } | { type: \"picked\"; payload: { judge: \"alignment\"; head: string; alignment: { abstained: string; } | { graded: { alignment: \"concern\" | \"partial\" | \"sound\"; verification: \"concern\" | \"partial\" | \"sound\"; }; }; } | { judge: \"plan\"; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; } | { judge: \"review\"; head: string; pick: { event: string; sure: boolean; reason: string; cites: { file: string; line: number; }[]; parts: string[]; plan?: undefined | { summary: string; steps: string[]; paths: string[]; }; question?: string | undefined; }; models: string[]; }; format: 1; source: string; sourceId: string; itemId: string; receivedAt: number; engineVersion?: string | undefined; seq?: number | undefined; }\nZodDiscriminatedUnion<[ZodObject<{ machineVersion: ZodString; type: ZodLiteral<\"machine-started\">; payload: ZodObject<{ afresh: ZodBoolean; }, $strip>; format: ZodLiteral<1>; engineVersion: ZodOptional<ZodString>; source: ZodString; sourceId: ZodString; itemId: ZodString; receivedAt: ZodInt; seq: ZodOptional<ZodInt>; }, $strip>, ZodObject<{ machineVersion: ZodString; type: ZodLiteral<\"model-answered\">; payload: ZodObject<{ run: ZodString; attempt: ZodInt; question: ZodOptional<ZodString>; outcome: ZodDiscriminatedUnion<[ZodObject<{ kind: ZodLiteral<\"finished\">; subtype: ZodString; isError: ZodBoolean; sessionId: ZodOptional<ZodString>; text: ZodString; structured: ZodOptional<ZodJSONSchema>; tokens: ZodInt; cacheReadTokens: ZodInt; plugins: ZodArray<ZodString>; keySource: ZodOptional<ZodString>; models: ZodArray<ZodString>; }, $strip>, ZodObject<{ kind: ZodLiteral<\"over-cap\">; tokens: ZodInt; }, $strip>], \"kind\">; }, $strip>; format: ZodLiteral<1>; engineVersion: ZodOptional<ZodString>; source: ZodString; sourceId: ZodString; itemId: ZodString; receivedAt: ZodInt; seq: ZodOptional<ZodInt>; }, $strip>, ZodObject<{ type: ZodLiteral<\"picked\">; payload: ZodDiscriminatedUnion<[ZodObject<{ judge: ZodLiteral<\"plan\">; pick: ZodObject<{ event: ZodString; sure: ZodBoolean; reason: ZodString; cites: ZodArray<ZodObject<{ file: ZodString; line: ZodInt; }, $strip>>; plan: ZodOptional<ZodObject<{ summary: ZodString; steps: ZodArray<ZodString>; paths: ZodArray<ZodString>; }, $strip>>; question: ZodOptional<ZodString>; parts: ZodArray<ZodString>; }, $strip>; models: ZodArray<ZodString>; }, $strip>, ZodObject<{ judge: ZodLiteral<\"review\">; head: ZodString; pick: ZodObject<{ event: ZodString; sure: ZodBoolean; reason: ZodString; cites: ZodArray<ZodObject<{ file: ZodString; line: ZodInt; }, $strip>>; plan: ZodOptional<ZodObject<{ summary: ZodString; steps: ZodArray<ZodString>; paths: ZodArray<ZodString>; }, $strip>>; question: ZodOptional<ZodString>; parts: ZodArray<ZodString>; }, $strip>; models: ZodArray<ZodString>; }, $strip>, ZodObject<{ judge: ZodLiteral<\"alignment\">; head: ZodString; alignment: ZodUnion<readonly [ZodObject<{ graded: ZodObject<{ alignment: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; verification: ZodEnum<{ sound: \"sound\"; partial: \"partial\"; concern: \"concern\"; }>; }, $strip>; }, $strip>, ZodObject<{ abstained: ZodString; }, $strip>]>; }, $strip>], \"judge\">; format: ZodLiteral<1>; engineVersion: ZodOptional<ZodString>; source: ZodString; sourceId: ZodString; itemId: ZodString; receivedAt: ZodInt; seq: ZodOptional<ZodInt>; }, $strip>, ZodObject<{ type: ZodLiteral<\"landing-found\">; payload: ZodObject<{ head: ZodString; doneBy: ZodEnum<{ checks: \"checks\"; review: \"review\"; owner: \"owner\"; split: \"split\"; }>; }, $strip>; format: ZodLiteral<1>; engineVersion: ZodOptional<ZodString>; source: ZodString; sourceId: ZodString; itemId: ZodString; receivedAt: ZodInt; seq: ZodOptional<ZodInt>; }, $strip>, ZodObject<{ type: ZodLiteral<\"answered\">; payload: ZodObject<{}, $strip>; format: ZodLiteral<1>; engineVersion: ZodOptional<ZodString>; source: ZodString; sourceId: ZodString; itemId: ZodString; receivedAt: ZodInt; seq: ZodOptional<ZodInt>; }, $strip>, ZodObject<{ type: ZodLiteral<\"merged\">; payload: ZodObject<{}, $strip>; format: ZodLiteral<1>; engineVersion: ZodOptional<ZodString>; source: ZodString; sourceId: ZodString; itemId: ZodString; receivedAt: ZodInt; seq: ZodOptional<ZodInt>; }, $strip>], \"type\">",
|
|
7394
7517
|
"schema": {
|
|
7395
7518
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
7396
|
-
"
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
"
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7519
|
+
"oneOf": [
|
|
7520
|
+
{
|
|
7521
|
+
"type": "object",
|
|
7522
|
+
"properties": {
|
|
7523
|
+
"format": {
|
|
7524
|
+
"type": "number",
|
|
7525
|
+
"const": 1
|
|
7526
|
+
},
|
|
7527
|
+
"engineVersion": {
|
|
7528
|
+
"type": "string",
|
|
7529
|
+
"minLength": 1
|
|
7530
|
+
},
|
|
7531
|
+
"source": {
|
|
7532
|
+
"type": "string",
|
|
7533
|
+
"minLength": 1
|
|
7534
|
+
},
|
|
7535
|
+
"sourceId": {
|
|
7536
|
+
"type": "string",
|
|
7537
|
+
"minLength": 1
|
|
7538
|
+
},
|
|
7539
|
+
"itemId": {
|
|
7540
|
+
"type": "string",
|
|
7541
|
+
"minLength": 1
|
|
7542
|
+
},
|
|
7543
|
+
"receivedAt": {
|
|
7544
|
+
"type": "integer",
|
|
7545
|
+
"minimum": 0,
|
|
7546
|
+
"maximum": 9007199254740991
|
|
7547
|
+
},
|
|
7548
|
+
"seq": {
|
|
7549
|
+
"type": "integer",
|
|
7550
|
+
"minimum": 0,
|
|
7551
|
+
"maximum": 9007199254740991
|
|
7552
|
+
},
|
|
7553
|
+
"machineVersion": {
|
|
7554
|
+
"type": "string",
|
|
7555
|
+
"minLength": 1
|
|
7556
|
+
},
|
|
7557
|
+
"type": {
|
|
7558
|
+
"type": "string",
|
|
7559
|
+
"const": "machine-started"
|
|
7560
|
+
},
|
|
7561
|
+
"payload": {
|
|
7562
|
+
"type": "object",
|
|
7563
|
+
"properties": {
|
|
7564
|
+
"afresh": {
|
|
7565
|
+
"type": "boolean"
|
|
7566
|
+
}
|
|
7567
|
+
},
|
|
7568
|
+
"required": [
|
|
7569
|
+
"afresh"
|
|
7570
|
+
]
|
|
7571
|
+
}
|
|
7572
|
+
},
|
|
7573
|
+
"required": [
|
|
7574
|
+
"format",
|
|
7575
|
+
"source",
|
|
7576
|
+
"sourceId",
|
|
7577
|
+
"itemId",
|
|
7578
|
+
"receivedAt",
|
|
7579
|
+
"machineVersion",
|
|
7580
|
+
"type",
|
|
7581
|
+
"payload"
|
|
7582
|
+
]
|
|
7418
7583
|
},
|
|
7419
|
-
|
|
7420
|
-
"
|
|
7421
|
-
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7425
|
-
"sourceId",
|
|
7426
|
-
"itemId",
|
|
7427
|
-
"type",
|
|
7428
|
-
"receivedAt",
|
|
7429
|
-
"payload"
|
|
7430
|
-
],
|
|
7431
|
-
"$defs": {
|
|
7432
|
-
"__schema0": {
|
|
7433
|
-
"anyOf": [
|
|
7434
|
-
{
|
|
7435
|
-
"type": "string"
|
|
7584
|
+
{
|
|
7585
|
+
"type": "object",
|
|
7586
|
+
"properties": {
|
|
7587
|
+
"format": {
|
|
7588
|
+
"type": "number",
|
|
7589
|
+
"const": 1
|
|
7436
7590
|
},
|
|
7437
|
-
{
|
|
7438
|
-
"type": "
|
|
7591
|
+
"engineVersion": {
|
|
7592
|
+
"type": "string",
|
|
7593
|
+
"minLength": 1
|
|
7439
7594
|
},
|
|
7440
|
-
{
|
|
7441
|
-
"type": "
|
|
7595
|
+
"source": {
|
|
7596
|
+
"type": "string",
|
|
7597
|
+
"minLength": 1
|
|
7442
7598
|
},
|
|
7443
|
-
{
|
|
7444
|
-
"type": "
|
|
7599
|
+
"sourceId": {
|
|
7600
|
+
"type": "string",
|
|
7601
|
+
"minLength": 1
|
|
7445
7602
|
},
|
|
7446
|
-
{
|
|
7447
|
-
"type": "
|
|
7448
|
-
"
|
|
7449
|
-
"$ref": "#/$defs/__schema0"
|
|
7450
|
-
}
|
|
7603
|
+
"itemId": {
|
|
7604
|
+
"type": "string",
|
|
7605
|
+
"minLength": 1
|
|
7451
7606
|
},
|
|
7452
|
-
{
|
|
7607
|
+
"receivedAt": {
|
|
7608
|
+
"type": "integer",
|
|
7609
|
+
"minimum": 0,
|
|
7610
|
+
"maximum": 9007199254740991
|
|
7611
|
+
},
|
|
7612
|
+
"seq": {
|
|
7613
|
+
"type": "integer",
|
|
7614
|
+
"minimum": 0,
|
|
7615
|
+
"maximum": 9007199254740991
|
|
7616
|
+
},
|
|
7617
|
+
"machineVersion": {
|
|
7618
|
+
"type": "string",
|
|
7619
|
+
"minLength": 1
|
|
7620
|
+
},
|
|
7621
|
+
"type": {
|
|
7622
|
+
"type": "string",
|
|
7623
|
+
"const": "model-answered"
|
|
7624
|
+
},
|
|
7625
|
+
"payload": {
|
|
7453
7626
|
"type": "object",
|
|
7454
|
-
"
|
|
7455
|
-
"
|
|
7627
|
+
"properties": {
|
|
7628
|
+
"run": {
|
|
7629
|
+
"type": "string",
|
|
7630
|
+
"minLength": 1
|
|
7631
|
+
},
|
|
7632
|
+
"attempt": {
|
|
7633
|
+
"type": "integer",
|
|
7634
|
+
"minimum": 0,
|
|
7635
|
+
"maximum": 9007199254740991
|
|
7636
|
+
},
|
|
7637
|
+
"question": {
|
|
7638
|
+
"type": "string",
|
|
7639
|
+
"minLength": 1
|
|
7640
|
+
},
|
|
7641
|
+
"outcome": {
|
|
7642
|
+
"oneOf": [
|
|
7643
|
+
{
|
|
7644
|
+
"type": "object",
|
|
7645
|
+
"properties": {
|
|
7646
|
+
"kind": {
|
|
7647
|
+
"type": "string",
|
|
7648
|
+
"const": "finished"
|
|
7649
|
+
},
|
|
7650
|
+
"subtype": {
|
|
7651
|
+
"type": "string",
|
|
7652
|
+
"minLength": 1
|
|
7653
|
+
},
|
|
7654
|
+
"isError": {
|
|
7655
|
+
"type": "boolean"
|
|
7656
|
+
},
|
|
7657
|
+
"sessionId": {
|
|
7658
|
+
"type": "string",
|
|
7659
|
+
"minLength": 1
|
|
7660
|
+
},
|
|
7661
|
+
"text": {
|
|
7662
|
+
"type": "string"
|
|
7663
|
+
},
|
|
7664
|
+
"structured": {
|
|
7665
|
+
"$ref": "#/$defs/__schema0"
|
|
7666
|
+
},
|
|
7667
|
+
"tokens": {
|
|
7668
|
+
"type": "integer",
|
|
7669
|
+
"minimum": 0,
|
|
7670
|
+
"maximum": 9007199254740991
|
|
7671
|
+
},
|
|
7672
|
+
"cacheReadTokens": {
|
|
7673
|
+
"type": "integer",
|
|
7674
|
+
"minimum": 0,
|
|
7675
|
+
"maximum": 9007199254740991
|
|
7676
|
+
},
|
|
7677
|
+
"plugins": {
|
|
7678
|
+
"type": "array",
|
|
7679
|
+
"items": {
|
|
7680
|
+
"type": "string",
|
|
7681
|
+
"minLength": 1
|
|
7682
|
+
}
|
|
7683
|
+
},
|
|
7684
|
+
"keySource": {
|
|
7685
|
+
"type": "string",
|
|
7686
|
+
"minLength": 1
|
|
7687
|
+
},
|
|
7688
|
+
"models": {
|
|
7689
|
+
"type": "array",
|
|
7690
|
+
"items": {
|
|
7691
|
+
"type": "string",
|
|
7692
|
+
"minLength": 1
|
|
7693
|
+
}
|
|
7694
|
+
}
|
|
7695
|
+
},
|
|
7696
|
+
"required": [
|
|
7697
|
+
"kind",
|
|
7698
|
+
"subtype",
|
|
7699
|
+
"isError",
|
|
7700
|
+
"text",
|
|
7701
|
+
"tokens",
|
|
7702
|
+
"cacheReadTokens",
|
|
7703
|
+
"plugins",
|
|
7704
|
+
"models"
|
|
7705
|
+
]
|
|
7706
|
+
},
|
|
7707
|
+
{
|
|
7708
|
+
"type": "object",
|
|
7709
|
+
"properties": {
|
|
7710
|
+
"kind": {
|
|
7711
|
+
"type": "string",
|
|
7712
|
+
"const": "over-cap"
|
|
7713
|
+
},
|
|
7714
|
+
"tokens": {
|
|
7715
|
+
"type": "integer",
|
|
7716
|
+
"minimum": 0,
|
|
7717
|
+
"maximum": 9007199254740991
|
|
7718
|
+
}
|
|
7719
|
+
},
|
|
7720
|
+
"required": [
|
|
7721
|
+
"kind",
|
|
7722
|
+
"tokens"
|
|
7723
|
+
]
|
|
7724
|
+
}
|
|
7725
|
+
]
|
|
7726
|
+
}
|
|
7456
7727
|
},
|
|
7457
|
-
"
|
|
7458
|
-
"
|
|
7459
|
-
|
|
7728
|
+
"required": [
|
|
7729
|
+
"run",
|
|
7730
|
+
"attempt",
|
|
7731
|
+
"outcome"
|
|
7732
|
+
]
|
|
7460
7733
|
}
|
|
7734
|
+
},
|
|
7735
|
+
"required": [
|
|
7736
|
+
"format",
|
|
7737
|
+
"source",
|
|
7738
|
+
"sourceId",
|
|
7739
|
+
"itemId",
|
|
7740
|
+
"receivedAt",
|
|
7741
|
+
"machineVersion",
|
|
7742
|
+
"type",
|
|
7743
|
+
"payload"
|
|
7461
7744
|
]
|
|
7462
|
-
}
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
|
|
7471
|
-
|
|
7745
|
+
},
|
|
7746
|
+
{
|
|
7747
|
+
"type": "object",
|
|
7748
|
+
"properties": {
|
|
7749
|
+
"format": {
|
|
7750
|
+
"type": "number",
|
|
7751
|
+
"const": 1
|
|
7752
|
+
},
|
|
7753
|
+
"engineVersion": {
|
|
7754
|
+
"type": "string",
|
|
7755
|
+
"minLength": 1
|
|
7756
|
+
},
|
|
7757
|
+
"source": {
|
|
7758
|
+
"type": "string",
|
|
7759
|
+
"minLength": 1
|
|
7760
|
+
},
|
|
7761
|
+
"sourceId": {
|
|
7762
|
+
"type": "string",
|
|
7763
|
+
"minLength": 1
|
|
7764
|
+
},
|
|
7765
|
+
"itemId": {
|
|
7766
|
+
"type": "string",
|
|
7767
|
+
"minLength": 1
|
|
7768
|
+
},
|
|
7769
|
+
"receivedAt": {
|
|
7770
|
+
"type": "integer",
|
|
7771
|
+
"minimum": 0,
|
|
7772
|
+
"maximum": 9007199254740991
|
|
7773
|
+
},
|
|
7774
|
+
"seq": {
|
|
7775
|
+
"type": "integer",
|
|
7776
|
+
"minimum": 0,
|
|
7777
|
+
"maximum": 9007199254740991
|
|
7778
|
+
},
|
|
7779
|
+
"type": {
|
|
7780
|
+
"type": "string",
|
|
7781
|
+
"const": "picked"
|
|
7782
|
+
},
|
|
7783
|
+
"payload": {
|
|
7784
|
+
"oneOf": [
|
|
7785
|
+
{
|
|
7786
|
+
"type": "object",
|
|
7787
|
+
"properties": {
|
|
7788
|
+
"judge": {
|
|
7789
|
+
"type": "string",
|
|
7790
|
+
"const": "plan"
|
|
7791
|
+
},
|
|
7792
|
+
"pick": {
|
|
7793
|
+
"type": "object",
|
|
7794
|
+
"properties": {
|
|
7795
|
+
"event": {
|
|
7796
|
+
"type": "string",
|
|
7797
|
+
"minLength": 1
|
|
7798
|
+
},
|
|
7799
|
+
"sure": {
|
|
7800
|
+
"type": "boolean"
|
|
7801
|
+
},
|
|
7802
|
+
"reason": {
|
|
7803
|
+
"type": "string"
|
|
7804
|
+
},
|
|
7805
|
+
"cites": {
|
|
7806
|
+
"type": "array",
|
|
7807
|
+
"items": {
|
|
7808
|
+
"type": "object",
|
|
7809
|
+
"properties": {
|
|
7810
|
+
"file": {
|
|
7811
|
+
"type": "string",
|
|
7812
|
+
"minLength": 1
|
|
7813
|
+
},
|
|
7814
|
+
"line": {
|
|
7815
|
+
"type": "integer",
|
|
7816
|
+
"exclusiveMinimum": 0,
|
|
7817
|
+
"maximum": 9007199254740991
|
|
7818
|
+
}
|
|
7819
|
+
},
|
|
7820
|
+
"required": [
|
|
7821
|
+
"file",
|
|
7822
|
+
"line"
|
|
7823
|
+
]
|
|
7824
|
+
}
|
|
7825
|
+
},
|
|
7826
|
+
"plan": {
|
|
7827
|
+
"type": "object",
|
|
7828
|
+
"properties": {
|
|
7829
|
+
"summary": {
|
|
7830
|
+
"type": "string",
|
|
7831
|
+
"minLength": 1
|
|
7832
|
+
},
|
|
7833
|
+
"steps": {
|
|
7834
|
+
"type": "array",
|
|
7835
|
+
"items": {
|
|
7836
|
+
"type": "string",
|
|
7837
|
+
"minLength": 1
|
|
7838
|
+
}
|
|
7839
|
+
},
|
|
7840
|
+
"paths": {
|
|
7841
|
+
"type": "array",
|
|
7842
|
+
"items": {
|
|
7843
|
+
"type": "string",
|
|
7844
|
+
"minLength": 1
|
|
7845
|
+
}
|
|
7846
|
+
}
|
|
7847
|
+
},
|
|
7848
|
+
"required": [
|
|
7849
|
+
"summary",
|
|
7850
|
+
"steps",
|
|
7851
|
+
"paths"
|
|
7852
|
+
]
|
|
7853
|
+
},
|
|
7854
|
+
"question": {
|
|
7855
|
+
"type": "string"
|
|
7856
|
+
},
|
|
7857
|
+
"parts": {
|
|
7858
|
+
"type": "array",
|
|
7859
|
+
"items": {
|
|
7860
|
+
"type": "string",
|
|
7861
|
+
"minLength": 1
|
|
7862
|
+
}
|
|
7863
|
+
}
|
|
7864
|
+
},
|
|
7865
|
+
"required": [
|
|
7866
|
+
"event",
|
|
7867
|
+
"sure",
|
|
7868
|
+
"reason",
|
|
7869
|
+
"cites",
|
|
7870
|
+
"parts"
|
|
7871
|
+
]
|
|
7872
|
+
},
|
|
7873
|
+
"models": {
|
|
7874
|
+
"type": "array",
|
|
7875
|
+
"items": {
|
|
7876
|
+
"type": "string",
|
|
7877
|
+
"minLength": 1
|
|
7878
|
+
}
|
|
7879
|
+
}
|
|
7880
|
+
},
|
|
7881
|
+
"required": [
|
|
7882
|
+
"judge",
|
|
7883
|
+
"pick",
|
|
7884
|
+
"models"
|
|
7885
|
+
]
|
|
7886
|
+
},
|
|
7887
|
+
{
|
|
7888
|
+
"type": "object",
|
|
7889
|
+
"properties": {
|
|
7890
|
+
"judge": {
|
|
7891
|
+
"type": "string",
|
|
7892
|
+
"const": "review"
|
|
7893
|
+
},
|
|
7894
|
+
"head": {
|
|
7895
|
+
"type": "string",
|
|
7896
|
+
"minLength": 1
|
|
7897
|
+
},
|
|
7898
|
+
"pick": {
|
|
7899
|
+
"type": "object",
|
|
7900
|
+
"properties": {
|
|
7901
|
+
"event": {
|
|
7902
|
+
"type": "string",
|
|
7903
|
+
"minLength": 1
|
|
7904
|
+
},
|
|
7905
|
+
"sure": {
|
|
7906
|
+
"type": "boolean"
|
|
7907
|
+
},
|
|
7908
|
+
"reason": {
|
|
7909
|
+
"type": "string"
|
|
7910
|
+
},
|
|
7911
|
+
"cites": {
|
|
7912
|
+
"type": "array",
|
|
7913
|
+
"items": {
|
|
7914
|
+
"type": "object",
|
|
7915
|
+
"properties": {
|
|
7916
|
+
"file": {
|
|
7917
|
+
"type": "string",
|
|
7918
|
+
"minLength": 1
|
|
7919
|
+
},
|
|
7920
|
+
"line": {
|
|
7921
|
+
"type": "integer",
|
|
7922
|
+
"exclusiveMinimum": 0,
|
|
7923
|
+
"maximum": 9007199254740991
|
|
7924
|
+
}
|
|
7925
|
+
},
|
|
7926
|
+
"required": [
|
|
7927
|
+
"file",
|
|
7928
|
+
"line"
|
|
7929
|
+
]
|
|
7930
|
+
}
|
|
7931
|
+
},
|
|
7932
|
+
"plan": {
|
|
7933
|
+
"type": "object",
|
|
7934
|
+
"properties": {
|
|
7935
|
+
"summary": {
|
|
7936
|
+
"type": "string",
|
|
7937
|
+
"minLength": 1
|
|
7938
|
+
},
|
|
7939
|
+
"steps": {
|
|
7940
|
+
"type": "array",
|
|
7941
|
+
"items": {
|
|
7942
|
+
"type": "string",
|
|
7943
|
+
"minLength": 1
|
|
7944
|
+
}
|
|
7945
|
+
},
|
|
7946
|
+
"paths": {
|
|
7947
|
+
"type": "array",
|
|
7948
|
+
"items": {
|
|
7949
|
+
"type": "string",
|
|
7950
|
+
"minLength": 1
|
|
7951
|
+
}
|
|
7952
|
+
}
|
|
7953
|
+
},
|
|
7954
|
+
"required": [
|
|
7955
|
+
"summary",
|
|
7956
|
+
"steps",
|
|
7957
|
+
"paths"
|
|
7958
|
+
]
|
|
7959
|
+
},
|
|
7960
|
+
"question": {
|
|
7961
|
+
"type": "string"
|
|
7962
|
+
},
|
|
7963
|
+
"parts": {
|
|
7964
|
+
"type": "array",
|
|
7965
|
+
"items": {
|
|
7966
|
+
"type": "string",
|
|
7967
|
+
"minLength": 1
|
|
7968
|
+
}
|
|
7969
|
+
}
|
|
7970
|
+
},
|
|
7971
|
+
"required": [
|
|
7972
|
+
"event",
|
|
7973
|
+
"sure",
|
|
7974
|
+
"reason",
|
|
7975
|
+
"cites",
|
|
7976
|
+
"parts"
|
|
7977
|
+
]
|
|
7978
|
+
},
|
|
7979
|
+
"models": {
|
|
7980
|
+
"type": "array",
|
|
7981
|
+
"items": {
|
|
7982
|
+
"type": "string",
|
|
7983
|
+
"minLength": 1
|
|
7984
|
+
}
|
|
7985
|
+
}
|
|
7986
|
+
},
|
|
7987
|
+
"required": [
|
|
7988
|
+
"judge",
|
|
7989
|
+
"head",
|
|
7990
|
+
"pick",
|
|
7991
|
+
"models"
|
|
7992
|
+
]
|
|
7993
|
+
},
|
|
7994
|
+
{
|
|
7995
|
+
"type": "object",
|
|
7996
|
+
"properties": {
|
|
7997
|
+
"judge": {
|
|
7998
|
+
"type": "string",
|
|
7999
|
+
"const": "alignment"
|
|
8000
|
+
},
|
|
8001
|
+
"head": {
|
|
8002
|
+
"type": "string",
|
|
8003
|
+
"minLength": 1
|
|
8004
|
+
},
|
|
8005
|
+
"alignment": {
|
|
8006
|
+
"anyOf": [
|
|
8007
|
+
{
|
|
8008
|
+
"type": "object",
|
|
8009
|
+
"properties": {
|
|
8010
|
+
"graded": {
|
|
8011
|
+
"type": "object",
|
|
8012
|
+
"properties": {
|
|
8013
|
+
"alignment": {
|
|
8014
|
+
"type": "string",
|
|
8015
|
+
"enum": [
|
|
8016
|
+
"sound",
|
|
8017
|
+
"partial",
|
|
8018
|
+
"concern"
|
|
8019
|
+
]
|
|
8020
|
+
},
|
|
8021
|
+
"verification": {
|
|
8022
|
+
"type": "string",
|
|
8023
|
+
"enum": [
|
|
8024
|
+
"sound",
|
|
8025
|
+
"partial",
|
|
8026
|
+
"concern"
|
|
8027
|
+
]
|
|
8028
|
+
}
|
|
8029
|
+
},
|
|
8030
|
+
"required": [
|
|
8031
|
+
"alignment",
|
|
8032
|
+
"verification"
|
|
8033
|
+
]
|
|
8034
|
+
}
|
|
8035
|
+
},
|
|
8036
|
+
"required": [
|
|
8037
|
+
"graded"
|
|
8038
|
+
]
|
|
8039
|
+
},
|
|
8040
|
+
{
|
|
8041
|
+
"type": "object",
|
|
8042
|
+
"properties": {
|
|
8043
|
+
"abstained": {
|
|
8044
|
+
"type": "string",
|
|
8045
|
+
"minLength": 1
|
|
8046
|
+
}
|
|
8047
|
+
},
|
|
8048
|
+
"required": [
|
|
8049
|
+
"abstained"
|
|
8050
|
+
]
|
|
8051
|
+
}
|
|
8052
|
+
]
|
|
8053
|
+
}
|
|
8054
|
+
},
|
|
8055
|
+
"required": [
|
|
8056
|
+
"judge",
|
|
8057
|
+
"head",
|
|
8058
|
+
"alignment"
|
|
8059
|
+
]
|
|
8060
|
+
}
|
|
8061
|
+
]
|
|
8062
|
+
}
|
|
8063
|
+
},
|
|
8064
|
+
"required": [
|
|
8065
|
+
"format",
|
|
8066
|
+
"source",
|
|
8067
|
+
"sourceId",
|
|
8068
|
+
"itemId",
|
|
8069
|
+
"receivedAt",
|
|
8070
|
+
"type",
|
|
8071
|
+
"payload"
|
|
8072
|
+
]
|
|
8073
|
+
},
|
|
8074
|
+
{
|
|
8075
|
+
"type": "object",
|
|
8076
|
+
"properties": {
|
|
8077
|
+
"format": {
|
|
8078
|
+
"type": "number",
|
|
8079
|
+
"const": 1
|
|
8080
|
+
},
|
|
8081
|
+
"engineVersion": {
|
|
8082
|
+
"type": "string",
|
|
8083
|
+
"minLength": 1
|
|
8084
|
+
},
|
|
8085
|
+
"source": {
|
|
8086
|
+
"type": "string",
|
|
8087
|
+
"minLength": 1
|
|
8088
|
+
},
|
|
8089
|
+
"sourceId": {
|
|
8090
|
+
"type": "string",
|
|
8091
|
+
"minLength": 1
|
|
8092
|
+
},
|
|
8093
|
+
"itemId": {
|
|
8094
|
+
"type": "string",
|
|
8095
|
+
"minLength": 1
|
|
8096
|
+
},
|
|
8097
|
+
"receivedAt": {
|
|
8098
|
+
"type": "integer",
|
|
8099
|
+
"minimum": 0,
|
|
8100
|
+
"maximum": 9007199254740991
|
|
8101
|
+
},
|
|
8102
|
+
"seq": {
|
|
8103
|
+
"type": "integer",
|
|
8104
|
+
"minimum": 0,
|
|
8105
|
+
"maximum": 9007199254740991
|
|
8106
|
+
},
|
|
8107
|
+
"type": {
|
|
8108
|
+
"type": "string",
|
|
8109
|
+
"const": "landing-found"
|
|
8110
|
+
},
|
|
8111
|
+
"payload": {
|
|
8112
|
+
"type": "object",
|
|
8113
|
+
"properties": {
|
|
8114
|
+
"head": {
|
|
8115
|
+
"type": "string",
|
|
8116
|
+
"minLength": 1
|
|
8117
|
+
},
|
|
8118
|
+
"doneBy": {
|
|
8119
|
+
"type": "string",
|
|
8120
|
+
"enum": [
|
|
8121
|
+
"checks",
|
|
8122
|
+
"review",
|
|
8123
|
+
"owner",
|
|
8124
|
+
"split"
|
|
8125
|
+
]
|
|
8126
|
+
}
|
|
8127
|
+
},
|
|
8128
|
+
"required": [
|
|
8129
|
+
"head",
|
|
8130
|
+
"doneBy"
|
|
8131
|
+
]
|
|
8132
|
+
}
|
|
8133
|
+
},
|
|
8134
|
+
"required": [
|
|
8135
|
+
"format",
|
|
8136
|
+
"source",
|
|
8137
|
+
"sourceId",
|
|
8138
|
+
"itemId",
|
|
8139
|
+
"receivedAt",
|
|
8140
|
+
"type",
|
|
8141
|
+
"payload"
|
|
8142
|
+
]
|
|
8143
|
+
},
|
|
8144
|
+
{
|
|
8145
|
+
"type": "object",
|
|
8146
|
+
"properties": {
|
|
8147
|
+
"format": {
|
|
8148
|
+
"type": "number",
|
|
8149
|
+
"const": 1
|
|
8150
|
+
},
|
|
8151
|
+
"engineVersion": {
|
|
8152
|
+
"type": "string",
|
|
8153
|
+
"minLength": 1
|
|
8154
|
+
},
|
|
8155
|
+
"source": {
|
|
8156
|
+
"type": "string",
|
|
8157
|
+
"minLength": 1
|
|
8158
|
+
},
|
|
8159
|
+
"sourceId": {
|
|
8160
|
+
"type": "string",
|
|
8161
|
+
"minLength": 1
|
|
8162
|
+
},
|
|
8163
|
+
"itemId": {
|
|
8164
|
+
"type": "string",
|
|
8165
|
+
"minLength": 1
|
|
8166
|
+
},
|
|
8167
|
+
"receivedAt": {
|
|
8168
|
+
"type": "integer",
|
|
8169
|
+
"minimum": 0,
|
|
8170
|
+
"maximum": 9007199254740991
|
|
8171
|
+
},
|
|
8172
|
+
"seq": {
|
|
8173
|
+
"type": "integer",
|
|
8174
|
+
"minimum": 0,
|
|
8175
|
+
"maximum": 9007199254740991
|
|
8176
|
+
},
|
|
8177
|
+
"type": {
|
|
8178
|
+
"type": "string",
|
|
8179
|
+
"const": "answered"
|
|
8180
|
+
},
|
|
8181
|
+
"payload": {
|
|
8182
|
+
"type": "object",
|
|
8183
|
+
"properties": {}
|
|
8184
|
+
}
|
|
8185
|
+
},
|
|
8186
|
+
"required": [
|
|
8187
|
+
"format",
|
|
8188
|
+
"source",
|
|
8189
|
+
"sourceId",
|
|
8190
|
+
"itemId",
|
|
8191
|
+
"receivedAt",
|
|
8192
|
+
"type",
|
|
8193
|
+
"payload"
|
|
8194
|
+
]
|
|
8195
|
+
},
|
|
8196
|
+
{
|
|
8197
|
+
"type": "object",
|
|
8198
|
+
"properties": {
|
|
8199
|
+
"format": {
|
|
8200
|
+
"type": "number",
|
|
8201
|
+
"const": 1
|
|
8202
|
+
},
|
|
8203
|
+
"engineVersion": {
|
|
8204
|
+
"type": "string",
|
|
8205
|
+
"minLength": 1
|
|
8206
|
+
},
|
|
8207
|
+
"source": {
|
|
8208
|
+
"type": "string",
|
|
8209
|
+
"minLength": 1
|
|
8210
|
+
},
|
|
8211
|
+
"sourceId": {
|
|
8212
|
+
"type": "string",
|
|
8213
|
+
"minLength": 1
|
|
8214
|
+
},
|
|
8215
|
+
"itemId": {
|
|
8216
|
+
"type": "string",
|
|
8217
|
+
"minLength": 1
|
|
8218
|
+
},
|
|
8219
|
+
"receivedAt": {
|
|
8220
|
+
"type": "integer",
|
|
8221
|
+
"minimum": 0,
|
|
8222
|
+
"maximum": 9007199254740991
|
|
8223
|
+
},
|
|
8224
|
+
"seq": {
|
|
8225
|
+
"type": "integer",
|
|
8226
|
+
"minimum": 0,
|
|
8227
|
+
"maximum": 9007199254740991
|
|
8228
|
+
},
|
|
8229
|
+
"type": {
|
|
8230
|
+
"type": "string",
|
|
8231
|
+
"const": "merged"
|
|
8232
|
+
},
|
|
8233
|
+
"payload": {
|
|
8234
|
+
"type": "object",
|
|
8235
|
+
"properties": {}
|
|
8236
|
+
}
|
|
8237
|
+
},
|
|
8238
|
+
"required": [
|
|
8239
|
+
"format",
|
|
8240
|
+
"source",
|
|
8241
|
+
"sourceId",
|
|
8242
|
+
"itemId",
|
|
8243
|
+
"receivedAt",
|
|
8244
|
+
"type",
|
|
8245
|
+
"payload"
|
|
8246
|
+
]
|
|
8247
|
+
}
|
|
8248
|
+
],
|
|
8249
|
+
"$defs": {
|
|
8250
|
+
"__schema0": {
|
|
8251
|
+
"anyOf": [
|
|
8252
|
+
{
|
|
8253
|
+
"type": "string"
|
|
8254
|
+
},
|
|
8255
|
+
{
|
|
8256
|
+
"type": "number"
|
|
8257
|
+
},
|
|
8258
|
+
{
|
|
8259
|
+
"type": "boolean"
|
|
8260
|
+
},
|
|
8261
|
+
{
|
|
8262
|
+
"type": "null"
|
|
8263
|
+
},
|
|
8264
|
+
{
|
|
8265
|
+
"type": "array",
|
|
8266
|
+
"items": {
|
|
8267
|
+
"$ref": "#/$defs/__schema0"
|
|
8268
|
+
}
|
|
8269
|
+
},
|
|
8270
|
+
{
|
|
8271
|
+
"type": "object",
|
|
8272
|
+
"propertyNames": {
|
|
8273
|
+
"type": "string"
|
|
8274
|
+
},
|
|
8275
|
+
"additionalProperties": {
|
|
8276
|
+
"$ref": "#/$defs/__schema0"
|
|
8277
|
+
}
|
|
8278
|
+
}
|
|
8279
|
+
]
|
|
8280
|
+
}
|
|
8281
|
+
}
|
|
8282
|
+
}
|
|
8283
|
+
},
|
|
8284
|
+
"SavedItem": {
|
|
8285
|
+
"type": "export type SavedItem = {\n readonly kind: string;\n readonly state: string;\n};\n= { readonly kind: string; readonly state: string; }"
|
|
8286
|
+
},
|
|
8287
|
+
"SavedSnapshot": {
|
|
8288
|
+
"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; }"
|
|
8289
|
+
},
|
|
7472
8290
|
"SCHEMA_VERSION": {
|
|
7473
|
-
"type": "
|
|
7474
|
-
"value":
|
|
8291
|
+
"type": "3",
|
|
8292
|
+
"value": 3
|
|
7475
8293
|
},
|
|
7476
8294
|
"serialized": {
|
|
7477
8295
|
"type": "(adapter: Integrations) => Integrations"
|
|
7478
8296
|
},
|
|
7479
8297
|
"settleLimit": {
|
|
7480
|
-
"type": "(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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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\">, ended: LimitEnded) => Held | { readonly kind: \"limited\"; readonly until: number; }"
|
|
8298
|
+
"type": "(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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }, \"faults\" | \"limit\">, ended: LimitEnded) => Held | { readonly kind: \"limited\"; readonly until: number; }"
|
|
7481
8299
|
},
|
|
7482
8300
|
"Signature": {
|
|
7483
8301
|
"type": "export type Signature = {\n readonly engineVersion: string;\n readonly hash: string;\n};\n= { readonly engineVersion: string; readonly hash: string; }"
|
|
@@ -7569,20 +8387,20 @@
|
|
|
7569
8387
|
"type": "(options: RunnerOptions) => Promise<Started>"
|
|
7570
8388
|
},
|
|
7571
8389
|
"State": {
|
|
7572
|
-
"type": "export type State = ReturnType<typeof openState>;\n= { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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\">>; }"
|
|
8390
|
+
"type": "export type State = ReturnType<typeof openState>;\n= { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }"
|
|
7573
8391
|
},
|
|
7574
8392
|
"StateOptions": {
|
|
7575
8393
|
"type": "export type StateOptions = Codec & {\n readonly now: () => number;\n};\n= Codec & { readonly now: () => number; }"
|
|
7576
8394
|
},
|
|
7577
8395
|
"Status": {
|
|
7578
|
-
"type": "export type Status = z.infer<typeof Status>;\n= { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; }; }\nZodMiniObject<{ format: ZodMiniLiteral<2>; writtenAt: ZodMiniInt; workers: ZodMiniObject<{ mac: ZodMiniOptional<ZodMiniInt>; ci: ZodMiniOptional<ZodMiniInt>; }, $strip>; engine: ZodMiniObject<{ version: ZodMiniString<string>; adapterApi: ZodMiniInt; configSchema: ZodMiniInt; latest: ZodMiniOptional<ZodMiniString<string>>; }, $strip>; questions: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; options: ZodMiniArray<ZodMiniString<string>>; since: ZodMiniInt; }, $strip>>; cards: ZodMiniArray<ZodMiniObject<{ kind: ZodMiniEnum<{ waiting: \"waiting\"; limited: \"limited\"; fault: \"fault\"; }>; key: ZodMiniString<string>; item: ZodMiniOptional<ZodMiniString<string>>; code: ZodMiniString<string>; cause: ZodMiniString<string>; fix: ZodMiniString<string>; action: ZodMiniOptional<ZodMiniObject<{ label: ZodMiniString<string>; answer: ZodMiniString<string>; }, $strip>>; since: ZodMiniInt; }, $strip>>; inFlight: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; state: ZodMiniString<string>; since: ZodMiniInt; unclear: ZodMiniBoolean<boolean>; }, $strip>>; merged: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; mergedAt: ZodMiniInt; }, $strip>>; choices: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; at: ZodMiniInt; }, $strip>>; rules: ZodMiniArray<ZodMiniObject<{ glob: ZodMiniString<string>; level: ZodMiniString<string>; item: ZodMiniString<string>; at: ZodMiniInt; undo: ZodMiniObject<{ label: ZodMiniString<string>; command: ZodMiniString<string>; }, $strip>; }, $strip>>; possibleRepeats: ZodMiniArray<ZodMiniObject<{ a: ZodMiniString<string>; b: ZodMiniString<string>; }, $strip>>; unusedMemory: ZodMiniArray<ZodMiniString<string>>; measure: ZodMiniNullable<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; window: ZodMiniInt; byPath: ZodMiniArray<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; glob: ZodMiniString<string>; }, $strip>>; }, $strip>>; }, $strip>"
|
|
8396
|
+
"type": "export type Status = z.infer<typeof Status>;\n= { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; byDoneBy: { doneBy: string; merges: number; reverted: number; fixed: number; }[]; }; }\nZodMiniObject<{ format: ZodMiniLiteral<2>; writtenAt: ZodMiniInt; workers: ZodMiniObject<{ mac: ZodMiniOptional<ZodMiniInt>; ci: ZodMiniOptional<ZodMiniInt>; }, $strip>; engine: ZodMiniObject<{ version: ZodMiniString<string>; adapterApi: ZodMiniInt; configSchema: ZodMiniInt; latest: ZodMiniOptional<ZodMiniString<string>>; }, $strip>; questions: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; options: ZodMiniArray<ZodMiniString<string>>; since: ZodMiniInt; }, $strip>>; cards: ZodMiniArray<ZodMiniObject<{ kind: ZodMiniEnum<{ waiting: \"waiting\"; limited: \"limited\"; fault: \"fault\"; }>; key: ZodMiniString<string>; item: ZodMiniOptional<ZodMiniString<string>>; code: ZodMiniString<string>; cause: ZodMiniString<string>; fix: ZodMiniString<string>; action: ZodMiniOptional<ZodMiniObject<{ label: ZodMiniString<string>; answer: ZodMiniString<string>; }, $strip>>; since: ZodMiniInt; }, $strip>>; inFlight: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; state: ZodMiniString<string>; since: ZodMiniInt; unclear: ZodMiniBoolean<boolean>; }, $strip>>; merged: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; title: ZodMiniString<string>; level: ZodMiniOptional<ZodMiniString<string>>; mergedAt: ZodMiniInt; }, $strip>>; choices: ZodMiniArray<ZodMiniObject<{ item: ZodMiniString<string>; text: ZodMiniString<string>; at: ZodMiniInt; }, $strip>>; rules: ZodMiniArray<ZodMiniObject<{ glob: ZodMiniString<string>; level: ZodMiniString<string>; item: ZodMiniString<string>; at: ZodMiniInt; undo: ZodMiniObject<{ label: ZodMiniString<string>; command: ZodMiniString<string>; }, $strip>; }, $strip>>; possibleRepeats: ZodMiniArray<ZodMiniObject<{ a: ZodMiniString<string>; b: ZodMiniString<string>; }, $strip>>; unusedMemory: ZodMiniArray<ZodMiniString<string>>; measure: ZodMiniNullable<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; window: ZodMiniInt; byPath: ZodMiniArray<ZodMiniObject<{ merges: ZodMiniInt; abandoned: ZodMiniInt; notes: ZodMiniNumber<number>; questions: ZodMiniNumber<number>; tokens: ZodMiniNumber<number>; glob: ZodMiniString<string>; }, $strip>>; byDoneBy: ZodMiniDefault<ZodMiniArray<ZodMiniObject<{ doneBy: ZodMiniString<string>; merges: ZodMiniInt; reverted: ZodMiniInt; fixed: ZodMiniInt; }, $strip>>>; }, $strip>>; }, $strip>"
|
|
7579
8397
|
},
|
|
7580
8398
|
"STATUS_FORMAT": {
|
|
7581
8399
|
"type": "2",
|
|
7582
8400
|
"value": 2
|
|
7583
8401
|
},
|
|
7584
8402
|
"StatusRead": {
|
|
7585
|
-
"type": "export type StatusRead = {\n readonly ok: true;\n readonly status: Status;\n} | {\n readonly ok: false;\n readonly reason: \"missing\" | \"unreadable\";\n readonly message: string;\n};\n= { readonly ok: false; readonly reason: \"missing\" | \"unreadable\"; readonly message: string; } | { readonly ok: true; readonly status: { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; }; }; }"
|
|
8403
|
+
"type": "export type StatusRead = {\n readonly ok: true;\n readonly status: Status;\n} | {\n readonly ok: false;\n readonly reason: \"missing\" | \"unreadable\";\n readonly message: string;\n};\n= { readonly ok: false; readonly reason: \"missing\" | \"unreadable\"; readonly message: string; } | { readonly ok: true; readonly status: { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; byDoneBy: { doneBy: string; merges: number; reverted: number; fixed: number; }[]; }; }; }"
|
|
7586
8404
|
},
|
|
7587
8405
|
"stdioCall": {
|
|
7588
8406
|
"type": "({ agent, socket }: RoundupOptions, env: Readonly<Record<string, string | undefined>>) => { call: ToolCall; close: () => Promise<void>; }"
|
|
@@ -7598,10 +8416,10 @@
|
|
|
7598
8416
|
"type": "(o: Supervision) => Promise<Ended>"
|
|
7599
8417
|
},
|
|
7600
8418
|
"Supervision": {
|
|
7601
|
-
"type": "export type Supervision = {\n readonly state: Pick<State, \"faults\" | \"heartbeatPath\" | \"statusPath\">;\n readonly spawn: () => Child;\n readonly now: () => number;\n readonly intervalMs: number;\n readonly workerDownTicks: number;\n readonly maxCrashes: number;\n readonly crashWindowMs: number;\n readonly backoffMs: number;\n readonly maxBackoffMs: number;\n readonly stop: AbortSignal;\n};\n= { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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\" | \"heartbeatPath\" | \"statusPath\">; readonly spawn: () => Child; readonly now: () => number; readonly intervalMs: number; readonly workerDownTicks: number; readonly maxCrashes: number; readonly crashWindowMs: number; readonly backoffMs: number; readonly maxBackoffMs: number; readonly stop: AbortSignal; }"
|
|
8419
|
+
"type": "export type Supervision = {\n readonly state: Pick<State, \"faults\" | \"heartbeatPath\" | \"statusPath\">;\n readonly spawn: () => Child;\n readonly now: () => number;\n readonly intervalMs: number;\n readonly workerDownTicks: number;\n readonly maxCrashes: number;\n readonly crashWindowMs: number;\n readonly backoffMs: number;\n readonly maxBackoffMs: number;\n readonly stop: AbortSignal;\n};\n= { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }, \"faults\" | \"heartbeatPath\" | \"statusPath\">; readonly spawn: () => Child; readonly now: () => number; readonly intervalMs: number; readonly workerDownTicks: number; readonly maxCrashes: number; readonly crashWindowMs: number; readonly backoffMs: number; readonly maxBackoffMs: number; readonly stop: AbortSignal; }"
|
|
7602
8420
|
},
|
|
7603
8421
|
"ThinPathOptions": {
|
|
7604
|
-
"type": "export type ThinPathOptions = {\n readonly workSource: WorkSource;\n readonly questions: Questions;\n readonly state: State;\n readonly runner: Runner;\n readonly config: Config;\n readonly judge?: ModelCall;\n readonly remote: string;\n readonly base?: string;\n readonly checks: readonly string[];\n readonly holder: Holder;\n readonly workDir?: string;\n readonly checkout?: Checkout;\n readonly dir?: string;\n readonly itemId?: ItemId;\n readonly now: () => number;\n readonly signal?: AbortSignal;\n readonly gate?: PrefixGate;\n readonly pulls?: PullRequests;\n readonly commits?: GitHubCommits;\n readonly runnerVariables: ReadonlySet<string>;\n readonly newSessionId: () => string;\n readonly publish?: (pass: PassOutbox, worked: ThinResult) => Promise<ThinResult | undefined>;\n readonly mayLand?: () => boolean;\n};\n= { readonly workSource: WorkSource; readonly questions: Questions; readonly state: { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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\">>; }; readonly runner: Runner; readonly config: Config; readonly judge?: ModelCall | undefined; readonly remote: string; readonly base?: string | undefined; readonly checks: readonly string[]; readonly holder: string & $brand<\"Holder\">; readonly workDir?: string | undefined; readonly checkout?: Checkout | undefined; readonly dir?: string | undefined; readonly itemId?: (string & $brand<\"ItemId\">) | undefined; readonly now: () => number; readonly signal?: AbortSignal | undefined; readonly gate?: PrefixGate | undefined; readonly pulls?: PullRequests | undefined; readonly commits?: GitHubCommits | undefined; readonly runnerVariables: ReadonlySet<string>; readonly newSessionId: () => string; readonly publish?: ((pass: PassOutbox, worked: ThinResult) => Promise<ThinResult | undefined>) | undefined; readonly mayLand?: (() => boolean) | undefined; }"
|
|
8422
|
+
"type": "export type ThinPathOptions = {\n readonly workSource: WorkSource;\n readonly questions: Questions;\n readonly state: State;\n readonly runner: Runner;\n readonly config: Config;\n readonly judge?: ModelCall;\n readonly remote: string;\n readonly base?: string;\n readonly checks: readonly string[];\n readonly holder: Holder;\n readonly workDir?: string;\n readonly checkout?: Checkout;\n readonly dir?: string;\n readonly itemId?: ItemId;\n readonly now: () => number;\n readonly signal?: AbortSignal;\n readonly gate?: PrefixGate;\n readonly pulls?: PullRequests;\n readonly commits?: GitHubCommits;\n readonly runnerVariables: ReadonlySet<string>;\n readonly newSessionId: () => string;\n readonly publish?: (pass: PassOutbox, worked: ThinResult) => Promise<ThinResult | undefined>;\n readonly mayLand?: () => boolean;\n};\n= { readonly workSource: WorkSource; readonly questions: Questions; readonly state: { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }; readonly runner: Runner; readonly config: Config; readonly judge?: ModelCall | undefined; readonly remote: string; readonly base?: string | undefined; readonly checks: readonly string[]; readonly holder: string & $brand<\"Holder\">; readonly workDir?: string | undefined; readonly checkout?: Checkout | undefined; readonly dir?: string | undefined; readonly itemId?: (string & $brand<\"ItemId\">) | undefined; readonly now: () => number; readonly signal?: AbortSignal | undefined; readonly gate?: PrefixGate | undefined; readonly pulls?: PullRequests | undefined; readonly commits?: GitHubCommits | undefined; readonly runnerVariables: ReadonlySet<string>; readonly newSessionId: () => string; readonly publish?: ((pass: PassOutbox, worked: ThinResult) => Promise<ThinResult | undefined>) | undefined; readonly mayLand?: (() => boolean) | undefined; }"
|
|
7605
8423
|
},
|
|
7606
8424
|
"ThinResult": {
|
|
7607
8425
|
"type": "export type ThinResult = {\n readonly outcome: \"idle\";\n} | {\n readonly outcome: \"lost\" | \"waiting\";\n readonly item: string;\n} | {\n readonly outcome: \"moved\";\n readonly item: string;\n readonly kind: string;\n} | {\n readonly outcome: \"merged\" | \"asked\" | \"stuck\" | \"review\" | \"landing\";\n readonly item: string;\n readonly detail?: string;\n} | {\n readonly outcome: \"limited\";\n readonly item: string;\n readonly until: number;\n} | {\n readonly outcome: \"held\";\n readonly item: string;\n readonly why: string;\n};\n= { readonly outcome: \"asked\" | \"landing\" | \"merged\" | \"review\" | \"stuck\"; readonly item: string; readonly detail?: string | undefined; } | { readonly outcome: \"held\"; readonly item: string; readonly why: string; } | { readonly outcome: \"idle\"; } | { readonly outcome: \"limited\"; readonly item: string; readonly until: number; } | { readonly outcome: \"lost\" | \"waiting\"; readonly item: string; } | { readonly outcome: \"moved\"; readonly item: string; readonly kind: string; }"
|
|
@@ -7730,7 +8548,7 @@
|
|
|
7730
8548
|
"type": "typeof Worker; new (options: WorkerOptions) => Worker\nconfig: Config; running: () => string[]; idle: () => Promise<void>; wake: () => void; tick: () => Promise<TickResult>; serve: (stop?: AbortSignal | undefined) => Promise<Exit>"
|
|
7731
8549
|
},
|
|
7732
8550
|
"WorkerOptions": {
|
|
7733
|
-
"type": "export type WorkerOptions = {\n readonly repo: string;\n readonly state: State;\n readonly config: Config;\n readonly adapters: {\n readonly workSource: WorkSource;\n readonly questions: Questions;\n readonly answers?: Answers;\n };\n readonly runner: Runner;\n readonly judge?: ModelCall;\n readonly remote: string;\n readonly base?: string;\n readonly checks: readonly string[];\n readonly holder: Holder;\n readonly workDir?: string;\n readonly checkout?: Checkout;\n readonly slots?: Pick<SlotPool, \"keepReady\" | \"idle\">;\n readonly dir?: string;\n readonly where?: \"mac\" | \"ci\";\n readonly now: () => number;\n readonly runnerVariables: ReadonlySet<string>;\n readonly newSessionId: () => string;\n readonly engineVersion?: string;\n readonly latestVersion?: () => Promise<string | undefined>;\n readonly ciTick?: () => Promise<number | undefined>;\n readonly gate?: PrefixGate;\n readonly onResult?: (result: ThinResult) => void;\n readonly pulls?: PullRequests;\n readonly commits?: GitHubCommits;\n readonly loop?: Partial<Pick<LoopPass, \"comments\" | \"ciLogs\">>;\n readonly ciJob?: CiJob;\n};\n= { readonly repo: string; readonly state: { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; }, $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\">>; }; readonly config: Config; readonly adapters: { readonly workSource: WorkSource; readonly questions: Questions; readonly answers?: Answers | undefined; }; readonly runner: Runner; readonly judge?: ModelCall | undefined; readonly remote: string; readonly base?: string | undefined; readonly checks: readonly string[]; readonly holder: string & $brand<\"Holder\">; readonly workDir?: string | undefined; readonly checkout?: Checkout | undefined; readonly slots?: Pick<SlotPool, \"idle\" | \"keepReady\"> | undefined; readonly dir?: string | undefined; readonly where?: \"ci\" | \"mac\" | undefined; readonly now: () => number; readonly runnerVariables: ReadonlySet<string>; readonly newSessionId: () => string; readonly engineVersion?: string | undefined; readonly latestVersion?: (() => Promise<string | undefined>) | undefined; readonly ciTick?: (() => Promise<number | undefined>) | undefined; readonly gate?: PrefixGate | undefined; readonly onResult?: ((result: ThinResult) => void) | undefined; readonly pulls?: PullRequests | undefined; readonly commits?: GitHubCommits | undefined; readonly loop?: Partial<Pick<LoopPass, \"ciLogs\" | \"comments\">> | undefined; readonly ciJob?: CiJob | undefined; }"
|
|
8551
|
+
"type": "export type WorkerOptions = {\n readonly repo: string;\n readonly state: State;\n readonly config: Config;\n readonly adapters: {\n readonly workSource: WorkSource;\n readonly questions: Questions;\n readonly answers?: Answers;\n };\n readonly runner: Runner;\n readonly judge?: ModelCall;\n readonly remote: string;\n readonly base?: string;\n readonly checks: readonly string[];\n readonly holder: Holder;\n readonly workDir?: string;\n readonly checkout?: Checkout;\n readonly slots?: Pick<SlotPool, \"keepReady\" | \"idle\">;\n readonly dir?: string;\n readonly where?: \"mac\" | \"ci\";\n readonly now: () => number;\n readonly runnerVariables: ReadonlySet<string>;\n readonly newSessionId: () => string;\n readonly engineVersion?: string;\n readonly latestVersion?: () => Promise<string | undefined>;\n readonly ciTick?: () => Promise<number | undefined>;\n readonly gate?: PrefixGate;\n readonly onResult?: (result: ThinResult) => void;\n readonly pulls?: PullRequests;\n readonly commits?: GitHubCommits;\n readonly loop?: Partial<Pick<LoopPass, \"comments\" | \"ciLogs\">>;\n readonly ciJob?: CiJob;\n readonly remeasure?: (measurement: Measurement, signal: AbortSignal) => Promise<Measured>;\n};\n= { readonly repo: string; readonly state: { 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; lostRaces: ZodDefault<ZodInt>; patch: ZodOptional<ZodString>; 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>]>>; commits: ZodOptional<ZodArray<ZodString>>; }, $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>>; pullRequests: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; evidence: ZodOptional<ZodUnion<readonly [ZodObject<{ kind: ZodEnum<{ image: \"image\"; video: \"video\"; }>; url: ZodURL; }, $strip>, ZodObject<{ left: ZodString; }, $strip>]>>; }, $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>>; followUps: Records<ZodObject<{ item: ZodString; from: ZodString; at: 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>; baseChecked: ZodDefault<ZodBoolean>; commits: ZodOptional<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>>; labels: Records<ZodObject<{ sha: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; }>; }, $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\">>; cases: Records<ZodObject<{ item: ZodString; title: ZodString; body: ZodString; diff: ZodString; label: ZodEnum<{ reverted: \"reverted\"; fixed: \"fixed\"; clean: \"clean\"; }>; judges: ZodArray<ZodEnum<{ alignment: \"alignment\"; \"review-verdict\": \"review-verdict\"; }>>; }, $strip>>; }; readonly config: Config; readonly adapters: { readonly workSource: WorkSource; readonly questions: Questions; readonly answers?: Answers | undefined; }; readonly runner: Runner; readonly judge?: ModelCall | undefined; readonly remote: string; readonly base?: string | undefined; readonly checks: readonly string[]; readonly holder: string & $brand<\"Holder\">; readonly workDir?: string | undefined; readonly checkout?: Checkout | undefined; readonly slots?: Pick<SlotPool, \"idle\" | \"keepReady\"> | undefined; readonly dir?: string | undefined; readonly where?: \"ci\" | \"mac\" | undefined; readonly now: () => number; readonly runnerVariables: ReadonlySet<string>; readonly newSessionId: () => string; readonly engineVersion?: string | undefined; readonly latestVersion?: (() => Promise<string | undefined>) | undefined; readonly ciTick?: (() => Promise<number | undefined>) | undefined; readonly gate?: PrefixGate | undefined; readonly onResult?: ((result: ThinResult) => void) | undefined; readonly pulls?: PullRequests | undefined; readonly commits?: GitHubCommits | undefined; readonly loop?: Partial<Pick<LoopPass, \"ciLogs\" | \"comments\">> | undefined; readonly ciJob?: CiJob | undefined; readonly remeasure?: ((measurement: Measurement, signal: AbortSignal) => Promise<Measured>) | undefined; }"
|
|
7734
8552
|
},
|
|
7735
8553
|
"WorkflowFile": {
|
|
7736
8554
|
"type": "export type WorkflowFile = {\n readonly file: string;\n readonly text: string;\n};\n= { readonly file: string; readonly text: string; }"
|
|
@@ -7748,7 +8566,7 @@
|
|
|
7748
8566
|
"type": "(path: string, heartbeat: { time: number; engineVersion: string; configHash: string; inFlight: string[]; intervalMs: number; restarting?: string | undefined; }) => void"
|
|
7749
8567
|
},
|
|
7750
8568
|
"writeStatus": {
|
|
7751
|
-
"type": "(path: string, status: { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; }; }) => void"
|
|
8569
|
+
"type": "(path: string, status: { format: 2; writtenAt: number; workers: { mac?: number | undefined; ci?: number | undefined; }; engine: { version: string; adapterApi: number; configSchema: number; latest?: string | undefined; }; questions: { item: string; text: string; options: string[]; since: number; }[]; cards: { kind: \"fault\" | \"limited\" | \"waiting\"; key: string; code: string; cause: string; fix: string; since: number; item?: string | undefined; action?: undefined | { label: string; answer: string; }; }[]; inFlight: { item: string; title: string; state: string; since: number; unclear: boolean; level?: string | undefined; }[]; merged: { item: string; title: string; mergedAt: number; level?: string | undefined; }[]; choices: { item: string; text: string; at: number; }[]; rules: { glob: string; level: string; item: string; at: number; undo: { label: string; command: string; }; }[]; possibleRepeats: { a: string; b: string; }[]; unusedMemory: string[]; measure: null | { merges: number; abandoned: number; notes: number; questions: number; tokens: number; window: number; byPath: { merges: number; abandoned: number; notes: number; questions: number; tokens: number; glob: string; }[]; byDoneBy: { doneBy: string; merges: number; reverted: number; fixed: number; }[]; }; }) => void"
|
|
7752
8570
|
}
|
|
7753
8571
|
}
|
|
7754
8572
|
}
|