@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
@@ -27,10 +27,26 @@ heads require immutable commit ancestry proof against the accepted target and
27
27
  the destination base already used by replay. Missing capability or failed proof
28
28
  defers new replay. A non-descendant without kernel lineage records
29
29
  `target.rewritten` with branch,
30
- previous SHA and observed SHA, retains the accepted target, and raises watch/wait
31
- attention. Repeated rewrite pairs are deduplicated. Returning to a safe target
32
- clears attention (`target.rewrite-cleared` when the accepted tip is unchanged).
33
- Upstream force-pushes are never adopted automatically. Accepted node reparenting
30
+ previous SHA and observed SHA, and retains the accepted target. Repeated rewrite
31
+ pairs are deduplicated. Returning to a safe target clears the wait
32
+ (`target.rewrite-cleared` when the accepted tip is unchanged). Upstream
33
+ force-pushes are never adopted on top of existing work automatically:
34
+
35
+ - A leaf with no work of its own (no published head, no PR, no commits beyond
36
+ its base in use) is reprovisioned from the current target by its next runner,
37
+ without operator action: `target.rewrite-reprovision-prepared`, a branch
38
+ reset, then `target.rewrite-recovered` (`reprovisioned`). A runner that dies
39
+ mid-reset completes it forward.
40
+ - A leaf with work raises one `policy/target-rewritten` escalation per episode
41
+ (a run of rewrites of the same rejected base), naming that base, the new
42
+ target head and its own commits. `ab answer <slug> --accept-target` waives
43
+ the rejected base (`target.rewrite-recovered`, `accepted`) and restacks its
44
+ own commits onto the target at the next replay boundary; `ab abort` is the
45
+ other way out.
46
+ - A node waits, and raises watch/wait attention once per episode.
47
+
48
+ `ab build status` names a leaf's recovery state, and the base when the build's
49
+ first provision adopted it from a pre-existing branch. Accepted node reparenting
34
50
  starts a new branch scope; frozen transactions recover their retained inputs.
35
51
 
36
52
  Kernel restacks of a node are admitted through durable guarded publication
@@ -58,7 +74,10 @@ path selection excludes upstream-only paths. A build leaving a ticket wait
58
74
  restacks with trigger `wait-resume` before its declaring phase resumes, when the
59
75
  target moved from the base its work sits on; an unchanged target resumes
60
76
  without a restack. Published work replays through the guarded restack, and a
61
- conflict runs reconcile before the declaring phase resumes. With nothing
77
+ conflict runs reconcile before the declaring phase resumes. A clean replay for
78
+ a wait declared in verify or finalize starts a fresh verification cycle on the
79
+ restacked base: every configured step re-runs at a new attempt before finalize
80
+ or merge. With nothing
62
81
  published, the local branch fast-forwards to the target (`restack.advanced`)
63
82
  only when it has no commits the target lacks and the workspace has no
64
83
  uncommitted tracked changes; unpublished local commits or uncommitted tracked
@@ -68,7 +87,7 @@ replay when the target moved, discarding its undeposited resolution, and
68
87
  replays the published head onto the current target instead. After finalize and post-steps,
69
88
  waiting leaves restack when the target moves. Node-target finalize contributions
70
89
  are canonicalized before guarded merge even when the target SHA is unchanged.
71
- Clean replay starts no agent. A clean waiting leaf rewrite preserves completed
90
+ Clean replay starts no agent. A clean awaiting-merge leaf rewrite preserves completed
72
91
  verification when build-owned config is unchanged, even when replay replaces
73
92
  the pin commit's ancestry. Reports retain their actual cycle base/head.
74
93
  Changed config still starts a fresh verification cycle while waiting. Before
@@ -78,6 +97,9 @@ supersession is separate from replay and reconcile. Conflicted replay runs
78
97
  reconcile and verification, and initial verification cannot be skipped through
79
98
  post-reconcile policy.
80
99
 
