ace-git-worktree 0.26.0 → 0.26.1

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 (58) hide show
  1. checksums.yaml +4 -4
  2. data/.ace-defaults/git/worktree.yml +2 -2
  3. data/.ace-defaults/nav/protocols/skill-sources/ace-git-worktree.yml +0 -0
  4. data/.ace-defaults/nav/protocols/wfi-sources/ace-git-worktree.yml +0 -0
  5. data/CHANGELOG.md +7 -0
  6. data/LICENSE +0 -0
  7. data/README.md +0 -0
  8. data/Rakefile +0 -0
  9. data/docs/demo/ace-git-worktree-getting-started.gif +0 -0
  10. data/docs/demo/ace-git-worktree-getting-started.tape.yml +0 -0
  11. data/docs/demo/fixtures/README.md +0 -0
  12. data/docs/demo/fixtures/sample.txt +0 -0
  13. data/docs/handbook.md +0 -0
  14. data/handbook/agents/worktree.ag.md +0 -0
  15. data/handbook/skills/as-git-worktree/SKILL.md +0 -0
  16. data/handbook/skills/as-git-worktree-cleanup/SKILL.md +0 -0
  17. data/handbook/skills/as-git-worktree-create/SKILL.md +0 -0
  18. data/handbook/skills/as-git-worktree-manage/SKILL.md +0 -0
  19. data/handbook/workflow-instructions/git/worktree-create.wf.md +0 -0
  20. data/handbook/workflow-instructions/git/worktree-manage.wf.md +0 -0
  21. data/handbook/workflow-instructions/git/worktree.wf.md +0 -0
  22. data/lib/ace/git/worktree/atoms/git_command.rb +0 -0
  23. data/lib/ace/git/worktree/atoms/path_expander.rb +0 -0
  24. data/lib/ace/git/worktree/atoms/slug_generator.rb +0 -0
  25. data/lib/ace/git/worktree/atoms/task_id_extractor.rb +0 -0
  26. data/lib/ace/git/worktree/cli/commands/bootstrap.rb +0 -0
  27. data/lib/ace/git/worktree/cli/commands/cleanup.rb +0 -0
  28. data/lib/ace/git/worktree/cli/commands/config.rb +0 -0
  29. data/lib/ace/git/worktree/cli/commands/create.rb +0 -0
  30. data/lib/ace/git/worktree/cli/commands/list.rb +0 -0
  31. data/lib/ace/git/worktree/cli/commands/prune.rb +0 -0
  32. data/lib/ace/git/worktree/cli/commands/remove.rb +0 -0
  33. data/lib/ace/git/worktree/cli/commands/shared_helpers.rb +0 -0
  34. data/lib/ace/git/worktree/cli/commands/switch.rb +0 -0
  35. data/lib/ace/git/worktree/cli.rb +0 -0
  36. data/lib/ace/git/worktree/commands/bootstrap_command.rb +0 -0
  37. data/lib/ace/git/worktree/commands/list_command.rb +0 -0
  38. data/lib/ace/git/worktree/commands/prune_command.rb +0 -0
  39. data/lib/ace/git/worktree/commands/remove_command.rb +0 -0
  40. data/lib/ace/git/worktree/commands/switch_command.rb +0 -0
  41. data/lib/ace/git/worktree/configuration.rb +0 -0
  42. data/lib/ace/git/worktree/models/worktree_info.rb +0 -0
  43. data/lib/ace/git/worktree/models/worktree_metadata.rb +0 -0
  44. data/lib/ace/git/worktree/molecules/bootstrap_executor.rb +0 -0
  45. data/lib/ace/git/worktree/molecules/cleanup_applier.rb +0 -0
  46. data/lib/ace/git/worktree/molecules/config_loader.rb +0 -0
  47. data/lib/ace/git/worktree/molecules/current_task_linker.rb +0 -0
  48. data/lib/ace/git/worktree/molecules/hook_executor.rb +0 -0
  49. data/lib/ace/git/worktree/molecules/parent_task_resolver.rb +0 -0
  50. data/lib/ace/git/worktree/molecules/task_committer.rb +31 -31
  51. data/lib/ace/git/worktree/molecules/task_fetcher.rb +0 -0
  52. data/lib/ace/git/worktree/molecules/task_pusher.rb +0 -0
  53. data/lib/ace/git/worktree/molecules/task_status_updater.rb +0 -0
  54. data/lib/ace/git/worktree/molecules/toolchain_truster.rb +0 -0
  55. data/lib/ace/git/worktree/molecules/worktree_lister.rb +0 -0
  56. data/lib/ace/git/worktree/molecules/worktree_remover.rb +0 -0
  57. data/lib/ace/git/worktree/version.rb +1 -1
  58. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af3f2ad38bc9d1fa8a09e55523d3fa2f3d46891daa87ea2700ae69c799ea652e
4
- data.tar.gz: cc8448ef1bfcbe5265b435be653630aafabfa2733e948576405d5a131c959645
3
+ metadata.gz: a51dd94ea8eeadcabd99be5d79ee88d9c536114637c58781d8ac8c8089243587
4
+ data.tar.gz: a8389cc335baa6559bf8ee4f88b167ceb90ca2c0669341f72f632f0c81968f40
5
5
  SHA512:
