ace-hitl 0.24.2 → 0.25.0
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 +61 -1
- data/docs/usage.md +103 -2
- data/lib/ace/hitl/cli/commands/apply.rb +43 -0
- data/lib/ace/hitl/cli/commands/ask.rb +10 -3
- data/lib/ace/hitl/cli/commands/close.rb +37 -0
- data/lib/ace/hitl/cli/commands/history.rb +60 -0
- data/lib/ace/hitl/cli/commands/lesson.rb +47 -0
- data/lib/ace/hitl/cli/commands/reply.rb +65 -0
- data/lib/ace/hitl/cli/commands/suggest.rb +47 -0
- data/lib/ace/hitl/cli/commands/sweep.rb +33 -0
- data/lib/ace/hitl/cli.rb +22 -1
- data/lib/ace/hitl/molecules/case_file_writer.rb +68 -0
- data/lib/ace/hitl/molecules/hitl_creator.rb +6 -1
- data/lib/ace/hitl/molecules/hitl_lesson_editor.rb +43 -0
- data/lib/ace/hitl/molecules/hitl_suggestion_editor.rb +48 -0
- data/lib/ace/hitl/organisms/hitl_manager.rb +583 -65
- data/lib/ace/hitl/organisms/hitl_sender.rb +6 -3
- data/lib/ace/hitl/version.rb +1 -1
- data/lib/ace/hitl.rb +2 -0
- metadata +12 -2
|
@@ -5,6 +5,7 @@ require "ace/support/items"
|
|
|
5
5
|
require_relative "../adapters"
|
|
6
6
|
require_relative "../atoms/hitl_event_text"
|
|
7
7
|
require_relative "../molecules/hitl_route_loader"
|
|
8
|
+
require_relative "../molecules/case_file_writer"
|
|
8
9
|
require_relative "../molecules/hitl_delivery_state"
|
|
9
10
|
require_relative "hitl_manager"
|
|
10
11
|
|
|
@@ -105,10 +106,12 @@ module Ace
|
|
|
105
106
|
[attempted, skipped]
|
|
106
107
|
end
|
|
107
108
|
|
|
108
|
-
# Nested dot-keys through
|
|
109
|
-
#
|
|
109
|
+
# Nested dot-keys applied through the crash-atomic case writer
|
|
110
|
+
# (sidecar lock + tmp/fsync/rename, re-review R2): a killed
|
|
111
|
+
# process leaves the case intact, and delivery state keeps a
|
|
112
|
+
# single owner — the event's own file.
|
|
110
113
|
def persist_delivery(event, route, status, detail)
|
|
111
|
-
|
|
114
|
+
Molecules::CaseFileWriter.apply_fields(event.file_path,
|
|
112
115
|
set: {
|
|
113
116
|
"delivery.#{route["route"]}.status" => status,
|
|
114
117
|
"delivery.#{route["route"]}.adapter" => route["adapter"],
|
data/lib/ace/hitl/version.rb
CHANGED
data/lib/ace/hitl.rb
CHANGED
|
@@ -14,6 +14,8 @@ require_relative "hitl/molecules/hitl_resolver"
|
|
|
14
14
|
require_relative "hitl/molecules/hitl_loader"
|
|
15
15
|
require_relative "hitl/molecules/hitl_display_formatter"
|
|
16
16
|
require_relative "hitl/molecules/hitl_answer_editor"
|
|
17
|
+
require_relative "hitl/molecules/hitl_suggestion_editor"
|
|
18
|
+
require_relative "hitl/molecules/hitl_lesson_editor"
|
|
17
19
|
require_relative "hitl/molecules/hitl_creator"
|
|
18
20
|
require_relative "hitl/molecules/resume_dispatcher"
|
|
19
21
|
require_relative "hitl/molecules/worktree_scope_resolver"
|
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.
|
|
4
|
+
version: 0.25.0
|
|
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-30 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: ace-hitl-contract
|
|
@@ -153,22 +153,29 @@ files:
|
|
|
153
153
|
- lib/ace/hitl/atoms/hitl_file_pattern.rb
|
|
154
154
|
- lib/ace/hitl/atoms/hitl_id_formatter.rb
|
|
155
155
|
- lib/ace/hitl/cli.rb
|
|
156
|
+
- lib/ace/hitl/cli/commands/apply.rb
|
|
156
157
|
- lib/ace/hitl/cli/commands/ask.rb
|
|
157
158
|
- lib/ace/hitl/cli/commands/cancel.rb
|
|
159
|
+
- lib/ace/hitl/cli/commands/close.rb
|
|
158
160
|
- lib/ace/hitl/cli/commands/consume.rb
|
|
159
161
|
- lib/ace/hitl/cli/commands/create.rb
|
|
160
162
|
- lib/ace/hitl/cli/commands/deliver.rb
|
|
161
163
|
- lib/ace/hitl/cli/commands/duty.rb
|
|
164
|
+
- lib/ace/hitl/cli/commands/history.rb
|
|
165
|
+
- lib/ace/hitl/cli/commands/lesson.rb
|
|
162
166
|
- lib/ace/hitl/cli/commands/lifecycle_command.rb
|
|
163
167
|
- lib/ace/hitl/cli/commands/list.rb
|
|
164
168
|
- lib/ace/hitl/cli/commands/observe.rb
|
|
165
169
|
- lib/ace/hitl/cli/commands/operator_question.rb
|
|
166
170
|
- lib/ace/hitl/cli/commands/pending.rb
|
|
167
171
|
- lib/ace/hitl/cli/commands/read.rb
|
|
172
|
+
- lib/ace/hitl/cli/commands/reply.rb
|
|
168
173
|
- lib/ace/hitl/cli/commands/send.rb
|
|
169
174
|
- lib/ace/hitl/cli/commands/serve.rb
|
|
170
175
|
- lib/ace/hitl/cli/commands/show.rb
|
|
171
176
|
- lib/ace/hitl/cli/commands/states.rb
|
|
177
|
+
- lib/ace/hitl/cli/commands/suggest.rb
|
|
178
|
+
- lib/ace/hitl/cli/commands/sweep.rb
|
|
172
179
|
- lib/ace/hitl/cli/commands/update.rb
|
|
173
180
|
- lib/ace/hitl/cli/commands/wait.rb
|
|
174
181
|
- lib/ace/hitl/lifecycle.rb
|
|
@@ -200,6 +207,7 @@ files:
|
|
|
200
207
|
- lib/ace/hitl/lifecycle/tls_service.rb
|
|
201
208
|
- lib/ace/hitl/live_client.rb
|
|
202
209
|
- lib/ace/hitl/models/hitl_event.rb
|
|
210
|
+
- lib/ace/hitl/molecules/case_file_writer.rb
|
|
203
211
|
- lib/ace/hitl/molecules/event_observation.rb
|
|
204
212
|
- lib/ace/hitl/molecules/hitl_address_resolver.rb
|
|
205
213
|
- lib/ace/hitl/molecules/hitl_answer_editor.rb
|
|
@@ -207,10 +215,12 @@ files:
|
|
|
207
215
|
- lib/ace/hitl/molecules/hitl_creator.rb
|
|
208
216
|
- lib/ace/hitl/molecules/hitl_delivery_state.rb
|
|
209
217
|
- lib/ace/hitl/molecules/hitl_display_formatter.rb
|
|
218
|
+
- lib/ace/hitl/molecules/hitl_lesson_editor.rb
|
|
210
219
|
- lib/ace/hitl/molecules/hitl_loader.rb
|
|
211
220
|
- lib/ace/hitl/molecules/hitl_resolver.rb
|
|
212
221
|
- lib/ace/hitl/molecules/hitl_route_loader.rb
|
|
213
222
|
- lib/ace/hitl/molecules/hitl_scanner.rb
|
|
223
|
+
- lib/ace/hitl/molecules/hitl_suggestion_editor.rb
|
|
214
224
|
- lib/ace/hitl/molecules/resume_dispatcher.rb
|
|
215
225
|
- lib/ace/hitl/molecules/worktree_scope_resolver.rb
|
|
216
226
|
- lib/ace/hitl/organisms/hitl_manager.rb
|