@davidahmann/mill 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +335 -0
  3. package/dist/audit/repository.d.ts +8 -0
  4. package/dist/audit/repository.d.ts.map +1 -0
  5. package/dist/audit/repository.js +232 -0
  6. package/dist/audit/repository.js.map +1 -0
  7. package/dist/cli-program.d.ts +12 -0
  8. package/dist/cli-program.d.ts.map +1 -0
  9. package/dist/cli-program.js +1020 -0
  10. package/dist/cli-program.js.map +1 -0
  11. package/dist/cli.d.ts +3 -0
  12. package/dist/cli.d.ts.map +1 -0
  13. package/dist/cli.js +7 -0
  14. package/dist/cli.js.map +1 -0
  15. package/dist/config/lock.d.ts +12 -0
  16. package/dist/config/lock.d.ts.map +1 -0
  17. package/dist/config/lock.js +83 -0
  18. package/dist/config/lock.js.map +1 -0
  19. package/dist/contracts/canonical.d.ts +7 -0
  20. package/dist/contracts/canonical.d.ts.map +1 -0
  21. package/dist/contracts/canonical.js +30 -0
  22. package/dist/contracts/canonical.js.map +1 -0
  23. package/dist/contracts/schemas.d.ts +2705 -0
  24. package/dist/contracts/schemas.d.ts.map +1 -0
  25. package/dist/contracts/schemas.js +988 -0
  26. package/dist/contracts/schemas.js.map +1 -0
  27. package/dist/doctor.d.ts +21 -0
  28. package/dist/doctor.d.ts.map +1 -0
  29. package/dist/doctor.js +138 -0
  30. package/dist/doctor.js.map +1 -0
  31. package/dist/errors.d.ts +18 -0
  32. package/dist/errors.d.ts.map +1 -0
  33. package/dist/errors.js +31 -0
  34. package/dist/errors.js.map +1 -0
  35. package/dist/index.d.ts +20 -0
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/index.js +20 -0
  38. package/dist/index.js.map +1 -0
  39. package/dist/intake/prd.d.ts +14 -0
  40. package/dist/intake/prd.d.ts.map +1 -0
  41. package/dist/intake/prd.js +39 -0
  42. package/dist/intake/prd.js.map +1 -0
  43. package/dist/planning/impact.d.ts +59 -0
  44. package/dist/planning/impact.d.ts.map +1 -0
  45. package/dist/planning/impact.js +400 -0
  46. package/dist/planning/impact.js.map +1 -0
  47. package/dist/planning/specification.d.ts +42 -0
  48. package/dist/planning/specification.d.ts.map +1 -0
  49. package/dist/planning/specification.js +235 -0
  50. package/dist/planning/specification.js.map +1 -0
  51. package/dist/qualification/public-alpha.d.ts +16 -0
  52. package/dist/qualification/public-alpha.d.ts.map +1 -0
  53. package/dist/qualification/public-alpha.js +128 -0
  54. package/dist/qualification/public-alpha.js.map +1 -0
  55. package/dist/recipes/node-typescript-next-web.d.ts +19 -0
  56. package/dist/recipes/node-typescript-next-web.d.ts.map +1 -0
  57. package/dist/recipes/node-typescript-next-web.js +136 -0
  58. package/dist/recipes/node-typescript-next-web.js.map +1 -0
  59. package/dist/repository/integration.d.ts +58 -0
  60. package/dist/repository/integration.d.ts.map +1 -0
  61. package/dist/repository/integration.js +1385 -0
  62. package/dist/repository/integration.js.map +1 -0
  63. package/dist/repository/scan.d.ts +27 -0
  64. package/dist/repository/scan.d.ts.map +1 -0
  65. package/dist/repository/scan.js +388 -0
  66. package/dist/repository/scan.js.map +1 -0
  67. package/dist/result.d.ts +23 -0
  68. package/dist/result.d.ts.map +1 -0
  69. package/dist/result.js +24 -0
  70. package/dist/result.js.map +1 -0
  71. package/dist/runtime/codex.d.ts +28 -0
  72. package/dist/runtime/codex.d.ts.map +1 -0
  73. package/dist/runtime/codex.js +439 -0
  74. package/dist/runtime/codex.js.map +1 -0
  75. package/dist/runtime/context.d.ts +10 -0
  76. package/dist/runtime/context.d.ts.map +1 -0
  77. package/dist/runtime/context.js +151 -0
  78. package/dist/runtime/context.js.map +1 -0
  79. package/dist/runtime/delivery.d.ts +58 -0
  80. package/dist/runtime/delivery.d.ts.map +1 -0
  81. package/dist/runtime/delivery.js +1073 -0
  82. package/dist/runtime/delivery.js.map +1 -0
  83. package/dist/runtime/dependencies.d.ts +19 -0
  84. package/dist/runtime/dependencies.d.ts.map +1 -0
  85. package/dist/runtime/dependencies.js +495 -0
  86. package/dist/runtime/dependencies.js.map +1 -0
  87. package/dist/runtime/github.d.ts +112 -0
  88. package/dist/runtime/github.d.ts.map +1 -0
  89. package/dist/runtime/github.js +510 -0
  90. package/dist/runtime/github.js.map +1 -0
  91. package/dist/runtime/inputs.d.ts +24 -0
  92. package/dist/runtime/inputs.d.ts.map +1 -0
  93. package/dist/runtime/inputs.js +237 -0
  94. package/dist/runtime/inputs.js.map +1 -0
  95. package/dist/runtime/lease.d.ts +11 -0
  96. package/dist/runtime/lease.d.ts.map +1 -0
  97. package/dist/runtime/lease.js +52 -0
  98. package/dist/runtime/lease.js.map +1 -0
  99. package/dist/runtime/lifecycle.d.ts +87 -0
  100. package/dist/runtime/lifecycle.d.ts.map +1 -0
  101. package/dist/runtime/lifecycle.js +1024 -0
  102. package/dist/runtime/lifecycle.js.map +1 -0
  103. package/dist/runtime/process.d.ts +39 -0
  104. package/dist/runtime/process.d.ts.map +1 -0
  105. package/dist/runtime/process.js +304 -0
  106. package/dist/runtime/process.js.map +1 -0
  107. package/dist/runtime/repository.d.ts +36 -0
  108. package/dist/runtime/repository.d.ts.map +1 -0
  109. package/dist/runtime/repository.js +458 -0
  110. package/dist/runtime/repository.js.map +1 -0
  111. package/dist/runtime/state.d.ts +121 -0
  112. package/dist/runtime/state.d.ts.map +1 -0
  113. package/dist/runtime/state.js +1017 -0
  114. package/dist/runtime/state.js.map +1 -0
  115. package/dist/runtime/verifier.d.ts +31 -0
  116. package/dist/runtime/verifier.d.ts.map +1 -0
  117. package/dist/runtime/verifier.js +478 -0
  118. package/dist/runtime/verifier.js.map +1 -0
  119. package/dist/runtime/worker.d.ts +67 -0
  120. package/dist/runtime/worker.d.ts.map +1 -0
  121. package/dist/runtime/worker.js +34 -0
  122. package/dist/runtime/worker.js.map +1 -0
  123. package/dist/security/safe-path.d.ts +3 -0
  124. package/dist/security/safe-path.d.ts.map +1 -0
  125. package/dist/security/safe-path.js +102 -0
  126. package/dist/security/safe-path.js.map +1 -0
  127. package/dist/version.d.ts +4 -0
  128. package/dist/version.d.ts.map +1 -0
  129. package/dist/version.js +4 -0
  130. package/dist/version.js.map +1 -0
  131. package/dist/workflows/founder.d.ts +33 -0
  132. package/dist/workflows/founder.d.ts.map +1 -0
  133. package/dist/workflows/founder.js +422 -0
  134. package/dist/workflows/founder.js.map +1 -0
  135. package/package.json +79 -0
  136. package/recipes/node-typescript-next-web/.github/workflows/ci.yml +34 -0
  137. package/recipes/node-typescript-next-web/.node-version +1 -0
  138. package/recipes/node-typescript-next-web/.tool-versions +1 -0
  139. package/recipes/node-typescript-next-web/AGENTS.md +44 -0
  140. package/recipes/node-typescript-next-web/README.md +16 -0
  141. package/recipes/node-typescript-next-web/WORKFLOW.md +6 -0
  142. package/recipes/node-typescript-next-web/app/api/health/route.ts +5 -0
  143. package/recipes/node-typescript-next-web/app/layout.tsx +19 -0
  144. package/recipes/node-typescript-next-web/app/page.tsx +12 -0
  145. package/recipes/node-typescript-next-web/app/styles.css +21 -0
  146. package/recipes/node-typescript-next-web/docs/development.md +16 -0
  147. package/recipes/node-typescript-next-web/eslint.config.mjs +9 -0
  148. package/recipes/node-typescript-next-web/gitignore.template +5 -0
  149. package/recipes/node-typescript-next-web/next-env.d.ts +7 -0
  150. package/recipes/node-typescript-next-web/next.config.ts +11 -0
  151. package/recipes/node-typescript-next-web/package-lock.json +7540 -0
  152. package/recipes/node-typescript-next-web/package.json +39 -0
  153. package/recipes/node-typescript-next-web/playwright.config.ts +23 -0
  154. package/recipes/node-typescript-next-web/recipe.yaml +71 -0
  155. package/recipes/node-typescript-next-web/scripts/check-package.mjs +3 -0
  156. package/recipes/node-typescript-next-web/src/health.ts +3 -0
  157. package/recipes/node-typescript-next-web/test/browser/home.spec.ts +14 -0
  158. package/recipes/node-typescript-next-web/test/integration/health-route.test.ts +11 -0
  159. package/recipes/node-typescript-next-web/test/unit/health.test.ts +9 -0
  160. package/recipes/node-typescript-next-web/tsconfig.json +33 -0
  161. package/schemas/README.md +64 -0
  162. package/schemas/audit-report.schema.json +59 -0
  163. package/schemas/blueprint.schema.json +34 -0
  164. package/schemas/context-manifest.schema.json +88 -0
  165. package/schemas/delivery-record.schema.json +266 -0
  166. package/schemas/impact-manifest.schema.json +146 -0
  167. package/schemas/managed-repository.schema.json +36 -0
  168. package/schemas/mill-config.schema.json +212 -0
  169. package/schemas/mill-lock.schema.json +96 -0
  170. package/schemas/outcome-plan.schema.json +51 -0
  171. package/schemas/product-contract.schema.json +181 -0
  172. package/schemas/public-alpha-qualification.schema.json +391 -0
  173. package/schemas/recipe-manifest.schema.json +187 -0
  174. package/schemas/release-evidence.schema.json +170 -0
  175. package/schemas/repository-integration-plan.schema.json +156 -0
  176. package/schemas/review-result.schema.json +57 -0
  177. package/schemas/scenario-set.schema.json +84 -0
  178. package/schemas/source-manifest.schema.json +96 -0
  179. package/schemas/specification-proposal.schema.json +406 -0
  180. package/schemas/support-tuple.schema.json +107 -0
  181. package/schemas/task-packet.schema.json +395 -0
  182. package/schemas/validation-evidence.schema.json +125 -0
  183. package/schemas/worker-invocation.schema.json +119 -0
  184. package/schemas/worker-profile.schema.json +53 -0
@@ -0,0 +1,406 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": { "type": "string", "const": "1" },
6
+ "prd": {
7
+ "type": "object",
8
+ "properties": {
9
+ "path": { "type": "string", "minLength": 1 },
10
+ "digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }
11
+ },
12
+ "required": ["path", "digest"],
13
+ "additionalProperties": false
14
+ },
15
+ "sourceManifestDigest": {
16
+ "type": "string",
17
+ "pattern": "^sha256:[a-f0-9]{64}$"
18
+ },
19
+ "productContract": {
20
+ "type": "object",
21
+ "properties": {
22
+ "schemaVersion": { "type": "string", "const": "1" },
23
+ "id": { "type": "string", "minLength": 1 },
24
+ "title": { "type": "string", "minLength": 1 },
25
+ "primaryUser": { "type": "string", "minLength": 1 },
26
+ "jobToBeDone": { "type": "string", "minLength": 1 },
27
+ "outcomes": {
28
+ "minItems": 1,
29
+ "type": "array",
30
+ "items": {
31
+ "type": "object",
32
+ "properties": {
33
+ "id": { "type": "string", "pattern": "^OUT-[A-Z0-9][A-Z0-9-]*$" },
34
+ "statement": { "type": "string", "minLength": 1 },
35
+ "acceptanceIds": {
36
+ "minItems": 1,
37
+ "type": "array",
38
+ "items": { "type": "string", "minLength": 1 },
39
+ "uniqueItems": true
40
+ }
41
+ },
42
+ "required": ["id", "statement"],
43
+ "additionalProperties": false
44
+ }
45
+ },
46
+ "nonGoals": {
47
+ "type": "array",
48
+ "items": { "type": "string", "minLength": 1 }
49
+ },
50
+ "assumptions": {
51
+ "type": "array",
52
+ "items": { "type": "string", "minLength": 1 }
53
+ },
54
+ "unknowns": {
55
+ "type": "array",
56
+ "items": { "type": "string", "minLength": 1 }
57
+ },
58
+ "sourceRefs": {
59
+ "minItems": 1,
60
+ "type": "array",
61
+ "items": { "type": "string", "minLength": 1 }
62
+ },
63
+ "acceptance": {
64
+ "default": [],
65
+ "type": "array",
66
+ "items": {
67
+ "type": "object",
68
+ "properties": {
69
+ "id": { "type": "string", "minLength": 1 },
70
+ "kind": {
71
+ "type": "string",
72
+ "enum": ["functional", "quality", "operational"]
73
+ },
74
+ "statement": { "type": "string", "minLength": 1 },
75
+ "sourceRefs": {
76
+ "minItems": 1,
77
+ "type": "array",
78
+ "items": {
79
+ "type": "string",
80
+ "pattern": "^SRC-[A-Z0-9][A-Z0-9-]*$"
81
+ }
82
+ }
83
+ },
84
+ "required": ["id", "kind", "statement", "sourceRefs"],
85
+ "additionalProperties": false
86
+ }
87
+ },
88
+ "invariants": {
89
+ "default": [],
90
+ "type": "array",
91
+ "items": {
92
+ "type": "object",
93
+ "properties": {
94
+ "id": { "type": "string", "pattern": "^INV-[A-Z0-9][A-Z0-9-]*$" },
95
+ "statement": { "type": "string", "minLength": 1 },
96
+ "owner": { "type": "string", "minLength": 1 },
97
+ "criticality": {
98
+ "type": "string",
99
+ "enum": ["low", "medium", "high", "critical"]
100
+ },
101
+ "surfaceRefs": {
102
+ "minItems": 1,
103
+ "type": "array",
104
+ "items": { "type": "string", "minLength": 1 }
105
+ },
106
+ "verification": {
107
+ "type": "object",
108
+ "properties": {
109
+ "mode": {
110
+ "type": "string",
111
+ "enum": ["command", "human", "unsupported"]
112
+ },
113
+ "ref": { "type": "string", "minLength": 1 }
114
+ },
115
+ "required": ["mode", "ref"],
116
+ "additionalProperties": false
117
+ },
118
+ "sourceRefs": {
119
+ "minItems": 1,
120
+ "type": "array",
121
+ "items": {
122
+ "type": "string",
123
+ "pattern": "^SRC-[A-Z0-9][A-Z0-9-]*$"
124
+ }
125
+ },
126
+ "unknowns": {
127
+ "type": "array",
128
+ "items": { "type": "string", "minLength": 1 }
129
+ }
130
+ },
131
+ "required": [
132
+ "id",
133
+ "statement",
134
+ "owner",
135
+ "criticality",
136
+ "surfaceRefs",
137
+ "verification",
138
+ "sourceRefs",
139
+ "unknowns"
140
+ ],
141
+ "additionalProperties": false
142
+ }
143
+ },
144
+ "decisions": {
145
+ "default": [],
146
+ "type": "array",
147
+ "items": {
148
+ "type": "object",
149
+ "properties": {
150
+ "id": { "type": "string", "pattern": "^DEC-[A-Z0-9][A-Z0-9-]*$" },
151
+ "kind": {
152
+ "type": "string",
153
+ "enum": [
154
+ "product",
155
+ "architecture",
156
+ "design",
157
+ "accessibility",
158
+ "research"
159
+ ]
160
+ },
161
+ "question": { "type": "string", "minLength": 1 },
162
+ "decision": { "type": "string", "minLength": 1 },
163
+ "rationale": { "type": "string", "minLength": 1 },
164
+ "sourceRefs": {
165
+ "minItems": 1,
166
+ "type": "array",
167
+ "items": {
168
+ "type": "string",
169
+ "pattern": "^SRC-[A-Z0-9][A-Z0-9-]*$"
170
+ }
171
+ },
172
+ "status": {
173
+ "type": "string",
174
+ "enum": ["proposed", "approved", "rejected"]
175
+ },
176
+ "costlyToReverse": { "type": "boolean" }
177
+ },
178
+ "required": [
179
+ "id",
180
+ "kind",
181
+ "question",
182
+ "decision",
183
+ "rationale",
184
+ "sourceRefs",
185
+ "status",
186
+ "costlyToReverse"
187
+ ],
188
+ "additionalProperties": false
189
+ }
190
+ }
191
+ },
192
+ "required": [
193
+ "schemaVersion",
194
+ "id",
195
+ "title",
196
+ "primaryUser",
197
+ "jobToBeDone",
198
+ "outcomes",
199
+ "nonGoals",
200
+ "assumptions",
201
+ "unknowns",
202
+ "sourceRefs"
203
+ ],
204
+ "additionalProperties": false
205
+ },
206
+ "blueprints": {
207
+ "minItems": 1,
208
+ "maxItems": 1,
209
+ "type": "array",
210
+ "items": {
211
+ "type": "object",
212
+ "properties": {
213
+ "schemaVersion": { "type": "string", "const": "1" },
214
+ "id": { "type": "string", "minLength": 1 },
215
+ "productContractDigest": {
216
+ "type": "string",
217
+ "pattern": "^sha256:[a-f0-9]{64}$"
218
+ },
219
+ "recipe": { "type": "string", "minLength": 1 },
220
+ "recipeVersion": { "type": "string", "minLength": 1 },
221
+ "runtime": { "type": "string", "minLength": 1 },
222
+ "architecture": {
223
+ "minItems": 1,
224
+ "type": "array",
225
+ "items": { "type": "string", "minLength": 1 }
226
+ },
227
+ "risks": {
228
+ "type": "array",
229
+ "items": { "type": "string", "minLength": 1 }
230
+ }
231
+ },
232
+ "required": [
233
+ "schemaVersion",
234
+ "id",
235
+ "productContractDigest",
236
+ "recipe",
237
+ "recipeVersion",
238
+ "runtime",
239
+ "architecture",
240
+ "risks"
241
+ ],
242
+ "additionalProperties": false
243
+ }
244
+ },
245
+ "scenarioSet": {
246
+ "type": "object",
247
+ "properties": {
248
+ "schemaVersion": { "type": "string", "const": "1" },
249
+ "productContractDigest": {
250
+ "type": "string",
251
+ "pattern": "^sha256:[a-f0-9]{64}$"
252
+ },
253
+ "scenarios": {
254
+ "minItems": 1,
255
+ "type": "array",
256
+ "items": {
257
+ "type": "object",
258
+ "properties": {
259
+ "id": { "type": "string", "minLength": 1 },
260
+ "kind": {
261
+ "type": "string",
262
+ "enum": [
263
+ "normal",
264
+ "exception",
265
+ "degradation",
266
+ "recovery",
267
+ "authority",
268
+ "adversarial"
269
+ ]
270
+ },
271
+ "given": {
272
+ "minItems": 1,
273
+ "type": "array",
274
+ "items": { "type": "string", "minLength": 1 }
275
+ },
276
+ "when": {
277
+ "minItems": 1,
278
+ "type": "array",
279
+ "items": { "type": "string", "minLength": 1 }
280
+ },
281
+ "then": {
282
+ "minItems": 1,
283
+ "type": "array",
284
+ "items": { "type": "string", "minLength": 1 }
285
+ },
286
+ "oracleOwner": {
287
+ "type": "string",
288
+ "enum": ["repository", "human", "external"]
289
+ },
290
+ "acceptanceRefs": {
291
+ "default": [],
292
+ "type": "array",
293
+ "items": { "type": "string", "minLength": 1 }
294
+ },
295
+ "invariantRefs": {
296
+ "default": [],
297
+ "type": "array",
298
+ "items": {
299
+ "type": "string",
300
+ "pattern": "^INV-[A-Z0-9][A-Z0-9-]*$"
301
+ }
302
+ },
303
+ "coverage": {
304
+ "default": "both",
305
+ "type": "string",
306
+ "enum": ["new_behavior", "preservation", "both"]
307
+ },
308
+ "visibility": {
309
+ "default": "builder_visible",
310
+ "type": "string",
311
+ "enum": [
312
+ "builder_visible",
313
+ "reviewer_owned",
314
+ "human_acceptance"
315
+ ]
316
+ },
317
+ "executionRef": { "type": "string", "minLength": 1 },
318
+ "recipeOracle": { "type": "string", "minLength": 1 },
319
+ "forbidden": {
320
+ "default": [],
321
+ "type": "array",
322
+ "items": { "type": "string", "minLength": 1 }
323
+ }
324
+ },
325
+ "required": ["id", "kind", "given", "when", "then", "oracleOwner"],
326
+ "additionalProperties": false
327
+ }
328
+ }
329
+ },
330
+ "required": ["schemaVersion", "productContractDigest", "scenarios"],
331
+ "additionalProperties": false
332
+ },
333
+ "assumptions": {
334
+ "type": "array",
335
+ "items": {
336
+ "type": "object",
337
+ "properties": {
338
+ "id": { "type": "string", "minLength": 1 },
339
+ "statement": { "type": "string", "minLength": 1 },
340
+ "sourceRefs": {
341
+ "type": "array",
342
+ "items": { "type": "string", "pattern": "^SRC-[A-Z0-9][A-Z0-9-]*$" }
343
+ }
344
+ },
345
+ "required": ["id", "statement", "sourceRefs"],
346
+ "additionalProperties": false
347
+ }
348
+ },
349
+ "contradictions": {
350
+ "type": "array",
351
+ "items": {
352
+ "type": "object",
353
+ "properties": {
354
+ "id": { "type": "string", "minLength": 1 },
355
+ "statement": { "type": "string", "minLength": 1 },
356
+ "sourceRefs": {
357
+ "minItems": 2,
358
+ "type": "array",
359
+ "items": { "type": "string", "pattern": "^SRC-[A-Z0-9][A-Z0-9-]*$" }
360
+ },
361
+ "blocking": { "type": "boolean" }
362
+ },
363
+ "required": ["id", "statement", "sourceRefs", "blocking"],
364
+ "additionalProperties": false
365
+ }
366
+ },
367
+ "questions": {
368
+ "maxItems": 2,
369
+ "type": "array",
370
+ "items": {
371
+ "type": "object",
372
+ "properties": {
373
+ "id": { "type": "string", "minLength": 1 },
374
+ "prompt": { "type": "string", "minLength": 1 },
375
+ "recommendedDefault": { "type": "string", "minLength": 1 },
376
+ "reversible": { "type": "boolean" },
377
+ "blocking": { "type": "boolean" }
378
+ },
379
+ "required": [
380
+ "id",
381
+ "prompt",
382
+ "recommendedDefault",
383
+ "reversible",
384
+ "blocking"
385
+ ],
386
+ "additionalProperties": false
387
+ }
388
+ },
389
+ "status": { "type": "string", "const": "proposed" }
390
+ },
391
+ "required": [
392
+ "schemaVersion",
393
+ "prd",
394
+ "sourceManifestDigest",
395
+ "productContract",
396
+ "blueprints",
397
+ "scenarioSet",
398
+ "assumptions",
399
+ "contradictions",
400
+ "questions",
401
+ "status"
402
+ ],
403
+ "additionalProperties": false,
404
+ "$id": "https://github.com/davidahmann/mill/schemas/specification-proposal.schema.json",
405
+ "title": "SpecificationProposal"
406
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]*$" },
6
+ "status": {
7
+ "type": "string",
8
+ "enum": ["experimental", "qualified", "expired"]
9
+ },
10
+ "testedAt": {
11
+ "type": "string",
12
+ "format": "date-time",
13
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
14
+ },
15
+ "expiresAt": {
16
+ "type": "string",
17
+ "format": "date-time",
18
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
19
+ },
20
+ "host": {
21
+ "type": "object",
22
+ "properties": {
23
+ "os": { "type": "string", "minLength": 1 },
24
+ "architecture": { "type": "string", "minLength": 1 }
25
+ },
26
+ "required": ["os", "architecture"],
27
+ "additionalProperties": false
28
+ },
29
+ "runtime": {
30
+ "type": "object",
31
+ "properties": {
32
+ "node": {
33
+ "type": "string",
34
+ "pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)(?:-(?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*))*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$"
35
+ },
36
+ "npm": {
37
+ "type": "string",
38
+ "pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)(?:-(?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*))*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$"
39
+ }
40
+ },
41
+ "required": ["node", "npm"],
42
+ "additionalProperties": false
43
+ },
44
+ "container": {
45
+ "type": "object",
46
+ "properties": {
47
+ "engine": { "type": "string", "minLength": 1 },
48
+ "version": { "type": "string", "minLength": 1 },
49
+ "verifierImage": {
50
+ "type": "string",
51
+ "pattern": "^[^@\\s]+@sha256:[a-f0-9]{64}$"
52
+ }
53
+ },
54
+ "required": ["engine", "version", "verifierImage"],
55
+ "additionalProperties": false
56
+ },
57
+ "worker": {
58
+ "type": "object",
59
+ "properties": {
60
+ "adapter": { "type": "string", "const": "codex-cli" },
61
+ "harnessVersion": { "type": "string", "minLength": 1 },
62
+ "modelIdentity": { "type": "string", "const": "provider-mutable" },
63
+ "authMode": { "type": "string", "const": "operator-session" }
64
+ },
65
+ "required": ["adapter", "harnessVersion", "modelIdentity", "authMode"],
66
+ "additionalProperties": false
67
+ },
68
+ "forge": {
69
+ "type": "object",
70
+ "properties": {
71
+ "gitVersion": { "type": "string", "minLength": 1 },
72
+ "ghVersion": { "type": "string", "minLength": 1 },
73
+ "host": { "type": "string", "const": "github.com" }
74
+ },
75
+ "required": ["gitVersion", "ghVersion", "host"],
76
+ "additionalProperties": false
77
+ },
78
+ "recipe": {
79
+ "type": "object",
80
+ "properties": {
81
+ "id": { "type": "string", "const": "node-typescript-next-web" },
82
+ "version": {
83
+ "type": "string",
84
+ "pattern": "^(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)\\.(?:0|[1-9]\\d*)(?:-(?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[A-Za-z-][0-9A-Za-z-]*))*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$"
85
+ },
86
+ "digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }
87
+ },
88
+ "required": ["id", "version", "digest"],
89
+ "additionalProperties": false
90
+ }
91
+ },
92
+ "required": [
93
+ "id",
94
+ "status",
95
+ "testedAt",
96
+ "expiresAt",
97
+ "host",
98
+ "runtime",
99
+ "container",
100
+ "worker",
101
+ "forge",
102
+ "recipe"
103
+ ],
104
+ "additionalProperties": false,
105
+ "$id": "https://github.com/davidahmann/mill/schemas/support-tuple.schema.json",
106
+ "title": "SupportTuple"
107
+ }