@defrex/autobuild 1.9.0 → 1.11.0

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 (537) hide show
  1. package/README.md +3 -3
  2. package/SPEC.md +2232 -175
  3. package/bin/ab-dispatch-generation.ts +5 -1
  4. package/docs/accounts.md +2 -1
  5. package/docs/agent-runtimes.md +30 -3
  6. package/docs/answering-blocked-builds.md +35 -7
  7. package/docs/architecture.md +436 -63
  8. package/docs/build-store.md +10 -7
  9. package/docs/builds.md +5 -0
  10. package/docs/cli.md +40 -2
  11. package/docs/configuration-overview.md +5 -1
  12. package/docs/configuration.md +649 -74
  13. package/docs/dispatcher.md +79 -6
  14. package/docs/forges.md +8 -1
  15. package/docs/getting-started.md +1 -1
  16. package/docs/integration-overview.md +4 -2
  17. package/docs/integration-tree.md +102 -11
  18. package/docs/merge-policy.md +30 -14
  19. package/docs/migration-1.0.md +2 -1
  20. package/docs/operating.md +36 -6
  21. package/docs/operator-api.md +251 -20
  22. package/docs/operator-surfaces.md +85 -0
  23. package/docs/optimization-nodes.md +1100 -0
  24. package/docs/overview.md +1 -1
  25. package/docs/plugin-authoring.md +83 -13
  26. package/docs/remote-store-protocol.md +137 -17
  27. package/docs/remote-ticket-protocol.md +90 -2
  28. package/docs/restacking.md +119 -15
  29. package/docs/seams.md +2 -2
  30. package/docs/setup.md +27 -4
  31. package/docs/skills.md +4 -2
  32. package/docs/spec-standard.md +2 -1
  33. package/docs/ticket-dependencies.md +15 -3
  34. package/docs/ticket-migration.md +4 -2
  35. package/docs/ticket-sources.md +54 -14
  36. package/docs/tickets.md +21 -6
  37. package/docs/troubleshooting.md +11 -2
  38. package/docs/verification.md +15 -3
  39. package/docs/workspaces.md +6 -1
  40. package/package.json +9 -5
  41. package/packages/core/src/accounts/chatgpt-oauth.ts +7 -5
  42. package/packages/core/src/cli/accounts.ts +7 -2
  43. package/packages/core/src/cli/attempt.ts +103 -0
  44. package/packages/core/src/cli/attention.ts +11 -2
  45. package/packages/core/src/cli/binary-direct.ts +54 -1
  46. package/packages/core/src/cli/binary-lifecycle.ts +2 -1
  47. package/packages/core/src/cli/binary.ts +5 -3
  48. package/packages/core/src/cli/build-control.ts +407 -67
  49. package/packages/core/src/cli/context.ts +272 -15
  50. package/packages/core/src/cli/dashboard/detail.ts +26 -2
  51. package/packages/core/src/cli/dashboard/facts.ts +89 -56
  52. package/packages/core/src/cli/dashboard/header.ts +101 -0
  53. package/packages/core/src/cli/dashboard/integration-detail.ts +7 -2
  54. package/packages/core/src/cli/dashboard/landing-display.ts +15 -2
  55. package/packages/core/src/cli/dashboard/model.ts +133 -66
  56. package/packages/core/src/cli/dashboard/objective-row.ts +221 -0
  57. package/packages/core/src/cli/dashboard/poll.ts +178 -76
  58. package/packages/core/src/cli/dashboard/render.ts +172 -227
  59. package/packages/core/src/cli/dashboard/reopen-display.ts +39 -0
  60. package/packages/core/src/cli/dashboard/row-text.ts +538 -0
  61. package/packages/core/src/cli/dashboard/timeline.ts +288 -0
  62. package/packages/core/src/cli/dashboard/tree.ts +12 -1
  63. package/packages/core/src/cli/dashboard/vocabulary.ts +188 -0
  64. package/packages/core/src/cli/dispatch-args.ts +44 -1
  65. package/packages/core/src/cli/dispatch-frontend.ts +29 -30
  66. package/packages/core/src/cli/dispatch-launch-stop.ts +73 -0
  67. package/packages/core/src/cli/dispatch-launcher.ts +41 -46
  68. package/packages/core/src/cli/dispatch-repository-feed.ts +1 -1
  69. package/packages/core/src/cli/dispatch-web.ts +155 -0
  70. package/packages/core/src/cli/dispatch.ts +216 -38
  71. package/packages/core/src/cli/env.ts +42 -0
  72. package/packages/core/src/cli/help.ts +293 -12
  73. package/packages/core/src/cli/init-agent.ts +4 -1
  74. package/packages/core/src/cli/init-readiness-remote.ts +3 -2
  75. package/packages/core/src/cli/init-validation.ts +5 -5
  76. package/packages/core/src/cli/init.ts +3 -2
  77. package/packages/core/src/cli/judge-entry.ts +82 -0
  78. package/packages/core/src/cli/judge.ts +233 -0
  79. package/packages/core/src/cli/landings.ts +3 -2
  80. package/packages/core/src/cli/main.ts +481 -148
  81. package/packages/core/src/cli/mcp.ts +35 -3
  82. package/packages/core/src/cli/measurement-text.ts +19 -0
  83. package/packages/core/src/cli/objective.ts +154 -0
  84. package/packages/core/src/cli/operator-preference.ts +57 -0
  85. package/packages/core/src/cli/publication-settlement.ts +106 -22
  86. package/packages/core/src/cli/repo-lease.ts +3 -0
  87. package/packages/core/src/cli/repo-state.ts +56 -6
  88. package/packages/core/src/cli/repository-status.ts +205 -56
  89. package/packages/core/src/cli/status.ts +275 -16
  90. package/packages/core/src/cli/store-opening.ts +4 -0
  91. package/packages/core/src/cli/terminal-restore.ts +32 -7
  92. package/packages/core/src/cli/terminals.ts +205 -8
  93. package/packages/core/src/cli/ticket-start.ts +53 -0
  94. package/packages/core/src/cli/ticket.ts +166 -38
  95. package/packages/core/src/cli/upgrade-agent.ts +12 -8
  96. package/packages/core/src/cli/wait.ts +22 -8
  97. package/packages/core/src/cli/watch.ts +361 -95
  98. package/packages/core/src/cli/web.ts +139 -0
  99. package/packages/core/src/config/create-labels.ts +23 -0
  100. package/packages/core/src/config/live.ts +101 -14
  101. package/packages/core/src/config/load.ts +61 -20
  102. package/packages/core/src/config/local.ts +212 -0
  103. package/packages/core/src/config/pipeline-source.ts +3 -3
  104. package/packages/core/src/config/reference.ts +18 -0
  105. package/packages/core/src/config/roles.ts +182 -73
  106. package/packages/core/src/config/schema.ts +157 -19
  107. package/packages/core/src/events/catalog.ts +43 -3
  108. package/packages/core/src/events/compatibility.ts +7 -1
  109. package/packages/core/src/events/payloads.ts +685 -1
  110. package/packages/core/src/events/policy.ts +63 -0
  111. package/packages/core/src/events/repository.ts +153 -27
  112. package/packages/core/src/kernel/__snapshots__/reducer-accumulator-shapes.json +1797 -199
  113. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/017d8dd5bb6dd80b.json.gz +0 -0
  114. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/0ab2a90d0305dc9d.json.gz +0 -0
  115. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/10a4657408d4e121.json.gz +0 -0
  116. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/1152a2e97ee81728.json.gz +0 -0
  117. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/13ca84752c5f8b54.json.gz +0 -0
  118. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/1411d1cdbdd9911e.json.gz +0 -0
  119. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/1444fe1fa7fc802c.json.gz +0 -0
  120. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/1491ac0600349391.json.gz +0 -0
  121. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/178e12f1759b7552.json.gz +0 -0
  122. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/1921f86f752428c9.json.gz +0 -0
  123. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/1972c1d66008ef6b.json.gz +0 -0
  124. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/19e8e43e7f3f1a06.json.gz +0 -0
  125. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/20a85c143c3e8164.json.gz +0 -0
  126. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/21ce2c0bf58318e1.json.gz +0 -0
  127. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/293dcb3a94fb3470.json.gz +0 -0
  128. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/2ab7436356267118.json.gz +0 -0
  129. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/2d084641735caaff.json.gz +0 -0
  130. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/3237bcecf68e5db9.json.gz +0 -0
  131. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/33d0cc593610e56f.json.gz +0 -0
  132. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/3451ed2136dcc356.json.gz +0 -0
  133. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/358ec8693f2237e6.json.gz +0 -0
  134. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/35cf9ccc4478b2d2.json.gz +0 -0
  135. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/3649e7bd1203f154.json.gz +0 -0
  136. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/378da6dece82202a.json.gz +0 -0
  137. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/38c75099d9191471.json.gz +0 -0
  138. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/398952f1f01db1a3.json.gz +0 -0
  139. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/3b64d352d56c9121.json.gz +0 -0
  140. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/3dc486226c05372d.json.gz +0 -0
  141. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/431c9bb2ee8838e0.json.gz +0 -0
  142. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/4400dffca929e2f0.json.gz +0 -0
  143. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/49064fc079964a5c.json.gz +0 -0
  144. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/4932c70a2af97faf.json.gz +0 -0
  145. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/4edded75f17742f4.json.gz +0 -0
  146. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/4f00c0f2c8afd159.json.gz +0 -0
  147. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/516a5a7aadf97587.json.gz +0 -0
  148. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/516dc6ea85d67cd7.json.gz +0 -0
  149. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/536085773daf6b58.json.gz +0 -0
  150. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/584e2ba74608e051.json.gz +0 -0
  151. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/59ffaa6974094c72.json.gz +0 -0
  152. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/5bb43afb121674c6.json.gz +0 -0
  153. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/5f0ca42af862c4ee.json.gz +0 -0
  154. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/6118031132db9bfc.json.gz +0 -0
  155. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/63107a8d58776b63.json.gz +0 -0
  156. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/63546b08d4d6fa11.json.gz +0 -0
  157. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/643d70429ce03dad.json.gz +0 -0
  158. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/677ea92572c29082.json.gz +0 -0
  159. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/6ae5bf60504d6467.json.gz +0 -0
  160. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/6bd6275061aaffa5.json.gz +0 -0
  161. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/6efdc8defc75fccb.json.gz +0 -0
  162. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/71c53d33f09d8204.json.gz +0 -0
  163. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/7267ca2757cffba7.json.gz +0 -0
  164. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/76b7d4244082b3f9.json.gz +0 -0
  165. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/7749f918c6f10968.json.gz +0 -0
  166. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/7833e42d16301424.json.gz +0 -0
  167. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/7d4edad0614adaf1.json.gz +0 -0
  168. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/837365898d04f45a.json.gz +0 -0
  169. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/85f9f0c921b8b5bb.json.gz +0 -0
  170. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/8879f57a24733897.json.gz +0 -0
  171. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/88cb9e71bdec972d.json.gz +0 -0
  172. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/89625654b02e9ac1.json.gz +0 -0
  173. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/8a0cd6dd06cc155e.json.gz +0 -0
  174. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/8aa9ca8609dc051d.json.gz +0 -0
  175. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/8c8640255bd61658.json.gz +0 -0
  176. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/8cc15eb1807c0157.json.gz +0 -0
  177. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/8ced97c44bc0af3a.json.gz +0 -0
  178. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/8d4144004720b9f8.json.gz +0 -0
  179. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/8db633ead1807f8b.json.gz +0 -0
  180. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/8e42cdbd0994ab0c.json.gz +0 -0
  181. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/9011d0f6ff955ef9.json.gz +0 -0
  182. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/916ebc5433801c41.json.gz +0 -0
  183. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/9539b995af5c54a9.json.gz +0 -0
  184. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/95f391bfd7b7dbd7.json.gz +0 -0
  185. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/9613e8fa568a9281.json.gz +0 -0
  186. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/9a68f8753bd9038d.json.gz +0 -0
  187. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/9b25e58227080094.json.gz +0 -0
  188. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/9ee3919fbd4f9458.json.gz +0 -0
  189. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/a04a34cc2717147b.json.gz +0 -0
  190. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/a0b32c12e4e6edb6.json.gz +0 -0
  191. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/a55218252707bdd3.json.gz +0 -0
  192. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/a732fd08b31522a6.json.gz +0 -0
  193. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/a98af134be2da8a9.json.gz +0 -0
  194. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/a9d206a01f9039e5.json.gz +0 -0
  195. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/abf7fe3c92c82f2d.json.gz +0 -0
  196. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/ac928b04842c00db.json.gz +0 -0
  197. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/af953392d81911da.json.gz +0 -0
  198. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/b0d877c44810ecb0.json.gz +0 -0
  199. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/b0f7c6ebb2db57fc.json.gz +0 -0
  200. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/b905c22ec17eed31.json.gz +0 -0
  201. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/bce0c54e865f4b79.json.gz +0 -0
  202. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/c68b7ee2e2610f30.json.gz +0 -0
  203. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/c7f7e0378aeea237.json.gz +0 -0
  204. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/c98cb1659eb142b6.json.gz +0 -0
  205. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/ca830adf06ed55a1.json.gz +0 -0
  206. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/cb3a219f33e437ca.json.gz +0 -0
  207. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/cf1e0c0d82567e0c.json.gz +0 -0
  208. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/d008d86d9ff77b30.json.gz +0 -0
  209. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/d1432a819d8e48c5.json.gz +0 -0
  210. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/d185ed6aa9192aff.json.gz +0 -0
  211. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/d5d5ccca80a893d8.json.gz +0 -0
  212. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/d873fad29d6c7e55.json.gz +0 -0
  213. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/db84b12316e2da4a.json.gz +0 -0
  214. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/ddf6dc967d898767.json.gz +0 -0
  215. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/dfc64de6e7bfc0a0.json.gz +0 -0
  216. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/e2f18fa32fe1f6d0.json.gz +0 -0
  217. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/e37393fed29e84c5.json.gz +0 -0
  218. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/e6a8585e2a054ff6.json.gz +0 -0
  219. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/e7e9e327baca6903.json.gz +0 -0
  220. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/e86447af0571672c.json.gz +0 -0
  221. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/ea819202d22122e5.json.gz +0 -0
  222. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/eb4535585f2e84f6.json.gz +0 -0
  223. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/eb7ddd5319d09e27.json.gz +0 -0
  224. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/eca4959b2b87ae15.json.gz +0 -0
  225. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/ee10d7959ec4843c.json.gz +0 -0
  226. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/ef1b68347966ab26.json.gz +0 -0
  227. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/f3e55425cc41f230.json.gz +0 -0
  228. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/f40042c1cdb9fd43.json.gz +0 -0
  229. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/f48466215c790a3f.json.gz +0 -0
  230. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/f5b9ace9b59351e7.json.gz +0 -0
  231. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/f8155387eb5f375c.json.gz +0 -0
  232. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/fa8f1475a55be935.json.gz +0 -0
  233. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/fb21116a15d0b1f1.json.gz +0 -0
  234. package/packages/core/src/kernel/__snapshots__/reducer-identity-corpora/fe95444fbeabe592.json.gz +0 -0
  235. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/09bf0a1611d07363.json +984 -0
  236. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/10eac4988d66e161.json +1067 -0
  237. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/1a436b5fb45aee3e.json +1116 -0
  238. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/249db6f7a41f90e2.json +161 -0
  239. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/25dcb2fb6eaa83f4.json +858 -0
  240. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/2e1bdc763924616f.json +4932 -0
  241. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/30e9dabce3c4263d.json +399 -0
  242. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/3c27f918b194e3b3.json +465 -0
  243. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/4898ef339c68fa36.json +83 -0
  244. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/51816c0ffa62af6e.json +417 -0
  245. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/561bf45320062a44.json +83 -0
  246. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/5672d0233085d050.json +84 -0
  247. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/5e39f42cbdbf35ef.json +163 -0
  248. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/7771a7a2250f9964.json +868 -0
  249. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/79f0e0f4ccd43ba2.json +455 -0
  250. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/859c09edac738823.json +1086 -0
  251. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/881c491321bec99a.json +1074 -0
  252. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/965f25c3af1d2cdc.json +160 -0
  253. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/9b76d89da575ca90.json +20 -0
  254. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/9eb485320a72a9ff.json +233 -0
  255. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/a283c1f3462b1cc1.json +81 -0
  256. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/a60448c01016135e.json +18 -0
  257. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/a6584fb61b6679bd.json +97 -0
  258. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/a6e570fb126991ff.json +36 -0
  259. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/a8acf22c968b6e3d.json +81 -0
  260. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/ba7b85895bf6698e.json +1153 -0
  261. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/c88365c25b3186d3.json +543 -0
  262. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/e8f0481b23f90056.json +711 -0
  263. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/ee55782ed40ebbac.json +110 -0
  264. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/fc5082fac8167f3d.json +98 -0
  265. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/fc66408cde0b6b04.json +637 -0
  266. package/packages/core/src/kernel/__snapshots__/reducer-identity-records/fd55c329cfe921cc.json +1069 -0
  267. package/packages/core/src/kernel/attempt-creation-key.ts +20 -0
  268. package/packages/core/src/kernel/attempt-settlement.ts +125 -0
  269. package/packages/core/src/kernel/auto-merge-default.ts +1 -3
  270. package/packages/core/src/kernel/auto-merge.ts +1 -3
  271. package/packages/core/src/kernel/build-roster.ts +230 -0
  272. package/packages/core/src/kernel/dispatch-capacity.ts +316 -40
  273. package/packages/core/src/kernel/dispatch-placement.ts +1 -1
  274. package/packages/core/src/kernel/dispatch-settings.ts +1 -4
  275. package/packages/core/src/kernel/dispatch-status.ts +3 -5
  276. package/packages/core/src/kernel/dispatch-upgrade.ts +1 -1
  277. package/packages/core/src/kernel/engine.ts +152 -18
  278. package/packages/core/src/kernel/execution-intervals.ts +61 -0
  279. package/packages/core/src/kernel/forge-checks.ts +140 -0
  280. package/packages/core/src/kernel/forge-health.ts +2 -2
  281. package/packages/core/src/kernel/generated-files.ts +43 -0
  282. package/packages/core/src/kernel/generated-regeneration.ts +254 -0
  283. package/packages/core/src/kernel/generators/build-log.ts +30 -2
  284. package/packages/core/src/kernel/generators/optimization-log.ts +679 -0
  285. package/packages/core/src/kernel/generators/panel-log.ts +133 -0
  286. package/packages/core/src/kernel/generators/repository-journals.ts +13 -0
  287. package/packages/core/src/kernel/guarded-forge.ts +76 -11
  288. package/packages/core/src/kernel/harvest.ts +1 -4
  289. package/packages/core/src/kernel/head-paths.ts +4 -1
  290. package/packages/core/src/kernel/history-retention.ts +337 -0
  291. package/packages/core/src/kernel/incremental-fixtures.ts +6 -0
  292. package/packages/core/src/kernel/incremental.ts +14 -4
  293. package/packages/core/src/kernel/integration-landing.ts +64 -13
  294. package/packages/core/src/kernel/integration-stack.ts +123 -20
  295. package/packages/core/src/kernel/integration-state.ts +39 -2
  296. package/packages/core/src/kernel/janitor-failure.ts +2 -0
  297. package/packages/core/src/kernel/kernel-git.ts +1 -1
  298. package/packages/core/src/kernel/landing-measurement.ts +275 -0
  299. package/packages/core/src/kernel/landing-readiness.ts +2 -0
  300. package/packages/core/src/kernel/landing-state.ts +20 -1
  301. package/packages/core/src/kernel/leaf-restack-base.ts +33 -7
  302. package/packages/core/src/kernel/leaf-restack-state.ts +99 -4
  303. package/packages/core/src/kernel/log-index-value.ts +2 -0
  304. package/packages/core/src/kernel/log-index.ts +100 -3
  305. package/packages/core/src/kernel/measurement.ts +406 -0
  306. package/packages/core/src/kernel/mixed-version.ts +6 -3
  307. package/packages/core/src/kernel/node-landing.ts +92 -18
  308. package/packages/core/src/kernel/node-restack-state.ts +27 -1
  309. package/packages/core/src/kernel/node-restack-transaction.ts +80 -23
  310. package/packages/core/src/kernel/node-verification-context.ts +14 -4
  311. package/packages/core/src/kernel/open-pr-backpressure-state.ts +24 -0
  312. package/packages/core/src/kernel/open-pr-backpressure.ts +133 -0
  313. package/packages/core/src/kernel/optimization-admission.ts +490 -0
  314. package/packages/core/src/kernel/optimization.ts +953 -0
  315. package/packages/core/src/kernel/panel.ts +225 -0
  316. package/packages/core/src/kernel/phase-failures.ts +121 -0
  317. package/packages/core/src/kernel/phases.ts +42 -6
  318. package/packages/core/src/kernel/pr-attachments.ts +4 -16
  319. package/packages/core/src/kernel/pr-summary.ts +2 -2
  320. package/packages/core/src/kernel/published-branch-head.ts +60 -0
  321. package/packages/core/src/kernel/read-deferrals.ts +2 -2
  322. package/packages/core/src/kernel/read-facts.ts +69 -31
  323. package/packages/core/src/kernel/reconcile-restack.ts +352 -103
  324. package/packages/core/src/kernel/reducer-identity.ts +659 -0
  325. package/packages/core/src/kernel/reducer-registry.ts +62 -9
  326. package/packages/core/src/kernel/reducer-revisions.ts +75 -0
  327. package/packages/core/src/kernel/reducer.ts +269 -11
  328. package/packages/core/src/kernel/reopen-state.ts +48 -0
  329. package/packages/core/src/kernel/reopen.ts +143 -0
  330. package/packages/core/src/kernel/replay-retention.ts +208 -39
  331. package/packages/core/src/kernel/repository-attention.ts +1 -1
  332. package/packages/core/src/kernel/rollup.ts +61 -0
  333. package/packages/core/src/kernel/service-facts.ts +19 -7
  334. package/packages/core/src/kernel/setup-streak.ts +38 -0
  335. package/packages/core/src/kernel/step-durations.ts +257 -0
  336. package/packages/core/src/kernel/target-observation.ts +6 -1
  337. package/packages/core/src/kernel/target-rewrite-recovery.ts +116 -0
  338. package/packages/core/src/kernel/terminal-guard.ts +13 -5
  339. package/packages/core/src/kernel/ticket-handbacks.ts +1 -1
  340. package/packages/core/src/kernel/ticket-migrations.ts +1 -1
  341. package/packages/core/src/kernel/ticket-preparation.ts +1 -1
  342. package/packages/core/src/kernel/ticket-source-health.ts +1 -1
  343. package/packages/core/src/kernel/ticket-starts.ts +118 -0
  344. package/packages/core/src/kernel/ticket-wait.ts +37 -2
  345. package/packages/core/src/kernel/verify-diff-base.ts +67 -0
  346. package/packages/core/src/kernel/verify-stage-state.ts +1 -0
  347. package/packages/core/src/kernel/verify-stages.ts +51 -1
  348. package/packages/core/src/objective.ts +532 -0
  349. package/packages/core/src/ontology.ts +54 -6
  350. package/packages/core/src/operator/agent-context-serve.ts +631 -0
  351. package/packages/core/src/operator/annotations.ts +105 -4
  352. package/packages/core/src/operator/attention.ts +470 -0
  353. package/packages/core/src/operator/canonical-skills.ts +35 -0
  354. package/packages/core/src/operator/cli-equivalents.ts +270 -0
  355. package/packages/core/src/operator/context-prompts.ts +61 -0
  356. package/packages/core/src/operator/control.ts +2 -1
  357. package/packages/core/src/operator/index.ts +61 -1
  358. package/packages/core/src/operator/landings.ts +28 -19
  359. package/packages/core/src/operator/optimization.ts +314 -0
  360. package/packages/core/src/operator/protocol.ts +33 -1
  361. package/packages/core/src/operator/query.ts +137 -73
  362. package/packages/core/src/operator/read-view.ts +5 -2
  363. package/packages/core/src/operator/registry.ts +625 -59
  364. package/packages/core/src/operator/requests.ts +45 -20
  365. package/packages/core/src/operator/sandbox-host.ts +107 -11
  366. package/packages/core/src/operator/sandbox-resolver.ts +253 -0
  367. package/packages/core/src/operator/sandbox.ts +778 -82
  368. package/packages/core/src/operator/ticket-asset-list.ts +77 -0
  369. package/packages/core/src/operator/ticket-assets.ts +167 -0
  370. package/packages/core/src/operator/ticket-start.ts +152 -0
  371. package/packages/core/src/operator/tickets.ts +36 -4
  372. package/packages/core/src/plugin-sdk/index.ts +24 -0
  373. package/packages/core/src/plugins/manifest.ts +1 -1
  374. package/packages/core/src/plugins/registry.ts +1 -0
  375. package/packages/core/src/ports/forge/contract.ts +9 -0
  376. package/packages/core/src/ports/forge/fake.ts +114 -2
  377. package/packages/core/src/ports/forge/git-blob.ts +15 -0
  378. package/packages/core/src/ports/forge/git-rewrite.ts +6 -4
  379. package/packages/core/src/ports/forge/github-readiness.ts +1 -1
  380. package/packages/core/src/ports/forge/github-transport.ts +156 -1
  381. package/packages/core/src/ports/forge/github.ts +388 -100
  382. package/packages/core/src/ports/forge/local-git.ts +61 -1
  383. package/packages/core/src/ports/forge/readiness.ts +15 -3
  384. package/packages/core/src/ports/forge-failure.ts +46 -0
  385. package/packages/core/src/ports/forge-request-context.ts +23 -1
  386. package/packages/core/src/ports/forge-telemetry.ts +16 -0
  387. package/packages/core/src/ports/runner/antigravity-test.fixture.ts +149 -0
  388. package/packages/core/src/ports/runner/antigravity.ts +1071 -0
  389. package/packages/core/src/ports/runner/claude-test.fixture.ts +71 -0
  390. package/packages/core/src/ports/runner/claude.ts +6 -1
  391. package/packages/core/src/ports/runner/codex-test.fixture.ts +63 -0
  392. package/packages/core/src/ports/runner/codex.ts +11 -2
  393. package/packages/core/src/ports/runner/contract.ts +25 -1
  394. package/packages/core/src/ports/runner/fake.ts +2 -2
  395. package/packages/core/src/ports/runner/native-cli-fixture.ts +40 -5
  396. package/packages/core/src/ports/runner/native-process-fixture.ts +4 -1
  397. package/packages/core/src/ports/runner/pi.ts +23 -7
  398. package/packages/core/src/ports/runner/production.ts +19 -2
  399. package/packages/core/src/ports/runner/session-env.ts +65 -5
  400. package/packages/core/src/ports/runner/start-prompt.ts +6 -4
  401. package/packages/core/src/ports/tickets/contract.ts +75 -2
  402. package/packages/core/src/ports/tickets/fake.ts +11 -0
  403. package/packages/core/src/ports/tickets/file.ts +18 -0
  404. package/packages/core/src/ports/tickets/github-fake.ts +136 -4
  405. package/packages/core/src/ports/tickets/github.ts +407 -35
  406. package/packages/core/src/ports/tickets/hosted-index.ts +16 -1
  407. package/packages/core/src/ports/tickets/labels.ts +21 -0
  408. package/packages/core/src/ports/tickets/linear.ts +163 -0
  409. package/packages/core/src/ports/tickets/migration.ts +2 -0
  410. package/packages/core/src/ports/tickets/priority.ts +20 -0
  411. package/packages/core/src/ports/tickets/remote-protocol.ts +105 -6
  412. package/packages/core/src/ports/tickets/remote.ts +203 -17
  413. package/packages/core/src/ports/tickets/search.ts +139 -0
  414. package/packages/core/src/ports/tickets/tree.ts +17 -4
  415. package/packages/core/src/ports/types.ts +202 -6
  416. package/packages/core/src/ports/workspace/builtin-capabilities.ts +16 -4
  417. package/packages/core/src/ports/workspace/commit-preservation.ts +182 -64
  418. package/packages/core/src/ports/workspace/create.ts +18 -1
  419. package/packages/core/src/ports/workspace/fake.ts +340 -12
  420. package/packages/core/src/ports/workspace/git-worktree.ts +846 -43
  421. package/packages/core/src/ports/workspace/operator-sandbox.ts +129 -12
  422. package/packages/core/src/ports/workspace/process-group.ts +48 -0
  423. package/packages/core/src/ports/workspace/vercel-sandbox.ts +1539 -221
  424. package/packages/core/src/processes/agent-context-assemble.ts +576 -0
  425. package/packages/core/src/processes/agent-context.ts +469 -0
  426. package/packages/core/src/processes/build-execution-state.ts +1 -3
  427. package/packages/core/src/processes/build-runner.ts +1982 -528
  428. package/packages/core/src/processes/dispatch-failure-budget.ts +1 -1
  429. package/packages/core/src/processes/dispatcher-selectors.ts +15 -13
  430. package/packages/core/src/processes/dispatcher.ts +3003 -308
  431. package/packages/core/src/processes/execution-no-progress.ts +40 -1
  432. package/packages/core/src/processes/execution-settlement.ts +2 -6
  433. package/packages/core/src/processes/harvest-execution-state.ts +2 -6
  434. package/packages/core/src/processes/harvest-runner.ts +7 -2
  435. package/packages/core/src/processes/infrastructure-failure-budget.ts +1 -3
  436. package/packages/core/src/processes/judge-launcher.ts +38 -0
  437. package/packages/core/src/processes/measurement-runner.ts +235 -0
  438. package/packages/core/src/processes/optimization-activity.ts +120 -0
  439. package/packages/core/src/processes/optimization-merges.ts +101 -0
  440. package/packages/core/src/processes/optimization-stop.ts +179 -0
  441. package/packages/core/src/processes/panel-runner.ts +756 -0
  442. package/packages/core/src/processes/phase-failure-budget.ts +2 -0
  443. package/packages/core/src/processes/publication-state.ts +1 -4
  444. package/packages/core/src/processes/repo-view.ts +154 -6
  445. package/packages/core/src/processes/sandbox-state.ts +54 -10
  446. package/packages/core/src/processes/tick-publication.ts +2 -0
  447. package/packages/core/src/processes/tick-state.ts +1 -3
  448. package/packages/core/src/processes/workspace-preparation.ts +76 -0
  449. package/packages/core/src/processes/workspace-preservation.ts +67 -9
  450. package/packages/core/src/scenarios/harness.ts +19 -13
  451. package/packages/core/src/store/account-redaction.ts +1 -0
  452. package/packages/core/src/store/adapter.ts +52 -1
  453. package/packages/core/src/store/agent-context.ts +432 -0
  454. package/packages/core/src/store/build-feed.ts +291 -0
  455. package/packages/core/src/store/build-scope.ts +19 -1
  456. package/packages/core/src/store/contract.ts +955 -14
  457. package/packages/core/src/store/digest.ts +104 -9
  458. package/packages/core/src/store/histogram.ts +113 -0
  459. package/packages/core/src/store/judge-authority.ts +161 -0
  460. package/packages/core/src/store/local/schema.ts +62 -0
  461. package/packages/core/src/store/local/store.ts +628 -22
  462. package/packages/core/src/store/local/ticket-asset-heads.ts +23 -0
  463. package/packages/core/src/store/memory.ts +461 -69
  464. package/packages/core/src/store/open-builds.ts +19 -0
  465. package/packages/core/src/store/phase-session.ts +256 -6
  466. package/packages/core/src/store/reduced-reads.ts +24 -4
  467. package/packages/core/src/store/reducer-value-shapes.json +18023 -11824
  468. package/packages/core/src/store/reducer-values.ts +6 -1
  469. package/packages/core/src/store/remote/client.ts +220 -4
  470. package/packages/core/src/store/remote/compatibility.ts +1 -1
  471. package/packages/core/src/store/remote/credentials.ts +31 -1
  472. package/packages/core/src/store/remote/index.ts +41 -0
  473. package/packages/core/src/store/remote/protocol.ts +107 -0
  474. package/packages/core/src/store/remote/released-clients.json +22 -0
  475. package/packages/core/src/store/remote/released-reducer-values/1.10.0.json +34439 -0
  476. package/packages/core/src/store/remote/released-reducer-values/1.11.0.json +35680 -0
  477. package/packages/core/src/store/remote/released-reducer-values/index.ts +20 -16
  478. package/packages/core/src/store/remote/token.ts +13 -4
  479. package/packages/core/src/store/repo-state-events.ts +6 -8
  480. package/packages/core/src/store/retention.ts +23 -1
  481. package/packages/core/src/store/rollups.ts +337 -0
  482. package/packages/core/src/store/session-handle.ts +20 -2
  483. package/packages/core/src/store/session-reducer.ts +1 -4
  484. package/packages/core/src/store/snapshots.ts +10 -0
  485. package/packages/core/src/store/ticket-assets.ts +1 -3
  486. package/packages/core/src/store/types.ts +117 -9
  487. package/packages/core/src/testing/dispatch-read-budget.ts +1162 -2
  488. package/packages/core/src/testing/git-config-isolation.ts +27 -0
  489. package/packages/core/src/testing/index.ts +40 -0
  490. package/packages/core/src/testing/memory-operator-sandbox.ts +346 -0
  491. package/packages/core/src/testing/reduced-read-budget.ts +5349 -153
  492. package/packages/core/src/web/analytics-source.ts +303 -0
  493. package/packages/core/src/web/assets/Atkinson-OFL.txt +93 -0
  494. package/packages/core/src/web/assets/AtkinsonHyperlegibleNext.latin.woff2 +0 -0
  495. package/packages/core/src/web/assets/JetBrains-OFL.txt +93 -0
  496. package/packages/core/src/web/assets/JetBrainsMono.latin.woff2 +0 -0
  497. package/packages/core/src/web/assets/app.css +1 -0
  498. package/packages/core/src/web/assets/app.js +9 -0
  499. package/packages/core/src/web/assets/manifest.json +31 -0
  500. package/packages/core/src/web/assets/theme.js +1 -0
  501. package/packages/core/src/web/bounded.ts +31 -0
  502. package/packages/core/src/web/http.ts +315 -0
  503. package/packages/core/src/web/hub.ts +160 -0
  504. package/packages/core/src/web/options.ts +38 -0
  505. package/packages/core/src/web/overview-source.ts +322 -0
  506. package/packages/core/src/web/page.ts +56 -0
  507. package/packages/core/src/web/protocol.ts +151 -0
  508. package/packages/core/src/web/read-only.ts +23 -0
  509. package/packages/core/src/web/repository-source.ts +35 -0
  510. package/packages/core/src/web/server.ts +97 -0
  511. package/skills/code-review/SKILL.md +26 -2
  512. package/skills/finalize/SKILL.md +10 -4
  513. package/skills/guide/SKILL.md +743 -123
  514. package/skills/guide/references/accounts.md +2 -1
  515. package/skills/guide/references/integration-tree.md +102 -11
  516. package/skills/guide/references/merge-policy.md +30 -14
  517. package/skills/guide/references/migration-1.0.md +2 -1
  518. package/skills/guide/references/operator-api.md +251 -20
  519. package/skills/guide/references/optimization-nodes.md +1100 -0
  520. package/skills/guide/references/plugin-authoring.md +83 -13
  521. package/skills/guide/references/remote-store-protocol.md +137 -17
  522. package/skills/guide/references/remote-ticket-protocol.md +90 -2
  523. package/skills/guide/references/restacking.md +119 -15
  524. package/skills/guide/references/setup.md +27 -4
  525. package/skills/guide/references/spec-standard.md +2 -1
  526. package/skills/guide/references/ticket-dependencies.md +15 -3
  527. package/skills/guide/references/ticket-migration.md +4 -2
  528. package/skills/implement/SKILL.md +74 -5
  529. package/skills/judge/SKILL.md +43 -0
  530. package/skills/operate/SKILL.md +374 -57
  531. package/skills/plan/SKILL.md +28 -4
  532. package/skills/plan-review/SKILL.md +24 -3
  533. package/skills/propose/SKILL.md +121 -0
  534. package/skills/reconcile/SKILL.md +21 -2
  535. package/skills/spec/SKILL.md +63 -11
  536. package/skills/tickets/SKILL.md +94 -9
  537. package/templates/hosted-service/package.json +2 -2
@@ -9,7 +9,9 @@ Commands in the file are shell strings; the file itself is never evaluated as
9
9
  code. A running dispatcher owns an accepted snapshot from the main checkout,
10
10
  while scoped phase commands read the build worktree's branch-owned file.
11
11
  Configuration changes therefore move through review like any other change and,
12
- once merged, can be adopted by the running dispatcher.
12
+ once merged, can be adopted by the running dispatcher. Personal settings, such
13
+ as capacity, roles and hooks, can be overridden per checkout in an uncommitted
14
+ [`.autobuild/local.toml`](#local-overrides-autobuildlocaltoml).
13
15
 
14
16
  This document covers the complete accepted TOML surface. Follow the
15
17
  [installation and repository setup procedure](setup.md) for the supported local
@@ -105,6 +107,7 @@ instead; the first hosted build is the live check. See
105
107
  - **Default:** `{}`
106
108
  - **Required:** Optional
107
109
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
110
+ - **Local override:** Allowed in .autobuild/local.toml.
108
111
 
109
112
  **Description:** Named Claude subscription, Kimi Code, or ChatGPT subscription billing accounts. Descriptors contain credential variable names only.
110
113
 
@@ -118,6 +121,7 @@ instead; the first hosted build is the live check. See
118
121
  - **Default:** `omitted`
119
122
  - **Required:** Required
120
123
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
124
+ - **Local override:** Allowed in .autobuild/local.toml.
121
125
 
122
126
  **Description:** Named nonsecret billing account descriptor.
123
127
 
@@ -131,6 +135,7 @@ instead; the first hosted build is the live check. See
131
135
  - **Default:** `omitted`
132
136
  - **Required:** Required when kind = "chatgpt-subscription"
133
137
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
138
+ - **Local override:** Allowed in .autobuild/local.toml.
134
139
 
135
140
  **Description:** Claude subscription, Kimi Code membership, or ChatGPT subscription (Codex only).
136
141
 
@@ -144,6 +149,7 @@ instead; the first hosted build is the live check. See
144
149
  - **Default:** `omitted`
145
150
  - **Required:** Required when kind = "chatgpt-subscription"
146
151
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
152
+ - **Local override:** Allowed in .autobuild/local.toml.
147
153
 
148
154
  **Description:** Host credential variable name; ChatGPT names a host-resolved access-token slot, never a credential value.
149
155
 
@@ -157,6 +163,7 @@ instead; the first hosted build is the live check. See
157
163
  - **Default:** `omitted`
158
164
  - **Required:** Required when kind = "claude-subscription"
159
165
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
166
+ - **Local override:** Allowed in .autobuild/local.toml.
160
167
 
161
168
  **Description:** Claude subscription, Kimi Code membership, or ChatGPT subscription (Codex only).
162
169
 
@@ -170,6 +177,7 @@ instead; the first hosted build is the live check. See
170
177
  - **Default:** `omitted`
171
178
  - **Required:** Required when kind = "claude-subscription"
172
179
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
180
+ - **Local override:** Allowed in .autobuild/local.toml.
173
181
 
174
182
  **Description:** Host credential variable name; ChatGPT names a host-resolved access-token slot, never a credential value.
175
183
 
@@ -183,6 +191,7 @@ instead; the first hosted build is the live check. See
183
191
  - **Default:** `omitted`
184
192
  - **Required:** Required when kind = "kimi-code"
185
193
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
194
+ - **Local override:** Allowed in .autobuild/local.toml.
186
195
 
187
196
  **Description:** Claude subscription, Kimi Code membership, or ChatGPT subscription (Codex only).
188
197
 
@@ -196,6 +205,7 @@ instead; the first hosted build is the live check. See
196
205
  - **Default:** `omitted`
197
206
  - **Required:** Required when kind = "kimi-code"
198
207
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
208
+ - **Local override:** Allowed in .autobuild/local.toml.
199
209
 
200
210
  **Description:** Host credential variable name; ChatGPT names a host-resolved access-token slot, never a credential value.
201
211
 
@@ -209,6 +219,7 @@ instead; the first hosted build is the live check. See
209
219
  - **Default:** `"overseas"`
210
220
  - **Required:** Optional when kind = "kimi-code"
211
221
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
222
+ - **Local override:** Allowed in .autobuild/local.toml.
212
223
 
213
224
  **Description:** Membership region: overseas (default) or china. Selects the base URL and exact egress host together.
214
225
 
@@ -228,6 +239,7 @@ instead; the first hosted build is the live check. See
228
239
  - **Default:** `omitted`
229
240
  - **Required:** Optional
230
241
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
242
+ - **Local override:** Committed only: set in autobuild.toml.
231
243
 
232
244
  **Description:** Optional remote BuildStore connection. Credentials live outside TOML.
233
245
 
@@ -241,6 +253,7 @@ instead; the first hosted build is the live check. See
241
253
  - **Default:** `omitted`
242
254
  - **Required:** Required
243
255
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
256
+ - **Local override:** Committed only: set in autobuild.toml.
244
257
 
245
258
  **Description:** Absolute HTTPS service base URL; loopback HTTP is allowed for development. No credentials, query or fragment. Trailing slashes are normalized.
246
259
 
@@ -321,7 +334,7 @@ the branch head never carried the file — the deposit records the source
321
334
  `worktree-dirty` with no commit. The build still runs the worktree bytes, but
322
335
  provenance declines to attribute them to any commit. **Deployment-owned** sections — `[accounts]`, `[roles]`
323
336
  (runtime, model, account, args, alternates, per-role `sessionBudgetSeconds`),
324
- `[profiles]` and `[policy]` — keep flowing live. **Dispatcher-owned** sections (`baseBranch`,
337
+ `[profiles]`, `[policy]` and `[[generated]]` — keep flowing live. **Dispatcher-owned** sections (`baseBranch`,
325
338
  `capacity`, `ticketScanIntervalSeconds`, `forge`, `plugins`, `pr`, `tickets`, `orchestrator`, `hooks`) configure the
326
339
  dispatcher itself and are never interpreted by the build runner.
327
340
 
@@ -341,9 +354,12 @@ identity and truthful source metadata. Dirty worktree bytes carry
341
354
  build-owned sections and the known source commit's ancestry. A change or
342
355
  non-ancestor source records `verify.config-superseded` and starts a fresh cycle
343
356
  before constructing any further member. Already launched siblings settle first.
344
- A waiting leaf with completed verification retains its receipts after a clean
345
- rewrite when build-owned config is unchanged, even when the rewrite replaces
346
- the pin commit's ancestry. Changed config still supersedes while waiting; a
357
+ A leaf awaiting merge with completed verification retains its receipts after a
358
+ clean rewrite when build-owned config is unchanged, even when the rewrite
359
+ replaces the pin commit's ancestry. A clean wait-resume restack after a verify
360
+ or finalize ticket wait is different: it starts a new verification cycle on the
361
+ resumed base even when config is unchanged, and the earlier results cannot
362
+ satisfy it. Changed config still supersedes while waiting; a
347
363
  future verification cycle always captures fresh config before running steps.
348
364
  Old pass/skip receipts cannot satisfy that cycle, and supersession creates no
349
365
  failure or failure-budget charge. Unchanged config on a descendant head retains
@@ -378,18 +394,20 @@ These fields hot-reload:
378
394
  | `capacity` | Next dispatcher tick. |
379
395
  | `[pr]` | Next build creation. |
380
396
  | `[merge]` (ordered `[[merge]]` rules) | Dispatcher-owned policy; next new readiness decision. Existing decisions retain their sampled rule. |
397
+ | `[generated]` | Next restack replay that conflicts. The declarations come from the dispatcher's live snapshot, not the build's branch. |
381
398
  | `[commands]` | Next setup, verify check, or finalize check selected for a build whose OWN branch carries it. Dispatcher readiness, resume, and recovery use the same pin. A base-branch reload does not retarget an in-flight build. |
382
399
  | `[verify]` and `[finalize]` | Next engine step selection for a build whose OWN branch carries it. Dispatcher readiness, resume, and recovery use the same pin. An approved plan's selection applies unless unknown names require default-all fallback, and a base-branch reload does not retarget an in-flight build. |
383
400
  | `[workspace]` provider and config (including `provisioning`) | Next launch of a build whose OWN branch carries it. A base-branch reload never re-provisions an in-flight build. |
384
401
  | `[accounts]` | Descriptors are adopted atomically with roles at the next session boundary, except existing ChatGPT descriptors require stopped dispatch before replacement or removal (see [accounts](#accounts)); credentials refresh on observation ticks. |
385
402
  | `[roles]` | Next agent invocation for that role. Runtime, model, args, alternates, and the session budget are captured together and delivered live. |
386
403
  | `[profiles]` | Next agent session of a build that selected the profile; builds without it are unaffected. A build's selected profile name never changes after claim. |
404
+ | `[operator]` | Next explicit ownership decision; never starts or restarts a dispatcher. |
387
405
  | `[upgrade]` | Cancels preparation when disabled; automatic target checks every 60 seconds. |
388
406
  | `[hooks]` | After the next dispatcher tick: an added hook starts at its baseline, a removed one stops, and a changed one resumes from its saved progress. |
389
407
  | `[policy]` | Next policy, convergence, or agent-session boundary, delivered live. A running session keeps its captured budget. |
390
408
  | `tickets.readyLabels`, `tickets.readyState`, `tickets.readyAssignee` | Next ready-ticket scan. |
391
409
  | `tickets.triageState`, `tickets.proposalState` | Next dispatcher handback or harvest filing boundary. |
392
- | `tickets.createAssignee` | Next ticket create, including the next harvest filing. |
410
+ | `tickets.createAssignee`, `tickets.createLabels` | Next ticket create, including the next harvest filing. |
393
411
  | `tickets.backlogState`, `tickets.rejectedState` | Next role move, ready-ticket scan, or node completeness observation. |
394
412
 
395
413
  Adapter selectors and factory inputs are constructed once and require a
@@ -415,6 +433,127 @@ generated markers is maintained by hand. Defaults below are parser input default
415
433
  resolver inheritance is described separately. Nested required fields are required
416
434
  when their containing table or array entry is supplied.
417
435
 
436
+ ## `[operator]`
437
+
438
+ <!-- configuration-reference:operator -->
439
+
440
+ #### `operator`
441
+
442
+ **TOML key:** `operator`
443
+
444
+ - **Type:** `strict table`
445
+ - **Default:** `omitted`
446
+ - **Required:** Optional
447
+ - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
448
+ - **Local override:** Local only: set in .autobuild/local.toml; rejected in autobuild.toml.
449
+
450
+ **Description:** Local-only dispatcher ownership preference; set in .autobuild/local.toml.
451
+
452
+ **Constraints:** None beyond the input type.
453
+
454
+ #### `operator.dispatcher`
455
+
456
+ **TOML key:** `operator.dispatcher`
457
+
458
+ - **Type:** `"human" | "agent"`
459
+ - **Default:** `Unset; ask who should run it.`
460
+ - **Required:** Optional
461
+ - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
462
+ - **Local override:** Local only: set in .autobuild/local.toml; rejected in autobuild.toml.
463
+
464
+ **Description:** Who runs the dispatcher when none is running. Repository instructions take precedence.
465
+
466
+ **Constraints:** None beyond the input type.
467
+
468
+ <!-- configuration-reference:/operator -->
469
+
470
+ `[operator]` is local-only, even when empty. Read or set the optional ownership
471
+ choice with `ab operator dispatcher [human|agent] [--json]`. Unset has no default;
472
+ repository instructions take precedence. Changes are hot and never start or stop
473
+ a dispatcher. See [dispatcher ownership](dispatcher.md#dispatcher-ownership).
474
+
475
+ ## Local overrides (`.autobuild/local.toml`)
476
+
477
+ Some settings are personal: how many builds one machine runs, which model
478
+ subscriptions a person holds, which notifications they want. Put those in
479
+ `.autobuild/local.toml` instead of editing the committed file.
480
+
481
+ - **Location:** `.autobuild/local.toml` beside `autobuild.toml` in the checkout.
482
+ `ab init` adds `.autobuild/` to `.gitignore`, so the file is never committed.
483
+ Edit overrides by hand, or use `ab operator dispatcher [human|agent] [--json]`
484
+ for ownership; saving may normalize TOML formatting.
485
+ - **Readers:** every `ab` command that reads configuration from that checkout,
486
+ including a checkout-mode `ab dispatch`. Build worktrees never contain the
487
+ file, so scoped phase commands are unaffected. Origin-mode and hosted
488
+ dispatchers have no checkout and never read it.
489
+ - **Merge:** tables merge key by key, so setting `[roles.default] model` keeps
490
+ the role's committed `runtime` and `args`. Scalars and arrays (including
491
+ arrays of tables) replace the committed value whole. A local file adds or
492
+ changes keys; it cannot remove a committed key, role or hook.
493
+ - **Validation:** the merged result is validated exactly like `autobuild.toml`.
494
+ An invalid local value gets the same message it would get in
495
+ `autobuild.toml`, prefixed with the local file's path.
496
+ - **Committed-only sections are rejected:** a local file that sets one is
497
+ refused with
498
+ `<path>/.autobuild/local.toml: <key> can only be set in autobuild.toml`.
499
+ An unknown key is refused with
500
+ `<path>/.autobuild/local.toml: "<key>" is not a configuration setting`. Both
501
+ messages go on to list the sections a local file accepts. No flag overrides
502
+ this.
503
+ - **Reload:** a running dispatcher reads both files before every tick as one
504
+ candidate, with the same hot or restart treatment per field. A rejected local
505
+ file leaves the last accepted configuration running, exactly like a rejected
506
+ `autobuild.toml` save. Deleting the file returns to the committed values.
507
+ - **Visibility:** the dispatcher records the settings it took from the file in
508
+ the metadata of its `dispatcher-effective-config` artifact.
509
+ `ab repository status` prints `dispatcher local overrides (<path>): <settings>`
510
+ and its `--json` output carries `localOverrides: { file, settings }`.
511
+
512
+ | Section | Local override |
513
+ |---|---|
514
+ | `capacity` | Allowed |
515
+ | `ticketScanIntervalSeconds` | Allowed |
516
+ | `[operator]` | Allowed |
517
+ | `[upgrade]` | Allowed |
518
+ | `[hooks]` | Allowed |
519
+ | `[roles]` | Allowed |
520
+ | `[accounts]` | Allowed |
521
+ | `[store]` | Committed only |
522
+ | `baseBranch` | Committed only |
523
+ | `forge` | Committed only |
524
+ | `plugins` | Committed only |
525
+ | `[[merge]]` (and deprecated `[[landing]]`) | Committed only |
526
+ | `[pr]` | Committed only |
527
+ | `[[generated]]` | Committed only |
528
+ | `[profiles]` | Committed only |
529
+ | `[policy]` | Committed only |
530
+ | `[orchestrator]` | Committed only |
531
+ | `[tickets]` | Committed only |
532
+ | `[workspace]` | Committed only (build-owned) |
533
+ | `[commands]` | Committed only (build-owned) |
534
+ | `[verify]` | Committed only (build-owned) |
535
+ | `[finalize]` | Committed only (build-owned) |
536
+
537
+ Allowed sections describe the local machine and process (`capacity`,
538
+ `ticketScanIntervalSeconds`, `[upgrade]`), personal notifications (`[hooks]`),
539
+ the subscriptions a person holds (`[roles]`, `[accounts]`), or personal dispatcher
540
+ ownership (`[operator]`, which is local-only). Everything else
541
+ must agree across everyone sharing the repository's store, ticket source and
542
+ forge, or defines a build's pipeline, which comes from the build's own branch
543
+ on every machine. Each field block below repeats its section's classification.
544
+
545
+ <!-- config-fragment:local-overrides -->
546
+ ```toml
547
+ # .autobuild/local.toml
548
+ capacity = 4
549
+
550
+ [roles.plan-review]
551
+ model = "claude-opus-5-5"
552
+
553
+ [hooks.desk]
554
+ command = "notify-send autobuild"
555
+ ```
556
+
418
557
  ## Root scalars
419
558
 
420
559
  All root scalars are optional and receive defaults. They must appear before
@@ -430,6 +569,7 @@ any table header.
430
569
  - **Default:** `"main"`
431
570
  - **Required:** Optional
432
571
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
572
+ - **Local override:** Committed only: set in autobuild.toml.
433
573
 
434
574
  **Description:** Branch used to cut builds, target PRs, and merge during reconciliation.
435
575
 
@@ -443,8 +583,9 @@ any table header.
443
583
  - **Default:** `1`
444
584
  - **Required:** Optional
445
585
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
586
+ - **Local override:** Allowed in .autobuild/local.toml.
446
587
 
447
- **Description:** Builds running work at once for this repository. A build that finished its pipeline holds no slot while it waits for a merge decision, nor does a build waiting on other tickets; either is admitted ahead of new claims when it must run again. Other unfinished paused and blocked work retains slots. Node reconcile and verification exclude their own blocked/paused descendants at admission; new claims use total occupancy. See [integration capacity](integration-tree.md).
588
+ **Description:** Builds running work at once for this repository. A build that finished its pipeline holds no slot while it waits for a merge decision, nor does a build waiting on other tickets; either is admitted ahead of normal ticket claims when it must run again, urgent work first (see [slot admission order](dispatcher.md#slot-admission-order)). Other unfinished paused and blocked work retains slots. Node reconcile and verification exclude their own blocked/paused descendants at admission; new claims use total occupancy. See [integration capacity](integration-tree.md).
448
589
 
449
590
  **Constraints:** safe integer; > 0
450
591
 
@@ -456,6 +597,7 @@ any table header.
456
597
  - **Default:** `60`
457
598
  - **Required:** Optional
458
599
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
600
+ - **Local override:** Allowed in .autobuild/local.toml.
459
601
 
460
602
  **Description:** Ticket-source ready scan cadence; tick spacing is the effective minimum.
461
603
 
@@ -469,6 +611,7 @@ any table header.
469
611
  - **Default:** `"github"`
470
612
  - **Required:** Optional
471
613
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
614
+ - **Local override:** Committed only: set in autobuild.toml.
472
615
 
473
616
  **Description:** Forge adapter name. Shipped values are `github` and `local-git`; configured plugins may register other names.
474
617
 
@@ -482,6 +625,7 @@ any table header.
482
625
  - **Default:** `[]`
483
626
  - **Required:** Optional
484
627
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
628
+ - **Local override:** Committed only: set in autobuild.toml.
485
629
 
486
630
  **Description:** Trusted Bun plugin modules loaded by dispatch, `ab ticket`, and scoped phase CLI processes.
487
631
 
@@ -726,6 +870,7 @@ old key without changing policy values or order. See [deprecated spellings](merg
726
870
  - **Default:** `omitted`
727
871
  - **Required:** Optional
728
872
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
873
+ - **Local override:** Committed only: set in autobuild.toml.
729
874
 
730
875
  **Description:** Ordered merge rules; the first matching rule controls consent.
731
876
 
@@ -739,6 +884,7 @@ old key without changing policy values or order. See [deprecated spellings](merg
739
884
  - **Default:** `omitted`
740
885
  - **Required:** Optional
741
886
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
887
+ - **Local override:** Committed only: set in autobuild.toml.
742
888
 
743
889
  **Description:** Optional destination: `root`, any `node`, or an exact frozen destination node ticket id.
744
890
 
@@ -752,6 +898,7 @@ old key without changing policy values or order. See [deprecated spellings](merg
752
898
  - **Default:** `omitted`
753
899
  - **Required:** Optional
754
900
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
901
+ - **Local override:** Committed only: set in autobuild.toml.
755
902
 
756
903
  **Description:** Restrict this rule to one source build kind; omission matches all kinds.
757
904
 
@@ -765,6 +912,7 @@ old key without changing policy values or order. See [deprecated spellings](merg
765
912
  - **Default:** `omitted`
766
913
  - **Required:** Optional
767
914
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
915
+ - **Local override:** Committed only: set in autobuild.toml.
768
916
 
769
917
  **Description:** Optional exact, case-sensitive label on the source ticket. Blank labels are invalid.
770
918
 
@@ -778,6 +926,7 @@ old key without changing policy values or order. See [deprecated spellings](merg
778
926
  - **Default:** `omitted`
779
927
  - **Required:** Optional
780
928
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
929
+ - **Local override:** Committed only: set in autobuild.toml.
781
930
 
782
931
  **Description:** Match when at least one changed path matches a selector. Same glob grammar and case sensitivity as `[verify.<step>].paths`.
783
932
 
@@ -791,6 +940,7 @@ old key without changing policy values or order. See [deprecated spellings](merg
791
940
  - **Default:** `omitted`
792
941
  - **Required:** Optional
793
942
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
943
+ - **Local override:** Committed only: set in autobuild.toml.
794
944
 
795
945
  **Description:** Match when every changed path matches a selector and at least one path changed.
796
946
 
@@ -804,6 +954,7 @@ old key without changing policy values or order. See [deprecated spellings](merg
804
954
  - **Default:** `omitted`
805
955
  - **Required:** Required
806
956
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
957
+ - **Local override:** Committed only: set in autobuild.toml.
807
958
 
808
959
  **Description:** Choose automatic merge or require recorded consent.
809
960
 
@@ -839,6 +990,7 @@ still receive exact BuildStore download commands in the PR summary.
839
990
  - **Default:** `omitted`
840
991
  - **Required:** Optional
841
992
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
993
+ - **Local override:** Committed only: set in autobuild.toml.
842
994
 
843
995
  **Description:** Pull request review image hosting configuration.
844
996
 
@@ -852,6 +1004,7 @@ still receive exact BuildStore download commands in the PR summary.
852
1004
  - **Default:** `omitted`
853
1005
  - **Required:** Optional
854
1006
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
1007
+ - **Local override:** Committed only: set in autobuild.toml.
855
1008
 
856
1009
  **Description:** Copy attached images to a temporary public review location so they can render inline.
857
1010
 
@@ -871,6 +1024,7 @@ still receive exact BuildStore download commands in the PR summary.
871
1024
  - **Default:** `omitted`
872
1025
  - **Required:** Required
873
1026
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
1027
+ - **Local override:** Committed only: set in autobuild.toml.
874
1028
 
875
1029
  **Description:** Select the GitHub release adapter.
876
1030
 
@@ -884,6 +1038,7 @@ still receive exact BuildStore download commands in the PR summary.
884
1038
  - **Default:** `omitted`
885
1039
  - **Required:** Required
886
1040
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
1041
+ - **Local override:** Committed only: set in autobuild.toml.
887
1042
 
888
1043
  **Description:** Public repository containing the existing review release.
889
1044
 
@@ -897,6 +1052,7 @@ still receive exact BuildStore download commands in the PR summary.
897
1052
  - **Default:** `omitted`
898
1053
  - **Required:** Required
899
1054
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
1055
+ - **Local override:** Committed only: set in autobuild.toml.
900
1056
 
901
1057
  **Description:** Numeric id of an existing published, mutable release.
902
1058
 
@@ -938,10 +1094,11 @@ Hosted copies are deleted after `build.completed`; failed deletions remain
938
1094
  durable and retry on later dispatcher ticks. Upload, target-validation, and
939
1095
  timeout failures create follow-up observations but preserve every text download
940
1096
  command and do not fail verification or finalize. BuildStore artifacts remain
941
- the authoritative copies under the store's own retention policy — dispatcher
942
- run/config artifact kinds keep their latest 200 revisions
943
- (`AB_ARTIFACT_RETENTION_MAX_REVISIONS` overrides the bound); other kinds are
944
- never pruned.
1097
+ the authoritative copies under the store's own retention policy.
1098
+ Retention-managed kinds keep their latest 200 revisions
1099
+ (`AB_ARTIFACT_RETENTION_MAX_REVISIONS` overrides the bound): dispatcher
1100
+ run/config, hook progress, operator notes, and the agent-context record,
1101
+ pointer and continuation slots. Other kinds are never pruned.
945
1102
 
946
1103
  ## `[workspace]`
947
1104
 
@@ -958,6 +1115,7 @@ table is strict; only the explicit nested `config` table is plugin-owned.
958
1115
  - **Default:** `{} (input supplied on omission; nested defaults apply)`
959
1116
  - **Required:** Optional
960
1117
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1118
+ - **Local override:** Committed only: set in autobuild.toml.
961
1119
 
962
1120
  **Description:** Workspace provider selector and provider-specific configuration.
963
1121
 
@@ -971,6 +1129,7 @@ table is strict; only the explicit nested `config` table is plugin-owned.
971
1129
  - **Default:** `"git-worktree"`
972
1130
  - **Required:** Optional
973
1131
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1132
+ - **Local override:** Committed only: set in autobuild.toml.
974
1133
 
975
1134
  **Description:** Select the provider used for provisioning, recovery, PR epilogue working-directory calls, and release.
976
1135
 
@@ -984,6 +1143,7 @@ table is strict; only the explicit nested `config` table is plugin-owned.
984
1143
  - **Default:** `{} (input supplied on omission)`
985
1144
  - **Required:** Optional
986
1145
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1146
+ - **Local override:** Committed only: set in autobuild.toml.
987
1147
 
988
1148
  **Description:** Adapter-specific declarative configuration passed unchanged to the selected plugin factory.
989
1149
 
@@ -997,6 +1157,7 @@ table is strict; only the explicit nested `config` table is plugin-owned.
997
1157
  - **Default:** `omitted`
998
1158
  - **Required:** Required
999
1159
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1160
+ - **Local override:** Committed only: set in autobuild.toml.
1000
1161
 
1001
1162
  **Description:** Plugin-owned value passed through unchanged. Builtin providers validate their own declared schema.
1002
1163
 
@@ -1068,6 +1229,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1068
1229
  - **Default:** `omitted`
1069
1230
  - **Required:** Required
1070
1231
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1232
+ - **Local override:** Committed only: set in autobuild.toml.
1071
1233
 
1072
1234
  **Description:** Strict Vercel workspace provisioning configuration.
1073
1235
 
@@ -1081,6 +1243,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1081
1243
  - **Default:** `"vercel/sandbox/universal:latest"`
1082
1244
  - **Required:** Optional
1083
1245
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1246
+ - **Local override:** Committed only: set in autobuild.toml.
1084
1247
 
1085
1248
  **Description:** Managed image used to provision the workspace.
1086
1249
 
@@ -1094,6 +1257,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1094
1257
  - **Default:** `4`
1095
1258
  - **Required:** Optional
1096
1259
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1260
+ - **Local override:** Committed only: set in autobuild.toml.
1097
1261
 
1098
1262
  **Description:** Virtual CPUs allocated to each workspace; provider account limits may further restrict allocation.
1099
1263
 
@@ -1107,6 +1271,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1107
1271
  - **Default:** `omitted`
1108
1272
  - **Required:** Required
1109
1273
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1274
+ - **Local override:** Committed only: set in autobuild.toml.
1110
1275
 
1111
1276
  **Description:** VM/session lifetime in seconds and abrupt-orphan bound. Provider plan limits also apply.
1112
1277
 
@@ -1120,6 +1285,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1120
1285
  - **Default:** `30000`
1121
1286
  - **Required:** Optional
1122
1287
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1288
+ - **Local override:** Committed only: set in autobuild.toml.
1123
1289
 
1124
1290
  **Description:** Deadline in milliseconds for each provider acknowledgement, independent of session lifetime.
1125
1291
 
@@ -1133,6 +1299,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1133
1299
  - **Default:** `omitted`
1134
1300
  - **Required:** Optional
1135
1301
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1302
+ - **Local override:** Committed only: set in autobuild.toml.
1136
1303
 
1137
1304
  **Description:** Snapshot expiration in seconds. Omission uses the provider expiration policy.
1138
1305
 
@@ -1146,6 +1313,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1146
1313
  - **Default:** `omitted`
1147
1314
  - **Required:** Optional
1148
1315
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1316
+ - **Local override:** Committed only: set in autobuild.toml.
1149
1317
 
1150
1318
  **Description:** Primary region; omission uses the provider region selection.
1151
1319
 
@@ -1159,6 +1327,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1159
1327
  - **Default:** `[]`
1160
1328
  - **Required:** Optional
1161
1329
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1330
+ - **Local override:** Committed only: set in autobuild.toml.
1162
1331
 
1163
1332
  **Description:** Ordered alternative regions used if the primary region cannot provision a workspace.
1164
1333
 
@@ -1172,6 +1341,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1172
1341
  - **Default:** `[]`
1173
1342
  - **Required:** Optional
1174
1343
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1344
+ - **Local override:** Committed only: set in autobuild.toml.
1175
1345
 
1176
1346
  **Description:** unique API-credential variable names copied into runtime and agent/check commands
1177
1347
 
@@ -1185,6 +1355,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1185
1355
  - **Default:** `[]`
1186
1356
  - **Required:** Optional
1187
1357
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1358
+ - **Local override:** Committed only: set in autobuild.toml.
1188
1359
 
1189
1360
  **Description:** ordered strict inline tables `{ name, command }`; names and commands are nonblank and names are unique
1190
1361
 
@@ -1198,6 +1369,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1198
1369
  - **Default:** `omitted`
1199
1370
  - **Required:** Required
1200
1371
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1372
+ - **Local override:** Committed only: set in autobuild.toml.
1201
1373
 
1202
1374
  **Description:** Unique provisioning step name. Must contain a non-whitespace character.
1203
1375
 
@@ -1211,6 +1383,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1211
1383
  - **Default:** `omitted`
1212
1384
  - **Required:** Required
1213
1385
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1386
+ - **Local override:** Committed only: set in autobuild.toml.
1214
1387
 
1215
1388
  **Description:** Shell command executed in declaration order during provisioning. Must contain a non-whitespace character.
1216
1389
 
@@ -1224,6 +1397,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1224
1397
  - **Default:** `{} (input supplied on omission)`
1225
1398
  - **Required:** Optional
1226
1399
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1400
+ - **Local override:** Committed only: set in autobuild.toml.
1227
1401
 
1228
1402
  **Description:** open map keyed by every effective role/alternate runtime; each entry requires `install` and `preflight`
1229
1403
 
@@ -1237,6 +1411,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1237
1411
  - **Default:** `omitted`
1238
1412
  - **Required:** Required
1239
1413
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1414
+ - **Local override:** Committed only: set in autobuild.toml.
1240
1415
 
1241
1416
  **Description:** Installation and preflight commands for an effective runtime. Every effective role or alternate runtime must have an entry.
1242
1417
 
@@ -1250,6 +1425,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1250
1425
  - **Default:** `omitted`
1251
1426
  - **Required:** Required
1252
1427
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1428
+ - **Local override:** Committed only: set in autobuild.toml.
1253
1429
 
1254
1430
  **Description:** required nonblank shell command; use an immutable package version, digest, or commit
1255
1431
 
@@ -1263,6 +1439,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1263
1439
  - **Default:** `omitted`
1264
1440
  - **Required:** Required
1265
1441
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1442
+ - **Local override:** Committed only: set in autobuild.toml.
1266
1443
 
1267
1444
  **Description:** required nonblank shell command; verify the expected executable and exact version
1268
1445
 
@@ -1276,6 +1453,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1276
1453
  - **Default:** `omitted`
1277
1454
  - **Required:** Optional
1278
1455
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1456
+ - **Local override:** Committed only: set in autobuild.toml.
1279
1457
 
1280
1458
  **Description:** optional variable name for the dedicated read-only clone username; requires `gitPasswordEnv`
1281
1459
 
@@ -1289,6 +1467,7 @@ preflight = "test \"$(pi --version)\" = \"0.84.4\" && pi update --models"
1289
1467
  - **Default:** `omitted`
1290
1468
  - **Required:** Optional
1291
1469
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1470
+ - **Local override:** Committed only: set in autobuild.toml.
1292
1471
 
1293
1472
  **Description:** optional variable name for the dedicated read-only clone password; requires `gitUsernameEnv`
1294
1473
 
@@ -1423,8 +1602,15 @@ generation does. A named sandbox left without the completion marker, for example
1423
1602
  after a provision timeout, is flagged `cleanup-required` and never launched into.
1424
1603
  The dispatcher releases it automatically, recording an empty
1425
1604
  `workspace.commits-lost` when no checkout exists, or `workspace.commits-preserved`
1426
- when a checkout that never started executing lacks its objects, and provisions
1427
- the next generation.
1605
+ (`workspace.commits-retained` when an earlier head is a store copy) when a
1606
+ checkout that never started executing lacks its objects, and provisions
1607
+ the next generation. A sandbox whose provisioning a dispatcher teardown cut off
1608
+ is different: the next invocation verifies it and finishes it in the same
1609
+ generation. If it cannot be finished, it is released and replaced without
1610
+ consuming `maxInfrastructureAttempts`. A bounded dispatcher invocation does not
1611
+ start provisioning with less than about 150 s of budget left; it records
1612
+ `provisioningDeferred` in the tick report and leaves the build to the next
1613
+ invocation.
1428
1614
 
1429
1615
  The representative actual-provider check is opt-in and must point at an
1430
1616
  independent consuming repository whose `autobuild.toml` selects the universal
@@ -1487,6 +1673,7 @@ schema fields.
1487
1673
  - **Default:** `{} (input supplied on omission)`
1488
1674
  - **Required:** Optional
1489
1675
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1676
+ - **Local override:** Committed only: set in autobuild.toml.
1490
1677
 
1491
1678
  **Description:** Named shell commands used by setup and deterministic checks.
1492
1679
 
@@ -1500,6 +1687,7 @@ schema fields.
1500
1687
  - **Default:** `omitted`
1501
1688
  - **Required:** Required
1502
1689
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1690
+ - **Local override:** Committed only: set in autobuild.toml.
1503
1691
 
1504
1692
  **Description:** Named deterministic shell command.
1505
1693
 
@@ -1516,16 +1704,110 @@ test = "bun test"
1516
1704
  publish = "bun run publish"
1517
1705
  ```
1518
1706
 
1519
- `setup` is special by convention: the kernel runs it after workspace provision
1520
- and after sandbox rehydration. A failure is recorded durably with its command,
1707
+ `setup` is special by convention: the kernel runs it at every runner
1708
+ attachment (workspace provision, sandbox rehydration, resume), and again before
1709
+ the next workspace-using phase, check, finalize or measurement step whenever a
1710
+ restack, wait-resume advance or completed reconcile moves the build onto a new
1711
+ base. Every base move counts as a dependency change; agent commits and an
1712
+ in-progress reconcile replay do not trigger a rerun. A failure is recorded durably with its command,
1521
1713
  exit status, attempt, and output. Retries are bounded by
1522
1714
  `policy.maxSetupAttempts`; exhaustion blocks on a setup-targeted policy
1523
- escalation without creating a phase or verification result. A later successful
1524
- attachment clears the current error projection. Other names run only when
1715
+ escalation without creating a phase or verification result. A failure after a
1716
+ base move stops dependent work the same way. Only a later successful attachment
1717
+ clears the current error projection. Other names run only when
1525
1718
  referenced by a configured check. A check's `command` value is the key in this
1526
1719
  map, not an inline shell command. The kernel passes the mapped string to a shell
1527
1720
  as written.
1528
1721
 
1722
+ ## `[[generated]]`
1723
+
1724
+ An optional ordered array of generated-file declarations. Each entry names the
1725
+ files a deterministic command rebuilds and that command. Omitting the table
1726
+ declares nothing, and restacks behave exactly as they do without it.
1727
+
1728
+ <!-- configuration-reference:generated -->
1729
+
1730
+ #### `generated`
1731
+
1732
+ **TOML key:** `generated`
1733
+
1734
+ - **Type:** `array of strict table`
1735
+ - **Default:** `omitted`
1736
+ - **Required:** Optional
1737
+ - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
1738
+ - **Local override:** Committed only: set in autobuild.toml.
1739
+
1740
+ **Description:** Generated files that a declared command rebuilds. Restack replays that conflict only in these files are regenerated instead of reconciled by an agent.
1741
+
1742
+ **Constraints:** A path selector string may be declared by only one entry.
1743
+
1744
+ #### `generated[].paths`
1745
+
1746
+ **TOML key:** `generated[].paths`
1747
+
1748
+ - **Type:** `array of string`
1749
+ - **Default:** `omitted`
1750
+ - **Required:** Required
1751
+ - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
1752
+ - **Local override:** Committed only: set in autobuild.toml.
1753
+
1754
+ **Description:** Generated files this entry owns. When selectors of several entries match a file, the first entry in declaration order owns it.
1755
+
1756
+ **Constraints:** minimum length 1; Each item: Positive repository-relative globs with literal characters, *, ?, and whole-segment ** only. No NUL, absolute paths, backslashes, negation, empty or traversal segments, character classes, brace expansion or extglobs.
1757
+
1758
+ #### `generated[].command`
1759
+
1760
+ **TOML key:** `generated[].command`
1761
+
1762
+ - **Type:** `string`
1763
+ - **Default:** `omitted`
1764
+ - **Required:** Required
1765
+ - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
1766
+ - **Local override:** Committed only: set in autobuild.toml.
1767
+
1768
+ **Description:** Shell command, run with `sh -c` from the workspace root after `[commands].setup`, that rebuilds every file this entry owns.
1769
+
1770
+ **Constraints:** command must be a nonblank shell command
1771
+
1772
+ <!-- configuration-reference:/generated -->
1773
+
1774
+ <!-- config-fragment:generated -->
1775
+ ```toml
1776
+ [[generated]]
1777
+ paths = ["src/schema/shapes.json"]
1778
+ command = "bun tools/shapes.ts"
1779
+
1780
+ [[generated]]
1781
+ paths = ["site/snapshots/**"]
1782
+ command = "bun run snapshots"
1783
+ ```
1784
+
1785
+ When a restack replays one change onto a moved target and every conflicted path
1786
+ is owned by a declaration, the kernel resolves the conflict without an agent. It
1787
+ starts each conflicted file from the target's side, runs the owning commands
1788
+ from the workspace root (after `[commands].setup` has run there), stages the
1789
+ result and commits it as that change's replay. This applies to a leaf build's
1790
+ automatic restack and to every item of a node restack. The rules:
1791
+
1792
+ - `paths` uses the same selector grammar as `[verify.<step>].paths`. When the
1793
+ selectors of several entries match a file, the first entry in declaration
1794
+ order owns it. A selector string declared by two entries is rejected.
1795
+ - `command` is a shell string run with `sh -c`. Each owning command runs once
1796
+ per replay, in declaration order. It must write only paths the declarations
1797
+ cover and must leave the Git index unchanged: the kernel stages the declared
1798
+ output itself. Writing anything else, staging changes, exiting non-zero, or
1799
+ leaving conflict markers fails the regeneration, and the replay falls back to
1800
+ an ordinary agent reconcile.
1801
+ - A failed regeneration commits nothing. The workspace returns to the recorded
1802
+ conflict and an ordinary reconcile session resolves it, with the failure
1803
+ reason in its context. A replay that also conflicts in undeclared files goes
1804
+ to the agent as well; its context lists the generated files and their
1805
+ commands, and the agent rebuilds them with the command instead of
1806
+ hand-merging them.
1807
+
1808
+ See [Generated-file conflicts](restacking.md#generated-file-conflicts) for the
1809
+ recorded facts and how status reports them.
1810
+
1529
1811
  ## `[verify]` and `[verify.<step>]`
1530
1812
 
1531
1813
  Post-reconcile verification defaults to enabled: `[verify].afterReconcile = true`.
@@ -1573,6 +1855,7 @@ There are two strict step variants:
1573
1855
  - **Default:** `{} (input supplied on omission)`
1574
1856
  - **Required:** Optional
1575
1857
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1858
+ - **Local override:** Committed only: set in autobuild.toml.
1576
1859
 
1577
1860
  **Description:** Ordered verification steps and applicability rules. Step names use ASCII letters, digits, ., _ and -; exactly . and .. are forbidden.
1578
1861
 
@@ -1586,6 +1869,7 @@ There are two strict step variants:
1586
1869
  - **Default:** `[]`
1587
1870
  - **Required:** Optional
1588
1871
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1872
+ - **Local override:** Committed only: set in autobuild.toml.
1589
1873
 
1590
1874
  **Description:** Ordered verify stages: a name is a singleton stage; a nonempty array runs its members concurrently. Names must be unique within and across stages. Names contain only ASCII letters, digits, ., _ and -, excluding "." and "..". Every listed step must have a table and every table must be listed.
1591
1875
 
@@ -1599,6 +1883,7 @@ There are two strict step variants:
1599
1883
  - **Default:** `true`
1600
1884
  - **Required:** Optional
1601
1885
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1886
+ - **Local override:** Committed only: set in autobuild.toml.
1602
1887
 
1603
1888
  **Description:** Whether verification runs after reconciliation. A step override takes precedence.
1604
1889
 
@@ -1612,6 +1897,7 @@ There are two strict step variants:
1612
1897
  - **Default:** `omitted`
1613
1898
  - **Required:** Required
1614
1899
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1900
+ - **Local override:** Committed only: set in autobuild.toml.
1615
1901
 
1616
1902
  **Description:** Named step. Select exactly one strict variant using kind; command belongs only to check, skill only to agent.
1617
1903
 
@@ -1625,6 +1911,7 @@ There are two strict step variants:
1625
1911
  - **Default:** `omitted`
1626
1912
  - **Required:** Required when kind = "check"
1627
1913
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1914
+ - **Local override:** Committed only: set in autobuild.toml.
1628
1915
 
1629
1916
  **Description:** Select the strict step variant. Fields from another variant are rejected.
1630
1917
 
@@ -1638,6 +1925,7 @@ There are two strict step variants:
1638
1925
  - **Default:** `omitted`
1639
1926
  - **Required:** Required when kind = "check"
1640
1927
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1928
+ - **Local override:** Committed only: set in autobuild.toml.
1641
1929
 
1642
1930
  **Description:** Name of an existing command in [commands]; required for check steps and forbidden for agent steps.
1643
1931
 
@@ -1651,6 +1939,7 @@ There are two strict step variants:
1651
1939
  - **Default:** `false (omission is preserved)`
1652
1940
  - **Required:** Optional when kind = "check"
1653
1941
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1942
+ - **Local override:** Committed only: set in autobuild.toml.
1654
1943
 
1655
1944
  **Description:** Cancel unfinished members of this stage when this step fails. Defaults to false.
1656
1945
 
@@ -1664,6 +1953,7 @@ There are two strict step variants:
1664
1953
  - **Default:** `omitted`
1665
1954
  - **Required:** Optional when kind = "check"
1666
1955
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1956
+ - **Local override:** Committed only: set in autobuild.toml.
1667
1957
 
1668
1958
  **Description:** Step override wins over `[verify].afterReconcile`; false skips this step after reconciliation only.
1669
1959
 
@@ -1677,6 +1967,7 @@ There are two strict step variants:
1677
1967
  - **Default:** `omitted`
1678
1968
  - **Required:** Optional when kind = "check"
1679
1969
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1970
+ - **Local override:** Committed only: set in autobuild.toml.
1680
1971
 
1681
1972
  **Description:** Apply only when at least one changed path matches. Available to both variants.
1682
1973
 
@@ -1690,6 +1981,7 @@ There are two strict step variants:
1690
1981
  - **Default:** `omitted`
1691
1982
  - **Required:** Optional when kind = "check"
1692
1983
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1984
+ - **Local override:** Committed only: set in autobuild.toml.
1693
1985
 
1694
1986
  **Description:** `true` makes the step mandatory in plan selection and bypasses path gating. Available to both variants.
1695
1987
 
@@ -1703,6 +1995,7 @@ There are two strict step variants:
1703
1995
  - **Default:** `omitted`
1704
1996
  - **Required:** Required when kind = "agent"
1705
1997
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
1998
+ - **Local override:** Committed only: set in autobuild.toml.
1706
1999
 
1707
2000
  **Description:** Select the strict step variant. Fields from another variant are rejected.
1708
2001
 
@@ -1716,6 +2009,7 @@ There are two strict step variants:
1716
2009
  - **Default:** `omitted`
1717
2010
  - **Required:** Required when kind = "agent"
1718
2011
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2012
+ - **Local override:** Committed only: set in autobuild.toml.
1719
2013
 
1720
2014
  **Description:** Exact installed skill name; required for agent steps and forbidden for check steps.
1721
2015
 
@@ -1729,6 +2023,7 @@ There are two strict step variants:
1729
2023
  - **Default:** `false (omission is preserved)`
1730
2024
  - **Required:** Optional when kind = "agent"
1731
2025
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2026
+ - **Local override:** Committed only: set in autobuild.toml.
1732
2027
 
1733
2028
  **Description:** Cancel unfinished members of this stage when this step fails. Defaults to false.
1734
2029
 
@@ -1742,6 +2037,7 @@ There are two strict step variants:
1742
2037
  - **Default:** `omitted`
1743
2038
  - **Required:** Optional when kind = "agent"
1744
2039
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2040
+ - **Local override:** Committed only: set in autobuild.toml.
1745
2041
 
1746
2042
  **Description:** Step override wins over `[verify].afterReconcile`; false skips this step after reconciliation only.
1747
2043
 
@@ -1755,6 +2051,7 @@ There are two strict step variants:
1755
2051
  - **Default:** `omitted`
1756
2052
  - **Required:** Optional when kind = "agent"
1757
2053
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2054
+ - **Local override:** Committed only: set in autobuild.toml.
1758
2055
 
1759
2056
  **Description:** Apply only when at least one changed path matches. Available to both variants.
1760
2057
 
@@ -1768,6 +2065,7 @@ There are two strict step variants:
1768
2065
  - **Default:** `omitted`
1769
2066
  - **Required:** Optional when kind = "agent"
1770
2067
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2068
+ - **Local override:** Committed only: set in autobuild.toml.
1771
2069
 
1772
2070
  **Description:** `true` makes the step mandatory in plan selection and bypasses path gating. Available to both variants.
1773
2071
 
@@ -1804,6 +2102,13 @@ Cross-field validation rejects:
1804
2102
  - a check whose command is absent from `[commands]`;
1805
2103
  - fields from the other kind, unknown fields, and malformed selectors.
1806
2104
 
2105
+ A `check` command runs with `AB_VERIFY_BASE` set to the verify diff base: the
2106
+ commit [path applicability](#path-applicability) diffs from on a leaf, or the
2107
+ integration cycle parent on a node. It is absent outside a build, under an
2108
+ older runtime, and for a leaf with no provisioned base, so a check that needs
2109
+ it must handle its absence. See
2110
+ [what a check command receives](verification.md#what-a-check-command-receives).
2111
+
1807
2112
  `always = true` does not make malformed `paths` acceptable: all supplied
1808
2113
  selectors are validated even though the mandatory step will not use them for
1809
2114
  applicability.
@@ -1943,6 +2248,7 @@ are errors.
1943
2248
  - **Default:** `{} (input supplied on omission)`
1944
2249
  - **Required:** Optional
1945
2250
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2251
+ - **Local override:** Committed only: set in autobuild.toml.
1946
2252
 
1947
2253
  **Description:** Ordered post-PR steps. Failures are recorded without blocking the PR. Step names use ASCII letters, digits, ., _ and -; exactly . and .. are forbidden.
1948
2254
 
@@ -1956,6 +2262,7 @@ are errors.
1956
2262
  - **Default:** `[]`
1957
2263
  - **Required:** Optional
1958
2264
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2265
+ - **Local override:** Committed only: set in autobuild.toml.
1959
2266
 
1960
2267
  **Description:** Ordered names of the configured step tables. Names contain only ASCII letters, digits, ., _ and -, excluding "." and "..". Every listed step must have a table and every table must be listed.
1961
2268
 
@@ -1969,6 +2276,7 @@ are errors.
1969
2276
  - **Default:** `omitted`
1970
2277
  - **Required:** Required
1971
2278
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2279
+ - **Local override:** Committed only: set in autobuild.toml.
1972
2280
 
1973
2281
  **Description:** Named step. Select exactly one strict variant using kind; command belongs only to check, skill only to agent.
1974
2282
 
@@ -1982,6 +2290,7 @@ are errors.
1982
2290
  - **Default:** `omitted`
1983
2291
  - **Required:** Required when kind = "check"
1984
2292
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2293
+ - **Local override:** Committed only: set in autobuild.toml.
1985
2294
 
1986
2295
  **Description:** Select the strict step variant. Fields from another variant are rejected.
1987
2296
 
@@ -1995,6 +2304,7 @@ are errors.
1995
2304
  - **Default:** `omitted`
1996
2305
  - **Required:** Required when kind = "check"
1997
2306
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2307
+ - **Local override:** Committed only: set in autobuild.toml.
1998
2308
 
1999
2309
  **Description:** Name of an existing command in [commands]; required for check steps and forbidden for agent steps.
2000
2310
 
@@ -2008,6 +2318,7 @@ are errors.
2008
2318
  - **Default:** `omitted`
2009
2319
  - **Required:** Required when kind = "agent"
2010
2320
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2321
+ - **Local override:** Committed only: set in autobuild.toml.
2011
2322
 
2012
2323
  **Description:** Select the strict step variant. Fields from another variant are rejected.
2013
2324
 
@@ -2021,6 +2332,7 @@ are errors.
2021
2332
  - **Default:** `omitted`
2022
2333
  - **Required:** Required when kind = "agent"
2023
2334
  - **Reload:** Hot: next dispatcher action captures the accepted value. Build-owned pipeline: captured from the execution checkout each verify cycle; later base-branch edits do not replace it. Workspace provisioning applies at the next build launch. A running invocation keeps its captured values.
2335
+ - **Local override:** Committed only: set in autobuild.toml.
2024
2336
 
2025
2337
  **Description:** Exact installed skill name; required for agent steps and forbidden for check steps.
2026
2338
 
@@ -2108,6 +2420,7 @@ session starts, with a copyable table and all registered runtime names.
2108
2420
  - **Default:** `{} (input supplied on omission)`
2109
2421
  - **Required:** Optional
2110
2422
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2423
+ - **Local override:** Allowed in .autobuild/local.toml.
2111
2424
 
2112
2425
  **Description:** Named agent roles. The reserved default role provides inherited runtime axes.
2113
2426
 
@@ -2121,6 +2434,7 @@ session starts, with a copyable table and all registered runtime names.
2121
2434
  - **Default:** `omitted`
2122
2435
  - **Required:** Required
2123
2436
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2437
+ - **Local override:** Allowed in .autobuild/local.toml.
2124
2438
 
2125
2439
  **Description:** Named role inheriting each omitted axis from roles.default. The default role must name a registered runtime.
2126
2440
 
@@ -2134,6 +2448,7 @@ session starts, with a copyable table and all registered runtime names.
2134
2448
  - **Default:** `omitted`
2135
2449
  - **Required:** Optional
2136
2450
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2451
+ - **Local override:** Allowed in .autobuild/local.toml.
2137
2452
 
2138
2453
  **Description:** Named billing account; inherits independently. Claude selects the sole subscription account when omitted.
2139
2454
 
@@ -2147,6 +2462,7 @@ session starts, with a copyable table and all registered runtime names.
2147
2462
  - **Default:** `omitted`
2148
2463
  - **Required:** Optional
2149
2464
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2465
+ - **Local override:** Allowed in .autobuild/local.toml.
2150
2466
 
2151
2467
  **Description:** Select an agent adapter.
2152
2468
 
@@ -2160,8 +2476,9 @@ session starts, with a copyable table and all registered runtime names.
2160
2476
  - **Default:** `omitted`
2161
2477
  - **Required:** Optional
2162
2478
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2479
+ - **Local override:** Allowed in .autobuild/local.toml.
2163
2480
 
2164
- **Description:** Select the exact model. Codex uses unqualified `gpt-*`; Pi ids are provider-qualified.
2481
+ **Description:** Select the exact model. Codex uses unqualified `gpt-*`; Antigravity uses unqualified `gemini-*`, `claude-*` or `gpt-*` slugs; Pi ids are provider-qualified.
2165
2482
 
2166
2483
  **Constraints:** minimum length 1; Omission inherits the base model, otherwise uses the selected runtime default. Must be compatible with that runtime.
2167
2484
 
@@ -2173,6 +2490,7 @@ session starts, with a copyable table and all registered runtime names.
2173
2490
  - **Default:** `omitted`
2174
2491
  - **Required:** Optional
2175
2492
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2493
+ - **Local override:** Allowed in .autobuild/local.toml.
2176
2494
 
2177
2495
  **Description:** Ordered extra CLI argv tokens applied to every phase and tool-free one-shot invocation. A supplied list replaces, rather than unions with, the inherited list.
2178
2496
 
@@ -2186,6 +2504,7 @@ session starts, with a copyable table and all registered runtime names.
2186
2504
  - **Default:** `omitted`
2187
2505
  - **Required:** Optional
2188
2506
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2507
+ - **Local override:** Allowed in .autobuild/local.toml.
2189
2508
 
2190
2509
  **Description:** Compatibility-only field. Dispatch warns for each declaring role; migrate explicit runtime options to `args`.
2191
2510
 
@@ -2199,6 +2518,7 @@ session starts, with a copyable table and all registered runtime names.
2199
2518
  - **Default:** `omitted`
2200
2519
  - **Required:** Optional
2201
2520
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2521
+ - **Local override:** Allowed in .autobuild/local.toml.
2202
2522
 
2203
2523
  **Description:** Active-time budget for each build phase session routed through this logical role. Suspended intervals are excluded; native continuation retains the original ceiling and accumulated active time. One budget covers the primary and every alternate target.
2204
2524
 
@@ -2212,6 +2532,7 @@ session starts, with a copyable table and all registered runtime names.
2212
2532
  - **Default:** `omitted`
2213
2533
  - **Required:** Optional
2214
2534
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2535
+ - **Local override:** Allowed in .autobuild/local.toml.
2215
2536
 
2216
2537
  **Description:** Failure-triggered execution targets (provider failures and a runtime whose CLI is not installed). A role's list replaces the inherited list wholesale; each entry overlays that role's effective primary axes. `extensions` is accepted there only as the same deprecated no-op.
2217
2538
 
@@ -2225,6 +2546,7 @@ session starts, with a copyable table and all registered runtime names.
2225
2546
  - **Default:** `omitted`
2226
2547
  - **Required:** Optional
2227
2548
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2549
+ - **Local override:** Allowed in .autobuild/local.toml.
2228
2550
 
2229
2551
  **Description:** Named billing account; inherits independently. Claude selects the sole subscription account when omitted.
2230
2552
 
@@ -2238,6 +2560,7 @@ session starts, with a copyable table and all registered runtime names.
2238
2560
  - **Default:** `omitted`
2239
2561
  - **Required:** Optional
2240
2562
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2563
+ - **Local override:** Allowed in .autobuild/local.toml.
2241
2564
 
2242
2565
  **Description:** Select an agent adapter.
2243
2566
 
@@ -2251,8 +2574,9 @@ session starts, with a copyable table and all registered runtime names.
2251
2574
  - **Default:** `omitted`
2252
2575
  - **Required:** Optional
2253
2576
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2577
+ - **Local override:** Allowed in .autobuild/local.toml.
2254
2578
 
2255
- **Description:** Select the exact model. Codex uses unqualified `gpt-*`; Pi ids are provider-qualified.
2579
+ **Description:** Select the exact model. Codex uses unqualified `gpt-*`; Antigravity uses unqualified `gemini-*`, `claude-*` or `gpt-*` slugs; Pi ids are provider-qualified.
2256
2580
 
2257
2581
  **Constraints:** minimum length 1; Omission inherits the base model, otherwise uses the selected runtime default. Must be compatible with that runtime.
2258
2582
 
@@ -2264,6 +2588,7 @@ session starts, with a copyable table and all registered runtime names.
2264
2588
  - **Default:** `omitted`
2265
2589
  - **Required:** Optional
2266
2590
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2591
+ - **Local override:** Allowed in .autobuild/local.toml.
2267
2592
 
2268
2593
  **Description:** Ordered extra CLI argv tokens applied to every phase and tool-free one-shot invocation. A supplied list replaces, rather than unions with, the inherited list.
2269
2594
 
@@ -2277,6 +2602,7 @@ session starts, with a copyable table and all registered runtime names.
2277
2602
  - **Default:** `omitted`
2278
2603
  - **Required:** Optional
2279
2604
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2605
+ - **Local override:** Allowed in .autobuild/local.toml.
2280
2606
 
2281
2607
  **Description:** Compatibility-only field. Dispatch warns for each declaring role; migrate explicit runtime options to `args`.
2282
2608
 
@@ -2318,7 +2644,9 @@ model uses the default for its own selected account and runtime. Each configured
2318
2644
  one argv token; Autobuild does not shell-expand it. The narrow rejected set is
2319
2645
  derived from the model and machine-readable protocol options each adapter emits:
2320
2646
  Claude rejects `-p`/`--print`, `--output-format`, and `--model`; Codex rejects
2321
- `--json` and `--model`/`-m`; Pi rejects `--mode` and `--model`. Claude and Codex
2647
+ `--json` and `--model`/`-m`; Pi rejects `--mode` and `--model`; Antigravity
2648
+ rejects `-p`/`--print`/`--prompt`, `--output-format`, `--input-format`, and
2649
+ `--model`. Claude and Codex
2322
2650
  also reject a standalone `--` because Autobuild owns and appends that structural
2323
2651
  separator immediately before their positional prompt. Claude routes with a selected
2324
2652
  account additionally reject `--settings`, `--setting-sources`, and `--bare`
@@ -2329,7 +2657,11 @@ configuration routing. This includes using `-c` to set reasoning effort. Routes
2329
2657
  without an account retain the existing argument behavior. Those option spellings,
2330
2658
  `--option=value` forms, compact documented short aliases, and the exact affected
2331
2659
  prompt separator join the eager aggregated startup error with a
2332
- role/runtime-specific diagnostic. Every other option passes through without
2660
+ role/runtime-specific diagnostic. Antigravity also owns conversation
2661
+ selection: a role argument naming `--conversation`, `--continue`/`-c`, or
2662
+ `--prompt-interactive`/`-i`, including `--option=value` forms, is not an eager
2663
+ startup error but fails each turn as a configuration failure before `agy`
2664
+ launches. Every other option passes through without
2333
2665
  Autobuild validation, including sandbox, approval, session, tool, skill,
2334
2666
  thinking, extension, lifecycle, unknown options, and arguments that merely
2335
2667
  contain two hyphens, even when they supplement another occurrence emitted by the
@@ -2337,8 +2669,8 @@ adapter. Unknown fields,
2337
2669
  runtimes, and incompatible models in any indexed entry join the aggregated
2338
2670
  eager startup error; they never first surface during an outage.
2339
2671
 
2340
- Three runtimes ship: `claude`, `codex`, and `pi`; `ab plugin list` projects all
2341
- three as builtin agent runtimes, and trusted plugins may register additional
2672
+ Four runtimes ship: `claude`, `codex`, `pi`, and `antigravity`; `ab plugin list`
2673
+ projects all four as builtin agent runtimes, and trusted plugins may register additional
2342
2674
  names. The `pi` runtime requires a locally installed Pi CLI version 0.84.3 or
2343
2675
  newer and uses that installation's login and model catalog through headless RPC;
2344
2676
  Autobuild does not install Pi. `ab init` reports a missing or older executable
@@ -2349,7 +2681,9 @@ validation and event attribution. With no configured or inherited model, a Claud
2349
2681
  route selecting a Kimi Code account uses `kimi-for-coding`. Other routes use their
2350
2682
  runtime's declared default when present: Claude and Codex delegate to their local
2351
2683
  CLI's selected default, while Pi declares `kimi-coding/k3`. Codex accepts unqualified `gpt-*`
2352
- ids. Pi ids remain provider-qualified—including the independent
2684
+ ids. Antigravity accepts unqualified `gemini-*`, `claude-*` and `gpt-*` slugs,
2685
+ delegates an omitted model to its local `agy` default, and declares no tool-free
2686
+ one-shot. Pi ids remain provider-qualified—including the independent
2353
2687
  `openai-codex/*` route—and `ab models [query]` looks them up. Pi always passes
2354
2688
  `--no-extensions` to disable ambient package discovery and loads the Autobuild
2355
2689
  bridge explicitly. Repeatable `--extension <path>` tokens in `args` supplement
@@ -2365,11 +2699,12 @@ opt-in:
2365
2699
  `AB_RUN_LIVE_PORT_CONTRACTS=1 AB_CODEX_CONTRACT_MODEL=gpt-… bun test packages/core/src/ports/runner/codex.live.integration.test.ts`.
2366
2700
 
2367
2701
  Core agent phases route by phase name (`plan`, `plan-review`, `implement`,
2368
- `code-review`, `finalize`, and `reconcile`). Agent verify steps and agent
2702
+ `code-review`, `finalize`, `reconcile`, and an optimization node's `propose`). Agent verify steps and agent
2369
2703
  finalize post-steps both route by their logical step name. The verify step's
2370
2704
  configured skill name remains a deprecated alias for existing configurations
2371
2705
  and will be removed in a future release. Repository judgments use `harvest` and
2372
- `harvest-review`; `slug` and `upgrade` configure tool-free one-shot judgments.
2706
+ `harvest-review`; each judge session of an optimization objective's judge panel
2707
+ uses `judge`; `slug` and `upgrade` configure tool-free one-shot judgments.
2373
2708
  Arbitrary additional role keys are accepted, but only a name selected by one of
2374
2709
  these routes affects a session.
2375
2710
 
@@ -2381,7 +2716,11 @@ session or changes which runtime and model run. `kind = "check"` steps start no
2381
2716
  session and so are not a route: naming a role after one does not make it
2382
2717
  consumed. It is reported only when that check step is its sole apparent route —
2383
2718
  a check step named `plan` leaves `[roles.plan]` consumed by the core `plan`
2384
- phase, and nothing is reported.
2719
+ phase, and nothing is reported. `[profiles.<name>.roles.<role>]` entries are
2720
+ reported the same way, named by their profile table, against the profile's own
2721
+ list of valid keys. A profile entry on `slug`, `upgrade`, `harvest` or
2722
+ `harvest-review` counts as unconsumed, because those sessions never use a
2723
+ profile.
2385
2724
 
2386
2725
  Resolver construction validates `default`, every declared role, and every
2387
2726
  alternate eagerly and aggregates all unknown-runtime and incompatible-model
@@ -2404,7 +2743,10 @@ policy, so final quota/usage/billing exhaustion parks immediately while a final
2404
2743
  availability failure consumes one existing bounded attempt. `session.started`
2405
2744
  records each selected runtime/model and substitution cause, and an exhausted
2406
2745
  failure records every tried target and verbatim error for policy escalation.
2407
- The chain applies to core phases, agent verify/finalize steps, and Harvest.
2746
+ The chain applies to core phases, agent verify/finalize steps, Harvest, and
2747
+ the judge sessions of a judge panel. A judge's alternate runs in the same judge
2748
+ root and order; its start is `panel.judge-started` rather than
2749
+ `session.started`, and only the chain's last failure counts toward the judge.
2408
2750
  Tool-free one-shot completions such as slug and upgrade use only the primary.
2409
2751
 
2410
2752
  For build sessions, the kernel starts the captured role budget after the durable
@@ -2459,8 +2801,12 @@ session. If a reload removes the profile, those builds continue on the
2459
2801
  repository roles and `ab build status` reports the profile as no longer
2460
2802
  configured. Duplicate labels, a blank label, and an entry whose effective
2461
2803
  runtime, model, args or account is invalid are refused at load, by
2462
- `ab init --validate`, and on live reload. Sessions outside a build (`slug`,
2463
- `upgrade`, `harvest`, `harvest-review`) never use a profile.
2804
+ `ab init --validate`, and on live reload. Judge sessions are build sessions, so
2805
+ the build's profile applies to them. Sessions outside a build (`slug`,
2806
+ `upgrade`, `harvest`, `harvest-review`) never use a profile. As for
2807
+ `[roles]`, `ab dispatch` warns at startup for a profile entry nothing requests,
2808
+ a deprecated skill-name key, or deprecated `extensions`, naming the
2809
+ `[profiles.<name>.roles.<role>]` table to change.
2464
2810
 
2465
2811
  <!-- configuration-reference:profiles -->
2466
2812
 
@@ -2472,6 +2818,7 @@ runtime, model, args or account is invalid are refused at load, by
2472
2818
  - **Default:** `{} (input supplied on omission)`
2473
2819
  - **Required:** Optional
2474
2820
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2821
+ - **Local override:** Committed only: set in autobuild.toml.
2475
2822
 
2476
2823
  **Description:** Named role profiles selected by ticket label. A profile overrides only the role fields it declares, for the builds that selected it.
2477
2824
 
@@ -2485,6 +2832,7 @@ runtime, model, args or account is invalid are refused at load, by
2485
2832
  - **Default:** `omitted`
2486
2833
  - **Required:** Required
2487
2834
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2835
+ - **Local override:** Committed only: set in autobuild.toml.
2488
2836
 
2489
2837
  **Description:** Named role profile. The build's profile is fixed when its ticket is claimed; the profile's contents are read at each session boundary.
2490
2838
 
@@ -2498,6 +2846,7 @@ runtime, model, args or account is invalid are refused at load, by
2498
2846
  - **Default:** `omitted`
2499
2847
  - **Required:** Required
2500
2848
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2849
+ - **Local override:** Committed only: set in autobuild.toml.
2501
2850
 
2502
2851
  **Description:** Ticket label that selects this profile, matched case-insensitively after trimming. A ticket carrying two profiles' labels is not claimed.
2503
2852
 
@@ -2511,6 +2860,7 @@ runtime, model, args or account is invalid are refused at load, by
2511
2860
  - **Default:** `{} (input supplied on omission)`
2512
2861
  - **Required:** Optional
2513
2862
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2863
+ - **Local override:** Committed only: set in autobuild.toml.
2514
2864
 
2515
2865
  **Description:** Role entries this profile overrides. Any role name is accepted except the reserved default.
2516
2866
 
@@ -2524,6 +2874,7 @@ runtime, model, args or account is invalid are refused at load, by
2524
2874
  - **Default:** `omitted`
2525
2875
  - **Required:** Required
2526
2876
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2877
+ - **Local override:** Committed only: set in autobuild.toml.
2527
2878
 
2528
2879
  **Description:** Role override for builds whose ticket carries the profile's label. Omitted fields inherit `[roles.<role>]`, then `[roles.default]`; a declared alternates list, including [], replaces the inherited list.
2529
2880
 
@@ -2537,6 +2888,7 @@ runtime, model, args or account is invalid are refused at load, by
2537
2888
  - **Default:** `omitted`
2538
2889
  - **Required:** Optional
2539
2890
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2891
+ - **Local override:** Committed only: set in autobuild.toml.
2540
2892
 
2541
2893
  **Description:** Named billing account; inherits independently. Claude selects the sole subscription account when omitted.
2542
2894
 
@@ -2550,6 +2902,7 @@ runtime, model, args or account is invalid are refused at load, by
2550
2902
  - **Default:** `omitted`
2551
2903
  - **Required:** Optional
2552
2904
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2905
+ - **Local override:** Committed only: set in autobuild.toml.
2553
2906
 
2554
2907
  **Description:** Select an agent adapter.
2555
2908
 
@@ -2563,8 +2916,9 @@ runtime, model, args or account is invalid are refused at load, by
2563
2916
  - **Default:** `omitted`
2564
2917
  - **Required:** Optional
2565
2918
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2919
+ - **Local override:** Committed only: set in autobuild.toml.
2566
2920
 
2567
- **Description:** Select the exact model. Codex uses unqualified `gpt-*`; Pi ids are provider-qualified.
2921
+ **Description:** Select the exact model. Codex uses unqualified `gpt-*`; Antigravity uses unqualified `gemini-*`, `claude-*` or `gpt-*` slugs; Pi ids are provider-qualified.
2568
2922
 
2569
2923
  **Constraints:** minimum length 1; Omission inherits the base model, otherwise uses the selected runtime default. Must be compatible with that runtime.
2570
2924
 
@@ -2576,6 +2930,7 @@ runtime, model, args or account is invalid are refused at load, by
2576
2930
  - **Default:** `omitted`
2577
2931
  - **Required:** Optional
2578
2932
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2933
+ - **Local override:** Committed only: set in autobuild.toml.
2579
2934
 
2580
2935
  **Description:** Ordered extra CLI argv tokens applied to every phase and tool-free one-shot invocation. A supplied list replaces, rather than unions with, the inherited list.
2581
2936
 
@@ -2589,6 +2944,7 @@ runtime, model, args or account is invalid are refused at load, by
2589
2944
  - **Default:** `omitted`
2590
2945
  - **Required:** Optional
2591
2946
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2947
+ - **Local override:** Committed only: set in autobuild.toml.
2592
2948
 
2593
2949
  **Description:** Compatibility-only field. Dispatch warns for each declaring role; migrate explicit runtime options to `args`.
2594
2950
 
@@ -2602,6 +2958,7 @@ runtime, model, args or account is invalid are refused at load, by
2602
2958
  - **Default:** `omitted`
2603
2959
  - **Required:** Optional
2604
2960
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2961
+ - **Local override:** Committed only: set in autobuild.toml.
2605
2962
 
2606
2963
  **Description:** Active-time budget for each build phase session routed through this role in a profiled build. Suspended intervals are excluded; native continuation retains the original ceiling and accumulated active time. One budget covers the primary and every alternate target.
2607
2964
 
@@ -2615,6 +2972,7 @@ runtime, model, args or account is invalid are refused at load, by
2615
2972
  - **Default:** `omitted`
2616
2973
  - **Required:** Optional
2617
2974
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2975
+ - **Local override:** Committed only: set in autobuild.toml.
2618
2976
 
2619
2977
  **Description:** Failure-triggered execution targets (provider failures and a runtime whose CLI is not installed). A role's list replaces the inherited list wholesale; each entry overlays that role's effective primary axes. `extensions` is accepted there only as the same deprecated no-op.
2620
2978
 
@@ -2628,6 +2986,7 @@ runtime, model, args or account is invalid are refused at load, by
2628
2986
  - **Default:** `omitted`
2629
2987
  - **Required:** Optional
2630
2988
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
2989
+ - **Local override:** Committed only: set in autobuild.toml.
2631
2990
 
2632
2991
  **Description:** Named billing account; inherits independently. Claude selects the sole subscription account when omitted.
2633
2992
 
@@ -2641,6 +3000,7 @@ runtime, model, args or account is invalid are refused at load, by
2641
3000
  - **Default:** `omitted`
2642
3001
  - **Required:** Optional
2643
3002
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3003
+ - **Local override:** Committed only: set in autobuild.toml.
2644
3004
 
2645
3005
  **Description:** Select an agent adapter.
2646
3006
 
@@ -2654,8 +3014,9 @@ runtime, model, args or account is invalid are refused at load, by
2654
3014
  - **Default:** `omitted`
2655
3015
  - **Required:** Optional
2656
3016
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3017
+ - **Local override:** Committed only: set in autobuild.toml.
2657
3018
 
2658
- **Description:** Select the exact model. Codex uses unqualified `gpt-*`; Pi ids are provider-qualified.
3019
+ **Description:** Select the exact model. Codex uses unqualified `gpt-*`; Antigravity uses unqualified `gemini-*`, `claude-*` or `gpt-*` slugs; Pi ids are provider-qualified.
2659
3020
 
2660
3021
  **Constraints:** minimum length 1; Omission inherits the base model, otherwise uses the selected runtime default. Must be compatible with that runtime.
2661
3022
 
@@ -2667,6 +3028,7 @@ runtime, model, args or account is invalid are refused at load, by
2667
3028
  - **Default:** `omitted`
2668
3029
  - **Required:** Optional
2669
3030
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3031
+ - **Local override:** Committed only: set in autobuild.toml.
2670
3032
 
2671
3033
  **Description:** Ordered extra CLI argv tokens applied to every phase and tool-free one-shot invocation. A supplied list replaces, rather than unions with, the inherited list.
2672
3034
 
@@ -2680,6 +3042,7 @@ runtime, model, args or account is invalid are refused at load, by
2680
3042
  - **Default:** `omitted`
2681
3043
  - **Required:** Optional
2682
3044
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3045
+ - **Local override:** Committed only: set in autobuild.toml.
2683
3046
 
2684
3047
  **Description:** Compatibility-only field. Dispatch warns for each declaring role; migrate explicit runtime options to `args`.
2685
3048
 
@@ -2689,8 +3052,22 @@ runtime, model, args or account is invalid are refused at load, by
2689
3052
 
2690
3053
  ## `[policy]`
2691
3054
 
2692
- Optional. Every field receives its own default. All are positive integers except
2693
- `harvestMaxDrift`, which is nonnegative so zero can disable that trigger.
3055
+ Optional. Every field receives its own default unless noted. All are positive
3056
+ integers except `harvestMaxDrift`, which is nonnegative so zero can disable that
3057
+ trigger, and the open-PR backpressure keys: `maxOpenPrs` has no default (unset
3058
+ disables backpressure), `resumeOpenPrs` is a nonnegative integer that defaults
3059
+ to `maxOpenPrs - 1` and may not exceed it, and `excludeHeldOpenPrs` is a boolean
3060
+ that defaults to `false`.
3061
+
3062
+ While open unmerged root PRs (leaves and integration nodes; not children of a
3063
+ node) reach `maxOpenPrs`, the dispatcher makes no new ordinary ready-queue
3064
+ claim of a `normal`-priority ticket until the count drops to `resumeOpenPrs`. Reaching `maxOpenPrs` takes
3065
+ precedence: when `resumeOpenPrs` equals `maxOpenPrs`, intake stays paused at
3066
+ that count and resumes once the count falls below it. Urgent claims, in-flight
3067
+ builds, reconciles and landings continue; capacity is unchanged. Every `ab start`
3068
+ (`tickets.start`) tier bypasses backpressure for its one ticket, still subject to
3069
+ capacity and repository pause. `ab repository
3070
+ status` reports the state as `capacity.backpressure`.
2694
3071
 
2695
3072
  <!-- configuration-reference:policy -->
2696
3073
 
@@ -2702,6 +3079,7 @@ Optional. Every field receives its own default. All are positive integers except
2702
3079
  - **Default:** `{} (input supplied on omission; nested defaults apply)`
2703
3080
  - **Required:** Optional
2704
3081
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3082
+ - **Local override:** Committed only: set in autobuild.toml.
2705
3083
 
2706
3084
  **Description:** Lifecycle budgets, retries, convergence and harvest limits.
2707
3085
 
@@ -2715,6 +3093,7 @@ Optional. Every field receives its own default. All are positive integers except
2715
3093
  - **Default:** `900`
2716
3094
  - **Required:** Optional
2717
3095
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3096
+ - **Local override:** Committed only: set in autobuild.toml.
2718
3097
 
2719
3098
  **Description:** Deadline for a retiring generation, relative to handoff start; hot-reloaded during drain.
2720
3099
 
@@ -2728,6 +3107,7 @@ Optional. Every field receives its own default. All are positive integers except
2728
3107
  - **Default:** `60`
2729
3108
  - **Required:** Optional
2730
3109
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3110
+ - **Local override:** Committed only: set in autobuild.toml.
2731
3111
 
2732
3112
  **Description:** How long the repository dispatch lease survives without renewal. A dispatcher that stalls longer reclaims it on waking unless another run took it; a standby takes over a dead holder within this bound. A change takes effect at the dispatcher's next tick.
2733
3113
 
@@ -2741,6 +3121,7 @@ Optional. Every field receives its own default. All are positive integers except
2741
3121
  - **Default:** `20`
2742
3122
  - **Required:** Optional
2743
3123
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3124
+ - **Local override:** Committed only: set in autobuild.toml.
2744
3125
 
2745
3126
  **Description:** Interval between repository dispatch lease renewals; adopted together with the timeout.
2746
3127
 
@@ -2754,6 +3135,7 @@ Optional. Every field receives its own default. All are positive integers except
2754
3135
  - **Default:** `3600`
2755
3136
  - **Required:** Optional
2756
3137
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3138
+ - **Local override:** Committed only: set in autobuild.toml.
2757
3139
 
2758
3140
  **Description:** Active-time bound for each build agent session unless its logical role overrides it. Native continuation retains the original ceiling; suspension does not consume it.
2759
3141
 
@@ -2767,6 +3149,7 @@ Optional. Every field receives its own default. All are positive integers except
2767
3149
  - **Default:** `3`
2768
3150
  - **Required:** Optional
2769
3151
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3152
+ - **Local override:** Committed only: set in autobuild.toml.
2770
3153
 
2771
3154
  **Description:** Escalate when the same review finding survives this many rounds.
2772
3155
 
@@ -2780,6 +3163,7 @@ Optional. Every field receives its own default. All are positive integers except
2780
3163
  - **Default:** `3`
2781
3164
  - **Required:** Optional
2782
3165
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3166
+ - **Local override:** Committed only: set in autobuild.toml.
2783
3167
 
2784
3168
  **Description:** Bound failure-driven verify → implement retry cycles.
2785
3169
 
@@ -2793,6 +3177,7 @@ Optional. Every field receives its own default. All are positive integers except
2793
3177
  - **Default:** `3`
2794
3178
  - **Required:** Optional
2795
3179
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3180
+ - **Local override:** Committed only: set in autobuild.toml.
2796
3181
 
2797
3182
  **Description:** Bound consecutive dispatch failures before a setup-targeted `dispatch-failure-limit` escalation.
2798
3183
 
@@ -2806,6 +3191,7 @@ Optional. Every field receives its own default. All are positive integers except
2806
3191
  - **Default:** `3`
2807
3192
  - **Required:** Optional
2808
3193
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3194
+ - **Local override:** Committed only: set in autobuild.toml.
2809
3195
 
2810
3196
  **Description:** Bound consecutive workspace setup failures before a setup-targeted policy escalation.
2811
3197
 
@@ -2819,8 +3205,9 @@ Optional. Every field receives its own default. All are positive integers except
2819
3205
  - **Default:** `3`
2820
3206
  - **Required:** Optional
2821
3207
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3208
+ - **Local override:** Committed only: set in autobuild.toml.
2822
3209
 
2823
- **Description:** Bound consecutive provision/start/wait/cleanup failures before a setup-targeted policy escalation; a `retry` answer from your operator agent or you re-arms this budget.
3210
+ **Description:** Bound consecutive provision/start/wait/cleanup failures before a setup-targeted policy escalation; a `retry` answer from your operator agent or you re-arms this budget. Provisioning abandoned at a recorded dispatcher teardown never consumes it.
2824
3211
 
2825
3212
  **Constraints:** safe integer; > 0
2826
3213
 
@@ -2832,6 +3219,7 @@ Optional. Every field receives its own default. All are positive integers except
2832
3219
  - **Default:** `3`
2833
3220
  - **Required:** Optional
2834
3221
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3222
+ - **Local override:** Committed only: set in autobuild.toml.
2835
3223
 
2836
3224
  **Description:** Bound completed reconciles that leave the PR conflicted against an unchanged authoritative base. Moving-base races do not consume the bound.
2837
3225
 
@@ -2845,6 +3233,7 @@ Optional. Every field receives its own default. All are positive integers except
2845
3233
  - **Default:** `6`
2846
3234
  - **Required:** Optional
2847
3235
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3236
+ - **Local override:** Committed only: set in autobuild.toml.
2848
3237
 
2849
3238
  **Description:** Default bound for each plan/review and implement/review convergence loop. Your agent may replace it for one parked build loop and current spec revision with `ab answer --review-round-ceiling`; other builds are unaffected.
2850
3239
 
@@ -2858,6 +3247,7 @@ Optional. Every field receives its own default. All are positive integers except
2858
3247
  - **Default:** `5`
2859
3248
  - **Required:** Optional
2860
3249
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3250
+ - **Local override:** Committed only: set in autobuild.toml.
2861
3251
 
2862
3252
  **Description:** New unclaimed observation occurrences needed to start one harvest run.
2863
3253
 
@@ -2871,6 +3261,7 @@ Optional. Every field receives its own default. All are positive integers except
2871
3261
  - **Default:** `600`
2872
3262
  - **Required:** Optional
2873
3263
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3264
+ - **Local override:** Committed only: set in autobuild.toml.
2874
3265
 
2875
3266
  **Description:** Consecutive janitor failure duration before build attention.
2876
3267
 
@@ -2884,6 +3275,7 @@ Optional. Every field receives its own default. All are positive integers except
2884
3275
  - **Default:** `3600`
2885
3276
  - **Required:** Optional
2886
3277
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3278
+ - **Local override:** Committed only: set in autobuild.toml.
2887
3279
 
2888
3280
  **Description:** Consecutive janitor failure duration before the build raises one escalation; the janitor keeps retrying.
2889
3281
 
@@ -2897,6 +3289,7 @@ Optional. Every field receives its own default. All are positive integers except
2897
3289
  - **Default:** `600`
2898
3290
  - **Required:** Optional
2899
3291
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3292
+ - **Local override:** Committed only: set in autobuild.toml.
2900
3293
 
2901
3294
  **Description:** Quiet period before opened integration nodes enter idle polling.
2902
3295
 
@@ -2910,6 +3303,7 @@ Optional. Every field receives its own default. All are positive integers except
2910
3303
  - **Default:** `120`
2911
3304
  - **Required:** Optional
2912
3305
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3306
+ - **Local override:** Committed only: set in autobuild.toml.
2913
3307
 
2914
3308
  **Description:** Interval between idle node checks; durable activity wakes the next tick.
2915
3309
 
@@ -2923,6 +3317,7 @@ Optional. Every field receives its own default. All are positive integers except
2923
3317
  - **Default:** `300`
2924
3318
  - **Required:** Optional
2925
3319
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3320
+ - **Local override:** Committed only: set in autobuild.toml.
2926
3321
 
2927
3322
  **Description:** Cap on exponential janitor retry delay, starting at 30 seconds.
2928
3323
 
@@ -2936,11 +3331,54 @@ Optional. Every field receives its own default. All are positive integers except
2936
3331
  - **Default:** `3`
2937
3332
  - **Required:** Optional
2938
3333
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3334
+ - **Local override:** Committed only: set in autobuild.toml.
2939
3335
 
2940
3336
  **Description:** Other builds merged after the oldest unclaimed observation needed to start a run; `0` disables drift.
2941
3337
 
2942
3338
  **Constraints:** safe integer; ≥ 0
2943
3339
 
3340
+ #### `policy.maxOpenPrs`
3341
+
3342
+ **TOML key:** `policy.maxOpenPrs`
3343
+
3344
+ - **Type:** `number`
3345
+ - **Default:** `omitted`
3346
+ - **Required:** Optional
3347
+ - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3348
+ - **Local override:** Committed only: set in autobuild.toml.
3349
+
3350
+ **Description:** Open unmerged root build PRs (leaves and integration nodes) at which the dispatcher stops ordinary ready-queue claims of `normal`-priority tickets. In-flight work, reconciles, landings, `urgent` claims and every `ab start` (`tickets.start`) request continue, subject to capacity and repository pause. Unset disables open-PR backpressure.
3351
+
3352
+ **Constraints:** safe integer; > 0
3353
+
3354
+ #### `policy.resumeOpenPrs`
3355
+
3356
+ **TOML key:** `policy.resumeOpenPrs`
3357
+
3358
+ - **Type:** `number`
3359
+ - **Default:** `omitted`
3360
+ - **Required:** Optional
3361
+ - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3362
+ - **Local override:** Committed only: set in autobuild.toml.
3363
+
3364
+ **Description:** Open root PR count at or below which paused `normal` intake resumes; defaults to `maxOpenPrs - 1`. Reaching `maxOpenPrs` takes precedence, so when this equals `maxOpenPrs` intake stays paused at that count and resumes once the count falls below `maxOpenPrs`. Inert without `maxOpenPrs`.
3365
+
3366
+ **Constraints:** safe integer; ≥ 0; Must not exceed `maxOpenPrs`.
3367
+
3368
+ #### `policy.excludeHeldOpenPrs`
3369
+
3370
+ **TOML key:** `policy.excludeHeldOpenPrs`
3371
+
3372
+ - **Type:** `boolean`
3373
+ - **Default:** `false`
3374
+ - **Required:** Optional
3375
+ - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3376
+ - **Local override:** Committed only: set in autobuild.toml.
3377
+
3378
+ **Description:** Leave PRs whose active landing command is `hold` out of the open-PR backpressure count. Inert without `maxOpenPrs`.
3379
+
3380
+ **Constraints:** None beyond the input type.
3381
+
2944
3382
  <!-- configuration-reference:/policy -->
2945
3383
 
2946
3384
  Dispatch failures share a `[policy].maxDispatchAttempts` budget (default 3) across
@@ -3049,6 +3487,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3049
3487
  - **Default:** `{"source":"file"} (input supplied on omission; nested defaults apply)`
3050
3488
  - **Required:** Optional
3051
3489
  - **Reload:** Mixed: see individual fields for dispatcher reload behavior. A running invocation keeps its captured values.
3490
+ - **Local override:** Committed only: set in autobuild.toml.
3052
3491
 
3053
3492
  **Description:** Ticket source and lifecycle vocabulary. Omitting the table supplies source=file but still requires readyState.
3054
3493
 
@@ -3062,6 +3501,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3062
3501
  - **Default:** `omitted`
3063
3502
  - **Required:** Optional
3064
3503
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3504
+ - **Local override:** Committed only: set in autobuild.toml.
3065
3505
 
3066
3506
  **Description:** Ticket service independent of [store] url and AB_STORE. Required with local builds.
3067
3507
 
@@ -3075,6 +3515,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3075
3515
  - **Default:** `omitted`
3076
3516
  - **Required:** Required
3077
3517
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
3518
+ - **Local override:** Committed only: set in autobuild.toml.
3078
3519
 
3079
3520
  **Description:** Select the ticket adapter after configured plugins load.
3080
3521
 
@@ -3088,6 +3529,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3088
3529
  - **Default:** `omitted`
3089
3530
  - **Required:** Optional
3090
3531
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3532
+ - **Local override:** Committed only: set in autobuild.toml.
3091
3533
 
3092
3534
  **Description:** Require every listed label in addition to the state gate.
3093
3535
 
@@ -3101,6 +3543,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3101
3543
  - **Default:** `omitted`
3102
3544
  - **Required:** Required unless source = "hosted" or "github"; omission there resolves to "ready". GitHub states are `autobuild:<state>` labels.
3103
3545
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3546
+ - **Local override:** Committed only: set in autobuild.toml.
3104
3547
 
3105
3548
  **Description:** The one workflow state eligible for dispatch.
3106
3549
 
@@ -3114,6 +3557,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3114
3557
  - **Default:** `omitted`
3115
3558
  - **Required:** Optional
3116
3559
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3560
+ - **Local override:** Committed only: set in autobuild.toml.
3117
3561
 
3118
3562
  **Description:** Require the ticket to be assigned to one user, in addition to the state and label gates.
3119
3563
 
@@ -3127,11 +3571,26 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3127
3571
  - **Default:** `omitted`
3128
3572
  - **Required:** Optional
3129
3573
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3574
+ - **Local override:** Committed only: set in autobuild.toml.
3130
3575
 
3131
3576
  **Description:** Assign every ticket Autobuild creates (`ab ticket create`, operator `tickets.create`, harvest proposals) to one user unless the create names its own assignees.
3132
3577
 
3133
3578
  **Constraints:** [tickets].createAssignee must be a nonblank value with no surrounding whitespace; Allowed for github ("me" or a GitHub username) and plugin sources that declare assignees. Refused for file, hosted and linear.
3134
3579
 
3580
+ #### `tickets.createLabels`
3581
+
3582
+ **TOML key:** `tickets.createLabels`
3583
+
3584
+ - **Type:** `array of string`
3585
+ - **Default:** `omitted`
3586
+ - **Required:** Optional
3587
+ - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3588
+ - **Local override:** Committed only: set in autobuild.toml.
3589
+
3590
+ **Description:** Add these labels to every ticket Autobuild creates (`ab ticket create`, operator `tickets.create`, harvest proposals, optimization attempts), unioned with any labels the create names.
3591
+
3592
+ **Constraints:** Omission or [] adds none. Refused on github for `autobuild:<state>` and `autobuild-link:` labels and `node`, and on linear for `node`. On hosted, the ticket service must support createLabels in the published ticket policy. Ordinary labels: a name also in readyLabels, or covered by the github/linear default ["autobuild"], makes every Autobuild-filed ticket pass the label gate. `ab ticket import` never applies them.; Each item: [tickets].createLabels entries must be nonblank label names with no surrounding whitespace
3593
+
3135
3594
  #### `tickets.teamKey`
3136
3595
 
3137
3596
  **TOML key:** `tickets.teamKey`
@@ -3140,6 +3599,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3140
3599
  - **Default:** `omitted`
3141
3600
  - **Required:** Required for linear and hosted; forbidden for file and github; optional for plugins.
3142
3601
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
3602
+ - **Local override:** Committed only: set in autobuild.toml.
3143
3603
 
3144
3604
  **Description:** Backend team key such as `"ENG"`, or an existing plugin config field.
3145
3605
 
@@ -3153,6 +3613,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3153
3613
  - **Default:** `omitted`
3154
3614
  - **Required:** Optional
3155
3615
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
3616
+ - **Local override:** Committed only: set in autobuild.toml.
3156
3617
 
3157
3618
  **Description:** Workflow state entered when a ticket is claimed.
3158
3619
 
@@ -3166,6 +3627,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3166
3627
  - **Default:** `omitted`
3167
3628
  - **Required:** Optional
3168
3629
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3630
+ - **Local override:** Committed only: set in autobuild.toml.
3169
3631
 
3170
3632
  **Description:** Project completion state and merged-ticket transition.
3171
3633
 
@@ -3179,6 +3641,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3179
3641
  - **Default:** `omitted`
3180
3642
  - **Required:** Optional
3181
3643
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
3644
+ - **Local override:** Committed only: set in autobuild.toml.
3182
3645
 
3183
3646
  **Description:** Default state for newly created tickets when `ab ticket create` omits `--state`.
3184
3647
 
@@ -3192,8 +3655,9 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3192
3655
  - **Default:** `omitted`
3193
3656
  - **Required:** Optional
3194
3657
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3658
+ - **Local override:** Committed only: set in autobuild.toml.
3195
3659
 
3196
- **Description:** State used for spec-gate bounces, aborts (unless `ab abort --to ready` with a ticket that meets the spec standard), and closed-unmerged PRs.
3660
+ **Description:** State used for spec-gate bounces, aborts (unless `ab abort --to ready` with a ticket that meets the spec standard), and closed-unmerged PRs. An optimization attempt never returns here: an abort or closed PR settles it `aborted` and moves its ticket to rejectedState.
3197
3661
 
3198
3662
  **Constraints:** minimum length 1; state must be nonblank; Omission resolves to Backlog for Linear, triage for hosted and github, Triage for file/plugin sources.
3199
3663
 
@@ -3205,6 +3669,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3205
3669
  - **Default:** `omitted`
3206
3670
  - **Required:** Optional
3207
3671
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3672
+ - **Local override:** Committed only: set in autobuild.toml.
3208
3673
 
3209
3674
  **Description:** State harvest files its synthesized proposals into. Setting it to `readyState` waives the human grooming gate, not dependency eligibility.
3210
3675
 
@@ -3218,6 +3683,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3218
3683
  - **Default:** `omitted`
3219
3684
  - **Required:** Optional
3220
3685
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3686
+ - **Local override:** Committed only: set in autobuild.toml.
3221
3687
 
3222
3688
  **Description:** State that holds deliberately deferred work (the backlog role). Optional and recommended; unset means the role does not exist.
3223
3689
 
@@ -3231,10 +3697,11 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3231
3697
  - **Default:** `omitted`
3232
3698
  - **Required:** Optional
3233
3699
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
3700
+ - **Local override:** Committed only: set in autobuild.toml.
3234
3701
 
3235
- **Description:** State that holds considered-and-declined work (the rejected role). A rejected ticket never resolves a blocker and never keeps a node incomplete. Optional and recommended.
3702
+ **Description:** State that holds considered-and-declined work (the rejected role). A rejected ticket never resolves a blocker and never keeps a node incomplete. Optional and recommended; an optimization node requires it and is refused at dispatch without it, and the dispatcher moves each attempt that settles no-improvement, declined, stopped or aborted into it.
3236
3703
 
3237
- **Constraints:** minimum length 1; state must be nonblank; Optional for every source, no default; `ab init` writes it for new configurations. On github it maps to an issue closed as not planned. Must differ from the ready, claimed, done, triage and proposal states and from backlogState (case-insensitive).
3704
+ **Constraints:** minimum length 1; state must be nonblank; Optional for every source, no default, but required to open an optimization node; `ab init` writes it for new configurations. On github it maps to an issue closed as not planned. Must differ from the ready, claimed, done, triage and proposal states and from backlogState (case-insensitive).
3238
3705
 
3239
3706
  #### `tickets.dir`
3240
3707
 
@@ -3244,6 +3711,7 @@ state. Within a present table, `source` is required; `hosted` and `github` defau
3244
3711
  - **Default:** `omitted`
3245
3712
  - **Required:** Optional
3246
3713
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
3714
+ - **Local override:** Committed only: set in autobuild.toml.
3247
3715
 
3248
3716
  **Description:** Root containing file-source state directories, or an existing plugin config field. Relative file paths resolve from the repository.
3249
3717
 
@@ -3305,11 +3773,19 @@ shares its name is an ordinary custom state. `ab ticket move <id> --role
3305
3773
  backlog` (or `rejected`, `triage`, `ready`) moves a ticket by role; a role the
3306
3774
  repository has not configured is refused with the key to set, and a source that
3307
3775
  creates states creates the role state on first use. The dispatcher never claims
3308
- from, moves into, or files proposals into either state. A rejected ticket never
3776
+ from, moves into, or files proposals into either state, with one exception: an
3777
+ optimization attempt that settles `no-improvement`, `declined`, `stopped` or
3778
+ `aborted` (including an operator abort) moves to the rejected role instead of
3779
+ triage. An `accepted` attempt, or a merged attempt an operator released as
3780
+ `merged-unmeasured`, stays done. A rejected ticket never
3309
3781
  resolves a blocker, even where the source natively counts it complete (a Linear
3310
3782
  `Canceled` state mapped to rejected), and a rejected node child no longer keeps
3311
3783
  its node incomplete. Moving the ticket out of the state restores ordinary
3312
- behavior.
3784
+ behavior. An [optimization node](optimization-nodes.md) needs the rejected role for
3785
+ the attempts it rejects, so it requires `rejectedState`, with no inferred
3786
+ default: without it the dispatcher refuses to open the node and returns the
3787
+ ticket to triage. Ordinary nodes and
3788
+ work tickets never require it.
3313
3789
 
3314
3790
  Source-specific validation is strict:
3315
3791
 
@@ -3451,6 +3927,17 @@ and restart-classified as a whole. The removed runner keys `model`,
3451
3927
  `invocationBudgetSeconds`, `approvals` and `wake` are rejected with a diagnostic;
3452
3928
  existing effective-config artifacts remain readable without changing stored bytes.
3453
3929
 
3930
+ `enabled` defaults per host:
3931
+
3932
+ | `enabled` | Hosted deployment | Local `ab mcp`, dispatch, `ab init` |
3933
+ |---|---|---|
3934
+ | unset | on | off |
3935
+ | `true` | on | on |
3936
+ | `false` | off | off |
3937
+
3938
+ Dispatcher releases older than the hosted default deposit an explicit
3939
+ `enabled = false`, so their projects stay off until they upgrade.
3940
+
3454
3941
  <!-- configuration-reference:orchestrator -->
3455
3942
 
3456
3943
  #### `orchestrator`
@@ -3461,6 +3948,7 @@ existing effective-config artifacts remain readable without changing stored byte
3461
3948
  - **Default:** `{} (input supplied on omission; nested defaults apply)`
3462
3949
  - **Required:** Optional
3463
3950
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
3951
+ - **Local override:** Committed only: set in autobuild.toml.
3464
3952
 
3465
3953
  **Description:** Operator-agent sandbox settings. This table does not start or host an operator agent.
3466
3954
 
@@ -3471,11 +3959,12 @@ existing effective-config artifacts remain readable without changing stored byte
3471
3959
  **TOML key:** `orchestrator.enabled`
3472
3960
 
3473
3961
  - **Type:** `boolean`
3474
- - **Default:** `false`
3962
+ - **Default:** `omitted`
3475
3963
  - **Required:** Optional
3476
3964
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
3965
+ - **Local override:** Committed only: set in autobuild.toml.
3477
3966
 
3478
- **Description:** Enables externally driven sandbox tools, archive cleanup and dispatcher idle settlement. Operators run in external agent harnesses.
3967
+ **Description:** Enables externally driven sandbox tools, archive cleanup and dispatcher idle settlement. Operators run in external agent harnesses. Unset: enabled when served by a hosted deployment, disabled for local `ab mcp`, dispatch and init; an explicit value wins on every host.
3479
3968
 
3480
3969
  **Constraints:** None beyond the input type.
3481
3970
 
@@ -3487,6 +3976,7 @@ existing effective-config artifacts remain readable without changing stored byte
3487
3976
  - **Default:** `{} (input supplied on omission; nested defaults apply)`
3488
3977
  - **Required:** Optional
3489
3978
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
3979
+ - **Local override:** Committed only: set in autobuild.toml.
3490
3980
 
3491
3981
  **Description:** Sandbox behavior knobs.
3492
3982
 
@@ -3500,8 +3990,9 @@ existing effective-config artifacts remain readable without changing stored byte
3500
3990
  - **Default:** `30`
3501
3991
  - **Required:** Optional
3502
3992
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
3993
+ - **Local override:** Committed only: set in autobuild.toml.
3503
3994
 
3504
- **Description:** Minutes without a sandbox tool call after which the dispatcher tick's janitor stops the environment, keeping its snapshot; the next tool call resumes it.
3995
+ **Description:** Minutes without a sandbox tool call after which the operator sandbox stops, keeping its snapshot; a later sandbox.open resumes it. On vercel-sandbox the provider's own timer stops it, and every tool call extends that timer, so no dispatcher tick is needed; the dispatcher tick's janitor also stops an environment whose journal evidence is older, so it is no longer the only idle stop.
3505
3996
 
3506
3997
  **Constraints:** safe integer; > 0
3507
3998
 
@@ -3513,10 +4004,11 @@ existing effective-config artifacts remain readable without changing stored byte
3513
4004
  - **Default:** `[]`
3514
4005
  - **Required:** Optional
3515
4006
  - **Reload:** Dispatcher restart required; startup adapters retain their configuration. A running invocation keeps its captured values.
4007
+ - **Local override:** Committed only: set in autobuild.toml.
3516
4008
 
3517
4009
  **Description:** Names of non-secret host variables forwarded into the sandbox — the only non-toolchain environment it ever sees, during provisioning/setup and tool exec/start alike. Unset means none.
3518
4010
 
3519
- **Constraints:** When enabled, forwarding store, forge, ticket-provider, model or Vercel credentials, or builtin-provider forbidden names, is rejected.; Each item: minimum length 1
4011
+ **Constraints:** Unless `enabled = false`, forwarding store, forge, ticket-provider, model or Vercel credentials, or builtin-provider forbidden names, is rejected.; Each item: minimum length 1
3520
4012
 
3521
4013
  <!-- configuration-reference:/orchestrator -->
3522
4014
 
@@ -3537,12 +4029,38 @@ deferral, not an oversight. Concretely, the shared names above are rejected
3537
4029
  when the config is parsed, plugin-declared extras are rejected when the
3538
4030
  provider is constructed (dispatch and `ab mcp`), and `ab init --validate`
3539
4031
  re-checks both sets after plugins load, before any infrastructure is
3540
- provisioned. Tool bounds:
3541
- `sandbox.exec` waits at most 300 seconds; stdout and stderr are each truncated
3542
- at 65,536 bytes with a `[truncated by autobuild: output exceeded 65536 bytes]`
3543
- marker; `sandbox.reset` and archiving your last session are
3544
- destructive (reset re-provisions from the current base head); there is at most
3545
- one environment per user and repository.
4032
+ provisioned.
4033
+
4034
+ Lifecycle:
4035
+
4036
+ - **Open, then poll.** `sandbox.open` returns at once and provisions or
4037
+ resumes in the background; poll `sandbox.status` until it reports `ready`.
4038
+ Status is a bounded poll whose only write records a finished background
4039
+ outcome, once.
4040
+ - **Not ready refuses.** Until then other sandbox tools refuse with
4041
+ `sandbox-not-ready`, naming the `state`.
4042
+ - **Close and refresh keep work.** `sandbox.close` stops the environment and
4043
+ keeps the checkout; `sandbox.refresh` fast-forwards a clean checkout to the
4044
+ current base head and refuses a dirty or diverged one.
4045
+ - **Reset discards it.** `sandbox.reset` re-provisions in the background.
4046
+ - **Idle stops.** On vercel-sandbox the provider's timer stops an idle
4047
+ environment after `idleMinutes`, and every tool call extends it; the
4048
+ dispatcher janitor is a second stop. A stopped environment refuses with
4049
+ `sandbox-not-ready` (`stopped`) until `sandbox.open` resumes it intact. The
4050
+ slow provisioning tail (dependencies, runtimes, setup) runs inside the
4051
+ sandbox, not in the serving request.
4052
+ - **Failures are kept until recorded.** A failed environment is stopped by its
4053
+ timer or by `sandbox.close`, never discarded, until the next `sandbox.open`
4054
+ records its failure and re-provisions, or until `sandbox.reset`. A failure
4055
+ inside a stopped sandbox surfaces through `sandbox.open`, because
4056
+ `sandbox.status` never resumes a sandbox.
4057
+ - A provider without the lifecycle answers `sandbox-unsupported`.
4058
+
4059
+ Tool bounds: `sandbox.exec` waits at most 300 seconds; stdout and stderr are
4060
+ each truncated at 65,536 bytes with a
4061
+ `[truncated by autobuild: output exceeded 65536 bytes]` marker; `sandbox.reset`
4062
+ and archiving your last session are destructive; there is at most one
4063
+ environment per user and repository.
3546
4064
 
3547
4065
  <!-- config-fragment:orchestrator -->
3548
4066
  ```toml
@@ -3557,16 +4075,39 @@ environmentVariables = ["MY_TOOL_CONFIG"]
3557
4075
  Set `MY_TOOL_CONFIG` in the host environment of the `ab mcp` process; a missing
3558
4076
  value fails the tool call that needs it, named as a typed `environment` error.
3559
4077
 
3560
- Hosted sandbox tools compose their backend from the deposited effective config
3561
- and the authenticated request's credentials. The request's
3562
- `x-vercel-oidc-token` authenticates the Sandbox SDK; an explicit
3563
- `VERCEL_OIDC_TOKEN` takes precedence, or the durable
3564
- `VERCEL_TOKEN`/`VERCEL_TEAM_ID`/`VERCEL_PROJECT_ID` triple needs no header.
3565
- Archive cleanup uses the same request credential threading. Provider or forge
3566
- construction failures degrade sandbox tools only, with a diagnostic. Guests
3567
- receive no credential. The dispatcher retains idle settlement but never
3568
- constructs a turn runner. Tools stay gated by `[orchestrator].enabled` and the
3569
- registry's closed-table filtering; external harnesses own approvals.
4078
+ On a hosted deployment:
4079
+
4080
+ - **Listing.** `/mcp` lists every `sandbox.*` tool whenever the deployment has
4081
+ a public origin. Listing reads nothing from the store. A per-repository MCP
4082
+ URL lists them only when that repository's latest deposited effective config
4083
+ also enables `[orchestrator]`, at one latest-artifact read per listing.
4084
+ - **Gate.** Each call reads the repository's latest deposited effective config.
4085
+ A closed gate is a typed refusal instead of a missing tool:
4086
+ `sandbox-orchestrator-disabled`, `sandbox-no-effective-config`,
4087
+ `sandbox-effective-config-invalid`, `sandbox-credentials-missing` when the
4088
+ fallback provider below lacks a deployment credential (the message names
4089
+ which), or `sandbox-backend-unavailable` for a provider or forge
4090
+ construction failure, which also raises a diagnostic.
4091
+ - **Fallback provider.** Only `vercel-sandbox` can host a sandbox on a
4092
+ deployment. A project with any other `[workspace].provider`, such as
4093
+ `git-worktree` dispatched locally, gets its sandbox from the deployment's
4094
+ Vercel Sandbox provider. It needs the deployment's Vercel credential (below)
4095
+ and `GITHUB_TOKEN` or `GH_TOKEN`. The sandbox is created without a git
4096
+ source and clones inside the guest; the forge token is the read credential,
4097
+ injected only by the host-side egress transform on upload-pack requests.
4098
+ Neither the guest nor the Vercel source API sees it, and a project's own
4099
+ `gitPasswordEnv` still may not name it.
4100
+ - **Reuse.** The backend is composed once per process, repository,
4101
+ effective-config revision and OIDC value, then reused. Its repo-scoped store
4102
+ credential is cached until near expiry.
4103
+ - **Credentials.** `/mcp` forwards the request's `x-vercel-oidc-token` to the
4104
+ in-process operator call, where it authenticates the Sandbox SDK. An explicit
4105
+ `VERCEL_OIDC_TOKEN` takes precedence, and the durable
4106
+ `VERCEL_TOKEN`/`VERCEL_TEAM_ID`/`VERCEL_PROJECT_ID` triple needs no header.
4107
+ Archive cleanup uses the same credential. Guests receive no credential.
4108
+
4109
+ The dispatcher retains idle settlement but never constructs a turn runner.
4110
+ External harnesses own approvals.
3570
4111
 
3571
4112
  ## `[hooks]`
3572
4113
 
@@ -3588,6 +4129,7 @@ phase, verdict or merge decision; gating belongs to `[verify]`, `[finalize]` and
3588
4129
  - **Default:** `{}`
3589
4130
  - **Required:** Optional
3590
4131
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
4132
+ - **Local override:** Allowed in .autobuild/local.toml.
3591
4133
 
3592
4134
  **Description:** Named observe-only hooks: the dispatcher delivers each matching watch record to a command or URL, in order and at least once.
3593
4135
 
@@ -3601,6 +4143,7 @@ phase, verdict or merge decision; gating belongs to `[verify]`, `[finalize]` and
3601
4143
  - **Default:** `omitted`
3602
4144
  - **Required:** Required
3603
4145
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
4146
+ - **Local override:** Allowed in .autobuild/local.toml.
3604
4147
 
3605
4148
  **Description:** Named observe-only hook delivered matching watch records by the dispatcher.
3606
4149
 
@@ -3614,6 +4157,7 @@ phase, verdict or merge decision; gating belongs to `[verify]`, `[finalize]` and
3614
4157
  - **Default:** `omitted`
3615
4158
  - **Required:** Optional
3616
4159
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
4160
+ - **Local override:** Allowed in .autobuild/local.toml.
3617
4161
 
3618
4162
  **Description:** Shell command run from the repository checkout once per record, with the record as one JSON line on stdin. Exit status 0 within the timeout is success. Set exactly one of command or url.
3619
4163
 
@@ -3627,6 +4171,7 @@ phase, verdict or merge decision; gating belongs to `[verify]`, `[finalize]` and
3627
4171
  - **Default:** `omitted`
3628
4172
  - **Required:** Optional
3629
4173
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
4174
+ - **Local override:** Allowed in .autobuild/local.toml.
3630
4175
 
3631
4176
  **Description:** HTTPS endpoint that receives each record as a signed JSON POST; http only to loopback. A 2xx response within the timeout is success; redirects are not followed.
3632
4177
 
@@ -3640,6 +4185,7 @@ phase, verdict or merge decision; gating belongs to `[verify]`, `[finalize]` and
3640
4185
  - **Default:** `omitted`
3641
4186
  - **Required:** Optional
3642
4187
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
4188
+ - **Local override:** Allowed in .autobuild/local.toml.
3643
4189
 
3644
4190
  **Description:** Name of the dispatcher environment variable holding the HMAC signing secret; required with url. The value never appears in config, events, status or logs.
3645
4191
 
@@ -3653,6 +4199,7 @@ phase, verdict or merge decision; gating belongs to `[verify]`, `[finalize]` and
3653
4199
  - **Default:** `omitted`
3654
4200
  - **Required:** Optional
3655
4201
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
4202
+ - **Local override:** Allowed in .autobuild/local.toml.
3656
4203
 
3657
4204
  **Description:** Event globs with `ab watch --event` grammar, validated against the build and repository catalogs. Absent means the default attention filter of `ab watch`.
3658
4205
 
@@ -3666,6 +4213,7 @@ phase, verdict or merge decision; gating belongs to `[verify]`, `[finalize]` and
3666
4213
  - **Default:** `30`
3667
4214
  - **Required:** Optional
3668
4215
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
4216
+ - **Local override:** Allowed in .autobuild/local.toml.
3669
4217
 
3670
4218
  **Description:** Seconds one delivery may take (a command run or a request) before it is stopped and counted as a failure.
3671
4219
 
@@ -3885,6 +4433,9 @@ maxReconcileAttempts = 3
3885
4433
  maxReviewRounds = 6
3886
4434
  harvestThreshold = 5
3887
4435
  harvestMaxDrift = 3
4436
+ # maxOpenPrs = 12
4437
+ # resumeOpenPrs = 9
4438
+ # excludeHeldOpenPrs = false
3888
4439
 
3889
4440
  [tickets]
3890
4441
  source = "file"
@@ -3910,10 +4461,13 @@ On the first `ab init [target]`, when `autobuild.toml` is absent, Autobuild
3910
4461
  writes a valid stack-neutral skeleton. Deterministic init code does not inspect
3911
4462
  package manifests, infer commands, or ask a fixed adapter survey. It vendors the
3912
4463
  editable skills, records their pristine bases, updates `.gitignore`, and probes
3913
- every registered runtime for executable/authentication usability.
4464
+ every registered runtime for executable/authentication usability. The
4465
+ Antigravity probe makes one minimal headless request per configured model, in
4466
+ an empty temporary directory, because a model listing does not prove
4467
+ authentication; it spends a few tokens.
3914
4468
 
3915
4469
  Init reports every probe result and chooses a setup launcher from the fixed
3916
- product preference `claude`, then `codex`, then `pi`. That choice only starts
4470
+ product preference `claude`, then `codex`, then `pi`, then `antigravity`. That choice only starts
3917
4471
  setup; the temporary `[roles.default].runtime` skeleton value does not constrain
3918
4472
  the role runtimes or models the setup agent ultimately configures. When a
3919
4473
  shipped runtime is usable, no Claude discovery conflict remains, and both stdin
@@ -3996,7 +4550,7 @@ pre-attempt index and reports the original Git failure; merged worktree files
3996
4550
  remain in place and the merge's exit status is unchanged. Upgrade never pushes
3997
4551
  or rewrites history.
3998
4552
 
3999
- Autobuild now installs 12 skills; only `ab-spec`, `ab-tickets`, `ab-guide`,
4553
+ Autobuild now installs 14 skills; only `ab-spec`, `ab-tickets`, `ab-guide`,
4000
4554
  and `ab-operate` are model-invocable. The setup reference is an ordinary support file in the
4001
4555
  editable/pristine `ab-guide` tree and participates in the same three-way
4002
4556
  upgrade merge as every other vendored file.
@@ -4026,7 +4580,7 @@ poll. Editing TOML cannot change them.
4026
4580
 
4027
4581
  | Setting | Fresh-repository default | Controls | Scope |
4028
4582
  |---|---:|---|---|
4029
- | Ticket intake | on | `ab dispatch --intake` / `--no-intake`; `i` on the dashboard's global row, and `p` (pause all) / `r` (resume all) on that row or their sessionless equivalents `ab pause --all` / `ab resume --all`, which turn intake off and on as part of quiescing the repository | When off, skip only new ticket list/claim/dispatch work. Janitor work, lease recovery, in-flight builds, and harvesting continue. Turning intake off does not hold builds the repository has already accepted — that is the repository pause below. |
4583
+ | Ticket intake | on | `ab dispatch --intake` / `--no-intake`; `i` on the dashboard's global row, and `p` (pause all) / `r` (resume all) on that row or their sessionless equivalents `ab pause --all` / `ab resume --all`, which turn intake off and on as part of quiescing the repository | When off, skip only ordinary ready-queue listing, claims, and dispatch. A pending `ab start` (`tickets.start`) request still claims its one named ticket while intake is off, subject to repository pause, capacity, and the usual ticket gates. Janitor work, lease recovery, in-flight builds, and harvesting continue. Turning intake off does not hold builds the repository has already accepted — that is the repository pause below. |
4030
4584
  | Repository pause | off | `p` (pause all) / `r` (resume all) on the dashboard's global row, or `ab pause --all` / `ab resume --all` | While on, the dashboard controls line shows `repository PAUSED`, and each held queued row shows `(held)` while retaining its literal `QUEUED` status. No dispatcher tick attaches a runner to such a build — recovery, startup resume, and the lease sweep all skip them. Running builds are parked by the per-build pauses the same command writes; the janitor still settles aborts and discards. |
4031
4585
  | Harvest gate | on | `h` on the dashboard's global row | Pauses or resumes repository observation harvesting. The header shows the kernel-acknowledged gate, not merely a pending keypress. |
4032
4586
 
@@ -4069,6 +4623,8 @@ real process environment—even an empty string—wins over `.env`.
4069
4623
  Variables such as `AB_BUILD`, `AB_PHASE`, `AB_SESSION`, and the harvest-session
4070
4624
  identity tuple are runner-owned ambient authorization. You should not
4071
4625
  set or copy them into `.env`; the runner stamps them for each session.
4626
+ Likewise the runner sets `AB_VERIFY_BASE` for each `check` verify command, and
4627
+ clears any inherited value when the build has no base.
4072
4628
 
4073
4629
  Forge and agent credentials remain adapter-owned. The `local-git` forge uses no
4074
4630
  credentials or network access: it keeps durable PR records under private Git
@@ -4104,7 +4660,11 @@ the existing text-download projection.
4104
4660
  [ChatGPT subscriptions](accounts.md#chatgpt-subscriptions);
4105
4661
  - Pi sessions use Pi's provider authentication: start `pi` and run `/login`
4106
4662
  inside the interactive session, or, for non-interactive use, supply the
4107
- provider credentials Pi supports (such as provider API keys in the environment).
4663
+ provider credentials Pi supports (such as provider API keys in the environment);
4664
+ - Antigravity sessions invoke the local `agy` CLI with its ambient
4665
+ authentication: sign in by running `agy` interactively, export
4666
+ `GEMINI_API_KEY` with `modelProvider = "gemini"` in Antigravity's settings, or
4667
+ set `AGY_ADC_AUTH=true` after `gcloud auth application-default login`.
4108
4668
 
4109
4669
  No provider API key, GitHub token, or remote-store bearer token belongs in
4110
4670
  `autobuild.toml`.
@@ -4146,9 +4706,12 @@ that runtime serves.
4146
4706
  In plain/non-TTY mode, `tick: idle` means the pass recorded no dispatcher
4147
4707
  action. Check the gates in this order:
4148
4708
 
4149
- 1. **Durable intake:** the dashboard header must show intake on, or explicitly
4150
- run a future dispatcher with `--intake`. Intake off skips the ready scan
4151
- even when tickets exist.
4709
+ 1. **Durable intake:** for ordinary ready-queue work, the dashboard header must
4710
+ show intake on, or explicitly run a future dispatcher with `--intake`.
4711
+ Intake off skips the ready scan even when tickets exist. To run one ticket
4712
+ without opening the whole queue, use `ab start <ticket-id>` instead; its
4713
+ pending request and settled outcome appear in `ab repository status` and
4714
+ `ab watch`.
4152
4715
  2. **Repository pause:** a pause all holds every queued build, so the dashboard
4153
4716
  controls line shows `repository PAUSED` and an existing held build shows
4154
4717
  `(held)` beside its literal `QUEUED` status. Intake off alone shows neither
@@ -4166,8 +4729,9 @@ action. Check the gates in this order:
4166
4729
  builds and builds blocked on a question—uses a slot. A build that has
4167
4730
  finished its pipeline and waits for a merge decision holds none, and neither
4168
4731
  does a build waiting on other tickets. One that must re-verify or reconcile,
4169
- or whose ticket wait ended, is admitted ahead of new claims and reserves a
4170
- slot while it waits. Inspect `ab repository status`, `ab builds --queued` and
4732
+ or whose ticket wait ended, is admitted ahead of normal claims and reserves a
4733
+ slot while it waits; urgent work goes first (see
4734
+ [slot admission order](dispatcher.md#slot-admission-order)). Inspect `ab repository status`, `ab builds --queued` and
4171
4735
  `ab build status <slug>` rather than looking only for a live process.
4172
4736
  7. **Duplicate work:** a ready ticket already represented by an active build is
4173
4737
  deliberately excluded from the queue.
@@ -4242,14 +4806,23 @@ readiness provenance. See [merge policy](merge-policy.md) for examples,
4242
4806
  merge methods and forge capability requirements.
4243
4807
 
4244
4808
  `ab hold <slug>` durably suppresses merge and revokes previous consent, even
4245
- before readiness. `ab merge <slug>` requires readiness, clears hold, and consents
4809
+ before readiness; `--reason <text>` records why (1–2000 characters after
4810
+ trimming), shown wherever the hold is until a later hold or merge replaces it.
4811
+ `ab merge <slug>` requires readiness, clears hold, and consents
4246
4812
  to this build/node merge into its effective destination. Consent survives head
4247
4813
  replacement, clean restacking, verification and re-finalization until another
4248
- hold or completion. Consent given under a rule with `paths` or `within`
4249
- predicates is revoked when a reconcile's own edits (its recorded resolution)
4250
- touch a file those predicates match; `landing.consent-revoked` raises default
4814
+ hold, reopen or completion. Consent given under a rule with `paths` or `within`
4815
+ predicates is revoked when a reconcile's own edits, or a leaf restack's
4816
+ generated-file regeneration, touch a file those predicates match (the recorded
4817
+ resolution, not upstream-only changes); `landing.consent-revoked` raises default
4251
4818
  attention naming the files and both heads, and the build returns to the consent
4252
4819
  queue for its new head. Accepted node reparenting revokes consent; holds survive.
4820
+ Accepted reopening of a settled, unmerged leaf revokes consent immediately; a
4821
+ hold survives. See [Send a finished build back](operating.md#send-a-finished-build-back)
4822
+ for the command and for asynchronous cancellation of an armed native auto-merge.
4823
+ Failing forge CI at a finished leaf's live PR head raises default
4824
+ `pr.checks-failed` attention once per head and failing set; it is reported, not
4825
+ acted on, and unreadable CI is unknown rather than green or red.
4253
4826
  It is consent to the merge, not approval of an immutable diff.
4254
4827
  The optional `ab merge <slug> --head <sha>` (operator `head`) refuses with
4255
4828
  `head-mismatch`, recording nothing, unless `<sha>` (full or at least seven
@@ -4366,6 +4939,7 @@ direct execution paths.
4366
4939
  - **Default:** `{} (input supplied on omission; nested defaults apply)`
4367
4940
  - **Required:** Optional
4368
4941
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
4942
+ - **Local override:** Allowed in .autobuild/local.toml.
4369
4943
 
4370
4944
  **Description:** Automatic dispatcher runtime target checks and adoption.
4371
4945
 
@@ -4379,6 +4953,7 @@ direct execution paths.
4379
4953
  - **Default:** `true`
4380
4954
  - **Required:** Optional
4381
4955
  - **Reload:** Hot: next dispatcher action captures the accepted value. A running invocation keeps its captured values.
4956
+ - **Local override:** Allowed in .autobuild/local.toml.
4382
4957
 
4383
4958
  **Description:** Check and adopt changed runtime targets automatically.
4384
4959