@davidahmann/mill 0.1.4 → 0.2.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.
Files changed (249) hide show
  1. package/README.md +141 -32
  2. package/dist/audit/repository.d.ts.map +1 -1
  3. package/dist/audit/repository.js +2 -0
  4. package/dist/audit/repository.js.map +1 -1
  5. package/dist/cli-program.d.ts.map +1 -1
  6. package/dist/cli-program.js +189 -0
  7. package/dist/cli-program.js.map +1 -1
  8. package/dist/contracts/schemas.d.ts +467 -2
  9. package/dist/contracts/schemas.d.ts.map +1 -1
  10. package/dist/contracts/schemas.js +211 -1
  11. package/dist/contracts/schemas.js.map +1 -1
  12. package/dist/index.d.ts +7 -1
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +7 -1
  15. package/dist/index.js.map +1 -1
  16. package/dist/planning/closure.d.ts +24 -0
  17. package/dist/planning/closure.d.ts.map +1 -0
  18. package/dist/planning/closure.js +68 -0
  19. package/dist/planning/closure.js.map +1 -0
  20. package/dist/planning/outcomes.d.ts +6 -0
  21. package/dist/planning/outcomes.d.ts.map +1 -0
  22. package/dist/planning/outcomes.js +36 -0
  23. package/dist/planning/outcomes.js.map +1 -0
  24. package/dist/planning/tasks.d.ts +32 -0
  25. package/dist/planning/tasks.d.ts.map +1 -0
  26. package/dist/planning/tasks.js +305 -0
  27. package/dist/planning/tasks.js.map +1 -0
  28. package/dist/repository/intelligence.d.ts +78 -0
  29. package/dist/repository/intelligence.d.ts.map +1 -0
  30. package/dist/repository/intelligence.js +537 -0
  31. package/dist/repository/intelligence.js.map +1 -0
  32. package/dist/repository/native-adoption.d.ts +36 -0
  33. package/dist/repository/native-adoption.d.ts.map +1 -0
  34. package/dist/repository/native-adoption.js +146 -0
  35. package/dist/repository/native-adoption.js.map +1 -0
  36. package/dist/repository/scan.d.ts.map +1 -1
  37. package/dist/repository/scan.js +4 -0
  38. package/dist/repository/scan.js.map +1 -1
  39. package/dist/runtime/authority-plans.d.ts +43 -0
  40. package/dist/runtime/authority-plans.d.ts.map +1 -0
  41. package/dist/runtime/authority-plans.js +173 -0
  42. package/dist/runtime/authority-plans.js.map +1 -0
  43. package/dist/runtime/codex.d.ts.map +1 -1
  44. package/dist/runtime/codex.js +24 -5
  45. package/dist/runtime/codex.js.map +1 -1
  46. package/dist/runtime/context.d.ts.map +1 -1
  47. package/dist/runtime/context.js +36 -0
  48. package/dist/runtime/context.js.map +1 -1
  49. package/dist/runtime/delivery.d.ts +8 -1
  50. package/dist/runtime/delivery.d.ts.map +1 -1
  51. package/dist/runtime/delivery.js +187 -74
  52. package/dist/runtime/delivery.js.map +1 -1
  53. package/dist/runtime/effect-boundary.d.ts +38 -0
  54. package/dist/runtime/effect-boundary.d.ts.map +1 -0
  55. package/dist/runtime/effect-boundary.js +59 -0
  56. package/dist/runtime/effect-boundary.js.map +1 -0
  57. package/dist/runtime/github.d.ts +24 -0
  58. package/dist/runtime/github.d.ts.map +1 -1
  59. package/dist/runtime/github.js +117 -2
  60. package/dist/runtime/github.js.map +1 -1
  61. package/dist/runtime/inputs.js.map +1 -1
  62. package/dist/runtime/lifecycle.d.ts +5 -0
  63. package/dist/runtime/lifecycle.d.ts.map +1 -1
  64. package/dist/runtime/lifecycle.js +60 -16
  65. package/dist/runtime/lifecycle.js.map +1 -1
  66. package/dist/runtime/merge.d.ts +73 -0
  67. package/dist/runtime/merge.d.ts.map +1 -0
  68. package/dist/runtime/merge.js +299 -0
  69. package/dist/runtime/merge.js.map +1 -0
  70. package/dist/runtime/public-metadata.d.ts +3 -0
  71. package/dist/runtime/public-metadata.d.ts.map +1 -0
  72. package/dist/runtime/public-metadata.js +15 -0
  73. package/dist/runtime/public-metadata.js.map +1 -0
  74. package/dist/runtime/repair.d.ts +12 -0
  75. package/dist/runtime/repair.d.ts.map +1 -0
  76. package/dist/runtime/repair.js +34 -0
  77. package/dist/runtime/repair.js.map +1 -0
  78. package/dist/runtime/repository.d.ts +18 -0
  79. package/dist/runtime/repository.d.ts.map +1 -1
  80. package/dist/runtime/repository.js +114 -2
  81. package/dist/runtime/repository.js.map +1 -1
  82. package/dist/runtime/state.d.ts +42 -1
  83. package/dist/runtime/state.d.ts.map +1 -1
  84. package/dist/runtime/state.js +324 -11
  85. package/dist/runtime/state.js.map +1 -1
  86. package/dist/runtime/usage.d.ts +12 -0
  87. package/dist/runtime/usage.d.ts.map +1 -0
  88. package/dist/runtime/usage.js +45 -0
  89. package/dist/runtime/usage.js.map +1 -0
  90. package/dist/runtime/verifier.d.ts.map +1 -1
  91. package/dist/runtime/verifier.js +12 -0
  92. package/dist/runtime/verifier.js.map +1 -1
  93. package/dist/runtime/worker.d.ts +1 -0
  94. package/dist/runtime/worker.d.ts.map +1 -1
  95. package/dist/runtime/worker.js.map +1 -1
  96. package/dist/version.d.ts +1 -1
  97. package/dist/version.js +1 -1
  98. package/dist/workflows/founder.d.ts.map +1 -1
  99. package/dist/workflows/founder.js +5 -0
  100. package/dist/workflows/founder.js.map +1 -1
  101. package/node_modules/typescript/LICENSE.txt +55 -0
  102. package/node_modules/typescript/README.md +50 -0
  103. package/node_modules/typescript/SECURITY.md +39 -0
  104. package/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  105. package/node_modules/typescript/bin/tsc +2 -0
  106. package/node_modules/typescript/bin/tsserver +2 -0
  107. package/node_modules/typescript/lib/_tsc.js +134465 -0
  108. package/node_modules/typescript/lib/_tsserver.js +659 -0
  109. package/node_modules/typescript/lib/_typingsInstaller.js +222 -0
  110. package/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2129 -0
  111. package/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2125 -0
  112. package/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2129 -0
  113. package/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2129 -0
  114. package/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2125 -0
  115. package/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2129 -0
  116. package/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2129 -0
  117. package/node_modules/typescript/lib/lib.d.ts +20 -0
  118. package/node_modules/typescript/lib/lib.decorators.d.ts +382 -0
  119. package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +20 -0
  120. package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +18 -0
  121. package/node_modules/typescript/lib/lib.dom.d.ts +45125 -0
  122. package/node_modules/typescript/lib/lib.dom.iterable.d.ts +18 -0
  123. package/node_modules/typescript/lib/lib.es2015.collection.d.ts +150 -0
  124. package/node_modules/typescript/lib/lib.es2015.core.d.ts +595 -0
  125. package/node_modules/typescript/lib/lib.es2015.d.ts +26 -0
  126. package/node_modules/typescript/lib/lib.es2015.generator.d.ts +75 -0
  127. package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +603 -0
  128. package/node_modules/typescript/lib/lib.es2015.promise.d.ts +79 -0
  129. package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +126 -0
  130. package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +142 -0
  131. package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +44 -0
  132. package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +324 -0
  133. package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +114 -0
  134. package/node_modules/typescript/lib/lib.es2016.d.ts +19 -0
  135. package/node_modules/typescript/lib/lib.es2016.full.d.ts +21 -0
  136. package/node_modules/typescript/lib/lib.es2016.intl.d.ts +29 -0
  137. package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +19 -0
  138. package/node_modules/typescript/lib/lib.es2017.d.ts +24 -0
  139. package/node_modules/typescript/lib/lib.es2017.date.d.ts +29 -0
  140. package/node_modules/typescript/lib/lib.es2017.full.d.ts +21 -0
  141. package/node_modules/typescript/lib/lib.es2017.intl.d.ts +42 -0
  142. package/node_modules/typescript/lib/lib.es2017.object.d.ts +47 -0
  143. package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +133 -0
  144. package/node_modules/typescript/lib/lib.es2017.string.d.ts +43 -0
  145. package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +51 -0
  146. package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +75 -0
  147. package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +51 -0
  148. package/node_modules/typescript/lib/lib.es2018.d.ts +22 -0
  149. package/node_modules/typescript/lib/lib.es2018.full.d.ts +22 -0
  150. package/node_modules/typescript/lib/lib.es2018.intl.d.ts +81 -0
  151. package/node_modules/typescript/lib/lib.es2018.promise.d.ts +28 -0
  152. package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +35 -0
  153. package/node_modules/typescript/lib/lib.es2019.array.d.ts +77 -0
  154. package/node_modules/typescript/lib/lib.es2019.d.ts +22 -0
  155. package/node_modules/typescript/lib/lib.es2019.full.d.ts +22 -0
  156. package/node_modules/typescript/lib/lib.es2019.intl.d.ts +21 -0
  157. package/node_modules/typescript/lib/lib.es2019.object.d.ts +31 -0
  158. package/node_modules/typescript/lib/lib.es2019.string.d.ts +35 -0
  159. package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +22 -0
  160. package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +763 -0
  161. package/node_modules/typescript/lib/lib.es2020.d.ts +25 -0
  162. package/node_modules/typescript/lib/lib.es2020.date.d.ts +40 -0
  163. package/node_modules/typescript/lib/lib.es2020.full.d.ts +22 -0
  164. package/node_modules/typescript/lib/lib.es2020.intl.d.ts +472 -0
  165. package/node_modules/typescript/lib/lib.es2020.number.d.ts +26 -0
  166. package/node_modules/typescript/lib/lib.es2020.promise.d.ts +45 -0
  167. package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
  168. package/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
  169. package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +39 -0
  170. package/node_modules/typescript/lib/lib.es2021.d.ts +21 -0
  171. package/node_modules/typescript/lib/lib.es2021.full.d.ts +22 -0
  172. package/node_modules/typescript/lib/lib.es2021.intl.d.ts +164 -0
  173. package/node_modules/typescript/lib/lib.es2021.promise.d.ts +46 -0
  174. package/node_modules/typescript/lib/lib.es2021.string.d.ts +31 -0
  175. package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
  176. package/node_modules/typescript/lib/lib.es2022.array.d.ts +119 -0
  177. package/node_modules/typescript/lib/lib.es2022.d.ts +23 -0
  178. package/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
  179. package/node_modules/typescript/lib/lib.es2022.full.d.ts +22 -0
  180. package/node_modules/typescript/lib/lib.es2022.intl.d.ts +143 -0
  181. package/node_modules/typescript/lib/lib.es2022.object.d.ts +24 -0
  182. package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +37 -0
  183. package/node_modules/typescript/lib/lib.es2022.string.d.ts +23 -0
  184. package/node_modules/typescript/lib/lib.es2023.array.d.ts +922 -0
  185. package/node_modules/typescript/lib/lib.es2023.collection.d.ts +19 -0
  186. package/node_modules/typescript/lib/lib.es2023.d.ts +20 -0
  187. package/node_modules/typescript/lib/lib.es2023.full.d.ts +22 -0
  188. package/node_modules/typescript/lib/lib.es2023.intl.d.ts +62 -0
  189. package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +63 -0
  190. package/node_modules/typescript/lib/lib.es2024.collection.d.ts +27 -0
  191. package/node_modules/typescript/lib/lib.es2024.d.ts +24 -0
  192. package/node_modules/typescript/lib/lib.es2024.full.d.ts +22 -0
  193. package/node_modules/typescript/lib/lib.es2024.object.d.ts +27 -0
  194. package/node_modules/typescript/lib/lib.es2024.promise.d.ts +33 -0
  195. package/node_modules/typescript/lib/lib.es2024.regexp.d.ts +23 -0
  196. package/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +66 -0
  197. package/node_modules/typescript/lib/lib.es2024.string.d.ts +27 -0
  198. package/node_modules/typescript/lib/lib.es2025.collection.d.ts +94 -0
  199. package/node_modules/typescript/lib/lib.es2025.d.ts +23 -0
  200. package/node_modules/typescript/lib/lib.es2025.float16.d.ts +443 -0
  201. package/node_modules/typescript/lib/lib.es2025.full.d.ts +22 -0
  202. package/node_modules/typescript/lib/lib.es2025.intl.d.ts +200 -0
  203. package/node_modules/typescript/lib/lib.es2025.iterator.d.ts +146 -0
  204. package/node_modules/typescript/lib/lib.es2025.promise.d.ts +32 -0
  205. package/node_modules/typescript/lib/lib.es2025.regexp.d.ts +30 -0
  206. package/node_modules/typescript/lib/lib.es5.d.ts +4599 -0
  207. package/node_modules/typescript/lib/lib.es6.d.ts +21 -0
  208. package/node_modules/typescript/lib/lib.esnext.array.d.ts +33 -0
  209. package/node_modules/typescript/lib/lib.esnext.collection.d.ts +47 -0
  210. package/node_modules/typescript/lib/lib.esnext.d.ts +27 -0
  211. package/node_modules/typescript/lib/lib.esnext.date.d.ts +21 -0
  212. package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +26 -0
  213. package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +191 -0
  214. package/node_modules/typescript/lib/lib.esnext.error.d.ts +22 -0
  215. package/node_modules/typescript/lib/lib.esnext.full.d.ts +22 -0
  216. package/node_modules/typescript/lib/lib.esnext.intl.d.ts +107 -0
  217. package/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +23 -0
  218. package/node_modules/typescript/lib/lib.esnext.temporal.d.ts +485 -0
  219. package/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts +90 -0
  220. package/node_modules/typescript/lib/lib.scripthost.d.ts +320 -0
  221. package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +18 -0
  222. package/node_modules/typescript/lib/lib.webworker.d.ts +15606 -0
  223. package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +21 -0
  224. package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +18 -0
  225. package/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2129 -0
  226. package/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2129 -0
  227. package/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2125 -0
  228. package/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2129 -0
  229. package/node_modules/typescript/lib/tsc.js +8 -0
  230. package/node_modules/typescript/lib/tsserver.js +8 -0
  231. package/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  232. package/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  233. package/node_modules/typescript/lib/typesMap.json +497 -0
  234. package/node_modules/typescript/lib/typescript.d.ts +11448 -0
  235. package/node_modules/typescript/lib/typescript.js +201039 -0
  236. package/node_modules/typescript/lib/typingsInstaller.js +8 -0
  237. package/node_modules/typescript/lib/watchGuard.js +53 -0
  238. package/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2129 -0
  239. package/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2125 -0
  240. package/node_modules/typescript/package.json +118 -0
  241. package/package.json +7 -4
  242. package/schemas/audit-report.schema.json +1 -0
  243. package/schemas/change-request.schema.json +189 -0
  244. package/schemas/context-manifest.schema.json +50 -0
  245. package/schemas/delivery-record.schema.json +109 -0
  246. package/schemas/mill-config.schema.json +50 -2
  247. package/schemas/repository-intelligence.schema.json +200 -0
  248. package/schemas/review-result.schema.json +21 -0
  249. package/schemas/task-packet.schema.json +12 -0
