lex-agentic-social 0.1.10 → 0.1.13

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: 0fc83af9a2de72c88452553af56512be4b8fd0ae78460677ede2acb8741b4717
4
- data.tar.gz: c73bca2d3963eb2d3b565e5086e471e34a822bc5b51e4ea6e7beb40cf8a065f3
3
+ metadata.gz: 3f68ab7b55f1227a283fd1d658a83972249adf14c16c830f05484b7e7c4dbdd5
4
+ data.tar.gz: e4c8b7b5d490ced1d15657a28a695a51ec2282f9dd3b3a6777502e4728ce3a33
5
5
  SHA512:
6
- metadata.gz: b49a7f8ff8a8c950c03fd88291efa84ccbdf73be77c3581572149fcfa99d4084d041584c63c6044da0fd275803ad75a2ef10cc930ac1c0f0561b624fab73190e
7
- data.tar.gz: d37843a8af2d489580cb9f74923a82390e763939f8a81edc1870d28e42476b383e33d88074305df3c371bcf8ed4b8e01fa6f469ca5753b99cc71fcc1e15f1736
6
+ metadata.gz: 8a905ea7a1dd03b5bf61f3fece78f6add34b32830f843914857d115a9a44e708a01944e94a7310a2339c2ae674449f8cc11671823a3b06352c135a08ca4f8349
7
+ data.tar.gz: 1a7f7af65cbba67a13d23f9aec91403f82081df517d3283fc2ad91827e8cdbdf73d2139f83333a881c3db3c27d1a8a6d9a8ffb7dcd95c1a970d26cbfd4de130b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.13] - 2026-04-15
4
+ ### Changed
5
+ - Set `mcp_tools?`, `mcp_tools_deferred?`, and `transport_required?` to `false` — internal cognitive pipeline extension
6
+
7
+ ## [0.1.12] - 2026-04-03
8
+ ### Fixed
9
+ - fix TheoryOfMind phase key from social to social_cognition to match GAIA phase map
10
+
11
+ ## [0.1.11] - 2026-04-03
12
+
13
+ ### Fixed
14
+ - `retrieve_from_apollo_local` now correctly unpacks `{ success:, results: }` hash from `Apollo::Local.query_by_tags` instead of treating it as an array
15
+
3
16
  ## [0.1.10] - 2026-03-31
4
17
 
5
18
  ### Fixed
data/README.md CHANGED
@@ -5,7 +5,7 @@ Domain consolidation gem for social cognition, governance, and multi-agent inter
5
5
  ## Overview
6
6
 
7
7
  **Gem**: `lex-agentic-social`
8
- **Version**: 0.1.0
8
+ **Version**: 0.1.13
9
9
  **Namespace**: `Legion::Extensions::Agentic::Social`
10
10
 
11
11
  ## Sub-Modules
@@ -136,8 +136,10 @@ module Legion
136
136
  def retrieve_from_apollo_local
137
137
  return [] unless defined?(Legion::Apollo::Local) && Legion::Apollo::Local.started?
138
138
 
139
- entries = Legion::Apollo::Local.query_by_tags(tags: ['partner_interaction'], limit: 50)
140
- entries.map { |e| { content: e[:content], tags: e[:tags], confidence: e[:confidence] } }
139
+ result = Legion::Apollo::Local.query_by_tags(tags: ['partner_interaction'], limit: 50)
140
+ return [] unless result[:success] && result[:results].is_a?(Array)
141
+
142
+ result[:results].map { |e| { content: e[:content], tags: e[:tags], confidence: e[:confidence] } }
141
143
  rescue StandardError => e
142
144
  Legion::Logging.warn("[calibration] retrieve_from_apollo_local error: #{e.message}")
143
145
  []
@@ -168,7 +168,7 @@ module Legion
168
168
  end
169
169
 
170
170
  def extract_social_observations(tick_results)
171
- social = tick_results.dig(:social, :reputation_updates)
171
+ social = tick_results.dig(:social_cognition, :reputation_updates)
172
172
  return unless social.is_a?(Array)
173
173
 
174
174
  social.each do |update|
@@ -4,7 +4,7 @@ module Legion
4
4
  module Extensions
5
5
  module Agentic
6
6
  module Social
7
- VERSION = '0.1.10'
7
+ VERSION = '0.1.13'
8
8
  end
9
9
  end
10
10
  end
@@ -30,6 +30,18 @@ module Legion
30
30
  def self.remote_invocable?
31
31
  false
32
32
  end
33
+
34
+ def self.mcp_tools?
35
+ false
36
+ end
37
+
38
+ def self.mcp_tools_deferred?
39
+ false
40
+ end
41
+
42
+ def self.transport_required?
43
+ false
44
+ end
33
45
  end
34
46
  end
35
47
  end
@@ -90,13 +90,15 @@ RSpec.describe Legion::Extensions::Agentic::Social::Calibration::Runners::Calibr
90
90
  stub_const('Legion::Apollo', Module.new)
91
91
  stub_const('Legion::Apollo::Local', mock_local)
92
92
  allow(mock_local).to receive(:started?).and_return(true)
93
- allow(mock_local).to receive(:query_by_tags).with(tags: ['partner_interaction'], limit: 50).and_return([
94
- {
93
+ allow(mock_local).to receive(:query_by_tags).with(tags: ['partner_interaction'], limit: 50).and_return({
94
+ success: true,
95
+ results: [{
95
96
  content: 'hello partner',
96
97
  tags: ['partner_interaction'],
97
98
  confidence: 0.8
98
- }
99
- ])
99
+ }],
100
+ count: 1
101
+ })
100
102
 
101
103
  result = client.send(:retrieve_from_apollo_local)
102
104
  expect(result).to be_an(Array)
@@ -181,7 +181,7 @@ RSpec.describe Legion::Extensions::Agentic::Social::TheoryOfMind::Runners::Theor
181
181
 
182
182
  it 'extracts social observations from tick results' do
183
183
  tick = {
184
- social: {
184
+ social_cognition: {
185
185
  reputation_updates: [
186
186
  { agent_id: :a1, standing: :respected, composite: 0.7 },
187
187
  { agent_id: :a2, standing: :neutral, composite: 0.5 }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-agentic-social
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity