ace-handbook 0.35.1 → 0.36.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 (94) hide show
  1. checksums.yaml +4 -4
  2. data/.ace-defaults/handbook/config.yml +0 -0
  3. data/.ace-defaults/handbook/providers/agents.yml +0 -0
  4. data/.ace-defaults/nav/protocols/cookbook-sources/ace-handbook.yml +0 -0
  5. data/.ace-defaults/nav/protocols/guide-sources/ace-handbook.yml +0 -0
  6. data/.ace-defaults/nav/protocols/skill-sources/ace-handbook.yml +0 -0
  7. data/.ace-defaults/nav/protocols/tmpl-sources/ace-handbook.yml +0 -0
  8. data/.ace-defaults/nav/protocols/wfi-sources/ace-handbook.yml +0 -0
  9. data/CHANGELOG.md +2 -695
  10. data/LICENSE +0 -0
  11. data/Rakefile +0 -0
  12. data/handbook/cookbooks/setup-starting-a-multi-ruby-gem-monorepo-with-ace.cookbook.md +0 -0
  13. data/handbook/cookbooks/setup-starting-an-astro-project-with-ace.cookbook.md +0 -0
  14. data/handbook/guides/ai-agent-integration.g.md +0 -0
  15. data/handbook/guides/atom-pattern.g.md +0 -0
  16. data/handbook/guides/changelog.g.md +0 -0
  17. data/handbook/guides/cli-dry-cli.g.md +0 -0
  18. data/handbook/guides/cli-support-cli.g.md +0 -0
  19. data/handbook/guides/coding-standards/ruby.md +0 -0
  20. data/handbook/guides/coding-standards/rust.md +0 -0
  21. data/handbook/guides/coding-standards/typescript.md +0 -0
  22. data/handbook/guides/coding-standards.g.md +0 -0
  23. data/handbook/guides/debug-troubleshooting.g.md +0 -0
  24. data/handbook/guides/error-handling/ruby.md +0 -0
  25. data/handbook/guides/error-handling/rust.md +0 -0
  26. data/handbook/guides/error-handling/typescript.md +0 -0
  27. data/handbook/guides/error-handling.g.md +0 -0
  28. data/handbook/guides/meta/agents-definition.g.md +0 -0
  29. data/handbook/guides/meta/guides-definition.g.md +0 -0
  30. data/handbook/guides/meta/markdown-definition.g.md +0 -0
  31. data/handbook/guides/meta/tools-definition.g.md +0 -0
  32. data/handbook/guides/meta/workflow-instructions-definition.g.md +0 -0
  33. data/handbook/guides/mono-repo-patterns.g.md +0 -0
  34. data/handbook/guides/multi-agent-research.g.md +0 -0
  35. data/handbook/guides/performance/ruby.md +0 -0
  36. data/handbook/guides/performance/rust.md +0 -0
  37. data/handbook/guides/performance/typescript.md +0 -0
  38. data/handbook/guides/performance.g.md +0 -0
  39. data/handbook/guides/prompt-caching.g.md +0 -0
  40. data/handbook/guides/quality-assurance/ruby.md +0 -0
  41. data/handbook/guides/quality-assurance/rust.md +0 -0
  42. data/handbook/guides/quality-assurance/typescript.md +0 -0
  43. data/handbook/guides/quality-assurance.g.md +0 -0
  44. data/handbook/guides/strategic-planning.g.md +0 -0
  45. data/handbook/guides/troubleshooting/ruby.md +0 -0
  46. data/handbook/guides/troubleshooting/rust.md +0 -0
  47. data/handbook/guides/troubleshooting/typescript.md +0 -0
  48. data/handbook/guides/workflow-context-embedding.g.md +0 -0
  49. data/handbook/skills/as-handbook-init-project/SKILL.md +0 -0
  50. data/handbook/skills/as-handbook-manage-agents/SKILL.md +0 -0
  51. data/handbook/skills/as-handbook-manage-cookbooks/SKILL.md +0 -0
  52. data/handbook/skills/as-handbook-manage-guides/SKILL.md +0 -0
  53. data/handbook/skills/as-handbook-manage-overrides/SKILL.md +0 -0
  54. data/handbook/skills/as-handbook-manage-workflows/SKILL.md +0 -0
  55. data/handbook/skills/as-handbook-parallel-research/SKILL.md +0 -0
  56. data/handbook/skills/as-handbook-perform-delivery/SKILL.md +0 -0
  57. data/handbook/skills/as-handbook-review-cookbooks/SKILL.md +0 -0
  58. data/handbook/skills/as-handbook-review-guides/SKILL.md +0 -0
  59. data/handbook/skills/as-handbook-review-workflows/SKILL.md +0 -0
  60. data/handbook/skills/as-handbook-synthesize-research/SKILL.md +0 -0
  61. data/handbook/skills/as-handbook-update-docs/SKILL.md +0 -0
  62. data/handbook/skills/as-release/SKILL.md +0 -0
  63. data/handbook/skills/as-release-bump-version/SKILL.md +0 -0
  64. data/handbook/skills/as-release-rubygems-publish/SKILL.md +4 -2
  65. data/handbook/skills/as-release-update-changelog/SKILL.md +0 -0
  66. data/handbook/templates/completed-work-documentation.md +0 -0
  67. data/handbook/templates/cookbooks/cookbook.template.md +0 -0
  68. data/handbook/templates/research-comparison.template.md +0 -0
  69. data/handbook/workflow-instructions/handbook/init-project.wf.md +0 -0
  70. data/handbook/workflow-instructions/handbook/manage-agents.wf.md +0 -0
  71. data/handbook/workflow-instructions/handbook/manage-cookbooks.wf.md +0 -0
  72. data/handbook/workflow-instructions/handbook/manage-guides.wf.md +0 -0
  73. data/handbook/workflow-instructions/handbook/manage-workflows.wf.md +0 -0
  74. data/handbook/workflow-instructions/handbook/parallel-research.wf.md +0 -0
  75. data/handbook/workflow-instructions/handbook/perform-delivery.wf.md +40 -210
  76. data/handbook/workflow-instructions/handbook/research.wf.md +0 -0
  77. data/handbook/workflow-instructions/handbook/review-cookbooks.wf.md +0 -0
  78. data/handbook/workflow-instructions/handbook/review-guides.wf.md +0 -0
  79. data/handbook/workflow-instructions/handbook/review-workflows.wf.md +0 -0
  80. data/handbook/workflow-instructions/handbook/synthesize-research.wf.md +0 -0
  81. data/handbook/workflow-instructions/handbook/update-docs.wf.md +0 -0
  82. data/handbook/workflow-instructions/release/bump-version.wf.md +0 -0
  83. data/handbook/workflow-instructions/release/local.wf.md +0 -0
  84. data/handbook/workflow-instructions/release/publish.wf.md +0 -0
  85. data/handbook/workflow-instructions/release/rubygems-publish.wf.md +0 -0
  86. data/handbook/workflow-instructions/release/update-changelog.wf.md +0 -0
  87. data/lib/ace/handbook/cli/commands/status.rb +0 -0
  88. data/lib/ace/handbook/cli.rb +0 -0
  89. data/lib/ace/handbook/models/skill_document.rb +0 -0
  90. data/lib/ace/handbook/molecules/skill_projection.rb +0 -0
  91. data/lib/ace/handbook/organisms/skill_inventory.rb +0 -0
  92. data/lib/ace/handbook/organisms/status_collector.rb +0 -0
  93. data/lib/ace/handbook/version.rb +1 -1
  94. metadata +2 -2
