ctx_driver 0.2.4 → 0.2.5
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 +7 -0
- data/lib/ctx_driver/reader.rb +2 -1
- data/lib/ctx_driver/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 598a02dcecf58f317a71bbd0bb6591eeb00de1a7af012f0b8630a60c409b97f0
|
|
4
|
+
data.tar.gz: c0a6abd65a443d0084e69be5c533a150c31fd037c6c23e6ab5e1663a4e893ca4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b54944316508e0ba40ca5b9b582ea437b2a8e5684e58dbae1b3c7326d5c942e3d36c62e9bf9de2005522e9ad6c531b866faaad56b9f38ea4b64b384ff11b703
|
|
7
|
+
data.tar.gz: 9c7095540378d3d58aea63fbc22710043899a10277e0d068174033898c108ca21fd846db11549e2f9ff4d254b34e429df62caa3fb892fa8c595d7eb94d69700a
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Changes to the public contract are recorded here. Versions follow Semantic Versioning.
|
|
4
4
|
|
|
5
|
+
## Unreleased
|
|
6
|
+
|
|
7
|
+
## 0.2.5 (2026-10-21)
|
|
8
|
+
|
|
9
|
+
- Add repository-specific AGENTS.md guidance for responsibilities, Ruby conventions, evidence boundaries and validation.
|
|
10
|
+
- Reject failed single-query receipts containing multiple completed commands while retaining source evidence.
|
|
11
|
+
|
|
5
12
|
## 0.2.4 (2026-10-18)
|
|
6
13
|
|
|
7
14
|
- Clear Bundler bootstrap variables when verifying packages in an isolated gem installation, including calls made through bundle exec.
|
data/lib/ctx_driver/reader.rb
CHANGED
|
@@ -70,7 +70,8 @@ module CtxDriver
|
|
|
70
70
|
|
|
71
71
|
evidence = [ { command: command, sha256: Digest::SHA256.hexdigest(output), bytes: output.bytesize } ]
|
|
72
72
|
success = receipt.success?
|
|
73
|
-
|
|
73
|
+
steps = receipt.steps
|
|
74
|
+
unless [ true, false ].include?(success) && steps.is_a?(Array) && (success ? steps.one? : steps.size <= 1)
|
|
74
75
|
raise TypeError, "One query must return one completed command"
|
|
75
76
|
end
|
|
76
77
|
if success
|
data/lib/ctx_driver/version.rb
CHANGED