@@ -251,6 +251,83 @@ export declare const scenarioSetSchema: z.ZodObject<{
251
251
  forbidden: z.ZodDefault<z.ZodArray<z.ZodString>>;
252
252
  }, z.core.$strict>>;
253
253
  }, z.core.$strict>;
254
+ export declare const repositoryIntelligenceSchema: z.ZodObject<{
255
+ schemaVersion: z.ZodLiteral<"1">;
256
+ extractor: z.ZodObject<{
257
+ id: z.ZodLiteral<"mill.repository-intelligence">;
258
+ version: z.ZodLiteral<"1">;
259
+ digest: z.ZodString;
260
+ }, z.core.$strict>;
261
+ source: z.ZodObject<{
262
+ commit: z.ZodString;
263
+ tree: z.ZodString;
264
+ root: z.ZodLiteral<".">;
265
+ }, z.core.$strict>;
266
+ scanDigest: z.ZodString;
267
+ sourceFiles: z.ZodArray<z.ZodString>;
268
+ modules: z.ZodArray<z.ZodObject<{
269
+ path: z.ZodString;
270
+ digest: z.ZodString;
271
+ imports: z.ZodArray<z.ZodObject<{
272
+ kind: z.ZodEnum<{
273
+ type: "type";
274
+ dynamic: "dynamic";
275
+ require: "require";
276
+ static: "static";
277
+ }>;
278
+ specifier: z.ZodString;
279
+ location: z.ZodObject<{
280
+ path: z.ZodString;
281
+ line: z.ZodNumber;
282
+ column: z.ZodNumber;
283
+ }, z.core.$strict>;
284
+ resolution: z.ZodEnum<{
285
+ external: "external";
286
+ resolved_local: "resolved_local";
287
+ unresolved: "unresolved";
288
+ }>;
289
+ targetPath: z.ZodOptional<z.ZodString>;
290
+ }, z.core.$strict>>;
291
+ parseDiagnostics: z.ZodArray<z.ZodObject<{
292
+ path: z.ZodString;
293
+ line: z.ZodNumber;
294
+ column: z.ZodNumber;
295
+ }, z.core.$strict>>;
296
+ }, z.core.$strict>>;
297
+ tests: z.ZodObject<{
298
+ inventory: z.ZodArray<z.ZodObject<{
299
+ path: z.ZodString;
300
+ source: z.ZodLiteral<"filename">;
301
+ }, z.core.$strict>>;
302
+ declaredSelection: z.ZodArray<z.ZodObject<{
303
+ script: z.ZodString;
304
+ command: z.ZodString;
305
+ selector: z.ZodString;
306
+ matchedInventory: z.ZodArray<z.ZodString>;
307
+ status: z.ZodEnum<{
308
+ unknown: "unknown";
309
+ observed: "observed";
310
+ }>;
311
+ }, z.core.$strict>>;
312
+ executedCoverage: z.ZodLiteral<"unknown">;
313
+ }, z.core.$strict>;
314
+ changeImpact: z.ZodArray<z.ZodObject<{
315
+ changedPath: z.ZodString;
316
+ leads: z.ZodArray<z.ZodObject<{
317
+ path: z.ZodString;
318
+ relationship: z.ZodEnum<{
319
+ changed: "changed";
320
+ direct_importer: "direct_importer";
321
+ transitive_importer: "transitive_importer";
322
+ }>;
323
+ via: z.ZodOptional<z.ZodString>;
324
+ }, z.core.$strict>>;
325
+ unknowns: z.ZodArray<z.ZodString>;
326
+ }, z.core.$strict>>;
327
+ unknowns: z.ZodArray<z.ZodString>;
328
+ digest: z.ZodString;
329
+ authority: z.ZodLiteral<"derived_read_only">;
330
+ }, z.core.$strict>;
254
331
  export declare const outcomeSchema: z.ZodObject<{
255
332
  id: z.ZodString;
256
333
  title: z.ZodString;
@@ -471,6 +548,12 @@ export declare const specificationProposalSchema: z.ZodObject<{
471
548
  }, z.core.$strict>>;
472
549
  status: z.ZodLiteral<"proposed">;
473
550
  }, z.core.$strict>;
551
+ export declare const checkProducerSchema: z.ZodObject<{
552
+ appId: z.ZodNumber;
553
+ workflowPath: z.ZodString;
554
+ pullRequestEvent: z.ZodLiteral<"pull_request">;
555
+ postMergeEvent: z.ZodLiteral<"push">;
556
+ }, z.core.$strict>;
474
557
  export declare const millConfigSchema: z.ZodObject<{
475
558
  schemaVersion: z.ZodLiteral<"1">;
476
559
  repositoryId: z.ZodUUID;
@@ -502,6 +585,14 @@ export declare const millConfigSchema: z.ZodObject<{
502
585
  allowedActors: z.ZodArray<z.ZodString>;
503
586
  allowedMergerLogins: z.ZodArray<z.ZodString>;
504
587
  requiredChecks: z.ZodArray<z.ZodString>;
588
+ checkProducers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
589
+ appId: z.ZodNumber;
590
+ workflowPath: z.ZodString;
591
+ pullRequestEvent: z.ZodLiteral<"pull_request">;
592
+ postMergeEvent: z.ZodLiteral<"push">;
593
+ }, z.core.$strict>>>;
594
+ attendedMerge: z.ZodOptional<z.ZodLiteral<true>>;
595
+ postMergeRequiredChecks: z.ZodOptional<z.ZodArray<z.ZodString>>;
505
596
  reviewPolicy: z.ZodObject<{
506
597
  mode: z.ZodEnum<{
507
598
  local_only: "local_only";
@@ -533,6 +624,7 @@ export declare const millConfigSchema: z.ZodObject<{
533
624
  oci: "oci";
534
625
  }>>;
535
626
  writablePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
627
+ executableFixtureScratch: z.ZodOptional<z.ZodLiteral<true>>;
536
628
  }, z.core.$strict>>;
537
629
  }, z.core.$strict>;
538
630
  export declare const taskPacketV1Schema: z.ZodObject<{
@@ -554,6 +646,7 @@ export declare const taskPacketV1Schema: z.ZodObject<{
554
646
  id: z.ZodString;
555
647
  statement: z.ZodString;
556
648
  }, z.core.$strict>>;
649
+ repositoryIntelligence: z.ZodOptional<z.ZodLiteral<true>>;
557
650
  id: z.ZodString;
558
651
  title: z.ZodString;
559
652
  objective: z.ZodString;
@@ -573,6 +666,7 @@ export declare const taskPacketV1Schema: z.ZodObject<{
573
666
  }, z.core.$strict>;
574
667
  budget: z.ZodObject<{
575
668
  deadlineSeconds: z.ZodNumber;
669
+ maxContextBytes: z.ZodOptional<z.ZodNumber>;
576
670
  maxOutputBytes: z.ZodNumber;
577
671
  retryCount: z.ZodNumber;
578
672
  }, z.core.$strict>;
@@ -633,6 +727,7 @@ export declare const taskPacketV2Schema: z.ZodObject<{
633
727
  reason: z.ZodString;
634
728
  }, z.core.$strict>], "mode">;
635
729
  }, z.core.$strict>>;