100
+ A replay that conflicts only in declared generated files is regenerated rather
101
+ than reconciled; see [Generated-file conflicts](#generated-file-conflicts).
102
+
81
103
  Nodes observe parent movement durably but restack only on demand: before a
82
104
  complete nonempty node verifies; before merge if its parent moved; when queued
83
105
  dependency presence requires an ancestor change; on `ab restack <node>`; or on
@@ -141,20 +163,57 @@ a path-bearing `observation.recorded` followup, deduplicated by operation,
141
163
  transaction, candidate SHA and exact path list on recovery. The phase-terminal
142
164
  D5 clean-worktree rule for `ab done` remains unchanged.
143
165
 
144
- Before replacement the kernel publishes retained tips, displaced heads and the
145
- temporary change under immutable exact archive refs. Remote archives also publish
166
+ Before a leaf replacement (automatic restack, reconcile or remote publication
167
+ settlement) the kernel keeps the tips named by history and rewrite facts, the
168
+ displaced heads and the temporary change, best effort, per commit:
169
+
170
+ | Order | Where | Recorded by |
171
+ |---|---|---|
172
+ | 1 | Immutable archive ref `refs/autobuild/archive/<slug>/<sha>`, exact readback | `archives` on `restack.rewritten` / `reconcile.rewritten` |
173
+ | 2 | Forge refused: BuildStore `history-objects-<sha>`, a thin pack of objects the frozen target base does not reach (chunked like replay copies); an ancestor of that base needs no copy (`target`) | `history.retained` `store` / `target` |
174
+ | 3 | Copy failed too: nothing; the rewrite proceeds with one build-scoped `history-unretained` followup observation | `history.retained` `unretained` |
175
+
176
+ - `history.retained {operation, id, base, store, target, unretained}` is decisive;
177
+ older runtimes defer on it.
178
+ - Retention never uses a branch or tag. An archive ref naming a different commit
179
+ is an `ArchiveConflictError`: never retried, never a fallback. Transient forge
180
+ failures retry.
181
+ - Readers (preparation, regenerated-restack adoption, candidate recovery)
182
+ restore in the same order: local repository, archive ref, store copies
183
+ (`reconcile-change-<sha>`, `replay-objects-<sha>`, `history-objects-<sha>`),
184
+ then the published build and target branches.
185
+ - A commit retained nowhere redoes the work: an unpublished transaction
186
+ re-prepares from the published branch as `<id>-redo`; a requested candidate is
187
+ retired through `publication.candidate-retired`.
188
+ - Node writes (restack, landing, integration landing, node verify head) retain
189
+ the same way, excluding the published head they build on, and record non-forge
190
+ outcomes in decisive `node.history-retained {operation: restack | landing |
191
+ integration-landing | verify, ...}`. Inputs kept nowhere stay reachable from
192
+ published branches, so the write proceeds after the shared warning.
193
+ - Node recovery (restack, landing, closed-node settlement, node-conflict
194
+ reconcile) restores reserved inputs before reading them; an input kept nowhere
195
+ before the guarded update landed abandons the reservation, and the next node
196
+ transaction reserves again from the published branches.
197
+ - Workspace preservation is strict: archive ref, else a `history-objects-<sha>`
198
+ store copy over the preservation base, else release is refused. Store-kept
199
+ heads go on decisive `workspace.commits-retained`, and replacement
200
+ provisioning restores them on any host.
201
+
202
+ Remote archives also publish
146
203
  commits present only on the remote: GitHub uses create-only Git-reference REST creation
147
204
  when the workspace lacks the commit, retaining guarded Git pushes for local objects.
148
205
  When the environment refuses a non-branch Git push of an archive ref, as Claude Code on
149
206
  the web's GitHub proxy does, GitHub creates the identical archive ref through the same
150
207
  REST call; a commit that exists only in the local workspace cannot use this fallback and
151
- fails with an error naming both refusals.
208
+ fails naming both refusals, which leaf retention absorbs into its BuildStore copy. Vercel Sandbox workspaces get the same fallback:
209
+ the guest pushes first, the dispatcher creates the ref with host-held credentials after a
210
+ refusal, and the guest's exact readback confirms it.
152
211
  Exact remote readback confirms publication, then a non-shallow fetch of only that exact
153
212
  archive ref (without tags, configured refmap expansion or a depth limit) restores
154
213
  missing commits and their missing ancestry, writes no shallow boundary, leaves an
155
214
  already-shallow repository's existing boundaries unchanged, and verifies the commits
156
215
  locally before returning. `restack.*` facts record
157
- preparation, replay, intent, archived replacement, contention and completion.
216
+ preparation, replay, intent, retained replacement, contention and completion.
158
217
  Unpublished request/loss records alone cannot preserve objects from a released
159
218
  sandbox. The forge is authoritative for publication: after a push or on recovery,
160
219
  its branch head must equal the intended SHA before completion. Local refs are
@@ -169,7 +228,7 @@ against the current destination. Remote guests park for trusted
169
228
  publication after teardown. Historical merge reconciliations keep their original
170
229
  interpretation and supply a promoted contribution base for later replay.
171
230
 
172
- Replay retention stores thin Git packs in bounded binary chunks, with a fixed-size completion manifest written only after every chunk is acknowledged. Digest-keyed chunks make interrupted writes retryable; incomplete uploads are never restored. Recovery validates all chunk sizes and the pack digest before installation, and requires the base objects (restoring node prefixes in order). Existing single-artifact base64 packs remain readable. Retained replay artifacts are read only when the requested commit is missing locally, never by idle polling.
231
+ Replay retention (`replay-objects-<sha>`) and leaf history retention (`history-objects-<sha>`) store thin Git packs in bounded binary chunks, with a fixed-size completion manifest written only after every chunk is acknowledged. Digest-keyed chunks make interrupted writes retryable; incomplete uploads are never restored. Recovery validates all chunk sizes and the pack digest before installation, and requires the base objects (restoring node prefixes in order). Existing single-artifact base64 packs remain readable. Retained replay and history artifacts are read only when the requested commit is missing locally, never by idle polling.
173
232
 
174
233
  ## Node contributions and recovery
175
234
 
@@ -188,7 +247,10 @@ Inventory retains its sampled source boundary even while the confirmed parent
188
247
  boundary stays unchanged. It exposes source identities, hand-pushed changes (node-owned foreign commits), active operation,
189
248
  conflict item and unsafe merge evidence.
190
249
 
191
- Only a conflicted item attaches a reconcile runner. It receives the original
250
+ Only a conflicted item attaches a runner. An item that conflicts only in
251
+ declared generated files is regenerated by that runner with no session (see
252
+ [Generated-file conflicts](#generated-file-conflicts)); any other conflicted
253
+ item runs a reconcile session. That session receives the original
192
254
  source build's pinned spec, approved plan and implement-notes, with the integration
193
255
  owner identified separately. Missing artifacts or invalid identity escalate.
194
256
  Foreign conflicts receive commit metadata and a diff; unclear intent escalates.
@@ -196,6 +258,45 @@ Completion validates exactly one commit on the item's replay base, preserving
196
258
  identity or foreign status. The agent never publishes the stack; dispatcher
197
259
  publication waits for session and execution settlement.
198
260
 
261
+ ## Generated-file conflicts
262
+
263
+ A repository declares generated files and the commands that rebuild them in
264
+ `autobuild.toml`'s `[[generated]]` table. When every conflicted path of a
265
+ replay is declared, the runner regenerates instead of starting a reconcile
266
+ session. It takes the target's side of each conflicted file, runs each owning
267
+ command once from the workspace root, and commits the result as the change's
268
+ replay with its original message and author. Edits that applied cleanly are
269
+ committed unchanged.
270
+
271
+ - **Leaf restack.** `restack.regenerated` records the files, the commands and
272
+ the outcome. A `resolved` replay's head is retained before the fact is
273
+ written, and then publishes like a clean restack, so verification follows the
274
+ clean-restack rules; the configured verify steps still check the result.
275
+ The regeneration counts as conflict resolution for merge consent: consent
276
+ given under a `paths` or `within` rule is revoked, with
277
+ `landing.consent-revoked`, when the regenerated files match it, even though
278
+ no reconcile session ran.
279
+ After a crash or on a replacement workspace, the runner restores that
280
+ retained head instead of rerunning the commands.
281
+ - **Node item.** The item's runner regenerates in the node's execution sandbox,
282
+ records `node.item-regenerated`, retains the head and writes the item's
283
+ receipt. No reconcile session starts; the next dispatch continues with the
284
+ remaining items. A resolved fact whose receipt is missing is finished from the
285
+ retained head on the next attempt.
286
+ - **Fallback.** `skipped` (some conflicted path is undeclared) and `failed` (a
287
+ non-zero exit, a write outside the declarations, the command changed the Git
288
+ index, or conflict markers left) commit nothing. The command's output is removed, the recorded conflict is
289
+ restored, and an ordinary reconcile session resolves it.
290
+ - **Mixed conflicts.** The reconcile context lists the conflicted generated
291
+ files and their commands as `generated`, and a failure's reason as
292
+ `regeneration.reason`. The agent resolves the other files first, then runs
293
+ the commands and stages their output; it never hand-merges a generated file.
294
+
295
+ `ab build status` adds `(regenerated: <commands>)` to a leaf's `restack:` line,
296
+ and `· N regenerated` or `· regeneration failed` to a node's restack lines.
297
+ `ab watch --event 'restack.*'` or `--event 'node.item-*'` shows each outcome.
298
+ Repositories that declare nothing restack exactly as before.
299
+
199
300
  ## Foreign merges
200
301
 
201
302
  Before any replay or publication, inspect every merge's non-first-parent history,
@@ -220,12 +321,15 @@ retry eligibility and recheck authorization after repository forge cooldown.
220
321
 
221
322
  A historical `publication.lost` does not prove that every copy of its candidate
222
323
  is gone. Recovery checks the exact branch and private archive refs and retained
223
- replay objects first. An available candidate continues guarded publication.
224
- A genuinely missing reconcile or automatic restack candidate records
324
+ store copies first. Replay copies are read in either format (chunked manifest or
325
+ legacy base64 pack); a thin pack whose base is missing fetches the published target
326
+ first and applies with `git index-pack --fix-thin`. An available candidate is
327
+ retained best effort before guarded publication continues; a refused archive does
328
+ not block it. A genuinely missing reconcile or automatic restack candidate records
225
329
  `publication.candidate-retired`, abandons its obsolete request, and replays the
226
330
  producing operation with a fresh transaction identity. Its frozen target,
227
331
  reconcile occurrence or automatic trigger, cycle, and message survive. The
228
- retired candidate is excluded from archive requirements unless independently
332
+ retired candidate is excluded from retention requirements unless independently
229
333
  required by proven history. This reconstruction consumes no infrastructure
230
334
  attempt and no additional conflict occurrence; it needs no operator guidance.
231
335
  A bare retry also clears an existing infrastructure-limit escalation through
package/docs/seams.md CHANGED
@@ -21,7 +21,7 @@ See [Build store](build-store.md) and [Tickets](ticket-sources.md).
21
21
 
22
22
  ## Agents, code, and workspaces
23
23
 
24
- - **Agent runtimes.** Claude Code, Codex and Pi. Roles choose runtime and model.
24
+ - **Agent runtimes.** Claude Code, Codex, Pi and Antigravity. Roles choose runtime and model.
25
25
  - **Forges.** GitHub and local git. Remote setups need GitHub.
26
26
  - **Workspaces.** Local git worktrees, or Vercel Sandbox machines for runners, agents and checks.
27
27
 
@@ -57,7 +57,7 @@ See [Dispatcher hosting](dispatcher-hosting.md).
57
57
  ## Seam guides
58
58
 
59
59
  - [Tickets](ticket-sources.md): file, Linear, hosted, GitHub, ticket trees.
60
- - [Agent runtimes](agent-runtimes.md): Claude Code, Codex, Pi, models.
60
+ - [Agent runtimes](agent-runtimes.md): Claude Code, Codex, Pi, Antigravity, models.
61
61
  - [Workspaces](workspaces.md): git worktree, Vercel Sandbox, provisioning.
62
62
  - [Forges](forges.md): GitHub, local git, publication adapters.
63
63
  - [Build store](build-store.md): SQLite, remote HTTP, contracts.
package/docs/setup.md CHANGED
@@ -24,6 +24,16 @@ Keep the default `git-worktree` provider unless the maintainer explicitly opts
24
24
  into remote builds. It creates local disposable worktrees and uses the tools,
25
25
  network, and credentials available to the dispatcher machine.
26
26
 
27
+ Local worktrees live outside the checkout, under
28
+ `$XDG_STATE_HOME/autobuild/worktrees/` (default `~/.local/state/…`), or in the
29
+ store's own `worktrees/` when a local store lies outside the checkout. They do
30
+ not inherit the checkout's `node_modules`, so `[commands].setup` must install
31
+ dependencies. If the destination resolves inside the checkout or has a
32
+ `node_modules` directory above it, new builds fail to provision and dispatch
33
+ shows a startup notice: set `XDG_STATE_HOME` to an absolute directory outside
34
+ the checkout with no `node_modules` above it, or select a local store outside
35
+ the checkout.
36
+
27
37
  For remote execution, set `[workspace].provider = "vercel-sandbox"`. A Vercel
28
38
  Sandbox is a fresh independent machine; a runtime that works on the setup
29
39
  machine is not evidence that it works there. Confirm all of these with the
@@ -111,7 +121,7 @@ allowlist entry; their real credentials remain on the dispatcher host.
111
121
 
112
122
  Keep package-level and checkout-level bootstrap in an idempotent
113
123
  `[commands].setup`. It runs after system provisioning and must remain safe to
114
- rerun on attachment. Do not repeatedly install OS packages there. Expose only
124
+ rerun on attachment and after every restack onto a new base. Do not repeatedly install OS packages there. Expose only
115
125
  required runtime credentials through
116
126
  `[workspace.config].environmentVariables`, keep generated caches disposable,
117
127
  and lock dependencies in the repository. A browser-capable repository should
@@ -141,7 +151,9 @@ exits nonzero on failure. Then:
141
151
  `bun ab dispatch`, then open their coding agent at the repository root with
142
152
  `ab-operate` loaded to specify, create and groom the first ticket. Check operator
143
153
  presence before taking the role; an existing operator picks up ready work.
144
- The setup agent must not start dispatch itself.
154
+ For dispatcher startup after setup, follow `ab-operate` ownership boundaries: check
155
+ fresh `dispatcherRunning`, honor repository instructions and the saved local
156
+ preference, or ask who should run it when unset.
145
157
 
146
158
  Validation is explicit and noninteractive. It does not dispatch, claim a
147
159
  ticket, or create build, phase, session, event, transcript, or artifact history.
@@ -417,8 +429,10 @@ manifest-directed artifact paths remain authoritative. Never commit scratch.
417
429
  An applicable behavior that cannot be exercised is a failure with an
418
430
  explanation, never a skip or silent pass. Use `skip` only when the complete step
419
431
  does not apply. If guidance still cannot make a verdict possible, escalate and
420
- explain what remains unresolved. Record out-of-scope work with `ab observe`;
421
- the verifier does not fix it.
432
+ explain what remains unresolved. In a work build, a verifier that cannot judge
433
+ until another ticket merges may instead end with
434
+ `ab wait-on <ticket-id>... --reason "…"`; a node build's verifier cannot.
435
+ Record out-of-scope work with `ab observe`; the verifier does not fix it.
422
436
 
423
437
  ### Project-scoped hosted tickets
424
438
 
@@ -483,6 +497,15 @@ prove archive-domain access: manually verify it with your administrator without
483
497
  creating probe refs or overwriting archives. Autobuild never changes settings or
484
498
  performs test pushes.
485
499
 
500
+ Archive refs are a recommendation (WARN or UNKNOWN, never FAIL):
501
+
502
+ - **Leaf rewrites and node writes** treat them as optional forge-side backup of
503
+ displaced history. Where refused, they keep a BuildStore copy, or warn once per
504
+ build and proceed.
505
+ - **Workspace preservation** keeps unpublished workspace commits as BuildStore
506
+ copies where refused, and refuses to release the workspace only when the store
507
+ copy fails too.
508
+
486
509
  Require **linear history** on protected root and node target branches to prevent
487
510
  merge commits from GitHub's update-branch action. On the configured root, enable
488
511
  **Require branches to be up to date before merging**, with nonempty required
package/docs/skills.md CHANGED
@@ -29,13 +29,15 @@ Skills guide the agents that plan, implement, review and operate Autobuild, one
29
29
  | `ab-code-review` | Review the implementation against the contract independently |
30
30
  | `ab-finalize` | Write the pull request description after verification |
31
31
  | `ab-reconcile` | Resolve conflicts in a kernel-prepared replay onto a refreshed base |
32
+ | `ab-propose` | Propose the next attempts for an optimization node; the dispatcher files them |
32
33
  | `ab-operate` | External operator agent: operate the builds the repository's dispatcher dispatches, adopt new work, answer escalations and control merge |
33
34
  | `ab-tickets` | Read, create, groom and update tickets through the tracker interface |
34
35
  | `ab-harvest` | Turn claimed observations into ticket proposals |
35
36
  | `ab-harvest-review` | Review those proposals independently |
37
+ | `ab-judge` | One judge of a panel objective: compare two blind variants and record a preference |
36
38
  | `ab-guide` | Reference for the system, configuration, setup and installed skills |
37
39
 
38
- - **Phase skills** (plan through reconcile) are runner-invoked; don't start them manually.
40
+ - **Phase skills** (plan through reconcile, and propose) and `ab-judge` are runner-invoked; don't start them manually.
39
41
  - **Spec, ticket and operator skills** work outside the pipeline. Observation harvest is a separate repository workflow.
40
42
  - **No generic agent verifier ships.** Your repository supplies its own evidence and checks.
41
43
 
@@ -107,7 +109,7 @@ skill = "verify-acceptance"
107
109
 
108
110
  ## Harness discovery
109
111
 
110
- Codex and Pi read `.agents/skills/` directly. Claude Code reads `.claude/skills/`, where init links each shipped skill to its canonical directory, so there's one editable copy. Link a new local skill from the repository root:
112
+ Codex, Pi and Antigravity read `.agents/skills/` directly. Claude Code reads `.claude/skills/`, where init links each shipped skill to its canonical directory, so there's one editable copy. Link a new local skill from the repository root:
111
113
 
112
114
  ```sh
113
115
  mkdir -p .claude/skills
@@ -186,4 +186,5 @@ pending controls, merge intent and ended PRs refuse the no-escalation path.
186
186
  A concurrent state change refuses publication with a retry explanation;
187
187
  uncited artifacts are inert. Leaves still require an open escalation and
188
188
  restart from `plan` after any unfinished reconcile resumes under the revised
189
- spec and its publication is confirmed.
189
+ spec and its publication is confirmed. A settled, unmerged leaf awaiting merge
190
+ revises without an escalation through `ab reopen`.
@@ -1,14 +1,21 @@
1
1
  # Filing tickets with blockers safely
2
2
 
3
3
  `ab ticket create --blocked-by` validates prerequisite ids and records blocking
4
- relationships, but a single CLI command is **not an atomic publication guarantee**.
5
- In particular, direct Linear and GitHub create the issue first and add
6
- its blocker relationships in separate requests. If the issue is already in the
4
+ relationships, but on most sources a single CLI command is **not an atomic
5
+ publication guarantee**. Direct Linear creates the issue first and adds its
6
+ blocker relationships in separate requests. If the issue is already in the
7
7
  ready state, a dispatcher can see it before those relationships exist. A
8
8
  successful create response containing every blocker does not prove that no build
9
9
  was claimed during the request. Harvest's durable creation reservations protect
10
10
  its own filing workflow; ordinary interactive ticket creation has no such hold.
11
11
 
12
+ GitHub stages for you. A ready-bound create with blockers opens in triage,
13
+ records every blocker, and only then moves to ready. Claim also re-reads
14
+ blockers fresh, so one `create --blocked-by` never exposes an unblocked ready
15
+ ticket and needs no manual staging. A partial failure leaves the ticket in
16
+ triage, so reading it back still matters. The workflow below is the portable
17
+ procedure for any source whose create order you do not know.
18
+
12
19
  ## Safe interactive workflow
13
20
 
14
21
  For tickets with prerequisites, determine the intended final state from the
@@ -58,6 +65,11 @@ the ticket ready.
58
65
  ## Already-claimed work
59
66
 
60
67
  Adding blockers does not stop a build already claimed from an earlier listing.
68
+ This recipe applies to ordinary tickets. Aborting an
69
+ [optimization attempt](optimization-nodes.md#landing-and-settlement) settles it
70
+ `aborted` and its node moves the ticket to rejected, whatever `--to` says, and
71
+ no `ticket.handed-back` event follows; wait for the node's
72
+ `attempt.ticket-rejected` instead.
61
73
  When the human authorizes restarting premature work and the blocker set is
62
74
  already right, request `ab abort <slug> --to ready`: cleanup moves the ticket
63
75
  straight back to ready with its blockers kept, so no second move is needed.
@@ -6,7 +6,8 @@ forge, except that a GitHub source reads and writes the repository's issues.
6
6
  File, hosted and GitHub sources support import. Every built-in source supports
7
7
  export.
8
8
 
9
- 1. Pause intake and quiesce build-related ticket writes and other ticket writers
9
+ 1. Pause intake, cancel any pending `ab start` request (`ab repository status`
10
+ lists them), and quiesce build-related ticket writes and other ticket writers
10
11
  for the cutover. In-flight builds need not be aborted. Import preflight does
11
12
  not reserve numbers against concurrent writers.
12
13
  2. With the old `[tickets]` configuration, run `ab ticket export /path/to/export`.
@@ -134,7 +135,8 @@ Before any write, import reports every problem together: states that cannot be
134
135
  a rejected state when `[tickets].rejectedState` is unset, and ticket labels that
135
136
  would collide with a state label (`autobuild:<state>`) or an issue-link label
136
137
  (`autobuild-link:…`). The `autobuild:proposal` and `autobuild:aborted` marker
137
- labels are ordinary labels and import as-is. Node kinds become the exact `node`
138
+ labels are ordinary labels and import as-is. Import never adds
139
+ `[tickets].createLabels`: exported labels import exactly as they are. Node kinds become the exact `node`
138
140
  label, and targets become sub-issue relationships to the remapped node issues.
139
141
  Issue links are kept. They are rewritten through the mapping only when the export
140
142
  came from GitHub, because only then do they name the exported tickets.
@@ -12,6 +12,24 @@ order: 13
12
12
 
13
13
  A ticket source owns ticket CRUD, lifecycle transitions, claiming, labels, blockers and creation identity. The build's pinned spec, history, transcripts and artifacts live in the BuildStore; editing a ticket after claim doesn't replace the pinned spec. See [Tickets are the interface](tickets.md) for grooming and the ready gate.
14
14
 
15
+ ## Creation labels
16
+
17
+ `[tickets].createLabels` marks every ticket Autobuild files, so a shared tracker can tell them apart from reports people file:
18
+
19
+ ```toml
20
+ [tickets]
21
+ source = "github"
22
+ readyLabels = []
23
+ createLabels = ["autobuild"]
24
+ ```
25
+
26
+ - **Where.** `ab ticket create`, the operator `tickets.create` tool, harvest proposals and optimization attempts add the labels.
27
+ - **Union.** Labels a create names are kept, and the creation labels are added after them; they never replace each other. A harvest proposal carries `autobuild:proposal` plus the creation labels, including when a retried create adopts the ticket it already filed.
28
+ - **Import.** `ab ticket import` keeps the exported labels and never adds creation labels.
29
+ - **Not a ready gate.** Creation labels are ordinary labels and count toward `readyLabels` only if listed there too. A name in both lists makes every Autobuild-filed ticket pass the label gate. On `github` and `linear` an omitted `readyLabels` defaults to `["autobuild"]`, so pair `createLabels = ["autobuild"]` with an explicit `readyLabels`, as above.
30
+ - **Reserved names.** `github` refuses `autobuild:<state>` and `autobuild-link:` labels and `node`; `linear` refuses `node`. `[]` or omission adds none.
31
+ - **Hosted.** The service's own operator `tickets.create` applies the value from the published ticket policy, so it sees a change at the next publish: any non-delegated `ab` ticket command, `ab connect`, or dispatcher start. A service older than this field refuses a policy naming it.
32
+
15
33
  ## Shipped adapters
16
34
 
17
35
  Install with `bun add -d --exact @defrex/autobuild`. Examples are complete minimal `autobuild.toml` files. Credentials go in the dispatcher environment or an ignored `.env`, never TOML.
@@ -137,16 +155,17 @@ rejectedState = "rejected"
137
155
  - **States are `autobuild:` labels.** An open issue with one `autobuild:<state>` label is in that state, and an open issue with none is in triage, so issues filed on GitHub arrive there. An issue with two or more state labels is left out of listings with a diagnostic naming it and its labels. `ab ticket state create icebox --about "…"` creates the `autobuild:icebox` label, with the purpose as its description. A name is one to forty lowercase letters, digits or hyphens, starting with a letter.
138
156
  - **Closing reasons.** Closed as completed, or closed before GitHub recorded reasons, is done. Closed as not planned or duplicate is in the `rejectedState` state; without `rejectedState` it reads as a fixed `not-planned` state that is never ready, never resolves a blocker and can't be moved into. Moving to done or rejected closes the issue with that reason (an issue already closed with the other reason is reopened and closed again, because GitHub changes a reason only with the state); moving to any other state opens it with exactly that state's label.
139
157
  - **Reopen goes to triage.** If a state label survived the close, the adapter strips that stale label the first time it reads the reopened issue. It tells stale from fresh by the issue's last 100 label and reopen events; an issue whose deciding event is older than that is left out of listings with a diagnostic until its state label is removed and re-added.
140
- - **Labels.** `readyLabels` defaults to `["autobuild"]`; `[]` removes the gate. Missing labels are created on demand. State and link labels are never part of a ticket's labels, and a write that names one is refused. The `autobuild:proposal` and `autobuild:aborted` labels that harvest and abort apply are ordinary labels, so `proposal` and `aborted` can't be states.
158
+ - **Labels.** `readyLabels` defaults to `["autobuild"]`; `[]` removes the gate. Missing labels, [creation labels](#creation-labels) included, are created on demand. State and link labels are never part of a ticket's labels, and a write that names one is refused. The `autobuild:proposal` and `autobuild:aborted` labels that harvest and abort apply are ordinary labels, so `proposal` and `aborted` can't be states.
141
159
  - **Assignee.** `readyAssignee = "me"` keeps only issues assigned to the login that owns the GitHub credential; a username, including an Enterprise Managed User login such as `mona_acme`, names a specific user. The ready read itself is narrowed by assignee, an unassigned issue is never ready, and any one of several assignees matches. While `readyAssignee` is set, each scan reports open ready issues that carry every `readyLabels` entry but have no assignee in the ticket diagnostics, which `ab repository status` and the dashboards show, naming the ten lowest-numbered and counting the rest. The report never claims or assigns them; assigning one makes it claimable. `"me"` costs one `GET /user` per dispatcher start, never during a tick, so a reload that enables it needs no restart unless startup couldn't resolve the credential's owner.
142
- - **Assignees.** Tickets carry the issue's assignees as an `assignees` array of usernames in JSON reads, whether they were set on GitHub or through `ab`, and `ab ticket show` prints them. They aren't part of the ticket's `revision`. `--assignees` on `ab ticket create` and `ab ticket update`, and the `assignees` field of the operator `tickets.create` and `tickets.update` tools, set them: each entry is a username or `me`, at most ten entries counted before duplicates collapse, and an update replaces the whole set. `createAssignee = "me"` (or a username) assigns every ticket Autobuild creates, through `ab ticket create`, operator `tickets.create` and harvest proposals, unless the create names its own assignees; a harvest proposal goes to the owner of the filing dispatcher's credential. That pairs with `readyAssignee = "me"`, so each person's dispatcher picks up the tickets they file. A create or update fails, naming the cause and writing nothing, when `me` has no user behind the credential (a GitHub App installation token has none) or a user can't be assigned issues in the repository. GitHub silently drops assignees a token without push access sets, so a write whose assignees don't come back fails, naming the issue and saying it is unassigned; a retried harvest create adopts that issue and assigns it. A write naming assignees costs one check per user per process, `me` reuses the `readyAssignee` `GET /user`, and reads cost nothing extra.
143
- - **Blockers** are native issue dependencies ("blocked by"), visible on both issues, including ones added on GitHub. A blocker resolves when its issue is done. One in another repository never resolves and is named in the dependency diagnostics. An issue transferred to another repository is no longer a ticket here: its old number reads as missing, so it is never written and never resolves a blocker.
160
+ - **Assignees.** Tickets carry the issue's assignees as an `assignees` array of usernames in JSON reads, whether they were set on GitHub or through `ab`, and `ab ticket show` prints them. They aren't part of the ticket's `revision`. `--assignees` on `ab ticket create` and `ab ticket update`, and the `assignees` field of the operator `tickets.create` and `tickets.update` tools, set them: each entry is a username or `me`, at most ten entries counted before duplicates collapse, and an update replaces the whole set. `createAssignee = "me"` (or a username) assigns every ticket Autobuild creates, through `ab ticket create`, operator `tickets.create` and harvest proposals, unless the create names its own assignees; a harvest proposal goes to the owner of the filing dispatcher's credential. That pairs with `readyAssignee = "me"`, so each person's dispatcher picks up the tickets they file. A create or update fails, naming the cause and writing nothing, when `me` has no user behind the credential (a GitHub App installation token has none) or a user can't be assigned issues in the repository. GitHub silently drops assignees a token without push access sets, so a write whose assignees don't come back fails, naming the issue and saying it is unassigned; a retried harvest create adopts that issue, assigns it and adds any requested labels it is missing. A write naming assignees costs one check per user per process, `me` reuses the `readyAssignee` `GET /user`, and reads cost nothing extra.
161
+ - **Blockers** are native issue dependencies ("blocked by"), visible on both issues, including ones added on GitHub. A blocker resolves when its issue is done. One in another repository never resolves and is named in the dependency diagnostics. GitHub's dependency summary lags the edges by seconds, so reads that can lead to a claim (`ab ticket show`, the ready scan, dependency checks) read the dependency list instead; broad listings (`ab ticket list` outside the ready state) and export trust the summary and can miss a blocker recorded seconds earlier. Claim re-reads the dependency list fresh: a ticket whose blocker was added after the scan's dependency check stays ready and counts as dependency-blocked until a later scan. `ab ticket create --blocked-by` into the ready state opens the issue in triage, records every blocker, then moves it to ready; a partial failure says so and leaves it in triage. An issue transferred to another repository is no longer a ticket here: its old number reads as missing, so it is never written and never resolves a blocker.
144
162
  - **Issue links.** The ticket's own issue is always a `closes` link that can't be removed. Links to other issues are labels named `autobuild-link:<intent> #<n>`, such as `autobuild-link:refs #820`, so they show on the issue and survive edits on GitHub. Each linked issue and intent adds one repository label, which appears in GitHub's label picker; unused link labels are never deleted.
145
163
  - **Comments and assets.** Dispatcher notices post as issue comments, but tickets carry no comment history, so `ab ticket show` lists none; export and import read comment history explicitly. Assets live in the BuildStore, with the usual note left as an issue comment.
146
164
  - **Nodes and targets.** A node is an issue with the exact `node` label. A ticket targets a node by being a sub-issue of the node's issue, so the node's sub-issue list on GitHub shows its children. A parent without the `node` label, or in another repository, is ordinary grouping: it gives no target, never blocks dispatch and is left untouched, so `--target` on such an issue is refused and `--no-target` doesn't remove it. Sub-issues and `node` labels added or removed on GitHub read the same as `ab ticket` writes. GitHub allows 100 direct sub-issues per issue and 8 levels of nesting. A repository label named `Node` or another casing must be renamed to `node` first.
147
165
  - **Export and import.** `ab ticket export` covers every issue, closed ones included. `ab ticket import` remaps every id to a new issue number and resumes by creation key, as the ticket migration procedure's GitHub section describes.
148
166
  - **Not supported:** guarded writes (`--expected-revision` is refused, as with Linear).
149
- - **Cost.** Dispatcher reads are conditional requests. Their validators live under the local state root, in `github-tickets/<owner>/<repo>/validators/`, and are evicted after 7 days unused, so a tick on an unchanged repository spends no primary rate-limit budget. A process without them, such as a cold hosted instance, pays one read sized by the ready candidates. A ready candidate whose parent issue isn't in the listing adds one conditional read of that parent, at most one per distinct parent. A node's completeness check reads the node issue and its sub-issues, conditionally, whatever the repository's size. With `readyAssignee` set, the unassigned-issue report adds one conditional read per scan, plus one per further page, which is free on an unchanged repository; its failure, a rate limit included, is a diagnostic that never stops assigned tickets from being listed and claimed. Rate limits surface as the ticket-source rate-limit error, with GitHub's reset time.
167
+ - **Cost.** Dispatcher reads are conditional requests. Their validators live under the local state root, in `github-tickets/<owner>/<repo>/validators/`, and are evicted after 7 days unused, so a tick on an unchanged repository spends no primary rate-limit budget. A process without them, such as a cold hosted instance, pays one read sized by the ready candidates. A ready candidate whose parent issue isn't in the listing adds one conditional read of that parent, at most one per distinct parent. Each ready candidate adds one conditional read of its dependency list, free while it is unchanged; a tick with no ready issues adds none. Each claim attempt adds one fresh dependency read, plus one per further page of 100 blockers. A node's completeness check reads the node issue and its sub-issues, conditionally, whatever the repository's size. With `readyAssignee` set, the unassigned-issue report adds one conditional read per scan, plus one per further page, which is free on an unchanged repository; its failure, a rate limit included, is a diagnostic that never stops assigned tickets from being listed and claimed. Rate limits surface as the ticket-source rate-limit error, with GitHub's reset time.
168
+ - **Search.** `ab ticket search` and `tickets.search` send one [`GET /search/issues`](https://docs.github.com/en/rest/search/search#search-issues-and-pull-requests) per page, scoped to the repository, newest filed first, with no read per hit, so hits carry no target. Matching is GitHub's case-insensitive word matching on title and body. The text splits on whitespace into words, and each word is quoted, so search syntax in the text stays literal; double quotes in the text are removed rather than read as phrase syntax, a word that was only quotes is dropped, and text with no words left is refused. The quoted words may total at most 256 characters. A label filter containing a comma or double quote, or a state filter containing a double quote, is refused before any request. GitHub serves only the first 1,000 matches; the page that reaches that cap says so in a diagnostic. Done and rejected filters follow close reasons as listings do, and closures from before GitHub's close reasons are done; because a state filter is applied to a broader GitHub query, a filtered page can come back shorter than its limit with a cursor still set, so follow the cursor. A reopened issue's stale state label reports its label's state until a read strips it, and GitHub's search index can lag a just-filed or relabelled issue by seconds. Search has its own [30-per-minute quota](https://docs.github.com/en/rest/rate-limit/rate-limit): exhausting it refuses only further searches until GitHub's reset, while listing and claiming continue. A [secondary rate limit](https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits), or any limit GitHub doesn't attribute to the search quota, pauses the whole source until its reset, as for every other GitHub request.
150
169
  - **State counts** are display-only: one fresh GraphQL request per call, plus one more for each further page of 100 `autobuild:` labels, never cached and never reading issue history, with done and rejected subject to GitHub's search-index lag. Three cases approximate. A stale reopen label counts in its label's state until the first read strips it. An issue with two or more state labels counts once in each until its labels are fixed; the first read reports it. A closure that predates GitHub's close reasons reads as done but may count as rejected or `not-planned`, and never heals.
151
170
  - **Creation keys** live in a hidden marker in the issue body. A keyed create needs `idempotencyKeyReservedAt`; harvest supplies it.
152
171
 
@@ -173,7 +192,7 @@ The `file`, `hosted` and `github` sources store [forge issue links](tickets.md#g
173
192
 
174
193
  ### Optional priority
175
194
 
176
- A ticket is `urgent` or `normal` (the default); the dispatcher claims urgent ready work first. The `file` and `hosted` sources store priority: as `priority = "urgent"` frontmatter with no key for normal (`file`), or transactional project data covered by the ticket revision (`hosted`, whose ready listing returns urgent tickets first). `linear` uses its native Urgent priority, described in its section above.
195
+ A ticket is `urgent` or `normal` (the default); the dispatcher claims urgent ready work first, ahead of normal builds waiting for a slot. The `file` and `hosted` sources store priority: as `priority = "urgent"` frontmatter with no key for normal (`file`), or transactional project data covered by the ticket revision (`hosted`, whose ready listing returns urgent tickets first). `linear` uses its native Urgent priority, described in its section above.
177
196
 
178
197
  ### Optional ticket tree
179
198
 
@@ -208,6 +227,8 @@ Declare `readyAssignee` only if `listReady` filters by `criteria.assignee`; with
208
227
 
209
228
  Declare `assignees` only if you store, return and verify ticket assignees; without it, a write naming assignees and a configured `createAssignee` are refused, naming your source. See the [optional assignees capability](plugin-authoring.md#optional-assignees-capability).
210
229
 
230
+ Labels need no capability: every source stores them. Callers union `[tickets].createLabels` into the draft's `labels` before `create`, so a draft's labels are always exact.
231
+
211
232
  Declare tree support only if you keep the [optional tree contract](plugin-authoring.md#optional-ticket-tree-capability) on the same port and harness: exhaustive pagination, canonical targets, revision coverage and atomic rejection.
212
233
 
213
234
  Native paging is an optional API 1.9 ticket-source capability:
@@ -228,15 +249,34 @@ Only paged operator listings select this capability. Sources without it retain
228
249
  the full-read fallback, which orders the listing before offset and limit: by
229
250
  default a stable urgent-first partition (urgent, then normal, each in source
230
251
  order), or for newest the reversed listing, which is newest filed first for
231
- sources that list in filing order (file, GitHub, Linear). The remote
232
- `HostedTicketSource` is the exception: the hosted list-ready protocol returns
233
- urgent tickets first and carries no filing time, so the client cannot see
234
- filing order, and its newest pages are reversed dispatch order whenever urgent
235
- tickets exist. Native errors propagate. Unpaged operator
236
- listings, CLI ticket lists and dispatcher ready scans remain exhaustive through
237
- `listReady`/`listAll`. The hosted PostgreSQL source counts matches without
238
- bodies and reads only the SQL-bounded window. File, Linear, GitHub and the remote
239
- `HostedTicketSource` retain fallback; the POST list-ready protocol stays exhaustive.
252
+ sources that list in filing order (file, GitHub, Linear). Native errors
253
+ propagate. Unpaged operator listings, CLI ticket lists and dispatcher ready
254
+ scans remain exhaustive through `listReady`/`listAll`. The hosted PostgreSQL
255
+ source counts matches without bodies and reads only the SQL-bounded window.
256
+ File, Linear and GitHub retain fallback; the remote `HostedTicketSource`
257
+ forwards pages to the service's native paging (`list-page`), falling back only
258
+ against a service predating it. The POST list-ready protocol stays exhaustive.
259
+
260
+ Search is an optional API 1.11 ticket-source capability:
261
+ `search?(query: TicketSearchQuery): Promise<TicketSearchPage>`. It matches
262
+ every query word against titles and bodies, filters by state and labels, and
263
+ returns compact hits with an opaque cursor; `tickets.search` and
264
+ `ab ticket search` call it. The file source implements it with one tracker scan
265
+ per call, and the in-memory fake used for tests implements it too. The hosted
266
+ source searches through the service's `search` operation, which PostgreSQL
267
+ answers with one bounded statement per page; against a service predating it,
268
+ the hosted source refuses with `search-unsupported`. PostgreSQL search
269
+ case-folds title and body with the ICU root collation `und-x-icu`, so a server
270
+ built without ICU refuses search with `search-unsupported`; PostgreSQL 16 and
271
+ later build with ICU by default. The Linear source answers each page with one
272
+ GraphQL `issues` request filtered to the configured team: every query word must
273
+ match the title or description through Linear's `containsIgnoreCase`, newest
274
+ first, archived issues included. A hit lists at most 50 labels, with a
275
+ diagnostic beyond that. The GitHub source answers each page with one GitHub
276
+ issue search request scoped to the repository, using GitHub's case-insensitive
277
+ word matching on title and body; the GitHub section's **Search** bullet covers
278
+ its limits. Nothing falls back to a listing. See the
279
+ [optional ticket search capability](plugin-authoring.md#optional-ticket-search-capability).
240
280
 
241
281
  Bounded state counts are another optional capability:
242
282
  `countStates?(names: readonly string[]): Promise<TicketStateCount[]>`. It returns
package/docs/tickets.md CHANGED
@@ -41,6 +41,12 @@ The spec standard asks for:
41
41
 
42
42
  Your operator agent grooms the ticket with you using `ab-spec`, then moves it to the ready state with any required labels. Dispatch's spec gate returns ready tickets that can't become conforming specs to Triage with an explanation.
43
43
 
44
+ Before filing, search for a ticket that already covers the work (MCP `tickets.search`). It matches every word against titles and bodies in every state; sources without search refuse and name themselves.
45
+
46
+ ```sh
47
+ bun ab ticket search "close stale sandboxes"
48
+ ```
49
+
44
50
  When the work comes from a forge issue, record it on the ticket: `--issues 824` when the ticket fully resolves issue #824 (`closes`, the default), or `--issues 820:refs` when it only partly addresses it. `ab ticket update --issues` replaces the set and `--issues ''` clears it. Sources that can't store issue links refuse the write and name the source.
45
51
 
46
52
  A build freezes the links when it claims the ticket. On GitHub, a leaf build that targets the default branch writes `Closes #824` or `Refs #820` lines at the end of its PR body and before the trailers of its landed commit, so merging closes each fully resolved issue and back-links the rest. A leaf that targets a node branch writes only `Refs` lines into its PR body, which never close anything, and none into its landed commit; its links ride up to the root node's PR into the default branch, together with the node's own links, so they close when the node lands. A build that turns out to only partly resolve an issue downgrades it to `refs` with a recorded reason.
@@ -61,15 +67,17 @@ On the `github` source a ticket has assignees. `--assignees alice,me` on `ab tic
61
67
  bun ab ticket update 412 --assignees octocat
62
68
  ```
63
69
 
70
+ Set `[tickets].createLabels` to label every ticket Autobuild creates, including harvest proposals, so a shared tracker separates them from reports people file. `--labels` on create adds to them instead of replacing them, and `ab ticket import` never applies them. See [Creation labels](ticket-sources.md#creation-labels).
71
+
64
72
 
65
73
  ## Backlog and rejected
66
74
 
67
75
  Two optional lifecycle roles sit beside triage, ready, claimed and done:
68
76
 
69
77
  - **Backlog** holds work you deferred on purpose. Nothing dispatches from it.
70
- - **Rejected** holds work you considered and declined. A rejected ticket never unblocks the tickets it blocks, and a rejected child no longer holds its node open.
78
+ - **Rejected** holds work you considered and declined. A rejected ticket never unblocks the tickets it blocks, and a rejected child no longer holds its node open. The dispatcher moves a ticket here only when an optimization attempt ends without landing, including when you abort it.
71
79
 
72
- Both roles are recommended. Map each to a native state with `[tickets].backlogState` and `[tickets].rejectedState`; `ab init` writes `backlog` and `rejected` for the file, hosted and GitHub sources, and a Linear team might use `Icebox` and `Canceled`. With a key unset, that role doesn't exist. Your operator agent moves tickets by role, so it never needs your native names:
80
+ Both roles are recommended. Map each to a native state with `[tickets].backlogState` and `[tickets].rejectedState`; `ab init` writes `backlog` and `rejected` for the file, hosted and GitHub sources, and a Linear team might use `Icebox` and `Canceled`. With a key unset, that role doesn't exist, and an [optimization node](optimization-nodes.md) is refused at dispatch: it needs the rejected role for its rejected attempts. Your operator agent moves tickets by role, so it never needs your native names:
73
81
 
74
82
  ```sh
75
83
  bun ab ticket move AUT-12 --role backlog
@@ -79,12 +87,13 @@ Moving a ticket back to triage, backlog or ready restores ordinary behavior. "Bu
79
87
 
80
88
  ## Ready is a gate, not a guarantee
81
89
 
82
- The dispatcher claims only tickets in the ready state with the required labels and any source-specific filter. A ready ticket still waits on:
90
+ Ordinary intake claims only tickets in the ready state with the required labels and any source-specific listing filter, such as a ready assignee. A ticket named by `ab start` (`tickets.start`) must still be in the ready state, but those listing labels and the ready assignee are not applied to it. A ready ticket still waits on:
83
91
 
84
92
  - **Blockers.** Unresolved prerequisite tickets keep it queued; they don't create a blocked build. With nodes, prerequisites with builds must be present at the sampled destination; see [integration and blocker presence](integration-overview.md).
85
- - **Destination and capacity.** Its target must accept new work, and a capacity slot must be free and not reserved for an integration node awaiting verification, a finished build waiting to re-verify or reconcile, or a build resuming after its ticket wait ends; each of those is admitted before new claims.
93
+ - **Destination and capacity.** Its target must accept new work, and a capacity slot must be free and not reserved for an integration node awaiting verification, a finished build waiting to re-verify or reconcile, or a build resuming after its ticket wait ends; each of those is admitted before normal claims (see [slot admission order](dispatcher.md#slot-admission-order)). A pending `ab start` request reserves a slot ahead of the claims and parked work its tier outranks.
94
+ - **Open-PR backpressure.** When the repository configures `maxOpenPrs` and that many root build PRs are open and unmerged, the dispatcher pauses ordinary ready-queue normal-priority claims, even with a free slot, until the count drains to `resumeOpenPrs` (below `maxOpenPrs` when the two are equal). Urgent tickets bypass this gate, and so does every `ab start` tier, which still respects capacity and repository pause. See [`[policy]`](configuration.md#policy) for the thresholds.
86
95
 
87
- When a slot is free, the dispatcher takes urgent ready tickets first, then normal ones, each in the source's order. Priority changes only that order: a blocked urgent ticket waits like any other while normal work proceeds, and an urgent ticket never stops or pauses a running build. The web dashboard's Queue tab lists tickets in the same order and marks urgent ones `URGENT`; the mark shows priority, not that the ticket will dispatch next.
96
+ When a slot is free, the dispatcher takes urgent ready tickets first, then normal ones, each in the source's order. Urgent tickets also go ahead of normal builds waiting to re-verify, reconcile or resume, though not ahead of urgent ones. An ordinary claimed ticket's priority becomes its build's priority. An [optimization node's attempts](optimization-nodes.md#attempts) claim at the node's current priority instead: a later `ab priority` on the node affects attempts claimed afterwards, while an already claimed attempt keeps its build priority. To expedite a build that already exists, run `ab priority <slug> urgent`. Urgent tickets also bypass open-PR backpressure: a blocked urgent ticket waits like any other while normal work proceeds, and an urgent ticket never stops or pauses a running build. The web dashboard's Queue tab lists tickets in the same order and marks urgent ones `URGENT`; the mark shows priority, not that the ticket will dispatch next.
88
97
 
89
98
  Before ready filing, the agent checks `ab repository status --json`. With live
90
99
  `operator.registrations`, it records intent, rejected alternatives and out-of-scope
@@ -92,12 +101,18 @@ reasons in the ticket body, files, tells you the existing operator will pick it
92
101
  and stops without a watch. Otherwise it takes the operator role for the builds the repository's dispatcher dispatches.
93
102
  Your explicit instruction overrides either default; non-ready work needs no watch.
94
103
 
95
- At dispatch, Autobuild pins the spec, so later tracker edits don't change what reviewers approved. A deliberate revision goes through your operator agent answering an escalation, and restarts planning:
104
+ At dispatch, Autobuild pins the spec, so later tracker edits don't change what reviewers approved. Editing the ticket alone publishes nothing; a deliberate revision must be published explicitly, and restarts planning. For a blocked build, your operator agent publishes it while answering an escalation:
96
105
 
97
106
  ```sh
98
107
  bun ab answer <slug> --revise-spec-from-ticket
99
108
  ```
100
109
 
110
+ For a finished leaf that is waiting for its merge decision and not yet merged, reopen it with the revision instead; no escalation is needed, and the open PR is kept. Revising from the ticket also re-pins its assets. See [Send a finished build back](operating.md#send-a-finished-build-back):
111
+
112
+ ```sh
113
+ bun ab reopen <slug> --revise-spec-from-ticket
114
+ ```
115
+
101
116
 
102
117
  ## Work and node tickets
103
118