ace-assign 0.61.0 → 0.61.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d55939eec104b31f029b0e8a703977c5b06afc67a82ddbc1b6274c9fa471bd21
|
|
4
|
+
data.tar.gz: e9f910d2474dbbdee91b75760c25711f32169c0a8e8ea476ef01ec1dd9ac8526
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86d8c02efe5e126b34d683eba6c81dc1e49367e2f847c08f3cad560bde57cfebae491745346b3cfd852fccbf067e7581f01c6175068a88e7d41df24b363cab35
|
|
7
|
+
data.tar.gz: 27c7e06bfc8e553615416ea1ec36f3bc7d4a818bf7e5c844d16fb130ef6384e8132af30e5271f529679c69714e6b222620b4bb8a8e40f2c20755735df855aa22
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.61.1] - 2026-10-02
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Historical evidence reads (`--historical-head`) validate acceptance from the append-only journal without re-hashing receipt artifacts, so campaigns that resolve findings mid-campaign (archiving and annotating the referenced files) can still finish; current-head reads keep full artifact re-verification.
|
|
14
|
+
|
|
15
|
+
|
|
10
16
|
## [0.61.0] - 2026-10-02
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -64,9 +64,15 @@ module Ace
|
|
|
64
64
|
receipt
|
|
65
65
|
end
|
|
66
66
|
# Recheck the source artifacts/checks of an already accepted receipt.
|
|
67
|
-
|
|
67
|
+
# Historical reads (recorded at a past head) validate acceptance from
|
|
68
|
+
# the append-only journal without re-hashing artifacts: the review
|
|
69
|
+
# lifecycle legitimately archives and annotates finding files after
|
|
70
|
+
# collection, and `.ace-local` working files are disposable, so their
|
|
71
|
+
# current existence proves nothing about an accepted past receipt.
|
|
72
|
+
# Current-head reads keep full artifact re-verification.
|
|
73
|
+
def verify_accepted_evidence!(data, live_head:, repo_root:, historical: false)
|
|
68
74
|
verify_head(data, live_head)
|
|
69
|
-
verify_artifacts(data, repo_root)
|
|
75
|
+
verify_artifacts(data, repo_root) unless historical
|
|
70
76
|
verify_checks(data)
|
|
71
77
|
verify_review(data)
|
|
72
78
|
end
|
|
@@ -485,7 +485,8 @@ input:#{Regexp.escape(request.fetch("input_digest"))} outcome:(\S+)( no-effect:(
|
|
|
485
485
|
unless data["verdict"] == "succeeded" && data["head"] == evidence_head && attempt.candidate_head == evidence_head
|
|
486
486
|
raise AttemptErrors::ReceiptRejected, "Accepted execution evidence is stale or unsuccessful"
|
|
487
487
|
end
|
|
488
|
-
@verifier.verify_accepted_evidence!(data, live_head: evidence_head, repo_root: @repo_root
|
|
488
|
+
@verifier.verify_accepted_evidence!(data, live_head: evidence_head, repo_root: @repo_root,
|
|
489
|
+
historical: !historical_head.nil?)
|
|
489
490
|
{"attempt_id" => attempt_id, "receipt_digest" => receipt_digest, "head" => evidence_head, "kind" => kind,
|
|
490
491
|
"historical" => !historical_head.nil?,
|
|
491
492
|
"operation" => data["operation"], "checks" => data["checks"], "producer" => data["producer"], "review" => data["review"],
|
data/lib/ace/assign/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ace-assign
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.61.
|
|
4
|
+
version: 0.61.1
|
|
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-10-03 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: ace-support-cli
|