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: 494e61c0842f8930425d12aeee6c0b51b46ce491e829c19401df1296e440ca09
4
- data.tar.gz: 614e997a57ea09e7ff83d30ad372514dc0c0abceac7a809cdcb4aea1b630005a
3
+ metadata.gz: d55939eec104b31f029b0e8a703977c5b06afc67a82ddbc1b6274c9fa471bd21
4
+ data.tar.gz: e9f910d2474dbbdee91b75760c25711f32169c0a8e8ea476ef01ec1dd9ac8526
5
5
  SHA512:
6
- metadata.gz: a83405e18f47bdf33cf83619a88b790ad6ed27ff933f8816530931a2eb571c744f8eeca5c25aded6c0c2dacdda5429aec87372aadae63b0393a17a2797d149ea
7
- data.tar.gz: c6dba5cc8f2925af84265864bbf4b54e3102f27d0707ee936d0440ec3df28e3acbf67cc7040a103c808461d33cfd77c8dd43f5092bbec6ce0fa362b1920cfc52
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
- def verify_accepted_evidence!(data, live_head:, repo_root:)
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"],
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ace
4
4
  module Assign
5
- VERSION = "0.61.0"
5
+ VERSION = "0.61.1"
6
6
  end
7
7
  end
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.0
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-02 00:00:00.000000000 Z
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