data/LICENSE CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -9,8 +9,8 @@ allowed-tools:
9
9
  - Bash(gem:*)
10
10
  - Bash(ace-bundle:*)
11
11
  - Read
12
- argument-hint: "[gem-name...] [--dry-run]"
13
- last_modified: 2026-08-12
12
+ argument-hint: "[gem-name...] [--dry-run|--prepare]"
13
+ last_modified: 2026-10-17
14
14
  source: ace-handbook
15
15
  integration:
16
16
  targets:
@@ -47,5 +47,7 @@ None
47
47
  - Do the work described by the workflow instead of only summarizing it.
48
48
  - When the workflow requires edits, tests, or commits, perform them in this project.
49
49
  - OTP timing: build every pending `.gem` first, then ask for one OTP (~30–45s), then push in ≤5-concurrent dependency waves aiming to finish within ~30s; verify metadata only after the burst.
50
+ - Last-mile handoff: the agent shell is not the operator shell. Missing `GEM_HOST_API_KEY` / `~/.gem/credentials` (or no TTY) in the agent's subprocesses never means the operator is unconfigured — do not request credential setup. Finish the dry-run, state the wave plan, and hand off exactly `.ace-bin/ace-rubygems-publish --interactive` for the operator terminal (`--prepare` is optional; the live run re-resolves a stale prepared queue). If the operator explicitly authorizes agent-driven publishing, request one fresh OTP via `ace-hitl`/chat, wait for it, then run the publisher with `GEM_HOST_OTP_CODE` in the environment and never persist the OTP.
51
+ - Never re-run the publisher to confirm a completed release, and never replace the `TS-MONO-001` propagation proof with hand-rolled `bundle install` runs; if the agent runner is unavailable, report the blocked command and hand it off.
50
52
 