730
+ repositoryIntelligence: z.ZodOptional<z.ZodLiteral<true>>;
636
731
  id: z.ZodString;
637
732
  title: z.ZodString;
638
733
  objective: z.ZodString;
@@ -652,6 +747,7 @@ export declare const taskPacketV2Schema: z.ZodObject<{
652
747
  }, z.core.$strict>;
653
748
  budget: z.ZodObject<{
654
749
  deadlineSeconds: z.ZodNumber;
750
+ maxContextBytes: z.ZodOptional<z.ZodNumber>;
655
751
  maxOutputBytes: z.ZodNumber;
656
752
  retryCount: z.ZodNumber;
657
753
  }, z.core.$strict>;
@@ -676,6 +772,7 @@ export declare const taskPacketSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
676
772
  id: z.ZodString;
677
773
  statement: z.ZodString;
678
774
  }, z.core.$strict>>;
775
+ repositoryIntelligence: z.ZodOptional<z.ZodLiteral<true>>;
679
776
  id: z.ZodString;
680
777
  title: z.ZodString;
681
778
  objective: z.ZodString;
@@ -695,6 +792,7 @@ export declare const taskPacketSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
695
792
  }, z.core.$strict>;
696
793
  budget: z.ZodObject<{
697
794
  deadlineSeconds: z.ZodNumber;
795
+ maxContextBytes: z.ZodOptional<z.ZodNumber>;
698
796
  maxOutputBytes: z.ZodNumber;
699
797
  retryCount: z.ZodNumber;
700
798
  }, z.core.$strict>;
@@ -754,6 +852,7 @@ export declare const taskPacketSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
754
852
  reason: z.ZodString;
755
853
  }, z.core.$strict>], "mode">;
756
854
  }, z.core.$strict>>;
855
+ repositoryIntelligence: z.ZodOptional<z.ZodLiteral<true>>;
757
856
  id: z.ZodString;
758
857
  title: z.ZodString;
759
858
  objective: z.ZodString;
@@ -773,11 +872,69 @@ export declare const taskPacketSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
773
872
  }, z.core.$strict>;
774
873
  budget: z.ZodObject<{
775
874
  deadlineSeconds: z.ZodNumber;
875
+ maxContextBytes: z.ZodOptional<z.ZodNumber>;
776
876
  maxOutputBytes: z.ZodNumber;
777
877
  retryCount: z.ZodNumber;
778
878
  }, z.core.$strict>;
779
879
  schemaVersion: z.ZodLiteral<"2">;
780
880
  }, z.core.$strict>], "schemaVersion">;
