@on-par/factory-cli 0.9.17-next.4 → 0.9.17-next.6

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.
@@ -0,0 +1,305 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "issue": {
6
+ "type": "integer",
7
+ "minimum": -9007199254740991,
8
+ "maximum": 9007199254740991
9
+ },
10
+ "schemaVersion": {
11
+ "type": "number",
12
+ "const": 1
13
+ },
14
+ "verdict": {
15
+ "anyOf": [
16
+ {
17
+ "type": "string",
18
+ "enum": ["ready", "ready-with-assumptions", "not-ready"]
19
+ },
20
+ {
21
+ "type": "null"
22
+ }
23
+ ]
24
+ },
25
+ "summary": {
26
+ "type": ["string", "null"]
27
+ },
28
+ "questions": {
29
+ "type": "array",
30
+ "items": {
31
+ "type": "object",
32
+ "properties": {
33
+ "aspect": {
34
+ "type": "string"
35
+ },
36
+ "text": {
37
+ "type": "string"
38
+ }
39
+ },
40
+ "required": ["aspect", "text"],
41
+ "additionalProperties": false
42
+ }
43
+ },
44
+ "assumptions": {
45
+ "type": "array",
46
+ "items": {
47
+ "type": "object",
48
+ "properties": {
49
+ "aspect": {
50
+ "type": "string"
51
+ },
52
+ "text": {
53
+ "type": "string"
54
+ }
55
+ },
56
+ "required": ["aspect", "text"],
57
+ "additionalProperties": false
58
+ }
59
+ },
60
+ "judge": {
61
+ "anyOf": [
62
+ {
63
+ "type": "object",
64
+ "properties": {
65
+ "model": {
66
+ "type": "string"
67
+ },
68
+ "cost": {
69
+ "type": ["number", "null"]
70
+ },
71
+ "unpriced": {
72
+ "type": "boolean"
73
+ },
74
+ "cached": {
75
+ "type": "boolean"
76
+ },
77
+ "promptVersion": {
78
+ "type": "string"
79
+ },
80
+ "bodyHash": {
81
+ "type": "string"
82
+ }
83
+ },
84
+ "required": ["model", "cost", "unpriced", "cached", "promptVersion", "bodyHash"],
85
+ "additionalProperties": false
86
+ },
87
+ {
88
+ "type": "null"
89
+ }
90
+ ]
91
+ },
92
+ "judgeSkipped": {
93
+ "type": "string",
94
+ "const": "epic"
95
+ },
96
+ "template": {
97
+ "type": "string",
98
+ "description": "advisory"
99
+ },
100
+ "score": {
101
+ "type": "number",
102
+ "description": "advisory"
103
+ },
104
+ "fields": {
105
+ "type": "object",
106
+ "properties": {
107
+ "pass": {
108
+ "type": "boolean"
109
+ },
110
+ "missing": {
111
+ "type": "array",
112
+ "items": {
113
+ "type": "string"
114
+ }
115
+ }
116
+ },
117
+ "required": ["pass", "missing"],
118
+ "additionalProperties": false,
119
+ "description": "advisory"
120
+ },
121
+ "criteria": {
122
+ "anyOf": [
123
+ {
124
+ "type": "object",
125
+ "properties": {
126
+ "findings": {
127
+ "type": "array",
128
+ "items": {
129
+ "type": "object",
130
+ "properties": {
131
+ "index": {
132
+ "type": "integer",
133
+ "minimum": -9007199254740991,
134
+ "maximum": 9007199254740991
135
+ },
136
+ "text": {
137
+ "type": "string"
138
+ },
139
+ "grade": {
140
+ "type": "string",
141
+ "enum": ["structured", "unstructured", "empty"]
142
+ },
143
+ "observable": {
144
+ "type": "boolean"
145
+ },
146
+ "note": {
147
+ "type": "string"
148
+ }
149
+ },
150
+ "required": ["index", "text", "grade", "observable"],
151
+ "additionalProperties": false
152
+ }
153
+ },
154
+ "verificationCommand": {
155
+ "type": ["boolean", "null"]
156
+ },
157
+ "problems": {
158
+ "type": "array",
159
+ "items": {
160
+ "type": "string"
161
+ }
162
+ },
163
+ "pass": {
164
+ "type": "boolean"
165
+ }
166
+ },
167
+ "required": ["findings", "verificationCommand", "problems", "pass"],
168
+ "additionalProperties": false
169
+ },
170
+ {
171
+ "type": "null"
172
+ }
173
+ ],
174
+ "description": "advisory"
175
+ },
176
+ "size": {
177
+ "type": "object",
178
+ "properties": {
179
+ "verdict": {
180
+ "type": "string",
181
+ "enum": ["runs-as-is", "would-split"]
182
+ },
183
+ "reason": {
184
+ "type": "string"
185
+ }
186
+ },
187
+ "required": ["verdict"],
188
+ "additionalProperties": false
189
+ },
190
+ "invest": {
191
+ "anyOf": [
192
+ {
193
+ "type": "object",
194
+ "properties": {
195
+ "findings": {
196
+ "type": "array",
197
+ "items": {
198
+ "type": "object",
199
+ "properties": {
200
+ "letter": {
201
+ "type": "string"
202
+ },
203
+ "status": {
204
+ "type": "string",
205
+ "enum": ["pass", "warn", "not-checked"]
206
+ },
207
+ "reason": {
208
+ "type": "string"
209
+ }
210
+ },
211
+ "required": ["letter", "status", "reason"],
212
+ "additionalProperties": false
213
+ }
214
+ }
215
+ },
216
+ "required": ["findings"],
217
+ "additionalProperties": false
218
+ },
219
+ {
220
+ "type": "null"
221
+ }
222
+ ],
223
+ "description": "advisory"
224
+ },
225
+ "reasons": {
226
+ "type": "array",
227
+ "items": {
228
+ "type": "string"
229
+ }
230
+ },
231
+ "exitCode": {
232
+ "anyOf": [
233
+ {
234
+ "type": "number",
235
+ "const": 0
236
+ },
237
+ {
238
+ "type": "number",
239
+ "const": 1
240
+ },
241
+ {
242
+ "type": "number",
243
+ "const": 3
244
+ }
245
+ ]
246
+ },
247
+ "deep": {
248
+ "type": "object",
249
+ "properties": {
250
+ "kind": {
251
+ "type": "string",
252
+ "const": "split"
253
+ },
254
+ "model": {
255
+ "type": "string"
256
+ },
257
+ "cost": {
258
+ "type": ["number", "null"]
259
+ },
260
+ "unpriced": {
261
+ "type": "boolean"
262
+ },
263
+ "children": {
264
+ "type": "array",
265
+ "items": {
266
+ "type": "object",
267
+ "properties": {
268
+ "title": {
269
+ "type": "string"
270
+ },
271
+ "acceptanceCriteria": {
272
+ "type": "array",
273
+ "items": {
274
+ "type": "string"
275
+ }
276
+ }
277
+ },
278
+ "required": ["title", "acceptanceCriteria"],
279
+ "additionalProperties": false
280
+ }
281
+ }
282
+ },
283
+ "required": ["kind", "model", "cost", "unpriced", "children"],
284
+ "additionalProperties": false
285
+ }
286
+ },
287
+ "required": [
288
+ "issue",
289
+ "schemaVersion",
290
+ "verdict",
291
+ "summary",
292
+ "questions",
293
+ "assumptions",
294
+ "judge",
295
+ "template",
296
+ "score",
297
+ "fields",
298
+ "criteria",
299
+ "size",
300
+ "invest",
301
+ "reasons",
302
+ "exitCode"
303
+ ],
304
+ "additionalProperties": false
305
+ }