51
53
  - After live publishing, recommend running `ace-test-e2e ace-monorepo-e2e TS-MONO-001` for installation verification.
File without changes
File without changes
File without changes
File without changes
@@ -1,42 +1,35 @@
1
1
  ---
2
2
  doc-type: workflow
3
- title: Perform attempt-bound delivery
3
+ title: Perform delivery
4
4
  purpose: Coordinate implementation, exact-head review and authorized delivery on the selected forge
5
5
  ---
6
6
 
7
- # Perform attempt-bound delivery
7
+ # Perform delivery
8
8
 
9
9
  ## Goal
10
10
 
11
- Deliver one committed candidate in explicit standalone or managed mode, using
12
- the selected forge and current executed tests and independent review.
11
+ Deliver one committed candidate, using the selected forge and current executed
12
+ tests and independent review.
13
13
 
14
14
  ## Prerequisites
15
15
 
16
16
  - A reviewed task or an explicit implementation scope and project.
17
- - For managed delivery, a managed assignment and an active scoped attempt for each
18
- delivery action; use the actual assignment and
19
- attempt IDs from the execution boundary, never caller-invented actor identity.
20
17
  - For remote delivery, a pushed candidate and explicit fork/canonical provenance:
21
18
  mode, head_repository_url, head_ref, base_repository_url and base_ref.
22
19
  - An applicable authorization for each effect. Transport credentials do not grant
23
20
  permission to merge, publish, deploy or synchronize.
24
21
 
25
22
  Choose standalone mode for ordinary local task/inline implementation, tests, review
26
- and optional requested version/changelog preparation without a managed assignment.
27
- Choose managed mode when the request supplies an assignment or requires its
28
- canonical attempt/receipt boundary. Standalone output cannot satisfy managed or
29
- protected acceptance. Local-only implementation needs no forge selection or
30
- scoped attempt. If remote delivery is requested,
23
+ and optional requested version/changelog preparation. Local-only implementation
24
+ needs no forge selection or assignment scope. If remote delivery is requested,
31
25
  use forge_server or forge_default: true, mutually exclusive; otherwise use the
32
26
  repository remote. Preserve the first resolved server/repository/PR identity