6
- metadata.gz: 2aa1822b0275211a23b2f0d696f45d85d30f40d1d1cc7f847ef380e5572a28ec9b088d454952fa7e5375ff5304f132440e392be0dfe1622b4f18c5b2e25f8657
7
- data.tar.gz: c905552f242611170e120955e20285135a36c8be0b5ae68b2d3181f88e947a1af471a636f28ddc4c6e8465f963d021c7bf0a1aaa999a1432b1b94e90ee9e7fbc
6
+ metadata.gz: 8a65769172a854d95a44dd5d268ed14fd73a259b652978955139c7a5ac1f0653e7d78d47e5149dd17a90c9835f3281bf2fcf13111d67561e7458d5324b75f933
7
+ data.tar.gz: 7412edb73d8944f55c50b4fecb7fa8ca6e977cdcd59f2b4377fa5f823d5207bae36becfba4cc2d1a5305184d6d8acd526c530710e50fee2e507c5b114d85290c
@@ -81,8 +81,8 @@ git:
81
81
  auto_setup_upstream: false
82
82
 
83
83
  # Automatically create draft PR after pushing branch
84
- # If true, creates a draft PR via 'gh pr create --draft'
85
- # Requires: gh CLI installed and authenticated
84
+ # If true, creates a draft PR through the resolved forge provider
85
+ # Requires: provider configuration and authentication for the target repository
86
86
  # NOTE: Defaults to false - enable explicitly for automated workflows
87
87
  auto_create_pr: false
88
88
 
data/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.26.1] - 2026-10-10
11
+
12
+ ### Fixed
13
+
14
+ - Make `TaskCommitter#commit_scoped` public so task-aware worktree creation can commit task bookkeeping through the orchestrator.
15
+ - Describe automatic draft creation through the configured forge provider in the shipped defaults.
16
+
10
17
  ## [0.26.0] - 2026-10-05
11
18
 
12
19
  ### Changed
data/LICENSE CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
data/docs/handbook.md 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
@@ -192,6 +192,37 @@ module Ace
192
192
  @ace_git_commit_available = result[:success]
193
193
  end
194
194
 
195
+ # Commit scoped files and return commit metadata + changed path list
196
+ #
197
+ # @param files [Array<String>] Files to commit
198
+ # @param message [String] Commit message
199
+ # @return [Hash] Result with :success, :commit_sha, :committed_paths, :error
200
+ def commit_scoped(files, message)
201
+ existing_files = Array(files).select { |file| File.exist?(file) }
202
+ return {success: false, commit_sha: nil, committed_paths: [], error: "No existing files to commit"} if existing_files.empty?
203
+
204
+ success = commit_with_message(existing_files, message)
205
+ return {success: false, commit_sha: nil, committed_paths: [], error: "Commit failed"} unless success
206
+
207
+ sha_res = execute_git_command("rev-parse", "HEAD")
208
+ sha = sha_res[:success] ? sha_res[:output].strip : nil
209
+
210
+ committed_paths = []
211
+ if sha
212
+ diff_res = execute_git_command("diff-tree", "--no-commit-id", "--name-only", "-r", sha)
213
+ if diff_res[:success]
214
+ committed_paths = diff_res[:output].to_s.lines.map(&:strip).reject(&:empty?)
215
+ end
216
+ end
217
+
218
+ {
219
+ success: true,
220
+ commit_sha: sha,
221
+ committed_paths: committed_paths,
222
+ error: nil
223
+ }
224
+ end
225
+
195
226
  private
196
227
 
197
228
  # Generate a commit message based on status and task ID
@@ -254,37 +285,6 @@ module Ace
254
285
  commit_result[:success]
255
286
  end
256
287
 
257
- # Commit scoped files and return commit metadata + changed path list
258
- #
259
- # @param files [Array<String>] Files to commit
260
- # @param message [String] Commit message
261
- # @return [Hash] Result with :success, :commit_sha, :committed_paths, :error
262
- def commit_scoped(files, message)
263
- existing_files = Array(files).select { |file| File.exist?(file) }
264
- return {success: false, commit_sha: nil, committed_paths: [], error: "No existing files to commit"} if existing_files.empty?
265
-
266
- success = commit_with_message(existing_files, message)
267
- return {success: false, commit_sha: nil, committed_paths: [], error: "Commit failed"} unless success
268
-
269
- sha_res = execute_git_command("rev-parse", "HEAD")
270
- sha = sha_res[:success] ? sha_res[:output].strip : nil
271
-
272
- committed_paths = []
273
- if sha
274
- diff_res = execute_git_command("diff-tree", "--no-commit-id", "--name-only", "-r", sha)
275
- if diff_res[:success]
276
- committed_paths = diff_res[:output].to_s.lines.map(&:strip).reject(&:empty?)
277
- end
278
- end
279
-
280
- {
281
- success: true,
282
- commit_sha: sha,
283
- committed_paths: committed_paths,
284
- error: nil
285
- }
286
- end
287
-
288
288
  # Commit all changes using direct git commands
289
289
  #
290
290
  # @param message [String] Commit message
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -3,7 +3,7 @@
3
3
  module Ace
4
4
  module Git
5
5
  module Worktree
6
- VERSION = "0.26.0"
6
+ VERSION = "0.26.1"
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.26.0
4
+ version: 0.26.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Czyz
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-10-05 00:00:00.000000000 Z
10
+ date: 2026-10-12 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: ace-support-cli