881
+ export declare const changeRequestSchema: z.ZodObject<{
882
+ schemaVersion: z.ZodLiteral<"1">;
883
+ repositoryIntelligence: z.ZodOptional<z.ZodLiteral<true>>;
884
+ id: z.ZodString;
885
+ kind: z.ZodEnum<{
886
+ prd: "prd";
887
+ plan: "plan";
888
+ bug: "bug";
889
+ review: "review";
890
+ maintenance: "maintenance";
891
+ }>;
892
+ source: z.ZodObject<{
893
+ path: z.ZodString;
894
+ digest: z.ZodString;
895
+ }, z.core.$strict>;
896
+ productPath: z.ZodString;
897
+ scenariosPath: z.ZodString;
898
+ policyPath: z.ZodString;
899
+ commit: z.ZodObject<{
900
+ message: z.ZodString;
901
+ authorName: z.ZodString;
902
+ authorEmail: z.ZodEmail;
903
+ }, z.core.$strict>;
904
+ budget: z.ZodObject<{
905
+ deadlineSeconds: z.ZodNumber;
906
+ maxContextBytes: z.ZodOptional<z.ZodNumber>;
907
+ maxOutputBytes: z.ZodNumber;
908
+ retryCount: z.ZodNumber;
909
+ }, z.core.$strict>;
910
+ readyOutcomeId: z.ZodString;
911
+ tasks: z.ZodArray<z.ZodObject<{
912
+ id: z.ZodString;
913
+ outcomeId: z.ZodString;
914
+ supersedesTaskDigest: z.ZodOptional<z.ZodString>;
915
+ title: z.ZodString;
916
+ objective: z.ZodString;
917
+ dependsOn: z.ZodArray<z.ZodString>;
918
+ impactPath: z.ZodString;
919
+ allowedPaths: z.ZodArray<z.ZodString>;
920
+ contextPaths: z.ZodArray<z.ZodString>;
921
+ attestations: z.ZodDefault<z.ZodArray<z.ZodObject<{
922
+ id: z.ZodString;
923
+ approvedBy: z.ZodString;
924
+ approvedAt: z.ZodISODateTime;
925
+ expiresAt: z.ZodISODateTime;
926
+ claims: z.ZodArray<z.ZodObject<{
927
+ kind: z.ZodEnum<{
928
+ acceptance: "acceptance";
929
+ invariant: "invariant";
930
+ scenario: "scenario";
931
+ }>;
932
+ id: z.ZodString;
933
+ digest: z.ZodString;
934
+ }, z.core.$strict>>;
935
+ }, z.core.$strict>>>;
936
+ }, z.core.$strict>>;
937
+ }, z.core.$strict>;
781
938
  export declare const workerProfileSchema: z.ZodObject<{
782
939
  schemaVersion: z.ZodLiteral<"1">;
783
940
  adapter: z.ZodLiteral<"codex-cli">;
@@ -812,8 +969,8 @@ export declare const workerInvocationSchema: z.ZodObject<{
812
969
  runId: z.ZodUUID;
813
970
  phase: z.ZodEnum<{
814
971
  build: "build";
815
- repair: "repair";
816
972
  review: "review";
973
+ repair: "repair";
817
974
  }>;
818
975
  attempt: z.ZodNumber;
819
976
  taskDigest: z.ZodString;
@@ -856,6 +1013,20 @@ export declare const workerInvocationSchema: z.ZodObject<{
856
1013
  }, z.core.$strict>;
857
1014
  export declare const contextManifestSchema: z.ZodObject<{
858
1015
  schemaVersion: z.ZodLiteral<"1">;
1016
+ repositoryContext: z.ZodOptional<z.ZodObject<{
1017
+ authority: z.ZodLiteral<"derived_read_only">;
1018
+ sourceCommit: z.ZodString;
1019
+ mapDigest: z.ZodString;
1020
+ extractorVersion: z.ZodString;
1021
+ modules: z.ZodArray<z.ZodObject<{
1022
+ path: z.ZodString;
1023
+ digest: z.ZodString;
1024
+ localImports: z.ZodArray<z.ZodString>;
1025
+ unresolvedImports: z.ZodNumber;
1026
+ }, z.core.$strict>>;
1027
+ omittedModules: z.ZodNumber;
1028
+ unknowns: z.ZodArray<z.ZodString>;
1029
+ }, z.core.$strict>>;
859
1030
  taskDigest: z.ZodString;
860
1031
  baseCommit: z.ZodString;
861
1032
  provider: z.ZodLiteral<"openai">;
@@ -881,9 +1052,23 @@ export declare const contextManifestSchema: z.ZodObject<{
881
1052
  observedReads: z.ZodLiteral<"unavailable">;
882
1053
  }, z.core.$strict>>;
883
1054
  }, z.core.$strict>;
1055
+ export declare const reviewScopeSchema: z.ZodObject<{
1056
+ baseCommit: z.ZodString;
1057
+ candidateCommit: z.ZodString;
1058
+ candidateTree: z.ZodString;
1059
+ changedPaths: z.ZodArray<z.ZodString>;
1060
+ digest: z.ZodString;
1061
+ }, z.core.$strict>;
884
1062
  export declare const reviewResultSchema: z.ZodObject<{
885
1063
  schemaVersion: z.ZodLiteral<"1">;
886
1064
  candidateCommit: z.ZodString;
1065
+ scope: z.ZodOptional<z.ZodObject<{
1066
+ baseCommit: z.ZodString;
1067
+ candidateCommit: z.ZodString;
1068
+ candidateTree: z.ZodString;
1069
+ changedPaths: z.ZodArray<z.ZodString>;
1070
+ digest: z.ZodString;
1071
+ }, z.core.$strict>>;
887
1072
  summary: z.ZodString;
888
1073
  findings: z.ZodArray<z.ZodObject<{
889
1074
  id: z.ZodString;
@@ -961,6 +1146,24 @@ export declare const validationEvidenceSchema: z.ZodObject<{
961
1146
  }, z.core.$strict>>;
962
1147
  passed: z.ZodBoolean;
963
1148
  }, z.core.$strict>;
1149
+ export declare const mergeApprovalPlanSchema: z.ZodObject<{
1150
+ schemaVersion: z.ZodLiteral<"1">;
1151
+ repositoryNodeId: z.ZodString;
1152
+ pullRequestNumber: z.ZodNumber;
1153
+ pullRequestNodeId: z.ZodString;
1154
+ headCommit: z.ZodString;
1155
+ baseCommit: z.ZodString;
1156
+ candidateTree: z.ZodString;
1157
+ actorLogin: z.ZodString;
1158
+ actorId: z.ZodNumber;
1159
+ policyDigest: z.ZodString;
1160
+ method: z.ZodEnum<{
1161
+ merge: "merge";
1162
+ squash: "squash";
1163
+ }>;
1164
+ markReady: z.ZodBoolean;
1165
+ expiresAt: z.ZodISODateTime;
1166
+ }, z.core.$strict>;
964
1167
  export declare const deliveryRecordSchema: z.ZodObject<{
965
1168
  schemaVersion: z.ZodLiteral<"1">;
966
1169
  runId: z.ZodUUID;
@@ -995,6 +1198,19 @@ export declare const deliveryRecordSchema: z.ZodObject<{
995
1198
  candidateCommit: z.ZodString;
996
1199
  candidateTree: z.ZodString;
997
1200
  requiredChecks: z.ZodArray<z.ZodString>;
1201
+ checkProducers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1202
+ appId: z.ZodNumber;
1203
+ workflowPath: z.ZodString;
1204
+ pullRequestEvent: z.ZodLiteral<"pull_request">;
1205
+ postMergeEvent: z.ZodLiteral<"push">;
1206
+ }, z.core.$strict>>>;
1207
+ postMergeRequiredChecks: z.ZodOptional<z.ZodArray<z.ZodString>>;
1208
+ postMergePolicySource: z.ZodOptional<z.ZodEnum<{
1209
+ configured: "configured";
1210
+ implicit_default: "implicit_default";
1211
+ legacy_migrated: "legacy_migrated";
1212
+ }>>;
1213
+ legacyPostMergePolicyConfigDigest: z.ZodOptional<z.ZodString>;
998
1214
  reviewPolicy: z.ZodObject<{
999
1215
  mode: z.ZodEnum<{
1000
1216
  local_only: "local_only";
@@ -1027,6 +1243,36 @@ export declare const deliveryRecordSchema: z.ZodObject<{
1027
1243
  errorCode: z.ZodNullable<z.ZodString>;
1028
1244
  updatedAt: z.ZodISODateTime;
1029
1245
  }, z.core.$strict>>;
1246
+ mergeApproval: z.ZodOptional<z.ZodObject<{
1247
+ plan: z.ZodObject<{
1248
+ schemaVersion: z.ZodLiteral<"1">;
1249
+ repositoryNodeId: z.ZodString;
1250
+ pullRequestNumber: z.ZodNumber;
1251
+ pullRequestNodeId: z.ZodString;
1252
+ headCommit: z.ZodString;
1253
+ baseCommit: z.ZodString;
1254
+ candidateTree: z.ZodString;
1255
+ actorLogin: z.ZodString;
1256
+ actorId: z.ZodNumber;
1257
+ policyDigest: z.ZodString;
1258
+ method: z.ZodEnum<{
1259
+ merge: "merge";
1260
+ squash: "squash";
1261
+ }>;
1262
+ markReady: z.ZodBoolean;
1263
+ expiresAt: z.ZodISODateTime;
1264
+ }, z.core.$strict>;
1265
+ digest: z.ZodString;
1266
+ state: z.ZodEnum<{
1267
+ effect_unknown: "effect_unknown";
1268
+ planned: "planned";
1269
+ merged: "merged";
1270
+ ready_started: "ready_started";
1271
+ ready_verified: "ready_verified";
1272
+ merge_started: "merge_started";
1273
+ }>;
1274
+ approvalSource: z.ZodOptional<z.ZodLiteral<"attended_operator">>;
1275
+ }, z.core.$strict>>;
1030
1276
  remoteHeadCommit: z.ZodNullable<z.ZodString>;
1031
1277
  pullRequest: z.ZodNullable<z.ZodObject<{
1032
1278
  number: z.ZodNumber;
@@ -1211,6 +1457,10 @@ export declare const auditReportSchema: z.ZodObject<{
1211
1457
  ux: "ux";
1212
1458
  release: "release";
1213
1459
  }>;
1460
+ assurance: z.ZodOptional<z.ZodEnum<{
1461
+ structural: "structural";
1462
+ executed: "executed";
1463
+ }>>;
1214
1464
  status: z.ZodEnum<{
1215
1465
  blocked: "blocked";
1216
1466
  passed: "passed";
@@ -1462,6 +1712,63 @@ export declare const releaseEvidenceSchema: z.ZodObject<{
1462
1712
  generatedAt: z.ZodISODateTime;
1463
1713
  }, z.core.$strict>;
1464
1714
  export declare const contractSchemas: {
1715
+ readonly changeRequest: z.ZodObject<{
1716
+ schemaVersion: z.ZodLiteral<"1">;
1717
+ repositoryIntelligence: z.ZodOptional<z.ZodLiteral<true>>;
1718
+ id: z.ZodString;
1719
+ kind: z.ZodEnum<{
1720
+ prd: "prd";
1721
+ plan: "plan";
1722
+ bug: "bug";
1723
+ review: "review";
1724
+ maintenance: "maintenance";
1725
+ }>;
1726
+ source: z.ZodObject<{
1727
+ path: z.ZodString;
1728
+ digest: z.ZodString;
1729
+ }, z.core.$strict>;
1730
+ productPath: z.ZodString;
1731
+ scenariosPath: z.ZodString;
1732
+ policyPath: z.ZodString;
1733
+ commit: z.ZodObject<{
1734
+ message: z.ZodString;
1735
+ authorName: z.ZodString;
1736
+ authorEmail: z.ZodEmail;
1737
+ }, z.core.$strict>;
1738
+ budget: z.ZodObject<{
1739
+ deadlineSeconds: z.ZodNumber;
1740
+ maxContextBytes: z.ZodOptional<z.ZodNumber>;
1741
+ maxOutputBytes: z.ZodNumber;
1742
+ retryCount: z.ZodNumber;
1743
+ }, z.core.$strict>;
1744
+ readyOutcomeId: z.ZodString;
1745
+ tasks: z.ZodArray<z.ZodObject<{
1746
+ id: z.ZodString;
1747
+ outcomeId: z.ZodString;
1748
+ supersedesTaskDigest: z.ZodOptional<z.ZodString>;
1749
+ title: z.ZodString;
1750
+ objective: z.ZodString;
1751
+ dependsOn: z.ZodArray<z.ZodString>;
1752
+ impactPath: z.ZodString;
1753
+ allowedPaths: z.ZodArray<z.ZodString>;
1754
+ contextPaths: z.ZodArray<z.ZodString>;
1755
+ attestations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1756
+ id: z.ZodString;
1757
+ approvedBy: z.ZodString;
1758
+ approvedAt: z.ZodISODateTime;
1759
+ expiresAt: z.ZodISODateTime;
1760
+ claims: z.ZodArray<z.ZodObject<{
1761
+ kind: z.ZodEnum<{
1762
+ acceptance: "acceptance";
1763
+ invariant: "invariant";
1764
+ scenario: "scenario";
1765
+ }>;
1766
+ id: z.ZodString;
1767
+ digest: z.ZodString;
1768
+ }, z.core.$strict>>;
1769
+ }, z.core.$strict>>>;
1770
+ }, z.core.$strict>>;
1771
+ }, z.core.$strict>;
1465
1772
  readonly auditReport: z.ZodObject<{
1466
1773
  schemaVersion: z.ZodLiteral<"1">;
1467
1774
  candidate: z.ZodObject<{
@@ -1486,6 +1793,10 @@ export declare const contractSchemas: {
1486
1793
  ux: "ux";
1487
1794
  release: "release";
1488
1795
  }>;
1796
+ assurance: z.ZodOptional<z.ZodEnum<{
1797
+ structural: "structural";
1798
+ executed: "executed";
1799
+ }>>;
1489
1800
  status: z.ZodEnum<{
1490
1801
  blocked: "blocked";
1491
1802
  passed: "passed";
@@ -1506,6 +1817,20 @@ export declare const contractSchemas: {
1506
1817
  }, z.core.$strict>;
1507
1818
  readonly contextManifest: z.ZodObject<{
1508
1819
  schemaVersion: z.ZodLiteral<"1">;
1820
+ repositoryContext: z.ZodOptional<z.ZodObject<{
1821
+ authority: z.ZodLiteral<"derived_read_only">;
1822
+ sourceCommit: z.ZodString;
1823
+ mapDigest: z.ZodString;
1824
+ extractorVersion: z.ZodString;
1825
+ modules: z.ZodArray<z.ZodObject<{
1826
+ path: z.ZodString;
1827
+ digest: z.ZodString;
1828
+ localImports: z.ZodArray<z.ZodString>;
1829
+ unresolvedImports: z.ZodNumber;
1830
+ }, z.core.$strict>>;
1831
+ omittedModules: z.ZodNumber;
1832
+ unknowns: z.ZodArray<z.ZodString>;
1833
+ }, z.core.$strict>>;
1509
1834
  taskDigest: z.ZodString;
1510
1835
  baseCommit: z.ZodString;
1511
1836
  provider: z.ZodLiteral<"openai">;
@@ -1620,6 +1945,14 @@ export declare const contractSchemas: {
1620
1945
  allowedActors: z.ZodArray<z.ZodString>;
1621
1946
  allowedMergerLogins: z.ZodArray<z.ZodString>;
1622
1947
  requiredChecks: z.ZodArray<z.ZodString>;
1948
+ checkProducers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1949
+ appId: z.ZodNumber;
1950
+ workflowPath: z.ZodString;
1951
+ pullRequestEvent: z.ZodLiteral<"pull_request">;
1952
+ postMergeEvent: z.ZodLiteral<"push">;
1953
+ }, z.core.$strict>>>;
1954
+ attendedMerge: z.ZodOptional<z.ZodLiteral<true>>;
1955
+ postMergeRequiredChecks: z.ZodOptional<z.ZodArray<z.ZodString>>;
1623
1956
  reviewPolicy: z.ZodObject<{
1624
1957
  mode: z.ZodEnum<{
1625
1958
  local_only: "local_only";
@@ -1651,6 +1984,7 @@ export declare const contractSchemas: {
1651
1984
  oci: "oci";
1652
1985
  }>>;
1653
1986
  writablePaths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1987
+ executableFixtureScratch: z.ZodOptional<z.ZodLiteral<true>>;
1654
1988
  }, z.core.$strict>>;
1655
1989
  }, z.core.$strict>;
1656
1990
  readonly millLock: z.ZodObject<{
@@ -1865,6 +2199,83 @@ export declare const contractSchemas: {
1865
2199
  }, z.core.$strict>>;
1866
2200
  generatedAt: z.ZodISODateTime;
1867
2201
  }, z.core.$strict>;
2202
+ readonly repositoryIntelligence: z.ZodObject<{
2203
+ schemaVersion: z.ZodLiteral<"1">;
2204
+ extractor: z.ZodObject<{
2205
+ id: z.ZodLiteral<"mill.repository-intelligence">;
2206
+ version: z.ZodLiteral<"1">;
2207
+ digest: z.ZodString;
2208
+ }, z.core.$strict>;
2209
+ source: z.ZodObject<{
2210
+ commit: z.ZodString;
2211
+ tree: z.ZodString;
2212
+ root: z.ZodLiteral<".">;
2213
+ }, z.core.$strict>;
2214
+ scanDigest: z.ZodString;
2215
+ sourceFiles: z.ZodArray<z.ZodString>;
2216
+ modules: z.ZodArray<z.ZodObject<{
2217
+ path: z.ZodString;
2218
+ digest: z.ZodString;
2219
+ imports: z.ZodArray<z.ZodObject<{
2220
+ kind: z.ZodEnum<{
2221
+ type: "type";
2222
+ dynamic: "dynamic";
2223
+ require: "require";
2224
+ static: "static";
2225
+ }>;
2226
+ specifier: z.ZodString;
2227
+ location: z.ZodObject<{
2228
+ path: z.ZodString;
2229
+ line: z.ZodNumber;
2230
+ column: z.ZodNumber;
2231
+ }, z.core.$strict>;
2232
+ resolution: z.ZodEnum<{
2233
+ external: "external";
2234
+ resolved_local: "resolved_local";
2235
+ unresolved: "unresolved";
2236
+ }>;
2237
+ targetPath: z.ZodOptional<z.ZodString>;
2238
+ }, z.core.$strict>>;
2239
+ parseDiagnostics: z.ZodArray<z.ZodObject<{
2240
+ path: z.ZodString;
2241
+ line: z.ZodNumber;
2242
+ column: z.ZodNumber;
2243
+ }, z.core.$strict>>;
2244
+ }, z.core.$strict>>;
2245
+ tests: z.ZodObject<{
2246
+ inventory: z.ZodArray<z.ZodObject<{
2247
+ path: z.ZodString;
2248
+ source: z.ZodLiteral<"filename">;
2249
+ }, z.core.$strict>>;
2250
+ declaredSelection: z.ZodArray<z.ZodObject<{
2251
+ script: z.ZodString;
2252
+ command: z.ZodString;
2253
+ selector: z.ZodString;
2254
+ matchedInventory: z.ZodArray<z.ZodString>;
2255
+ status: z.ZodEnum<{
2256
+ unknown: "unknown";
2257
+ observed: "observed";
2258
+ }>;
2259
+ }, z.core.$strict>>;
2260
+ executedCoverage: z.ZodLiteral<"unknown">;
2261
+ }, z.core.$strict>;
2262
+ changeImpact: z.ZodArray<z.ZodObject<{
2263
+ changedPath: z.ZodString;
2264
+ leads: z.ZodArray<z.ZodObject<{
2265
+ path: z.ZodString;
2266
+ relationship: z.ZodEnum<{
2267
+ changed: "changed";
2268
+ direct_importer: "direct_importer";
2269
+ transitive_importer: "transitive_importer";
2270
+ }>;
2271
+ via: z.ZodOptional<z.ZodString>;
2272
+ }, z.core.$strict>>;
2273
+ unknowns: z.ZodArray<z.ZodString>;
2274
+ }, z.core.$strict>>;
2275
+ unknowns: z.ZodArray<z.ZodString>;
2276
+ digest: z.ZodString;
2277
+ authority: z.ZodLiteral<"derived_read_only">;
2278
+ }, z.core.$strict>;
1868
2279
  readonly repositoryIntegrationPlan: z.ZodObject<{
1869
2280
  schemaVersion: z.ZodLiteral<"1">;
1870
2281
  planDigest: z.ZodString;
@@ -1916,6 +2327,13 @@ export declare const contractSchemas: {
1916
2327
  readonly reviewResult: z.ZodObject<{
1917
2328
  schemaVersion: z.ZodLiteral<"1">;
1918
2329
  candidateCommit: z.ZodString;
2330
+ scope: z.ZodOptional<z.ZodObject<{
2331
+ baseCommit: z.ZodString;
2332
+ candidateCommit: z.ZodString;
2333
+ candidateTree: z.ZodString;
2334
+ changedPaths: z.ZodArray<z.ZodString>;
2335
+ digest: z.ZodString;
2336
+ }, z.core.$strict>>;
1919
2337
  summary: z.ZodString;
1920
2338
  findings: z.ZodArray<z.ZodObject<{
1921
2339
  id: z.ZodString;
@@ -2225,6 +2643,7 @@ export declare const contractSchemas: {
2225
2643
  id: z.ZodString;
2226
2644
  statement: z.ZodString;
2227
2645
  }, z.core.$strict>>;
2646
+ repositoryIntelligence: z.ZodOptional<z.ZodLiteral<true>>;
2228
2647
  id: z.ZodString;
2229
2648
  title: z.ZodString;
2230
2649
  objective: z.ZodString;
@@ -2244,6 +2663,7 @@ export declare const contractSchemas: {
2244
2663
  }, z.core.$strict>;
2245
2664
  budget: z.ZodObject<{
2246
2665
  deadlineSeconds: z.ZodNumber;
2666
+ maxContextBytes: z.ZodOptional<z.ZodNumber>;
2247
2667
  maxOutputBytes: z.ZodNumber;
2248
2668
  retryCount: z.ZodNumber;
2249
2669
  }, z.core.$strict>;
@@ -2303,6 +2723,7 @@ export declare const contractSchemas: {
2303
2723
  reason: z.ZodString;
2304
2724
  }, z.core.$strict>], "mode">;
2305
2725
  }, z.core.$strict>>;
2726
+ repositoryIntelligence: z.ZodOptional<z.ZodLiteral<true>>;
2306
2727
  id: z.ZodString;
2307
2728
  title: z.ZodString;
2308
2729
  objective: z.ZodString;
@@ -2322,6 +2743,7 @@ export declare const contractSchemas: {
2322
2743
  }, z.core.$strict>;
2323
2744
  budget: z.ZodObject<{
2324
2745
  deadlineSeconds: z.ZodNumber;
2746
+ maxContextBytes: z.ZodOptional<z.ZodNumber>;
2325
2747
  maxOutputBytes: z.ZodNumber;
2326
2748
  retryCount: z.ZodNumber;
2327
2749
  }, z.core.$strict>;
@@ -2542,8 +2964,8 @@ export declare const contractSchemas: {
2542
2964
  runId: z.ZodUUID;
2543
2965
  phase: z.ZodEnum<{
2544
2966
  build: "build";
2545
- repair: "repair";
2546
2967
  review: "review";
2968
+ repair: "repair";
2547
2969
  }>;
2548
2970
  attempt: z.ZodNumber;
2549
2971
  taskDigest: z.ZodString;
@@ -2646,6 +3068,19 @@ export declare const contractSchemas: {
2646
3068
  candidateCommit: z.ZodString;
2647
3069
  candidateTree: z.ZodString;
2648
3070
  requiredChecks: z.ZodArray<z.ZodString>;
3071
+ checkProducers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3072
+ appId: z.ZodNumber;
3073
+ workflowPath: z.ZodString;
3074
+ pullRequestEvent: z.ZodLiteral<"pull_request">;
3075
+ postMergeEvent: z.ZodLiteral<"push">;
3076
+ }, z.core.$strict>>>;
3077
+ postMergeRequiredChecks: z.ZodOptional<z.ZodArray<z.ZodString>>;
3078
+ postMergePolicySource: z.ZodOptional<z.ZodEnum<{
3079
+ configured: "configured";
3080
+ implicit_default: "implicit_default";
3081
+ legacy_migrated: "legacy_migrated";
3082
+ }>>;
3083
+ legacyPostMergePolicyConfigDigest: z.ZodOptional<z.ZodString>;
2649
3084
  reviewPolicy: z.ZodObject<{
2650
3085
  mode: z.ZodEnum<{
2651
3086
  local_only: "local_only";
@@ -2678,6 +3113,36 @@ export declare const contractSchemas: {
2678
3113
  errorCode: z.ZodNullable<z.ZodString>;
2679
3114
  updatedAt: z.ZodISODateTime;
2680
3115
  }, z.core.$strict>>;
3116
+ mergeApproval: z.ZodOptional<z.ZodObject<{
3117
+ plan: z.ZodObject<{
3118
+ schemaVersion: z.ZodLiteral<"1">;
3119
+ repositoryNodeId: z.ZodString;
3120
+ pullRequestNumber: z.ZodNumber;
3121
+ pullRequestNodeId: z.ZodString;
3122
+ headCommit: z.ZodString;
3123
+ baseCommit: z.ZodString;
3124
+ candidateTree: z.ZodString;
3125
+ actorLogin: z.ZodString;
3126
+ actorId: z.ZodNumber;
3127
+ policyDigest: z.ZodString;
3128
+ method: z.ZodEnum<{
3129
+ merge: "merge";
3130
+ squash: "squash";
3131
+ }>;
3132
+ markReady: z.ZodBoolean;
3133
+ expiresAt: z.ZodISODateTime;
3134
+ }, z.core.$strict>;
3135
+ digest: z.ZodString;
3136
+ state: z.ZodEnum<{
3137
+ effect_unknown: "effect_unknown";
3138
+ planned: "planned";
3139
+ merged: "merged";
3140
+ ready_started: "ready_started";
3141
+ ready_verified: "ready_verified";
3142
+ merge_started: "merge_started";
3143
+ }>;
3144
+ approvalSource: z.ZodOptional<z.ZodLiteral<"attended_operator">>;
3145
+ }, z.core.$strict>>;
2681
3146
  remoteHeadCommit: z.ZodNullable<z.ZodString>;
2682
3147
  pullRequest: z.ZodNullable<z.ZodObject<{
2683
3148
  number: z.ZodNumber;