lex-agentic-executive 0.1.8 → 0.1.9

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: f8b462cfe7996e5d0e29c0be80280aa7e2d41cb839a2f9abe9add558d6fc0d0f
4
- data.tar.gz: a0c5d73d86245d74b6705193916306da3b6db2af5d5a31898377138c1c16ca3d
3
+ metadata.gz: aa05cbaa427f25a935f58ac66ee531e41acef3593516fce1aac5e14eab157750
4
+ data.tar.gz: d30b10206deb7330d7a36a2cf15f985e3cea95013e46fb53672634c468a77b82
5
5
  SHA512:
6
- metadata.gz: 60b7246e2235da77e1e63ba488566c346870605d40291a2e52bd15b93740722eeda4b73a5c70d3b5f266327a0cc0d25d601e50a749f44a00ccea48581d115568
7
- data.tar.gz: f5ee84e895c7e651d286754cfadf7656ae18da2ae4e76a31405b71239d168b018c541fc6bc93ae32df82559f76ddc310504bb7a9033e3a28e657cb9f8dbfff47
6
+ metadata.gz: 2819dad3c8f57b6614e57b700ee50bafa9a7181b87fe6b5da3189f6e285b5b027e80b86d95646d6eba5fb53096af842adef6589af4ad4c24737c036e50152a1f
7
+ data.tar.gz: 3bbf61fe80e780a1d1ecd6cc6428a80e4cba9125f640267df84dcac367120294ef925df0497e2398090ff3d0fcc06b9ffe6d6a9d46e5095fc811ac029b33fa06
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.9] - 2026-04-03
4
+
5
+ ### Fixed
6
+ - Use `::Process::CLOCK_MONOTONIC` instead of `Process::CLOCK_MONOTONIC` in DualProcessEngine to avoid resolving to `Legion::Process`
7
+
3
8
  ## [0.1.8] - 2026-04-03
4
9
 
5
10
  ### Changed
@@ -42,7 +42,7 @@ module Legion
42
42
 
43
43
  def execute_system_one(query:, domain:)
44
44
  matching = find_matching_heuristic(query, domain)
45
- start = Process.clock_gettime(Process::CLOCK_MONOTONIC)
45
+ start = ::Process.clock_gettime(::Process::CLOCK_MONOTONIC)
46
46
 
47
47
  if matching
48
48
  matching.use!(success: true)
@@ -53,7 +53,7 @@ module Legion
53
53
  response = :no_heuristic
54
54
  end
55
55
 
56
- elapsed = ((Process.clock_gettime(Process::CLOCK_MONOTONIC) - start) * 1000).round
56
+ elapsed = ((::Process.clock_gettime(::Process::CLOCK_MONOTONIC) - start) * 1000).round
57
57
 
58
58
  decision = Decision.new(
59
59
  query: query,
@@ -70,13 +70,13 @@ module Legion
70
70
  end
71
71
 
72
72
  def execute_system_two(query:, domain:, deliberation: {})
73
- start = Process.clock_gettime(Process::CLOCK_MONOTONIC)
73
+ start = ::Process.clock_gettime(::Process::CLOCK_MONOTONIC)
74
74
  @effort_budget = (@effort_budget - EFFORT_COST).clamp(0.0, MAX_EFFORT_BUDGET)
75
75
 
76
76
  confidence = deliberation.fetch(:confidence, DEFAULT_CONFIDENCE + HEURISTIC_BOOST)
77
77
  .clamp(CONFIDENCE_FLOOR, CONFIDENCE_CEILING)
78
78
  response = deliberation.fetch(:response, :deliberated)
79
- elapsed = ((Process.clock_gettime(Process::CLOCK_MONOTONIC) - start) * 1000).round
79
+ elapsed = ((::Process.clock_gettime(::Process::CLOCK_MONOTONIC) - start) * 1000).round
80
80
 
81
81
  decision = Decision.new(
82
82
  query: query,
@@ -4,7 +4,7 @@ module Legion
4
4
  module Extensions
5
5
  module Agentic
6
6
  module Executive
7
- VERSION = '0.1.8'
7
+ VERSION = '0.1.9'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-agentic-executive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity