@defrex/autobuild 1.0.1 → 1.2.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 (247) hide show
  1. package/README.md +10 -18
  2. package/SPEC.md +499 -238
  3. package/bin/ab-dispatch-generation.ts +11 -2
  4. package/docs/accounts.md +119 -0
  5. package/docs/agent-runtimes.md +4 -4
  6. package/docs/answering-blocked-builds.md +2 -2
  7. package/docs/architecture.md +262 -53
  8. package/docs/assets/headline-wide.png +0 -0
  9. package/docs/build-store.md +3 -41
  10. package/docs/builds.md +4 -4
  11. package/docs/cli.md +18 -4
  12. package/docs/configuration-overview.md +115 -4
  13. package/docs/configuration.md +488 -334
  14. package/docs/dispatcher-hosting.md +19 -34
  15. package/docs/dispatcher.md +1 -1
  16. package/docs/forges.md +5 -5
  17. package/docs/getting-started.md +2 -2
  18. package/docs/glossary.md +6 -6
  19. package/docs/intake.md +2 -0
  20. package/docs/integration-overview.md +15 -15
  21. package/docs/integration-tree.md +45 -38
  22. package/docs/integration.md +6 -6
  23. package/{skills/guide/references/landing-policy.md → docs/merge-policy.md} +40 -24
  24. package/docs/migration-1.0.md +17 -13
  25. package/docs/operating.md +41 -19
  26. package/docs/operator-api.md +180 -51
  27. package/docs/operator-surfaces.md +5 -18
  28. package/docs/overview.md +3 -3
  29. package/docs/plugin-authoring.md +21 -0
  30. package/docs/remote-store-protocol.md +242 -68
  31. package/docs/remote-ticket-protocol.md +30 -50
  32. package/docs/restacking.md +54 -15
  33. package/docs/seams.md +8 -8
  34. package/docs/setup.md +59 -119
  35. package/docs/skills.md +1 -1
  36. package/docs/spec-standard.md +6 -6
  37. package/docs/ticket-dependencies.md +7 -7
  38. package/docs/ticket-sources.md +18 -0
  39. package/docs/tickets.md +8 -2
  40. package/docs/troubleshooting.md +8 -12
  41. package/docs/upgrading.md +9 -4
  42. package/docs/verification.md +60 -14
  43. package/docs/workspaces.md +4 -4
  44. package/package.json +17 -6
  45. package/packages/core/src/accounts/chatgpt-oauth.ts +216 -0
  46. package/packages/core/src/accounts/chatgpt-state.ts +41 -0
  47. package/packages/core/src/accounts/local-credentials.ts +194 -0
  48. package/packages/core/src/accounts/local-inference.ts +106 -0
  49. package/packages/core/src/accounts/local-owner.ts +123 -0
  50. package/packages/core/src/accounts/sensitive.ts +2 -0
  51. package/packages/core/src/cli/accounts.ts +147 -0
  52. package/packages/core/src/cli/binary-direct.ts +13 -1
  53. package/packages/core/src/cli/binary-lifecycle.ts +65 -2
  54. package/packages/core/src/cli/binary.ts +3 -1
  55. package/packages/core/src/cli/build-control.ts +83 -28
  56. package/packages/core/src/cli/connect.ts +3 -3
  57. package/packages/core/src/cli/context.ts +81 -38
  58. package/packages/core/src/cli/dashboard/facts.ts +2 -1
  59. package/packages/core/src/cli/dashboard/integration-detail.ts +8 -8
  60. package/packages/core/src/cli/dashboard/integration-row.ts +40 -13
  61. package/packages/core/src/cli/dashboard/landing-display.ts +25 -0
  62. package/packages/core/src/cli/dashboard/model.ts +56 -33
  63. package/packages/core/src/cli/dashboard/poll.ts +9 -3
  64. package/packages/core/src/cli/dashboard/render.ts +59 -37
  65. package/packages/core/src/cli/dashboard/target-distance.ts +14 -0
  66. package/packages/core/src/cli/dashboard/tree.ts +3 -2
  67. package/packages/core/src/cli/dispatch-args.ts +1 -1
  68. package/packages/core/src/cli/dispatch-frontend.ts +6 -3
  69. package/packages/core/src/cli/dispatch-handoff.ts +125 -44
  70. package/packages/core/src/cli/dispatch-launch-contract.ts +187 -0
  71. package/packages/core/src/cli/dispatch-launcher.ts +54 -21
  72. package/packages/core/src/cli/dispatch-preflight.ts +6 -1
  73. package/packages/core/src/cli/dispatch.ts +106 -11
  74. package/packages/core/src/cli/env.ts +4 -0
  75. package/packages/core/src/cli/help.ts +46 -23
  76. package/packages/core/src/cli/init-readiness-remote.ts +22 -1
  77. package/packages/core/src/cli/init-readiness-shared.ts +5 -1
  78. package/packages/core/src/cli/init-validation.ts +160 -18
  79. package/packages/core/src/cli/main.ts +68 -8
  80. package/packages/core/src/cli/node-verification-provenance.ts +1 -97
  81. package/packages/core/src/cli/publication-settlement.ts +47 -21
  82. package/packages/core/src/cli/repository-status.ts +20 -9
  83. package/packages/core/src/cli/secrets.ts +173 -0
  84. package/packages/core/src/cli/status.ts +42 -5
  85. package/packages/core/src/cli/store-opening.ts +17 -2
  86. package/packages/core/src/cli/terminal.ts +22 -1
  87. package/packages/core/src/cli/terminals.ts +14 -10
  88. package/packages/core/src/cli/upgrade-agent.ts +9 -1
  89. package/packages/core/src/cli/upgrade-landing.ts +70 -30
  90. package/packages/core/src/cli/upgrade.ts +3 -1
  91. package/packages/core/src/cli/wait.ts +15 -7
  92. package/packages/core/src/cli/watch-lifetime.ts +111 -0
  93. package/packages/core/src/cli/watch.ts +635 -510
  94. package/packages/core/src/config/accounts.ts +101 -0
  95. package/packages/core/src/config/effective-artifact.fixture.ts +27 -0
  96. package/packages/core/src/config/effective-artifact.ts +13 -0
  97. package/packages/core/src/config/landing.ts +1 -1
  98. package/packages/core/src/config/live.ts +14 -1
  99. package/packages/core/src/config/load.ts +21 -1
  100. package/packages/core/src/config/pipeline-source.ts +28 -0
  101. package/packages/core/src/config/reference-metadata.ts +2 -0
  102. package/packages/core/src/config/reference.ts +22 -7
  103. package/packages/core/src/config/roles.ts +54 -3
  104. package/packages/core/src/config/schema.ts +146 -162
  105. package/packages/core/src/context-directory.ts +26 -0
  106. package/packages/core/src/distribution-packaging.ts +26 -5
  107. package/packages/core/src/events/catalog.ts +10 -2
  108. package/packages/core/src/events/compatibility.ts +2 -1
  109. package/packages/core/src/events/globs.ts +1 -1
  110. package/packages/core/src/events/payloads.ts +73 -1
  111. package/packages/core/src/events/policy.ts +7 -0
  112. package/packages/core/src/events/repository.ts +4 -4
  113. package/packages/core/src/events/sessions.ts +6 -6
  114. package/packages/core/src/kernel/__snapshots__/reducer-accumulator-shapes.json +574 -0
  115. package/packages/core/src/kernel/auto-merge.ts +2 -2
  116. package/packages/core/src/kernel/engine.ts +255 -26
  117. package/packages/core/src/kernel/generators/leaf-restack-log.ts +10 -0
  118. package/packages/core/src/kernel/integration-landing.ts +3 -3
  119. package/packages/core/src/kernel/integration-state.ts +27 -4
  120. package/packages/core/src/kernel/leaf-restack-state.ts +28 -3
  121. package/packages/core/src/kernel/log-index.ts +13 -1
  122. package/packages/core/src/kernel/node-landing.ts +8 -8
  123. package/packages/core/src/kernel/node-parent.ts +2 -2
  124. package/packages/core/src/kernel/node-restack-transaction.ts +1 -1
  125. package/packages/core/src/kernel/node-verification-context.ts +216 -0
  126. package/packages/core/src/kernel/phases.ts +1 -1
  127. package/packages/core/src/kernel/plan-verify-selection.ts +16 -0
  128. package/packages/core/src/kernel/publication-retry.ts +168 -0
  129. package/packages/core/src/kernel/reconcile-restack.ts +29 -1
  130. package/packages/core/src/kernel/reducer.ts +85 -5
  131. package/packages/core/src/kernel/target-distance.ts +45 -0
  132. package/packages/core/src/kernel/terminal-guard.ts +10 -1
  133. package/packages/core/src/kernel/verify-stage-state.ts +123 -0
  134. package/packages/core/src/kernel/verify-stages.ts +39 -0
  135. package/packages/core/src/ontology.ts +1 -0
  136. package/packages/core/src/operator/annotations.ts +6 -0
  137. package/packages/core/src/operator/control.ts +1 -1
  138. package/packages/core/src/operator/index.ts +3 -7
  139. package/packages/core/src/operator/landings.ts +5 -1
  140. package/packages/core/src/operator/presentation.ts +6 -1
  141. package/packages/core/src/operator/protocol.ts +6 -0
  142. package/packages/core/src/operator/query.ts +14 -18
  143. package/packages/core/src/operator/registry.ts +39 -7
  144. package/packages/core/src/operator/sandbox-host.ts +64 -40
  145. package/packages/core/src/operator/sandbox.ts +3 -0
  146. package/packages/core/src/operator/ticket-source-backend.ts +3 -12
  147. package/packages/core/src/operator/tickets.ts +25 -4
  148. package/packages/core/src/plugins/manifest.ts +2 -1
  149. package/packages/core/src/ports/forge/contract.ts +2 -2
  150. package/packages/core/src/ports/forge/git-rewrite.ts +25 -2
  151. package/packages/core/src/ports/forge/github-readiness.ts +2 -2
  152. package/packages/core/src/ports/forge/github.ts +26 -7
  153. package/packages/core/src/ports/forge/local-git.ts +4 -4
  154. package/packages/core/src/ports/forge/readiness.ts +1 -1
  155. package/packages/core/src/ports/forge-failure.ts +24 -0
  156. package/packages/core/src/ports/runner/account-env.ts +88 -0
  157. package/packages/core/src/ports/runner/chatgpt-provider.ts +85 -0
  158. package/packages/core/src/ports/runner/claude.ts +26 -2
  159. package/packages/core/src/ports/runner/codex.ts +63 -31
  160. package/packages/core/src/ports/runner/one-shot.ts +2 -0
  161. package/packages/core/src/ports/runner/provider-error.ts +5 -0
  162. package/packages/core/src/ports/runner/routing.ts +35 -4
  163. package/packages/core/src/ports/tickets/contract.ts +58 -0
  164. package/packages/core/src/ports/tickets/tree.ts +1 -1
  165. package/packages/core/src/ports/types.ts +28 -7
  166. package/packages/core/src/ports/workspace/account-policy.ts +72 -0
  167. package/packages/core/src/ports/workspace/build-execution.ts +9 -2
  168. package/packages/core/src/ports/workspace/builtin-capabilities.ts +1 -0
  169. package/packages/core/src/ports/workspace/create.ts +2 -0
  170. package/packages/core/src/ports/workspace/git-worktree.ts +6 -1
  171. package/packages/core/src/ports/workspace/phase-scratch.ts +4 -3
  172. package/packages/core/src/ports/workspace/provider-capabilities.ts +1 -0
  173. package/packages/core/src/ports/workspace/vercel-sandbox.ts +182 -72
  174. package/packages/core/src/processes/build-child.ts +6 -8
  175. package/packages/core/src/processes/build-execution-state.ts +8 -5
  176. package/packages/core/src/processes/build-runner.ts +554 -99
  177. package/packages/core/src/processes/dispatcher.ts +209 -101
  178. package/packages/core/src/processes/execution-no-progress.ts +8 -1
  179. package/packages/core/src/processes/execution-settlement.ts +21 -3
  180. package/packages/core/src/processes/harvest-runner.ts +68 -8
  181. package/packages/core/src/processes/phase-failure-budget.ts +1 -0
  182. package/packages/core/src/processes/publication-loss.ts +8 -2
  183. package/packages/core/src/processes/publication-state.ts +42 -4
  184. package/packages/core/src/processes/repo-view.ts +14 -0
  185. package/packages/core/src/processes/verify-cycle-config.ts +96 -0
  186. package/packages/core/src/project-secrets.ts +105 -0
  187. package/packages/core/src/{integration → scenarios}/harness.ts +330 -317
  188. package/packages/core/src/secret-name.ts +41 -0
  189. package/packages/core/src/store/account-redaction.ts +156 -0
  190. package/packages/core/src/store/adapter.ts +1 -0
  191. package/packages/core/src/store/build-scope.ts +9 -0
  192. package/packages/core/src/store/contract.ts +116 -2
  193. package/packages/core/src/store/local/schema.ts +13 -0
  194. package/packages/core/src/store/local/store.ts +42 -0
  195. package/packages/core/src/store/memory.ts +47 -0
  196. package/packages/core/src/store/operator-presence.ts +21 -0
  197. package/packages/core/src/store/phase-session.ts +10 -0
  198. package/packages/core/src/store/reducer-value-shapes.json +5185 -4156
  199. package/packages/core/src/store/remote/client.ts +89 -48
  200. package/packages/core/src/store/remote/compatibility.ts +20 -0
  201. package/packages/core/src/store/remote/protocol.ts +4 -0
  202. package/packages/core/src/store/remote/version.ts +3 -1
  203. package/packages/core/src/store/retention.ts +2 -3
  204. package/packages/core/src/store/session-handle.ts +9 -0
  205. package/packages/core/src/store/streams/session-writer.ts +1 -1
  206. package/packages/core/src/store/types.ts +12 -2
  207. package/packages/core/src/testing/dispatch-read-budget.ts +122 -0
  208. package/packages/core/src/testing/index.ts +12 -1
  209. package/packages/core/src/testing/reduced-read-budget.ts +47 -0
  210. package/packages/core/src/testing/temp-directories.ts +58 -0
  211. package/skills/code-review/SKILL.md +23 -9
  212. package/skills/finalize/SKILL.md +15 -7
  213. package/skills/guide/SKILL.md +373 -148
  214. package/skills/guide/references/accounts.md +119 -0
  215. package/skills/guide/references/integration-tree.md +45 -38
  216. package/{docs/landing-policy.md → skills/guide/references/merge-policy.md} +40 -24
  217. package/skills/guide/references/migration-1.0.md +17 -13
  218. package/skills/guide/references/operator-api.md +180 -51
  219. package/skills/guide/references/plugin-authoring.md +21 -0
  220. package/skills/guide/references/remote-store-protocol.md +242 -68
  221. package/skills/guide/references/remote-ticket-protocol.md +30 -50
  222. package/skills/guide/references/restacking.md +54 -15
  223. package/skills/guide/references/setup.md +59 -119
  224. package/skills/guide/references/spec-standard.md +6 -6
  225. package/skills/guide/references/ticket-dependencies.md +7 -7
  226. package/skills/harvest/SKILL.md +3 -1
  227. package/skills/harvest-review/SKILL.md +3 -1
  228. package/skills/implement/SKILL.md +43 -17
  229. package/skills/operate/SKILL.md +118 -118
  230. package/skills/plan/SKILL.md +39 -13
  231. package/skills/plan-review/SKILL.md +15 -10
  232. package/skills/reconcile/SKILL.md +22 -3
  233. package/skills/spec/SKILL.md +20 -20
  234. package/skills/tickets/SKILL.md +12 -9
  235. package/templates/autobuild.toml +1 -1
  236. package/templates/hosted-service/package.json +2 -2
  237. package/docs/hosted-dispatcher-cutover-validation.md +0 -178
  238. package/docs/hosted-dispatcher.md +0 -275
  239. package/docs/hosted-service.md +0 -293
  240. package/docs/mcp.md +0 -149
  241. package/packages/core/src/orchestrator/approvals.ts +0 -115
  242. package/packages/core/src/orchestrator/conversation.ts +0 -167
  243. package/packages/core/src/orchestrator/model.ts +0 -86
  244. package/packages/core/src/orchestrator/prompt.ts +0 -63
  245. package/packages/core/src/orchestrator/tools.ts +0 -117
  246. package/packages/core/src/orchestrator/turn-runner.ts +0 -457
  247. package/packages/core/src/processes/orchestrator-tick.ts +0 -360
