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: 8a203b8d897b50042501128b5353a8abd92eaeb6723732fdc6c5bf779b032e05
4
- data.tar.gz: 0ddede30751c67a0b5e8d88a5d7eef2e9c85793787465ef8fa13347aec8334ff
3
+ metadata.gz: 0d7abf5ec8286c9325b6cea2272ddf546ee260097e29381994d01b5551c50a52
4
+ data.tar.gz: be9dc83d9755d38db99c22cbadf7f8035ed53549ed9e1c8e330c934cf4ebd0b2
5
5
  SHA512:
6
- metadata.gz: cf946fe951a6c757d12e9c0018d1c1bfba5c5d02a0e095c1b8e97152ac2307c18cb966f77ca99fbd960d3b22cedf899ffbefc63369f7d31083756aa5b5ab5331
7
- data.tar.gz: 2939486f1a45126bf156e6692fefda8afbc8f701a7e3bb035d5dc1a8164d3a77125724e57f0b905105788d38c3c80c35134a320218ba405f18d953f481a72562
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?
@@ -3,7 +3,7 @@
3
3
  module Ace
4
4
  module Git
5
5
  module Worktree
6
- VERSION = "0.27.3"
6
+ VERSION = "0.27.4"
7
7
  end
8
8
  end
9
9
  end
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.3
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-20 00:00:00.000000000 Z
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