33
- throughout the assignment. Missing service or authorization yields a specific
34
- blocker; this workflow does not invent grants or impersonate an integrator.
27
+ throughout the work. Managed delivery and its role handoff land in L5.5; this workflow does not invent grants or impersonate an integrator.
35
28
 
36
29
  ## Project context loading
37
30
 
38
- Read the task or inline scope and actual committed diff. In managed mode also
39
- read assignment status, current attempt and retained delivery parameters. If a PR
31
+ Read the task or inline scope and actual committed diff. When the work belongs to
32
+ an assignment, also read assignment status and its step reports. If a PR
40
33
  is recorded, inspect it with
41
34
  `ace-git pr show IDENTIFIER --format json --server NAME` using the retained selection
42
35
  (or `--default-server`, otherwise remote resolution). Inside ACE use source
@@ -63,8 +56,8 @@ and test it on the combined candidate before declaring that result delivered.
63
56
  Implement and commit the requested local task/inline scope using existing task
64
57
  and Git tools. Execute appropriate tests and independent review, retain their
65
58
  actual artifact references and candidate SHA, and record unfinished criteria.
66
- No managed assignment, protected service receipt or canonical qjl acceptance is
67
- claimed by this route. Local scope may end here.
59
+ No managed assignment boundary is claimed by this route.
60
+ Local scope may end here.
68
61
 
69
62
  For an explicitly authorized standalone remote scope, use existing neutral
70
63
  primitives on the chosen base repository/forge. Record actual head/base
@@ -84,7 +77,6 @@ the low-level PR command does not establish these gates itself. Readiness uses
84
77
  `ace-git pr ready IDENTIFIER --server NAME --expected-head CANDIDATE-SHA --format json`.
85
78
  Only an actually authorized standalone integrator may call
86
79
  `ace-git pr merge IDENTIFIER --server NAME --expected-head CANDIDATE-SHA --method METHOD --format json`.
87
- This is not a worker fallback when a managed/protected service is unavailable.
88
80
  Remote errors or uncertain effects remain explicit unresolved outcomes; use
89
81
  authoritative reads and existing provider reconciliation, never blind replay.
90
82
 
@@ -93,213 +85,51 @@ and merge evidence is accepted. Preparation after a completed delivery is a
93
85
  separate follow-up candidate/scope and must obtain its own required evidence.
94
86
  Publication remains separately authorized and gated, including OTP when required.
95
87
 
96
- ## Protected worker PR operations and status
88
+ ## Managed delivery (planned L5.5)
97
89
 
98
- An installed protected worker uses its original prepared assignment, attempt,
99
- mapping and hierarchical scope. A role charter or selector is not an authority
100
- capability: the public owners authenticate the actual worker descendant and
101
- original birth. Other installed participants must delegate to the provisioned
102
- worker/executor; they cannot select local delivery. Do not run the ordinary
103
- managed delivery commands below from this protected route. Draft create/update
104
- may precede independent review, through the same configured receiver. Ready and
105
- merge require executed checks, current accepted independent review and the exact
106
- operation authorization. See `wfi://git/pr/create` and `wfi://git/pr/update` for
107
- the bounded draft input; credentials do not grant those operations.
108
-
109
- 1. Retain the exact accepted candidate head and candidate generation, original
110
- assignment/attempt/mapping/scope, configured receiver ID, authorization and
111
- request ID. Use the reviewed retained delivery parameters, explicit authorized
112
- merge method and exact PR URL. Accepted independent review for this candidate
113
- remains a canonical authority gate; local report files cannot replace it.
114
- 2. Before the first claim, read
115
- `ace-assign authority status --mapping MAPPING --assignment ID --attempt ATTEMPT`.
116
- Its `generation` is the current authority generation and
117
- `result_candidate_generation` is the candidate generation. They are distinct;
118
- never increment or substitute one for the other. Verify the candidate generation
119
- matches the accepted candidate. Unavailable or changed selection blocks the
120
- request. Keep the exact returned generation for this invocation; a conflict
121
- is not permission to refresh it and resend.
122
- 3. Select `create`, `update`, `ready` or `merge`. Save one nonsecret input file:
123
- create/update contain exactly `target`, `delivery`, `title`, `body`; ready
124
- contains `target`, `delivery`; merge contains `target`, `delivery`, `method`.
125
- A create target is the selected base repository URL; other operations use
126
- the exact PR URL. Target contains that URL as `resource` and nullable
127
- `artifact_digest`; delivery is the retained `forge_server`/`forge_default` and
128
- complete `pr_provenance` mapping. Method is explicitly squash, merge or rebase.
129
- The maintained owner reads one unchanged bounded regular file and computes its
130
- canonical input digest. It does not accept a caller-supplied digest for request.
131
-
132
- ```json
133
- {"target":{"resource":"https://forge.example/team/repo/pulls/25","artifact_digest":null},"delivery":{"forge_server":"forge-lab","forge_default":false,"pr_provenance":{"mode":"canonical","head_repository_url":"https://forge.example/team/repo","head_ref":"work","base_repository_url":"https://forge.example/team/repo","base_ref":"main"}},"method":"squash"}
134
- ```
135
-
136
- 4. Invoke the existing configured receiver through
137
- `ace-lab service request --project PROJECT --assignment ID --attempt ATTEMPT --mapping MAPPING --scope SCOPE --service SERVICE --candidate-head SHA --candidate-generation CANDIDATE-GENERATION --expected-generation AUTHORITY-GENERATION --operation OPERATION --authorization AUTHORIZATION --request-id REQUEST --input INPUT.json`.
138
- No dry-run or standalone fallback exists here. Retain the returned original
139
- `selection` from either `data` or `error`: it includes input_digest and target.
140
- `service_claim_accepted` acknowledges a durable claim, not operation completion.
141
- `service_claim_unconfirmed` requires inspection of this original request;
142
- neither uncertainty nor a timeout authorizes automatic resubmission.
143
- 5. Read exact canonical status without an effect:
144
- `ace-lab service status --request REQUEST --project PROJECT --assignment ID --attempt ATTEMPT --mapping MAPPING --scope SCOPE --candidate-head SHA --candidate-generation CANDIDATE-GENERATION --input-digest INPUT-DIGEST --target ORIGINAL-TARGET`.
145
- Use the original returned selection; omit `--artifact-digest` for null, or
146
- supply its exact original SHA256 when present. Status does not use a refreshed
147
- expected generation and never repairs or restarts an uncertain service.
148
- Missing receiver, review, authorization or installed owner stays a routed
149
- blocker. A caller-local journal or remote PR observation is not canonical proof.
150
- 6. Only after canonical succeeded status, consume the exact completed result:
151
- `ace-assign delivery --assignment ID --attempt ATTEMPT --mapping MAPPING --scope SCOPE --operation OPERATION --service-request REQUEST --candidate-head SHA --candidate-generation CANDIDATE-GENERATION --input-digest INPUT-DIGEST --target ORIGINAL-TARGET`.
152
- Apply the same nullable artifact flag rule. Do not supply local `--tests`,
153
- `--review`, title/body or parameters. The authority has already verified the
154
- original review, completion receipt/import and exact input association, and
155
- atomically published the delivery event. Worker consumption verifies that
156
- event; it neither appends evidence nor invokes the provider again.
157
- 7. Preserve the original request and result references on resume. Exact read-only
158
- status is safe; an explicit identical request may only return its retained
159
- canonical claim/result and must not refresh selectors. Never retry an unknown
160
- effect to obtain a receipt. Publication, deployment and synchronization still
161
- require their separate authorization, evidence and OTP where applicable.
162
-
163
- ## Protected campaign result before readiness or merge
164
-
165
- When the original protected parent registers `review_campaign`, finish the existing
166
- R1/R2/R3 review policy through its linked, canonically settled collection/check/
167
- approval children. Follow the protected handoff in `wfi://review/pr`; ordinary
168
- `ace-review campaign` output and `ace-assign attempt finish` are not substitutes.
169
- Draft create/update above may run before independent review. Ready and merge wait
170
- for the current canonical parent campaign result, executed checks and independent
171
- review acceptance.
172
-
173
- 1. Upload the documented R1 round input using the closed envelope
174
- `{"version":1,"round":ROUND_OBJECT,"artifacts":[{"path":"report.md","sha256":"SHA256"}]}`.
175
- Keep the original parent selectors, pinned head/base/scopes and registered
176
- campaign/requirements/policy. The round attempt_id equals its stable mutation.
177
- `ace-assign campaign-record-round --mapping MAPPING --assignment ID --attempt ATTEMPT --head SHA --candidate-generation N --mutation ROUND-ATTEMPT --input ROUND-ENVELOPE.json --artifact REPORT-BYTES`
178
- supplies ordered immutable artifact bytes, not authority-readable worker paths.
179
- Repeat the artifact flag in envelope order; settled child receipts establish
180
- execution and approval, not editable reports alone.
181
- 2. After policy acceptance, download its verified exact bytes:
182
- `ace-assign campaign-export-result --mapping MAPPING --assignment ID --attempt ATTEMPT --head SHA --candidate-generation N --output RESULT.json`.
183
- Retain exported sha256/result_identity/journal_commit. The authority owns the
184
- campaign store and validates the accepted immutable candidate; the output file
185
- is a transfer artifact, not permission to change or bypass policy.
186
- 3. Keep the original parent's succeeded review receipt, independent actors and
187
- executed checks. Add `campaign: {id: REGISTERED-CAMPAIGN, result: {path:
188
- RESULT.json, sha256: EXPORTED-SHA256}}` and the identical reference in its
189
- ordered artifacts. Upload exact exported bytes in that artifact slot with
190
- `ace-assign submit-result --mapping MAPPING --assignment ID --attempt ATTEMPT --head SHA --candidate-generation N --expected-generation G --mutation RESULT-MUTATION --receipt PARENT-RECEIPT.json --artifact RESULT.json`.
191
- Supply any other receipt artifacts in their declared order. Submission imports
192
- evidence; the original reviewer/finish owner still owns acceptance and release.
193
- G is persisted authority generation; N is candidate generation, never G.
194
-
195
- Restart retains original mutations, envelope/receipt bytes, ordered artifacts and
196
- selectors. Exact replay preserves the existing round/result; re-export only accepts
197
- an identical existing file. Changed candidate, policy or missing canonical child
198
- settlement rejects current acceptance without erasing history. Ready/merge service
199
- admission rechecks the canonical parent campaign result. Route a missing producer
200
- to its owner, keeping delivery unfinished; do not build a new receipt generator,
201
- refresh conflicting generations or use ordinary commands as a protected fallback.
202
-
203
- ## Ordinary managed delivery steps
204
-
205
- These steps retain the existing nonprotected managed workflow. They are not a
206
- fallback for an installed protected participant or a blocked protected operation.
207
-
208
-
209
- 1. Record the requested delivery steps and their owners before implementation.
210
- Follow the existing task-work plan. Commit the implementation and run appropriate
211
- package tests. If requested, perform local version/changelog preparation with
212
- `ace-bundle wfi://release/local` before final evidence and merge; it does not
213
- publish. Keep unfinished task criteria open; a bounded source checkpoint
214
- cannot mark an entire installed task done.
215
- 2. For remote delivery, prepare a concrete title and description from the changes
216
- and executed validation. Load `ace-bundle wfi://git/pr/create` and use the actual
217
- managed assignment and active delivery attempt. The executable operation is
218
- `ace-assign delivery --assignment ID --attempt ATTEMPT --operation create --title TITLE --body-file DESCRIPTION`.
219
- Provide `--parameters FILE` if required for the assignment's explicit delivery
220
- mapping. Creation defaults to a draft. Record its returned server, repositories,
221
- refs, PR number/URL and exact candidate_head.
222
- 3. Execute the independent review workflow `ace-bundle wfi://review/pr` against that
223
- exact PR and retained forge selection. Preserve its actual round completion rule,
224
- findings and reviewer identities. Fix confirmed blocking findings and rerun
225
- affected tests. Every new committed candidate, including task-only edits,
226
- invalidates prior ready/merge evidence. Historical approval remains history.
227
- 4. Obtain coordinator-accepted current-head test and independent review receipts
228
- through the existing assignment boundary. File existence, fabricated approval,
229
- exit zero or a worker claim cannot replace acceptance. Distinguish base_head,
230
- candidate_head, evidence_git_ref and journal_commit; evidence commits do not
231
- advance the deliverable branch. CI status is visible and advisory; failed
232
- executed tests, stale evidence or unresolved review findings still block.
233
- 5. Prepare the final PR body with the concrete behavior, executed checks,
234
- independent verdict and remaining limitations. Load
235
- `ace-bundle wfi://git/pr/update` and execute
236
- `ace-assign delivery --assignment ID --attempt ATTEMPT --operation update --body-file DESCRIPTION`.
237
- Mark ready only with accepted exact-head reference files:
238
- `ace-assign delivery --assignment ID --attempt ATTEMPT --operation ready --tests TEST-REF --review REVIEW-REF`.
239
- Each reference file contains only attempt_id and receipt_digest.
240
- 6. Hand off merge only to the existing authorized integrator/service for the exact
241
- PR, candidate and operation. Its executor uses the neutral provider merge with
242
- both required values:
243
- `ace-git pr merge IDENTIFIER --server NAME --expected-head CANDIDATE-SHA --method METHOD --format json`.
244
- METHOD is the authorized squash, merge or rebase choice, never an implicit
245
- default. The assignment worker consumes a completed verified service receipt:
246
- `ace-assign delivery --assignment ID --attempt ATTEMPT --operation merge --tests TEST-REF --review REVIEW-REF --service-request REQUEST`.
247
- This command does not dispatch or execute its own pending merge. If no actual
248
- configured executor or valid receipt is available, retain the routed blocker.
249
- 7. Local version/changelog preparation is optional requested work from step1.
250
- It must be included before final exact-head evidence and merge. Preparation
251
- requested after a completed merge starts a separate follow-up candidate/scope;
252
- the old merge does not accept its amended content.
253
- Publication, deployment and synchronization are distinct operations with their
254
- own valid authorization, executed technical evidence and any required OTP.
255
- Authorized merge does not authorize them. Do not add an unnecessary proposal
256
- for an already authorized operation or fabricate an unavailable proposal API.
257
- 8. Record the exact delivered scope, candidate, receipt references, review verdict
258
- and remaining gates. A requested delivery-only scope can finish after its
259
- authorized merge; publication is not mandatory. Keep the task in progress until
260
- all of its actual acceptance criteria are satisfied.
90
+ Managed delivery — assignment-scoped evidence and the reviewer/integrator
91
+ role handoff — lands with the role workflow in L5.5. Until then, standalone
92
+ delivery above is the active path. When the work belongs to an assignment, record
93
+ actual artifacts, executed checks and the independent reviewer verdict for the
94
+ exact head in the assignment step report (or the project task folder). Never
95
+ substitute a written report or exit code for evidence that was not produced.
261
96
 
