lex-tick 0.1.5 → 0.1.7

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: 4d1aa39d05aa2b91055c13a571afc84f1c64cb014d84028d334d97bea151ed2e
4
- data.tar.gz: 4f86dfc71452a478e9e872562b6ff460f170c69c0a2afb71b534d3303260ec01
3
+ metadata.gz: 28c4fa9d20e43311c9ba66c099e0386bdc9636db6575478c43cef9844e265a48
4
+ data.tar.gz: ad10d9c55cb4da3721be54d218389a2b160ab562d39d5fca746c77e6b819377b
5
5
  SHA512:
6
- metadata.gz: f607262319381427a66e9702858fe6106edb15e1df364b47852f0ecf1c3b0be210306b0ed01f3e510bece576e77413c932104108e920276c388802e6a90cf867
7
- data.tar.gz: 7850bd2fc90f7bcc7cabc38b07b42dea6d978ef4c64ba259eee504f44ebfef34447775a289b34bdbda66e33c0864214d0c242ead385bb79bdab5e5989886a2a0
6
+ metadata.gz: 546a141229e71000342757f6b14f970a58b04f9271d27fe316c8778d497644dcc577d513cdff5b1ec5ad63c86c0bf8af77c7d4ec285150e670e646c0dcc0c544
7
+ data.tar.gz: a724a20fea72e9f1bf28aacf4a6e13de708c28efc0fce4c22368b3692bb8181f86a28864b2d3490922a9aaccde6f23129692217c20f2bbce108df24c680534c4
@@ -8,19 +8,23 @@ module Legion
8
8
  # Tick modes
9
9
  MODES = %i[dormant dormant_active sentinel full_active].freeze
10
10
 
11
- # 12 phases of a full active tick
11
+ # 16 phases of a full active tick
12
12
  PHASES = %i[
13
13
  sensory_processing
14
14
  emotional_evaluation
15
15
  memory_retrieval
16
+ knowledge_retrieval
16
17
  identity_entropy_check
17
18
  working_memory_integration
18
19
  procedural_check
19
20
  prediction_engine
20
21
  mesh_interface
22
+ social_cognition
23
+ theory_of_mind
21
24
  gut_instinct
22
25
  action_selection
23
26
  memory_consolidation
27
+ homeostasis_regulation
24
28
  post_tick_reflection
25
29
  ].freeze
26
30
 
@@ -57,17 +61,21 @@ module Legion
57
61
 
58
62
  # Phase timing budgets (fraction of total tick time)
59
63
  PHASE_BUDGETS = {
60
- sensory_processing: 0.15,
61
- emotional_evaluation: 0.10,
62
- memory_retrieval: 0.20,
63
- identity_entropy_check: 0.05,
64
+ sensory_processing: 0.12,
65
+ emotional_evaluation: 0.08,
66
+ memory_retrieval: 0.12,
67
+ knowledge_retrieval: 0.05,
68
+ identity_entropy_check: 0.04,
64
69
  working_memory_integration: 0.05,
65
- procedural_check: 0.10,
66
- prediction_engine: 0.15,
67
- mesh_interface: 0.05,
68
- gut_instinct: 0.05,
69
- action_selection: 0.05,
70
- memory_consolidation: 0.05,
70
+ procedural_check: 0.08,
71
+ prediction_engine: 0.12,
72
+ mesh_interface: 0.04,
73
+ social_cognition: 0.04,
74
+ theory_of_mind: 0.04,
75
+ gut_instinct: 0.04,
76
+ action_selection: 0.04,
77
+ memory_consolidation: 0.04,
78
+ homeostasis_regulation: 0.05,
71
79
  post_tick_reflection: 0.05
72
80
  }.freeze
73
81
 
@@ -3,7 +3,7 @@
3
3
  module Legion
4
4
  module Extensions
5
5
  module Tick
6
- VERSION = '0.1.5'
6
+ VERSION = '0.1.7'
7
7
  end
8
8
  end
9
9
  end
@@ -16,9 +16,9 @@ RSpec.describe Legion::Extensions::Tick::Client do
16
16
  expect(client.tick_status[:mode]).to eq(:sentinel)
17
17
  end
18
18
 
19
- it 'runs a full active tick with all 12 phases' do
19
+ it 'runs a full active tick with all 16 phases' do
20
20
  client = described_class.new(mode: :full_active)
21
21
  result = client.execute_tick(signals: [{ salience: 0.9, source_type: :human_direct }])
22
- expect(result[:phases_executed].size).to eq(12)
22
+ expect(result[:phases_executed].size).to eq(16)
23
23
  end
24
24
  end
@@ -13,9 +13,9 @@ RSpec.describe Legion::Extensions::Tick::Helpers::Constants do
13
13
  expect(phases).to include(:sensory_processing, :memory_retrieval)
14
14
  end
15
15
 
16
- it 'returns all 12 phases for full_active' do
16
+ it 'returns all 16 phases for full_active' do
17
17
  phases = described_class.phases_for_mode(:full_active)
18
- expect(phases.size).to eq(12)
18
+ expect(phases.size).to eq(16)
19
19
  end
20
20
  end
21
21
 
@@ -33,8 +33,8 @@ RSpec.describe Legion::Extensions::Tick::Helpers::Constants do
33
33
  end
34
34
  end
35
35
 
36
- it 'defines exactly 12 phases' do
37
- expect(described_class::PHASES.size).to eq(12)
36
+ it 'defines exactly 16 phases' do
37
+ expect(described_class::PHASES.size).to eq(16)
38
38
  end
39
39
 
40
40
  it 'defines phase budgets for all active phases' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-tick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity