@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,391 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": { "type": "string", "const": "1" },
6
+ "package": {
7
+ "type": "object",
8
+ "properties": {
9
+ "name": { "type": "string", "const": "@davidahmann/mill" },
10
+ "version": {
11
+ "type": "string",
12
+ "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-]+)*)?$"
13
+ },
14
+ "artifactDigest": {
15
+ "type": "string",
16
+ "pattern": "^sha256:[a-f0-9]{64}$"
17
+ },
18
+ "npmIntegrity": {
19
+ "type": "string",
20
+ "pattern": "^sha512-[A-Za-z0-9+/]+={0,2}$"
21
+ }
22
+ },
23
+ "required": ["name", "version", "artifactDigest", "npmIntegrity"],
24
+ "additionalProperties": false
25
+ },
26
+ "supportTuple": {
27
+ "type": "object",
28
+ "properties": {
29
+ "id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]*$" },
30
+ "status": {
31
+ "type": "string",
32
+ "enum": ["experimental", "qualified", "expired"]
33
+ },
34
+ "testedAt": {
35
+ "type": "string",
36
+ "format": "date-time",
37
+ "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))$"
38
+ },
39
+ "expiresAt": {
40
+ "type": "string",
41
+ "format": "date-time",
42
+ "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))$"
43
+ },
44
+ "host": {
45
+ "type": "object",
46
+ "properties": {
47
+ "os": { "type": "string", "minLength": 1 },
48
+ "architecture": { "type": "string", "minLength": 1 }
49
+ },
50
+ "required": ["os", "architecture"],
51
+ "additionalProperties": false
52
+ },
53
+ "runtime": {
54
+ "type": "object",
55
+ "properties": {
56
+ "node": {
57
+ "type": "string",
58
+ "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-]+)*)?$"
59
+ },
60
+ "npm": {
61
+ "type": "string",
62
+ "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-]+)*)?$"
63
+ }
64
+ },
65
+ "required": ["node", "npm"],
66
+ "additionalProperties": false
67
+ },
68
+ "container": {
69
+ "type": "object",
70
+ "properties": {
71
+ "engine": { "type": "string", "minLength": 1 },
72
+ "version": { "type": "string", "minLength": 1 },
73
+ "verifierImage": {
74
+ "type": "string",
75
+ "pattern": "^[^@\\s]+@sha256:[a-f0-9]{64}$"
76
+ }
77
+ },
78
+ "required": ["engine", "version", "verifierImage"],
79
+ "additionalProperties": false
80
+ },
81
+ "worker": {
82
+ "type": "object",
83
+ "properties": {
84
+ "adapter": { "type": "string", "const": "codex-cli" },
85
+ "harnessVersion": { "type": "string", "minLength": 1 },
86
+ "modelIdentity": { "type": "string", "const": "provider-mutable" },
87
+ "authMode": { "type": "string", "const": "operator-session" }
88
+ },
89
+ "required": [
90
+ "adapter",
91
+ "harnessVersion",
92
+ "modelIdentity",
93
+ "authMode"
94
+ ],
95
+ "additionalProperties": false
96
+ },
97
+ "forge": {
98
+ "type": "object",
99
+ "properties": {
100
+ "gitVersion": { "type": "string", "minLength": 1 },
101
+ "ghVersion": { "type": "string", "minLength": 1 },
102
+ "host": { "type": "string", "const": "github.com" }
103
+ },
104
+ "required": ["gitVersion", "ghVersion", "host"],
105
+ "additionalProperties": false
106
+ },
107
+ "recipe": {
108
+ "type": "object",
109
+ "properties": {
110
+ "id": { "type": "string", "const": "node-typescript-next-web" },
111
+ "version": {
112
+ "type": "string",
113
+ "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-]+)*)?$"
114
+ },
115
+ "digest": { "type": "string", "pattern": "^sha256:[a-f0-9]{64}$" }
116
+ },
117
+ "required": ["id", "version", "digest"],
118
+ "additionalProperties": false
119
+ }
120
+ },
121
+ "required": [
122
+ "id",
123
+ "status",
124
+ "testedAt",
125
+ "expiresAt",
126
+ "host",
127
+ "runtime",
128
+ "container",
129
+ "worker",
130
+ "forge",
131
+ "recipe"
132
+ ],
133
+ "additionalProperties": false
134
+ },
135
+ "sequence": {
136
+ "type": "object",
137
+ "properties": {
138
+ "steps": {
139
+ "minItems": 5,
140
+ "maxItems": 20,
141
+ "type": "array",
142
+ "items": {
143
+ "type": "object",
144
+ "properties": {
145
+ "id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]*$" },
146
+ "dependsOn": {
147
+ "maxItems": 1,
148
+ "type": "array",
149
+ "items": { "type": "string", "minLength": 1 }
150
+ },
151
+ "baseCommit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
152
+ "candidateCommit": {
153
+ "type": "string",
154
+ "pattern": "^[a-f0-9]{40}$"
155
+ },
156
+ "status": {
157
+ "type": "string",
158
+ "enum": ["accepted", "rejected", "blocked"]
159
+ },
160
+ "newBehavior": {
161
+ "type": "object",
162
+ "properties": {
163
+ "requiredIds": {
164
+ "minItems": 1,
165
+ "type": "array",
166
+ "items": { "type": "string", "minLength": 1 },
167
+ "uniqueItems": true
168
+ },
169
+ "passedIds": {
170
+ "type": "array",
171
+ "items": { "type": "string", "minLength": 1 }
172
+ }
173
+ },
174
+ "required": ["requiredIds", "passedIds"],
175
+ "additionalProperties": false
176
+ },
177
+ "preservation": {
178
+ "type": "object",
179
+ "properties": {
180
+ "requiredIds": {
181
+ "minItems": 1,
182
+ "type": "array",
183
+ "items": { "type": "string", "minLength": 1 },
184
+ "uniqueItems": true
185
+ },
186
+ "passedIds": {
187
+ "type": "array",
188
+ "items": { "type": "string", "minLength": 1 }
189
+ }
190
+ },
191
+ "required": ["requiredIds", "passedIds"],
192
+ "additionalProperties": false
193
+ },
194
+ "scenarioIds": {
195
+ "minItems": 1,
196
+ "type": "array",
197
+ "items": { "type": "string", "minLength": 1 },
198
+ "uniqueItems": true
199
+ },
200
+ "usage": {
201
+ "type": "object",
202
+ "properties": {
203
+ "inputTokens": {
204
+ "anyOf": [
205
+ {
206
+ "type": "integer",
207
+ "minimum": 0,
208
+ "maximum": 9007199254740991
209
+ },
210
+ { "type": "null" }
211
+ ]
212
+ },
213
+ "outputTokens": {
214
+ "anyOf": [
215
+ {
216
+ "type": "integer",
217
+ "minimum": 0,
218
+ "maximum": 9007199254740991
219
+ },
220
+ { "type": "null" }
221
+ ]
222
+ },
223
+ "currencyCost": {
224
+ "anyOf": [
225
+ { "type": "number", "minimum": 0 },
226
+ { "type": "null" }
227
+ ]
228
+ },
229
+ "source": {
230
+ "type": "string",
231
+ "enum": [
232
+ "provider-measured",
233
+ "operator-declared",
234
+ "unavailable"
235
+ ]
236
+ }
237
+ },
238
+ "required": [
239
+ "inputTokens",
240
+ "outputTokens",
241
+ "currencyCost",
242
+ "source"
243
+ ],
244
+ "additionalProperties": false
245
+ }
246
+ },
247
+ "required": [
248
+ "id",
249
+ "dependsOn",
250
+ "baseCommit",
251
+ "candidateCommit",
252
+ "status",
253
+ "newBehavior",
254
+ "preservation",
255
+ "scenarioIds",
256
+ "usage"
257
+ ],
258
+ "additionalProperties": false
259
+ }
260
+ },
261
+ "seededFault": {
262
+ "type": "object",
263
+ "properties": {
264
+ "baseCommit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
265
+ "candidateCommit": {
266
+ "type": "string",
267
+ "pattern": "^[a-f0-9]{40}$"
268
+ },
269
+ "status": {
270
+ "type": "string",
271
+ "enum": ["passed", "failed", "blocked", "skipped"]
272
+ },
273
+ "rejected": { "type": "boolean" },
274
+ "recovered": { "type": "boolean" },
275
+ "enteredAcceptedSequence": { "type": "boolean" },
276
+ "reason": { "type": "string", "minLength": 1 }
277
+ },
278
+ "required": [
279
+ "baseCommit",
280
+ "candidateCommit",
281
+ "status",
282
+ "rejected",
283
+ "recovered",
284
+ "enteredAcceptedSequence",
285
+ "reason"
286
+ ],
287
+ "additionalProperties": false
288
+ }
289
+ },
290
+ "required": ["steps", "seededFault"],
291
+ "additionalProperties": false
292
+ },
293
+ "canaries": {
294
+ "type": "object",
295
+ "properties": {
296
+ "packedInstall": {
297
+ "type": "string",
298
+ "enum": ["passed", "failed", "blocked", "skipped"]
299
+ },
300
+ "greenfield": {
301
+ "type": "string",
302
+ "enum": ["passed", "failed", "blocked", "skipped"]
303
+ },
304
+ "adoption": {
305
+ "type": "string",
306
+ "enum": ["passed", "failed", "blocked", "skipped"]
307
+ },
308
+ "downstreamWithoutMill": {
309
+ "type": "string",
310
+ "enum": ["passed", "failed", "blocked", "skipped"]
311
+ },
312
+ "recovery": {
313
+ "type": "string",
314
+ "enum": ["passed", "failed", "blocked", "skipped"]
315
+ },
316
+ "security": {
317
+ "type": "string",
318
+ "enum": ["passed", "failed", "blocked", "skipped"]
319
+ }
320
+ },
321
+ "required": [
322
+ "packedInstall",
323
+ "greenfield",
324
+ "adoption",
325
+ "downstreamWithoutMill",
326
+ "recovery",
327
+ "security"
328
+ ],
329
+ "additionalProperties": false
330
+ },
331
+ "auditCandidate": {
332
+ "type": "object",
333
+ "properties": {
334
+ "commit": { "type": "string", "pattern": "^[a-f0-9]{40}$" },
335
+ "tree": { "type": "string", "pattern": "^[a-f0-9]{40}$" }
336
+ },
337
+ "required": ["commit", "tree"],
338
+ "additionalProperties": false
339
+ },
340
+ "audits": {
341
+ "type": "array",
342
+ "items": {
343
+ "type": "object",
344
+ "properties": {
345
+ "category": {
346
+ "type": "string",
347
+ "enum": [
348
+ "product",
349
+ "code",
350
+ "ux",
351
+ "accessibility",
352
+ "security",
353
+ "dependencies",
354
+ "architecture",
355
+ "operations",
356
+ "release"
357
+ ]
358
+ },
359
+ "status": {
360
+ "type": "string",
361
+ "enum": ["passed", "failed", "blocked", "skipped"]
362
+ },
363
+ "reportDigest": {
364
+ "type": "string",
365
+ "pattern": "^sha256:[a-f0-9]{64}$"
366
+ }
367
+ },
368
+ "required": ["category", "status", "reportDigest"],
369
+ "additionalProperties": false
370
+ }
371
+ },
372
+ "generatedAt": {
373
+ "type": "string",
374
+ "format": "date-time",
375
+ "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))$"
376
+ }
377
+ },
378
+ "required": [
379
+ "schemaVersion",
380
+ "package",
381
+ "supportTuple",
382
+ "sequence",
383
+ "canaries",
384
+ "auditCandidate",
385
+ "audits",
386
+ "generatedAt"
387
+ ],
388
+ "additionalProperties": false,
389
+ "$id": "https://github.com/davidahmann/mill/schemas/public-alpha-qualification.schema.json",
390
+ "title": "PublicAlphaQualification"
391
+ }
@@ -0,0 +1,187 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "schemaVersion": { "type": "string", "const": "1" },
6
+ "id": { "type": "string", "const": "node-typescript-next-web" },
7
+ "version": {
8
+ "type": "string",
9
+ "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-]+)*)?$"
10
+ },
11
+ "status": {
12
+ "type": "string",
13
+ "enum": ["supported", "experimental", "unsupported"]
14
+ },
15
+ "observedAt": {
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
+ "runtime": {
21
+ "type": "object",
22
+ "properties": {
23
+ "node": {
24
+ "type": "string",
25
+ "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-]+)*)?$"
26
+ },
27
+ "npm": {
28
+ "type": "string",
29
+ "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-]+)*)?$"
30
+ }
31
+ },
32
+ "required": ["node", "npm"],
33
+ "additionalProperties": false
34
+ },
35
+ "stack": {
36
+ "type": "object",
37
+ "properties": {
38
+ "next": {
39
+ "type": "string",
40
+ "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-]+)*)?$"
41
+ },
42
+ "react": {
43
+ "type": "string",
44
+ "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-]+)*)?$"
45
+ },
46
+ "reactDom": {
47
+ "type": "string",
48
+ "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-]+)*)?$"
49
+ },
50
+ "typescript": {
51
+ "type": "string",
52
+ "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-]+)*)?$"
53
+ },
54
+ "eslint": {
55
+ "type": "string",
56
+ "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-]+)*)?$"
57
+ },
58
+ "prettier": {
59
+ "type": "string",
60
+ "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-]+)*)?$"
61
+ },
62
+ "vitest": {
63
+ "type": "string",
64
+ "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-]+)*)?$"
65
+ },
66
+ "playwright": {
67
+ "type": "string",
68
+ "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-]+)*)?$"
69
+ }
70
+ },
71
+ "required": [
72
+ "next",
73
+ "react",
74
+ "reactDom",
75
+ "typescript",
76
+ "eslint",
77
+ "prettier",
78
+ "vitest",
79
+ "playwright"
80
+ ],
81
+ "additionalProperties": false
82
+ },
83
+ "verifierImage": {
84
+ "type": "string",
85
+ "pattern": "^[^@\\s]+@sha256:[a-f0-9]{64}$"
86
+ },
87
+ "registry": { "type": "string", "format": "uri" },
88
+ "licensePolicy": {
89
+ "type": "object",
90
+ "properties": {
91
+ "allowed": {
92
+ "minItems": 1,
93
+ "type": "array",
94
+ "items": { "type": "string", "minLength": 1 }
95
+ },
96
+ "reviewedPackages": {
97
+ "type": "array",
98
+ "items": {
99
+ "type": "object",
100
+ "properties": {
101
+ "name": { "type": "string", "minLength": 1 },
102
+ "license": { "type": "string", "minLength": 1 }
103
+ },
104
+ "required": ["name", "license"],
105
+ "additionalProperties": false
106
+ }
107
+ }
108
+ },
109
+ "required": ["allowed", "reviewedPackages"],
110
+ "additionalProperties": false
111
+ },
112
+ "commands": {
113
+ "type": "object",
114
+ "properties": {
115
+ "required": {
116
+ "minItems": 1,
117
+ "type": "array",
118
+ "items": { "type": "string", "minLength": 1 }
119
+ },
120
+ "native": {
121
+ "minItems": 1,
122
+ "type": "array",
123
+ "items": { "type": "string", "minLength": 1 }
124
+ }
125
+ },
126
+ "required": ["required", "native"],
127
+ "additionalProperties": false
128
+ },
129
+ "oracles": {
130
+ "minItems": 1,
131
+ "type": "array",
132
+ "items": {
133
+ "type": "object",
134
+ "properties": {
135
+ "id": { "type": "string", "minLength": 1 },
136
+ "commandId": { "type": "string", "minLength": 1 },
137
+ "evidencePaths": {
138
+ "minItems": 1,
139
+ "type": "array",
140
+ "items": {
141
+ "type": "string",
142
+ "pattern": "^(?!\\/)(?!.*(?:^|\\/)\\.\\.(?:\\/|$))[^*?[\\]\\\\]+(?:\\/\\*\\*)?$"
143
+ }
144
+ },
145
+ "proves": {
146
+ "minItems": 1,
147
+ "type": "array",
148
+ "items": { "type": "string", "minLength": 1 }
149
+ }
150
+ },
151
+ "required": ["id", "commandId", "evidencePaths", "proves"],
152
+ "additionalProperties": false
153
+ }
154
+ },
155
+ "writablePaths": {
156
+ "type": "array",
157
+ "items": {
158
+ "type": "string",
159
+ "pattern": "^(?!\\.\\.?$)(?!.*[,/])[^*?[\\]\\\\]+$"
160
+ }
161
+ },
162
+ "sources": {
163
+ "minItems": 1,
164
+ "type": "array",
165
+ "items": { "type": "string", "format": "uri" }
166
+ }
167
+ },
168
+ "required": [
169
+ "schemaVersion",
170
+ "id",
171
+ "version",
172
+ "status",
173
+ "observedAt",
174
+ "runtime",
175
+ "stack",
176
+ "verifierImage",
177
+ "registry",
178
+ "licensePolicy",
179
+ "commands",
180
+ "oracles",
181
+ "writablePaths",
182
+ "sources"
183
+ ],
184
+ "additionalProperties": false,
185
+ "$id": "https://github.com/davidahmann/mill/schemas/recipe-manifest.schema.json",
186
+ "title": "RecipeManifest"
187
+ }