262
97
  ## Unavailable publication prerequisite
263
98
 
264
99
  Requested publication is a separate step, never a consequence of merge success.
265
- Use the existing configured service policy and publisher prerequisites; an absent
266
- publisher or unavailable required OTP is a routed blocker, not permission to run
267
- an alternate command/account. The ordinary tested publisher's precondition
268
- failure is ordinary source evidence only; it does not supply a protected
269
- publication receipt or positive scoped OTP capability.
100
+ Use the existing configured publisher prerequisites; an absent publisher or
101
+ unavailable required OTP is a routed blocker, not permission to run an alternate
102
+ command or account.
270
103
 
271
104
  If the requested step cannot proceed, record its value-free cause through the
272
105
  existing assignment failure owner:
273
- `ace-assign fail --assignment ID@SCOPE --attempt ATTEMPT --mapping MAPPING --message "publication blocked: prerequisite unavailable"`.
274
- Use the actual original protected selectors; ordinary assignments omit protected
275
- selectors and use their existing target. Read `ace-assign status` for that same
276
- scope afterward. The step remains failed/unfinished, with no publication receipt
277
- or task completion. Preserve an uncertain service request separately: a failure
278
- report must not claim a definitive denial or effect absence from a lost reply.
279
- Protected recovery requires the reviewed new prepared version/attempt; never
280
- finish the failed step or retry publication to manufacture success.
106
+ `ace-assign fail --assignment ID@SCOPE --message "publication blocked: prerequisite unavailable"`.
107
+ Use the actual assignment selectors; standalone work omits them and uses its
108
+ existing target. Read `ace-assign status` for that same scope afterward. The step
109
+ remains failed/unfinished, with no publication evidence or task completion. Preserve
110
+ an uncertain effect separately: a failure report must not claim a definitive denial
111
+ or effect absence from a lost reply.
281
112
 
