ace-review 0.56.0 → 0.56.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/lib/ace/review/cli/commands/review.rb +13 -4
- data/lib/ace/review/molecules/review_evidence.rb +8 -1
- data/lib/ace/review/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3eb68d4c56fe426002098bd5d5dc10567ea5dcf92ba709069d526c9d8d4ca77
|
|
4
|
+
data.tar.gz: bdaafd88e24669a1c2beb50fd16b2daf606f56b7f07d0815a36ba28deda175a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1acb46ca00a76f48bd05e65f7b167e9bb395732a922bf848a8792fd342be10e85777e155eb6ba5675396a6021bd257fd9d3008dcc26a03656768f83931d9338
|
|
7
|
+
data.tar.gz: 23c76466b28055d2c02364e711373d2743b71684b3dcb611c2523e344c430546034af289d972c3af80d590bb221f61cef8b2d977c988d334fcd620398c1467c6
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.56.1] - 2026-09-29
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- A full PR review round is no longer mistaken for a delta round. dry-cli yields
|
|
14
|
+
nil for an absent `--delta` and for a bare valueless `--delta`, and both were
|
|
15
|
+
normalized to auto-resolution — so the first-ever review of any new PR failed
|
|
16
|
+
with "No prior review session records a head". Nil now stays a full round;
|
|
17
|
+
auto-resolution is the explicit `--delta auto` value (explicit heads unchanged).
|
|
18
|
+
- The released gemspec now declares `ace-git-github ~> 0.2`, matching the source
|
|
19
|
+
constraint: the previously published 0.56.0 metadata still pinned `~> 0.1.1`,
|
|
20
|
+
which kept published installations resolving ace-git-github 0.1.2 and made
|
|
21
|
+
the released 0.2.0 unreachable through dependency resolution.
|
|
22
|
+
|
|
10
23
|
## [0.56.0] - 2026-09-27
|
|
11
24
|
|
|
12
25
|
### Added
|
|
@@ -64,7 +64,7 @@ module Ace
|
|
|
64
64
|
option :gh_timeout, type: :integer, desc: "Timeout for gh CLI operations in seconds (default: 30)"
|
|
65
65
|
option :evidence_session, type: :array, desc: "Include selected prior review sessions as context"
|
|
66
66
|
option :delta, type: :string, optional_value: true,
|
|
67
|
-
desc: "Delta round for --pr: review only changes since a reference head (explicit head, or
|
|
67
|
+
desc: "Delta round for --pr: review only changes since a reference head (explicit head, or `auto` to auto-resolve from the most recent prior session for this PR); omit for a full round"
|
|
68
68
|
option :prepare_goals_brief, type: :boolean, desc: "Generate or reuse the shared goals brief for this PR and preset"
|
|
69
69
|
|
|
70
70
|
# Standard options
|
|
@@ -157,14 +157,23 @@ module Ace
|
|
|
157
157
|
options
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
-
# Normalize --delta:
|
|
161
|
-
#
|
|
160
|
+
# Normalize --delta: the explicit value "auto" resolves the reference
|
|
161
|
+
# head from prior sessions (:auto); any other value is the head itself.
|
|
162
|
+
# dry-cli cannot distinguish an absent --delta from a bare one (both
|
|
163
|
+
# arrive as nil), and a full round must never be mistaken for a delta
|
|
164
|
+
# round — so nil stays a full round and auto-resolution is spelled out.
|
|
162
165
|
def process_delta(options)
|
|
163
166
|
return unless options.key?(:delta)
|
|
164
167
|
|
|
165
168
|
value = options[:delta]
|
|
166
169
|
value = value.to_s.strip if value.is_a?(String)
|
|
167
|
-
options[:delta] =
|
|
170
|
+
options[:delta] = if value.nil? || value.empty?
|
|
171
|
+
nil
|
|
172
|
+
elsif value.casecmp("auto").zero?
|
|
173
|
+
:auto
|
|
174
|
+
else
|
|
175
|
+
value
|
|
176
|
+
end
|
|
168
177
|
end
|
|
169
178
|
|
|
170
179
|
def process_subjects(options)
|
|
@@ -21,7 +21,14 @@ module Ace
|
|
|
21
21
|
if metadata["pr_url"] && metadata["pr_url"] != pr_metadata["url"]
|
|
22
22
|
return {success: false, error: "#{dir} belongs to a different PR"}
|
|
23
23
|
end
|
|
24
|
-
reports
|
|
24
|
+
# Reviewer reports are written as review-report-<model>.md (Ruby API
|
|
25
|
+
# path) or review-<model>.md (CLI provider path); prompt/context and
|
|
26
|
+
# dev-feedback files are not reports.
|
|
27
|
+
reports = Dir.glob(File.join(dir, "review-*.md")).select do |path|
|
|
28
|
+
base = File.basename(path)
|
|
29
|
+
!base.end_with?(".prompt.md", ".context.md") &&
|
|
30
|
+
!%w[review-dev-feedback.md].include?(base)
|
|
31
|
+
end
|
|
25
32
|
return {success: false, error: "No review report in #{dir}"} if reports.empty?
|
|
26
33
|
|
|
27
34
|
lines += ["", "## #{File.basename(dir)} — #{metadata["preset"]}",
|
data/lib/ace/review/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ace-review
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.56.
|
|
4
|
+
version: 0.56.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michal Czyz
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-09-
|
|
10
|
+
date: 2026-09-30 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: ace-support-cli
|
|
@@ -113,14 +113,14 @@ dependencies:
|
|
|
113
113
|
requirements:
|
|
114
114
|
- - "~>"
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: 0.
|
|
116
|
+
version: '0.2'
|
|
117
117
|
type: :runtime
|
|
118
118
|
prerelease: false
|
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
|
120
120
|
requirements:
|
|
121
121
|
- - "~>"
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
|
-
version: 0.
|
|
123
|
+
version: '0.2'
|
|
124
124
|
- !ruby/object:Gem::Dependency
|
|
125
125
|
name: ace-support-nav
|
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|