lex-tick 0.1.6 → 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: 52f1405d587703b08529ef3f4a9cf78993dc3b3124e8312c79e4d6e7551f3706
4
- data.tar.gz: db36e0f157c6b7fc3904c56d8e092aa5afedd06b20500f482c3b1241f67c30ec
3
+ metadata.gz: 28c4fa9d20e43311c9ba66c099e0386bdc9636db6575478c43cef9844e265a48
4
+ data.tar.gz: ad10d9c55cb4da3721be54d218389a2b160ab562d39d5fca746c77e6b819377b
5
5
  SHA512:
6
- metadata.gz: 9819622c840e1283e2330325d798a5cd45a9bcd566248491f8ce50c857bd0aafaef60290289ffccb68a56c1807c893d80019dcd4706a3cde9cec6c85b4ad2d06
7
- data.tar.gz: 92b61e3a50dda655f00ade6559c8f54e2dde68f085986c15e1f7147dbaff051f7ed6ea054d6ad1750825ee14c8e0ecfab01ad132593e3f442bab21caf0ea6f42
6
+ metadata.gz: 546a141229e71000342757f6b14f970a58b04f9271d27fe316c8778d497644dcc577d513cdff5b1ec5ad63c86c0bf8af77c7d4ec285150e670e646c0dcc0c544
7
+ data.tar.gz: a724a20fea72e9f1bf28aacf4a6e13de708c28efc0fce4c22368b3692bb8181f86a28864b2d3490922a9aaccde6f23129692217c20f2bbce108df24c680534c4
@@ -8,7 +8,7 @@ module Legion
8
8
  # Tick modes
9
9
  MODES = %i[dormant dormant_active sentinel full_active].freeze
10
10
 
11
- # 13 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
@@ -19,9 +19,12 @@ module Legion
19
19
  procedural_check
20
20
  prediction_engine
21
21
  mesh_interface
22
+ social_cognition
23
+ theory_of_mind
22
24
  gut_instinct
23
25
  action_selection
24
26
  memory_consolidation
27
+ homeostasis_regulation
25
28
  post_tick_reflection
26
29
  ].freeze
27
30
 
@@ -58,18 +61,21 @@ module Legion
58
61
 
59
62
  # Phase timing budgets (fraction of total tick time)
60
63
  PHASE_BUDGETS = {
61
- sensory_processing: 0.15,
62
- emotional_evaluation: 0.10,
63
- memory_retrieval: 0.15,
64
+ sensory_processing: 0.12,
65
+ emotional_evaluation: 0.08,
66
+ memory_retrieval: 0.12,
64
67
  knowledge_retrieval: 0.05,
65
- identity_entropy_check: 0.05,
68
+ identity_entropy_check: 0.04,
66
69
  working_memory_integration: 0.05,
67
- procedural_check: 0.10,
68
- prediction_engine: 0.15,
69
- mesh_interface: 0.05,
70
- gut_instinct: 0.05,
71
- action_selection: 0.05,
72
- 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,
73
79
  post_tick_reflection: 0.05
74
80
  }.freeze
75
81
 
@@ -3,7 +3,7 @@
3
3
  module Legion
4
4
  module Extensions
5
5
  module Tick
6
- VERSION = '0.1.6'
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 13 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(13)
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(13)
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(13)
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity