ace-git-worktree 0.27.3 → 0.27.4
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d7abf5ec8286c9325b6cea2272ddf546ee260097e29381994d01b5551c50a52
|
|
4
|
+
data.tar.gz: be9dc83d9755d38db99c22cbadf7f8035ed53549ed9e1c8e330c934cf4ebd0b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9af371367a2808500a43eaba80640e25beb0b462ac6e065380fb354ae7de200c4224f6e6027fd6e449ace6c964c9cb2d07c4e3d02fc78e9d3449b73b6364a957
|
|
7
|
+
data.tar.gz: '08695a57807b438cdd508890ce1513dbabf2dbd63c98e27c61a6e90e2d65fa86f8f94c1450f6d207c2694cfde722e45251b3430b75c8becb37b2fea5404bf501'
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.27.4] - 2026-11-10
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Prepare checkouts without executing project setup in the coordinator; defer hooks and bootstrap to the commissioned worker, including surviving-branch reattachment.
|
|
10
15
|
|
|
11
16
|
## [0.27.3] - 2026-10-20
|
|
12
17
|
|
|
@@ -75,7 +75,9 @@ module Ace
|
|
|
75
75
|
return success_workflow_result("Worktree already exists", workflow_result.merge(
|
|
76
76
|
worktree_path: existing_worktree.path,
|
|
77
77
|
branch: existing_worktree.branch,
|
|
78
|
-
existing: true
|
|
78
|
+
existing: true,
|
|
79
|
+
readiness: options[:defer_setup] ? "checkout_ready" : nil,
|
|
80
|
+
project_setup: options[:defer_setup] ? "delegated" : nil
|
|
79
81
|
))
|
|
80
82
|
end
|
|
81
83
|
|
|
@@ -254,6 +256,14 @@ module Ace
|
|
|
254
256
|
workflow_result[:warnings] << "Skipped PR creation: branch not pushed to remote"
|
|
255
257
|
end
|
|
256
258
|
|
|
259
|
+
# A coordinator prepares checkout/assignment data only. The
|
|
260
|
+
# commissioned executor owns project setup commands and trust.
|
|
261
|
+
if options[:defer_setup]
|
|
262
|
+
workflow_result[:readiness] = "checkout_ready"
|
|
263
|
+
workflow_result[:project_setup] = "delegated"
|
|
264
|
+
return success_workflow_result("Checkout ready; project setup delegated", workflow_result)
|
|
265
|
+
end
|
|
266
|
+
|
|
257
267
|
# Step 12: Run after-create hooks if configured
|
|
258
268
|
hooks = @config.after_create_hooks
|
|
259
269
|
if hooks && hooks.any?
|
|
@@ -391,9 +401,14 @@ module Ace
|
|
|
391
401
|
create_pr: should_create_pr,
|
|
392
402
|
pr_title: should_create_pr ? @config.format_pr_title(task_data) : nil,
|
|
393
403
|
pr_base: should_create_pr ? target_branch : nil,
|
|
394
|
-
hooks_count: @config.after_create_hooks.length
|
|
404
|
+
hooks_count: options[:defer_setup] ? 0 : @config.after_create_hooks.length
|
|
395
405
|
}
|
|
396
406
|
|
|
407
|
+
if options[:defer_setup]
|
|
408
|
+
workflow_result[:would_create][:readiness] = "checkout_ready"
|
|
409
|
+
workflow_result[:would_create][:project_setup] = "delegated"
|
|
410
|
+
end
|
|
411
|
+
|
|
397
412
|
workflow_result[:steps_planned] = [
|
|
398
413
|
"fetch_task_data",
|
|
399
414
|
("update_task_status" if workflow_result[:would_create][:task_status_update]),
|
|
@@ -77,6 +77,10 @@ module Ace
|
|
|
77
77
|
if result[:success]
|
|
78
78
|
result[:message] = "Worktree created successfully"
|
|
79
79
|
|
|
80
|
+
if options[:defer_setup]
|
|
81
|
+
return result.merge(readiness: "checkout_ready", project_setup: "delegated")
|
|
82
|
+
end
|
|
83
|
+
|
|
80
84
|
# Execute after-create hooks if configured
|
|
81
85
|
hooks = @config.after_create_hooks
|
|
82
86
|
if hooks && hooks.any?
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ace-git-worktree
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.27.
|
|
4
|
+
version: 0.27.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michal Czyz
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-10
|
|
10
|
+
date: 2026-11-10 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: ace-support-cli
|