@@ -0,0 +1,119 @@
1
+ # Billing accounts
2
+
3
+ Named accounts select billing for Claude Code or Codex, using the user's own
4
+ subscription within ordinary individual usage. Claude and Kimi credentials are
5
+ provisioned manually; Autobuild never runs `claude setup-token`. ChatGPT
6
+ accounts use OpenAI's browser authorization through the CLI.
7
+
8
+ ```toml
9
+ [accounts.personal]
10
+ kind = "claude-subscription"
11
+ credentialEnv = "CLAUDE_CODE_OAUTH_TOKEN"
12
+
13
+ [accounts.kimi]
14
+ kind = "kimi-code"
15
+ credentialEnv = "KIMI_CODE_KEY"
16
+ region = "overseas"
17
+
18
+ [accounts.kimi-china]
19
+ kind = "kimi-code"
20
+ credentialEnv = "KIMI_CHINA_KEY"
21
+ region = "china"
22
+
23
+ [roles.implement]
24
+ runtime = "claude"
25
+ account = "kimi"
26
+ model = "kimi-for-coding"
27
+ ```
28
+
29
+ `account` inherits independently on roles and alternates. Without an explicit
30
+ selection, a Claude route chooses the sole Claude subscription account; multiple
31
+ subscription accounts require an explicit selection. ChatGPT accounts require explicit selection on Codex; Claude and Kimi accounts
32
+ require Claude Code. Incompatible runtime selections are rejected. Repositories with no accounts retain legacy authentication.
33
+ Locally a Claude subscription can use its named token or the host login; Kimi
34
+ requires its membership key. Invalid credentials need renewal (`claude setup-token`
35
+ for Claude, replacement membership key for Kimi); quota and overload failures
36
+ retain alternate fallback.
37
+
38
+ Choose the region of your Kimi membership. The default `overseas` selects
39
+ `https://api.kimi.ai/coding/`; `china` selects `https://api.kimi.com/coding/`.
40
+ The base URL and egress hostname are fixed together and cannot be overridden
41
+ independently. There is no cross-region retry or assertion that keys work across
42
+ regions. Claude Code keeps its native User-Agent.
43
+
44
+ In Vercel Sandbox the guest holds stable nonsecret placeholders, including when
45
+ credential variables are explicitly allowlisted. The host egress policy replaces
46
+ an exact account placeholder header only on its provider's exact hostname.
47
+ The next dispatcher observation tick refreshes credentials for subsequent
48
+ requests without reprovisioning. Changing a local dispatcher's `.env` still needs
49
+ a restart. Accounts are deployment-owned descriptors; configuration artifacts
50
+ contain variable names, never values. Validation reports host credential presence
51
+ and makes one minimal request using each account's actual runtime, including
52
+ unused accounts, in the disposable sandbox. Hosted ChatGPT credentials use the
53
+ metadata readiness boundary described below.
54
+
55
+
56
+ ## ChatGPT subscriptions
57
+
58
+ ChatGPT Plus and Pro are eligible for [Sign in with ChatGPT](https://developers.openai.com/siwc/quickstart).
59
+ Authorization grants plan usage for eligible Responses requests; it does not
60
+ grant access to ChatGPT conversations. Included usage is shared with the plan
61
+ and other authorized apps. Plan exhaustion retains configured alternate fallback.
62
+
63
+ ```toml
64
+ [accounts.chatgpt]
65
+ kind = "chatgpt-subscription"
66
+ credentialEnv = "CHATGPT_ACCESS_TOKEN"
67
+
68
+ [roles.implement]
69
+ runtime = "codex"
70
+ account = "chatgpt"
71
+ ```
72
+
73
+ Run `bun ab accounts login chatgpt --local` on your own machine for a local
74
+ dispatcher, or `bun ab accounts login chatgpt --project` for a connected
75
+ project. Without a destination flag, connected projects choose project storage;
76
+ others choose local storage. The destination is shown before the browser opens.
77
+ OpenAI handles consent and authorization. No token is printed.
78
+
79
+ Local credentials live in protected, ignored main-checkout
80
+ `.autobuild/accounts/` state shared by worktrees. Project sign-in transfers
81
+ credentials directly to the encrypted refreshing project secret named by
82
+ `credentialEnv`; it retains no renewable credential locally. This name
83
+ identifies a host access-token slot, not a refresh token supplied in TOML.
84
+ ChatGPT accounts must use slots distinct from every other account. Existing
85
+ ChatGPT descriptors cannot change during live configuration reload; stop dispatch
86
+ before replacing a descriptor, or introduce a new account name.
87
+
88
+ The stable opaque host identifier belongs to the destination; the issued
89
+ client identifier belongs to the authorized ChatGPT registration. Reauthorization
90
+ keeps identity and registration associated. Never copy the ambient Codex login.
91
+
92
+ Exactly one owner refreshes each connection: the local dispatcher or the
93
+ hosted refreshing secret. Credentials rotate atomically before delivery. Expired access tokens remain
94
+ refreshable after dispatcher downtime; a live validator or dispatcher claim
95
+ cannot be displaced. Only a proven dead process or a released claim permits
96
+ a successor to own renewal.
97
+ Sandboxes hold stable placeholders; only an exact bearer match on
98
+ `api.openai.com` receives the current access token at egress. Local Codex uses
99
+ an isolated CODEX_HOME and a capability-protected loopback Responses forwarder which
100
+ reads current durable state and never refreshes. The shell HOME stays intact
101
+ for Git identity and other operator tools. Missing sandbox credentials revoke
102
+ only their egress transforms; unrelated routes keep running. If hosted secret
103
+ resolution fails, intake and new execution launches wait for recovery. A
104
+ revision-fenced observation-only pass uses ready credentials to repair running
105
+ policies; if those credentials cannot be read, the project is skipped. A failed policy
106
+ update stops the sandbox because revocation could not be confirmed.
107
+
108
+ A failed or uncertain refresh is terminal for that credential generation.
109
+ Sign in again with `bun ab accounts login chatgpt` for the same destination;
110
+ do not retry the old refresh token. Token rejection raises account-specific
111
+ attention rather than an alternate or retry loop.
112
+
113
+ For local credentials, `bun ab init --validate` checks the owner and current
114
+ credential and makes a minimal Codex request. Validation uses a temporary
115
+ exclusive ownership claim only when no dispatcher owns the record. For hosted
116
+ project credentials it uses write-only metadata: presence, owner, set time,
117
+ refresh status and any refresh-window warning. It never downloads tokens.
118
+ **The first hosted build is the live check.** A short refresh-window warning is
119
+ advisory and does not revoke a still-valid credential.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Autobuild organizes work as a tree rooted at the configured `baseBranch`.
4
4
  Work tickets are leaves; node tickets are finite integration points that collect
5
- children before landing into their parent. Nodes can nest. An omitted target
5
+ children before merge into their parent. Nodes can nest. An omitted target
6
6
  means the root, so repositories can continue sending every leaf directly there.
7
7
  Blockers form a separate graph. In repositories with nodes, a blocker with a
8
8
  build resolves only when its change identity is present in the dependent's
@@ -12,10 +12,10 @@ See [restacking](restacking.md) for change identity and replay.
12
12
 
13
13
  Presence is checked only at claim, never to interrupt existing work. The newest
14
14
  build generation supplies evidence; ambiguous or unavailable evidence leaves the
15
- dependent queued. Confirmed landing SHA reachability can prove presence without
16
- a trailer, and a landed node transports its whole owned contribution. Empty
17
- completed nodes contribute nothing. Sibling work waits for landing into the common
18
- ancestor and demand the minimal restack path; same-node landings satisfy presence directly.
15
+ dependent queued. Confirmed merge SHA reachability can prove presence without
16
+ a trailer, and a merged node transports its whole owned contribution. Empty
17
+ completed nodes contribute nothing. Sibling work waits for merge into the common
18
+ ancestor and demand the minimal restack path; same-node merges satisfy presence directly.
19
19
 
20
20
  ## Choosing a destination
21
21
 
@@ -24,29 +24,29 @@ First decide whether the feature should be more than one ticket at all; the
24
24
  tickets cut at seams. Whenever grooming produces more than one ticket for a
25
25
  feature, explicitly choose root or a node before filing. Use a node when the set should reach the base branch
26
26
  as one integrated change, or intermediate states should not ship independently.
27
- Use root when every ticket is independently valuable and safe to land alone.
27
+ Use root when every ticket is independently valuable and safe to merge alone.
28
28
  Nested nodes can collect a subfeature before contributing it to a larger feature.
29
29
  A node provides one integrated delivery to its parent under the configured forge
30
30
  method; it does not promise one physical Git commit.
31
31
 
32
32
  Blockers and targets are independent: blockers order work; targets decide where
33
- it lands. A blocker inside the same node resolves when its change lands into that
33
+ it merges. A blocker inside the same node resolves when its change merges into that
34
34
  node, so a dependency chain can advance without waiting for root consent, subject
35
35
  to the normal claim gates and presence rules. Dependencies across destinations
36
36
  still need the presence evidence described above and in
37
37
  [blocker resolution](ticket-dependencies.md#when-a-blocker-resolves).
38
38
 
39
39
  Read the consuming repository's `autobuild.toml` and evaluate its effective
40
- [landing policy](landing-policy.md) for the actual ticket kinds, destinations and
41
- labels. Ordered `[[landing]]` rules use the first match; `from`, `into` and `label`
40
+ [merge policy](merge-policy.md) for the actual ticket kinds, destinations and
41
+ labels. Ordered `[[merge]]` rules use the first match; `from`, `into` and `label`
42
42
  predicates are ANDed, with omitted predicates acting as wildcards. Without a
43
- match, leaves default to auto and nodes to consent. Explain the resulting landing
43
+ match, leaves default to auto and nodes to consent. Explain the resulting merge
44
44
  and consent flow to the human in plain terms. Ask when grooming does not make the
45
45
  destination choice clear. This decision is separate from workflow-state placement
46
46
  and never authorizes promoting tickets to ready.
47
47
 
48
48
  For example, **if** the matched rules require consent into root and allow automatic
49
- landing into nodes (the staged-release example in the policy reference), a
49
+ merge into nodes (the staged-release example in the policy reference), a
50
50
  root-targeted chain waits for consent separately for each ticket and ships each
51
51
  intermediate change to the base branch. Under those same rules, children collect
52
52
  automatically in a node and the verified, complete node waits for consent once
@@ -96,15 +96,15 @@ capacity, effective display capacity and the nodes using descendant-held slots.
96
96
  Idle collecting nodes remain free.
97
97
 
98
98
  Claims freeze the destination build generation and branch. Missing, unopened,
99
- landed, closed or aborted targets leave work queued with diagnostics. The newest
99
+ merged, closed or aborted targets leave work queued with diagnostics. The newest
100
100
  generation wins; a closed generation never falls back to an older open one.
101
101
  Source metadata and effective ancestry are different: `ab ticket tree` shows
102
102
  source targets, while build status shows the effective destination.
103
103
 
104
- ## Collect, verify and land
104
+ ## Collect, verify and merge
105
105
 
106
106
  Node `verify:*` context additionally exposes `nodeVerification`: the frozen
107
- range, a JSON index path, contribution build slugs, current stored ticket
107
+ range, a JSON index path, contribution build slugs, preparation-time stored ticket
108
108
  identities, event-authorized spec revisions and spec paths, and their commits.
109
109
  The index maps every commit in the range using build identity trailers,
110
110
  including earlier-cycle contributions and merge side history. Commits without
@@ -115,7 +115,14 @@ Their full messages express maintainer-authorized intent: judge quality and
115
115
  consistency, and never fail them solely for lacking a covering spec. Other node
116
116
  changes are authorized when covered by the current event-authorized node spec or the spec
117
117
  of the contribution introducing it; use the commit mapping to find that spec.
118
- Missing or ambiguous provenance fails hydration. Leaf context is unchanged.
118
+ The dispatcher collects these inputs with repository authority before launching
119
+ verification and atomically deposits a node-owned `node-verification-context`
120
+ artifact cited by exact revision in `integration.prepared`. Contributor specs
121
+ freeze at preparation; resumed and concurrent verifiers read the same cycle input.
122
+ Hydration reads only that node-owned artifact and grants no general contributor
123
+ read authority. Missing or ambiguous provenance prevents preparation; missing,
124
+ corrupt or mismatched prepared inputs fail hydration. Historical agent cycles
125
+ without a citation require a new integration cycle. Leaf context is unchanged.
119
126
  See [iterating inside a node](#iterating-inside-a-node) for authoring and evolving
120
127
  these sources of intent.
121
128
 
@@ -136,25 +143,25 @@ Each leaf runs the normal spec, plan/review, implement/review, verify and finali
136
143
  pipeline against its frozen destination.
137
144
 
138
145
  A node collects until every ticket targeting it is natively done or cancelled,
139
- all frozen child claims have settled, and at least one contribution has landed.
146
+ all frozen child claims have settled, and at least one contribution has merged.
140
147
  Triage, backlog and ready children keep it incomplete. Exhaustive enumeration
141
148
  failures fail closed. Completeness is sampled again before verification and
142
149
  publication; tracker edits cannot be transactional with a forge write.
143
150
 
144
151
  The kernel runs all configured verify steps with normal path applicability on
145
152
  the exact node head and parent. Either moving invalidates eligibility, even a
146
- clean restack. Failed verification blocks the node and emits `integration.verification-failed` once per prepared cycle. Default watch and new hosted wake settings include it; `ab wait --for attention` also detects the current failure before notification. The fact names failed steps, head, parent and repair guidance. Watch baselines prior failures; reconcile status after arming. A new cycle can notify again, while historical facts do not keep a repaired node blocked. Recovery reports only the latest prepared cycle while its head and parent remain current; superseded failures are not backfilled. Recheck current status before filing a repair, since the node may have advanced after notification. To recover, file a repair child targeting
147
- it; the repaired landed head permits a new cycle. If the contract changed, an
153
+ clean restack. Failed verification blocks the node and emits `integration.verification-failed` once per prepared cycle. Default `ab watch` includes it; `ab wait --for attention` also detects the current failure before notification. The fact names failed steps, head, parent and repair guidance. Watch baselines prior failures; reconcile status after arming. A new cycle can notify again, while historical facts do not keep a repaired node blocked. Recovery reports only the latest prepared cycle while its head and parent remain current; superseded failures are not backfilled. Recheck current status before filing a repair, since the node may have advanced after notification. To recover, file a repair child targeting
154
+ it; the repaired merged head permits a new cycle. If the contract changed, an
148
155
  operator can explicitly revise the spec instead and verify again on the same head
149
156
  (see operator node spec revisions below). Historical reports keep their
150
- actual head/base citations. Integration grammar is collect → verify → land →
157
+ actual head/base citations. Integration grammar is collect → verify → merge →
151
158
  close, with restacking and repair cycles along the way.
152
159
 
153
- [Landing policy](landing-policy.md) defaults nodes to consent. Once complete and
154
- verified, `ab land <slug>` authorizes landing; it refuses incomplete nodes and
160
+ [Merge policy](merge-policy.md) defaults nodes to consent. Once complete and
161
+ verified, `ab merge <slug>` authorizes merge; it refuses incomplete nodes and
155
162
  names open children. `ab hold <slug>` works before readiness and withdraws
156
163
  consent. Automatic authorization still requires every readiness and merge gate.
157
- A landed node completes its ticket and closes admission; it is not a perpetual
164
+ A merged node completes its ticket and closes admission; it is not a perpetual
158
165
  staging branch. Releases remain separate maintainer operations.
159
166
 
160
167
  Human forge merges are an explicit escape hatch, including while incomplete,
@@ -166,7 +173,7 @@ children retain their frozen destination.
166
173
  ## Iterating inside a node
167
174
 
168
175
  Write the node spec as a finite integration charter: its goal, observable
169
- completion conditions for the whole, and destination and landing expectations
176
+ completion conditions for the whole, and destination and merge expectations
170
177
  under the effective policy. Put feature specifics in spec-standard children.
171
178
  An open node supports three ways to iterate:
172
179
 
@@ -191,9 +198,9 @@ An open node supports three ways to iterate:
191
198
  restrictions.
192
199
 
193
200
  Open children keep the node incomplete, including triage, backlog and ready
194
- children. Completion remains finite: landed or otherwise ended nodes close
201
+ children. Completion remains finite: merged or otherwise ended nodes close
195
202
  admission. Iteration does not relax verification of the exact head and parent,
196
- or the configured readiness, consent and landing gates described above.
203
+ or the configured readiness, consent and merge gates described above.
197
204
 
198
205
  ## Changing a parent
199
206
 
@@ -205,11 +212,11 @@ new commit or PR. Descendants restack only on their own demand.
205
212
 
206
213
  The request is durable before the provider write. Source readback accepts the
207
214
  new effective ancestry; branch publication, PR retargeting and completion have
208
- separate receipts. Pending moves fence verification and landing and keep both
209
- parents incomplete. Reparenting revokes land consent; holds survive. Policy is
215
+ separate receipts. Pending moves fence verification and merge and keep both
216
+ parents incomplete. Reparenting revokes merge consent; holds survive. Policy is
210
217
  sampled again for the new parent, including when both parents have the same SHA.
211
218
 
212
- Cycles, unopened/terminal parents, landing or closing nodes, unsupported PR
219
+ Cycles, unopened/terminal parents, merge or closing nodes, unsupported PR
213
220
  retargeting and busy writer operations refuse or defer the move with a reason.
214
221
  Invalid direct provider edits leave effective ancestry unchanged and produce
215
222
  durable diagnostics; restoring it clears the current refusal. Missing source
@@ -218,29 +225,29 @@ Git/PR effects without the tracker. Ambiguous writes are reread on recovery.
218
225
  Changing a claimed work ticket's target is refused before any combined patch is
219
226
  written: abort and re-dispatch instead.
220
227
 
221
- See [forge requirements](landing-policy.md#forge-requirements),
228
+ See [forge requirements](merge-policy.md#forge-requirements),
222
229
  [restacking](restacking.md), and [migration from 0.x](migration-1.0.md).
223
230
 
224
231
  ## Integration detail
225
232
 
226
233
  Both dashboards show destination (with the configured-base annotation for root
227
- targets), row progress and steps, branch/restack state, and all open and landed
234
+ targets), row progress and steps, branch/restack state, and all open and merged
228
235
  children with titles and states. Open children come first; live children show
229
- their current phase, unbuilt children read `queued`, contributions read `landed`.
236
+ their current phase, unbuilt children read `queued`, contributions read `merged`.
230
237
  Cancelled tickets without contributions are excluded. Verification names the
231
238
  expected steps and only outcomes bound to the current node head and destination;
232
- failures name the repair-child instruction. Landing explains the rule and mode;
233
- ready consent names `l` and `ab land <slug>`. Conflicts name recorded files.
239
+ failures name the repair-child instruction. Merge explains the rule and mode;
240
+ ready consent names `l` and `ab merge <slug>`. Conflicts name recorded files.
234
241
  These are Store-only projections: additive `integration.observed.children`
235
242
  metadata carries source/id, optional title and contribution build identity;
236
243
  `node.item-conflicted.files` and conflicted `restack.replayed.files` retain paths.
237
244
  Older events remain readable, with explicit unavailable titles/files. Display
238
- metadata never changes completeness or landing eligibility.
245
+ metadata never changes completeness or merge eligibility.
239
246
 
240
247
  ## Demand-driven parent freshness
241
248
 
242
249
  Collecting nodes may intentionally trail their parent. They refresh before
243
- verification and landing, for queued dependency presence, on operator request,
250
+ verification and merge, for queued dependency presence, on operator request,
244
251
  and after accepted re-parenting. Descendants need independent demand; presence
245
252
  requests follow only the minimal proven ancestor path. See
246
253
  [restacking](restacking.md#timing-and-evidence) for timing, requests and distance.
@@ -250,7 +257,7 @@ requests follow only the minimal proven ancestor path. See
250
257
  Opened integration nodes poll every tick until their durable activity has been
251
258
  quiet for `policy.nodeIdleAfterSeconds` (default 600 seconds), then poll every
252
259
  `policy.nodeIdlePollSeconds` (default 120 seconds). Holds and waiting for consent
253
- qualify normally. Child claims, PR and landing activity, operator commands
260
+ qualify normally. Child claims, PR and merge activity, operator commands
254
261
  (including repeated holds), restack requests and answers wake the next tick.
255
262
  GitHub-only changes are discovered on the next due check, within the idle
256
263
  interval plus normal tick scheduling while the dispatcher is running; failure,
@@ -272,10 +279,10 @@ Each kernel `spec.revised` records the exact artifact and operator identity
272
279
  Ticket-origin revisions re-pin assets; supplied bodies preserve asset pins.
273
280
  The node recollects and verifies the new revision, including on the same head
274
281
  and parent after a failed cycle. Earlier cycles remain historical evidence
275
- and cannot block or authorize landing under the replacement. Children keep
282
+ and cannot block or authorize merge under the replacement. Children keep
276
283
  their specs, claims and targets; contributions are not restarted.
277
284
  Active verification/reconcile or writer work, restack/reparent work, pause,
278
- pending controls, landing intent and ended PRs refuse the no-escalation path.
285
+ pending controls, merge intent and ended PRs refuse the no-escalation path.
279
286
  A concurrent state change refuses publication with a retry explanation;
280
287
  uncited artifacts are inert. Leaves still require an open escalation and
281
288
  restart from `plan`.
@@ -1,6 +1,6 @@
1
- # Landing policy
1
+ # Merge policy
2
2
 
3
- Landing authorization is an ordered, strict `[[landing]]` array in
3
+ Merge authorization is an ordered, strict `[[merge]]` array in
4
4
  `autobuild.toml`. Rules require `mode = "auto"` or `"consent"`; optional
5
5
  predicates are ANDed, omissions are wildcards, and the first match wins.
6
6
 
@@ -22,14 +22,14 @@ Editing configuration does not revise that decision. A replacement candidate
22
22
  gets a fresh decision. Policy is live dispatcher configuration, separate from
23
23
  the pinned execution pipeline.
24
24
 
25
- `ab hold <slug>` suppresses landing and revokes consent, even before readiness.
26
- `ab land <slug>` requires readiness, clears hold and consents to this landing
25
+ `ab hold <slug>` suppresses merge and revokes consent, even before readiness.
26
+ `ab merge <slug>` requires readiness, clears hold and consents to this merge
27
27
  into its destination. Consent survives head replacement, restacking, verification
28
- and re-finalization until hold or completion; it approves the landing rather than
28
+ and re-finalization until hold or completion; it approves the merge rather than
29
29
  an immutable diff. Accepted node reparenting revokes it. Commands and receipts
30
30
  are sequence-correlated: hold acknowledgement confirms native cancellation;
31
- land acknowledgement does not claim gates passed. MCP/operator tools offer the
32
- same actions; the terminal uses `l`/`o`, and the web has no consent controls.
31
+ merge acknowledgement does not claim gates passed. MCP/operator tools offer the
32
+ same actions; the terminal uses `l`/`o`. These controls record durable actions; merge consent does not mean the merge gates have passed.
33
33
 
34
34
  ## Worked configurations
35
35
 
@@ -40,7 +40,7 @@ repository's commands, roles and verification before operating it.
40
40
 
41
41
  ```toml
42
42
  baseBranch = "main"
43
- landing = []
43
+ merge = []
44
44
 
45
45
  [tickets]
46
46
  source = "file"
@@ -55,11 +55,11 @@ consent. No special rule is needed for a repository without integration nodes.
55
55
  ```toml
56
56
  baseBranch = "main"
57
57
 
58
- [[landing]]
58
+ [[merge]]
59
59
  into = "root"
60
60
  mode = "consent"
61
61
 
62
- [[landing]]
62
+ [[merge]]
63
63
  into = "node"
64
64
  mode = "auto"
65
65
 
@@ -69,7 +69,7 @@ readyState = "ready"
69
69
  ```
70
70
 
71
71
  Leaves and nodes entering the root match rule 1 and require consent. Leaves and
72
- nested nodes entering any node match rule 2 and land automatically when ready.
72
+ nested nodes entering any node match rule 2 and merge automatically when ready.
73
73
  A specific destination can replace `"node"` with its ticket id, such as
74
74
  `"REL-1"`; it matches that frozen destination only.
75
75
 
@@ -78,15 +78,15 @@ A specific destination can replace `"node"` with its ticket id, such as
78
78
  ```toml
79
79
  baseBranch = "main"
80
80
 
81
- [[landing]]
81
+ [[merge]]
82
82
  label = "review"
83
83
  mode = "consent"
84
84
 
85
- [[landing]]
85
+ [[merge]]
86
86
  from = "node"
87
87
  mode = "consent"
88
88
 
89
- [[landing]]
89
+ [[merge]]
90
90
  mode = "auto"
91
91
 
92
92
  [tickets]
@@ -99,14 +99,14 @@ other leaves match rule 3. `Review` does not match `review`. Moving the catch-al
99
99
  to the front would shadow both safeguards and automatically authorize nodes too.
100
100
  Authorization never bypasses verification, checks, protection or merge gates.
101
101
 
102
- ## Landing methods
102
+ ## Merge methods
103
103
 
104
104
  Root-target leaves squash into one identity-bearing commit per build.
105
105
  Node-target children use serialized, exact-parent guarded fast-forwards;
106
- node-to-local-git-root landing also fast-forwards, preserving the contributions.
107
- Node-to-GitHub-root landing uses PR rebase merge guarded on verified head after
106
+ node-to-local-git-root merge also fast-forwards, preserving the contributions.
107
+ Node-to-GitHub-root merge uses PR rebase merge guarded on verified head after
108
108
  a final parent freshness read. Enforced up-to-date protection provides a fenced
109
- landing; uncertainty is recorded as unfenced and requires immutable landed-tree
109
+ merge; uncertainty is recorded as unfenced and requires immutable merged-tree
110
110
  audit. A mismatch raises operator attention without rewriting the shared parent.
111
111
  Pending audits survive completion and retry until settled.
112
112
 
@@ -115,15 +115,15 @@ authoritatively ungated root permits an inspected-head guarded direct squash;
115
115
  unknown gate state defers. Node targets instead require authoritative proof of
116
116
  an ungated destination, cancel native auto-merge and serialize the guarded push.
117
117
  Gated or unproven node destinations stay open with actionable diagnostics.
118
- Successful push proves landing; forge acknowledgement is best-effort, including
119
- a landed-SHA comment and closing an unacknowledged open review.
118
+ Successful push proves merge; forge acknowledgement is best-effort, including
119
+ a merged-SHA comment and closing an unacknowledged open review.
120
120
 
121
121
  Native application receipts bind to exact candidates; consent does not. Every
122
122
  replacement confirms cancellation first; the next poll reconciles native state
123
123
  before other actions. Stale enables are repaired by polling. This bounded model
124
124
  requires replacement-head checks to take far longer than a poll interval. It
125
125
  has no durable native-effect reservation. Human forge merges record whether a
126
- hold was overridden; possible stale-enable landings raise operator attention.
126
+ hold was overridden; possible stale-enable merges raise operator attention.
127
127
  No result is undone by rewriting the target.
128
128
 
129
129
  ## Forge requirements
@@ -136,7 +136,7 @@ retention policy. See [restacking](restacking.md).
136
136
 
137
137
  Tree admission requires node branch creation, authoritative branch-head reads
138
138
  and comparison. Reparenting additionally requires PR retargeting. Controlled
139
- landing requires exact-parent guarded publication and authoritative gate proof;
139
+ merge requires exact-parent guarded publication and authoritative gate proof;
140
140
  GitHub root nodes also need rebase merge support. Root leaves require squash
141
141
  support. Readiness inspection reports method/publication hard failures and
142
142
  linear-history/freshness recommendations without changing provider settings or
@@ -145,7 +145,7 @@ pushing probes. Unknown permission never proves permission.
145
145
  Legacy plugins can remain readable without supporting tree operations: old
146
146
  ticket sources read as work/root and refuse tree metadata writes. This read
147
147
  compatibility does not grant forge tree capabilities. Upgrade adapters before
148
- admitting nodes or requesting unsupported retargeting or landing operations.
148
+ admitting nodes or requesting unsupported retargeting or merge operations.
149
149
  For the lifecycle see [integration trees](integration-tree.md); for old controls
150
150
  and upgrade conversion see [migration](migration-1.0.md).
151
151
 
@@ -157,5 +157,21 @@ Local-git's shared database retains authoritative CAS.
157
157
 
158
158
  Native cancellation receipts are candidate- and operation-specific. Publication
159
159
  retries confirm forge state before reusing a receipt; external re-enables require
160
- another confirmed cancellation. Classified transient landing failures retain
160
+ another confirmed cancellation. Classified transient merge failures retain
161
161
  retry eligibility and recheck authorization after repository forge cooldown.
162
+
163
+ ## Deprecated spellings
164
+
165
+ `ab land` and `ab landings` remain callable aliases for `ab merge` and `ab merges`,
166
+ with one deprecation notice on stderr. `node-landed` remains an alias for the
167
+ `ab wait --for node-merged` condition. Ordinary help lists only the current names.
168
+
169
+ The deprecated `[[landing]]` config array has the same semantics as `[[merge]]`
170
+ and warns after validation. Declare only one spelling, including empty arrays.
171
+ `ab upgrade` renames the old root key and table headers while preserving policy;
172
+ unsupported spellings require the reported manual edit before retrying.
173
+
174
+ MCP discovery offers `merges.list` and its deprecated alias `landings.list`.
175
+ `builds.control` accepts canonical `merge` and deprecated `land` actions through
176
+ both MCP bindings. HTTP control bodies and durable event fields retain their
177
+ existing wire names, including `land`, `landing.decided`, and `integration.landed`.
@@ -1,6 +1,6 @@
1
1
  # Migrating from 0.x to 1.0
2
2
 
3
- The integration tree changes replay and landing authorization. It does not cut a
3
+ The integration tree changes replay and merge authorization. It does not cut a
4
4
  release or rename `baseBranch`: that setting now names the tree root. Existing
5
5
  tickets default to work with no target and continue targeting the root. Adopt
6
6
  nodes only when useful; see [integration trees](integration-tree.md).
@@ -13,7 +13,7 @@ review local conflicts. `--no-self-update` skips installation update while still
13
13
  performing repository migration and skill merging. Preserve local customizations
14
14
  and use the installed [setup reference](setup.md) to review verification and roles.
15
15
 
16
- When `landing` is absent, upgrade reads the target repository's configured
16
+ When neither `merge` nor its deprecated `landing` alias is declared, upgrade reads the target repository's configured
17
17
  BuildStore journal, ignoring ambient `AB_STORE` for that choice, and appends:
18
18
 
19
19
  | Legacy repository default | Leaf rule | Node rule |
@@ -23,15 +23,18 @@ BuildStore journal, ignoring ambient `AB_STORE` for that choice, and appends:
23
23
 
24
24
  A genuinely absent local journal counts as no fact. An unreadable or unavailable
25
25
  journal fails migration with guidance: restore store access and retry, or write
26
- explicit rules after deciding the desired policy. Existing valid landing arrays
27
- are preserved byte-for-byte, including root-level `landing = []`, which selects
26
+ explicit rules after deciding the desired policy. Existing valid merge arrays
27
+ are preserved byte-for-byte, including root-level `merge = []`, which selects
28
28
  the new leaf-auto/node-consent defaults. Fresh init uses those new defaults.
29
- See [landing policy](landing-policy.md) for complete worked configurations.
29
+ An explicit deprecated `landing` array is renamed to `merge`, preserving values,
30
+ selectors, order and surrounding comments without reading the legacy journal.
31
+ Declaring both spellings is an error, including empty arrays.
32
+ See [merge policy](merge-policy.md) for complete worked configurations.
30
33
 
31
34
  The repository auto-merge default, its fan-out and old CLI/default controls are
32
- retired. Use `ab land` and `ab hold`, not an old repository switch. Historical
33
- explicit per-build `build.auto-merge-requested`/`cancelled` facts map to land/hold
34
- until a new landing command supersedes them; historical default-seeded requests
35
+ retired. Use `ab merge` and `ab hold`, not an old repository switch. Historical
36
+ explicit per-build `build.auto-merge-requested`/`cancelled` facts map to merge/hold
37
+ until a new merge command supersedes them; historical default-seeded requests
35
38
  confer no consent. New claims do not materialize old defaults.
36
39
 
37
40
  ## Builds already in flight
@@ -39,14 +42,15 @@ confer no consent. New claims do not materialize old defaults.
39
42
  Historical events and merge reconciliations keep their replay/display meaning;
40
43
  old merge commits remain valid history. Later replay uses the promoted historical
41
44
  contribution base. The current engine can restack resumed builds at newly reached
42
- verification or waiting-for-landing boundaries, and current landing rules govern
45
+ verification or waiting-for-merge boundaries, and current merge rules govern
43
46
  new readiness decisions. There is no claim-version switch promising every old
44
47
  build finishes with the old merge standard. Drain old work before switching
45
48
  versions if retaining old execution behavior is required. Simultaneous old and
46
49
  new writers are not a supported migration strategy.
47
50
 
48
- Execution pipeline configuration stays pinned to the build; live dispatcher
49
- landing policy is separate. A recorded readiness decision retains its rule
51
+ Execution pipeline configuration stays owned by the build and is re-pinned
52
+ from its checkout at each verify cycle; live dispatcher
53
+ merge policy is separate. A recorded readiness decision retains its rule
50
54
  snapshot despite configuration edits; a new candidate receives a new decision.
51
55
  Explicit consent persists through replay and re-verification until hold or
52
56
  completion, except accepted node reparenting revokes it.
@@ -62,7 +66,7 @@ replay; the kernel owns branch replacement with expected-head guards.
62
66
 
63
67
  Root leaves squash; node destinations and local-git root nodes fast-forward;
64
68
  GitHub root nodes use guarded rebase merge with recorded fencing/audit limits.
65
- Check [forge requirements](landing-policy.md#forge-requirements) and
69
+ Check [forge requirements](merge-policy.md#forge-requirements) and
66
70
  [restacking](restacking.md) before enabling nodes on a plugin forge. Ensure
67
71
  archive publication/read permissions, tree capabilities and required merge
68
72
  methods are available; legacy read compatibility is insufficient.
@@ -71,7 +75,7 @@ methods are available; legacy read compatibility is insufficient.
71
75
 
72
76
  Parent movement is now observed without starting a node replay. Existing frozen
73
77
  transactions finish after upgrade; subsequent replay needs completeness before
74
- verification, freshness before landing, dependency presence, operator demand
78
+ verification, freshness before merge, dependency presence, operator demand
75
79
  (`ab restack <node>`), or accepted re-parenting. Nested nodes need independent
76
80
  demand. Leaves keep their existing timing. There is no eager compatibility mode.
77
81
  See [restacking](restacking.md) for durable requests and parent commit distance.