ace-hitl 0.24.2 → 0.24.3
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 +6 -0
- data/lib/ace/hitl/organisms/hitl_manager.rb +3 -3
- data/lib/ace/hitl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3d4e7dd5c819e98ea18006c02d1d6e587857d4889f91bd4d42fc2d0e26461d9d
|
|
4
|
+
data.tar.gz: 4a05d425d80b079f03800fa9f7277412d8a2218f4b56d11a624df50baf4325eb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 292cafb6c572d818b1c0a3988a36bd588303dacfa357a585fa0166430db74e61c682ad1d45242dc44be9943110c3cf45546f9f965aee7861e75b10862b2559b2
|
|
7
|
+
data.tar.gz: 03b92ef04274f643f84f2868d19f021ff4e72f0add38d164e4e11657ee1c532571aeb6751ab29b5fe67d8475a23352e195cf8f284b347985554a02f881c8d984
|
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.24.3] - 2026-10-29
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Answer and field-update rebuilds parse the case file strictly: an unparsable frontmatter block aborts the mutation instead of silently rebuilding the case from an empty frontmatter (HOTFIX cycle-2b follow-up to the 8xsdfo ask-flow corruption).
|
|
15
|
+
|
|
10
16
|
## [0.24.2] - 2026-10-27
|
|
11
17
|
|
|
12
18
|
### Added
|
|
@@ -410,7 +410,7 @@ module Ace
|
|
|
410
410
|
|
|
411
411
|
def apply_answer_update(file_path, answer)
|
|
412
412
|
content = File.read(file_path)
|
|
413
|
-
frontmatter, body = Ace::Support::Items::Atoms::FrontmatterParser.parse(content)
|
|
413
|
+
frontmatter, body = Ace::Support::Items::Atoms::FrontmatterParser.parse!(content)
|
|
414
414
|
|
|
415
415
|
updated_body = Molecules::HitlAnswerEditor.apply(body, answer)
|
|
416
416
|
answered = !answer.to_s.strip.empty?
|
|
@@ -432,7 +432,7 @@ module Ace
|
|
|
432
432
|
file.rewind
|
|
433
433
|
|
|
434
434
|
content = file.read
|
|
435
|
-
frontmatter, body = Ace::Support::Items::Atoms::FrontmatterParser.parse(content)
|
|
435
|
+
frontmatter, body = Ace::Support::Items::Atoms::FrontmatterParser.parse!(content)
|
|
436
436
|
body = body.sub(/\A\n/, "")
|
|
437
437
|
previous = body.match(/^## Answer[ \t]*(?:\n(.*))?\z/m)&.[](1).to_s.strip
|
|
438
438
|
if first_answer && (frontmatter["answered"] == true || !previous.empty?)
|
|
@@ -525,7 +525,7 @@ module Ace
|
|
|
525
525
|
|
|
526
526
|
event = current[:event]
|
|
527
527
|
content = File.read(event.file_path)
|
|
528
|
-
frontmatter, body = Ace::Support::Items::Atoms::FrontmatterParser.parse(content)
|
|
528
|
+
frontmatter, body = Ace::Support::Items::Atoms::FrontmatterParser.parse!(content)
|
|
529
529
|
updated_body = body.to_s.sub(/\s*\z/, "")
|
|
530
530
|
updated_body << "\n\n## Resume Dispatch\n\n#{note}\n"
|
|
531
531
|
rebuilt = Ace::Support::Items::Atoms::FrontmatterSerializer.rebuild(frontmatter, updated_body)
|
data/lib/ace/hitl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ace-hitl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.24.
|
|
4
|
+
version: 0.24.3
|
|
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-29 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: ace-hitl-contract
|