282
113
  ## Uncertainty and resume
283
114
 
284
- In managed mode, read assignment status and retained qjl delivery events before
285
- resuming. Repeat read/check operations safely. On interrupted create, update or readiness, use the
286
- same delivery command for exact-selector reconciliation. One matching draft may
287
- be adopted; zero remains unresolved and multiple matches conflict. A different
288
- requested effect cannot be reported complete merely because an earlier effect
289
- was recovered.
115
+ When the work belongs to an assignment, read assignment status and its step
116
+ reports before resuming. Repeat read/check operations safely. On an interrupted
117
+ create, update or readiness, use the same forge command for exact-selector
118
+ reconciliation. One matching draft may be adopted; zero remains unresolved and
119
+ multiple matches conflict. A different requested effect cannot be reported complete
120
+ merely because an earlier effect was recovered.
290
121
 
291
122
  Unknown merge/publication remains unknown pending its existing owner's
292
- reconciliation. Never blindly replay an effect, substitute a generic PR result
293
- for a service receipt or translate a blocker into direct gh/fj commands.
123
+ reconciliation. Never blindly replay an effect or translate a blocker into
124
+ unverified direct provider commands.
294
125
 
295
126
  ## Success criteria
296
127
 
297
128
  - The requested scope has real artifact, current test and independent review
298
129
  evidence for its exact candidate.
299
130
  - Remote identity and explicit provenance remain fixed with honest unresolved
300
- outcomes preserved; managed mode records them in the existing attempt journal.
301
- - Readiness and authorized integration consume current evidence; managed merge
302
- additionally consumes exact service receipts. Standalone output cannot satisfy
303
- managed/protected acceptance. CI alone neither grants nor vetoes acceptance.
304
- - Optional publication remains separately authorized and unfinished installed
305
- criteria remain visible.
131
+ outcomes preserved; assignment-backed work records them in its step report.
132
+ - Readiness and authorized integration consume current evidence. CI alone neither
133
+ grants nor vetoes acceptance.
134
+ - Optional publication remains separately authorized and unfinished criteria
135
+ remain visible.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ace
4
4
  module Handbook
5
- VERSION = "0.35.1"
5
+ VERSION = "0.36.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-handbook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.1
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-10-12 00:00:00.000000000 Z
10
+ date: 2026-10-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: ace-support-config