lex-tick 0.1.4 → 0.1.6

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: 36bc7d4f54c374e06e446454a4a951747127e857e33f027b1ece5a7a672c1f56
4
- data.tar.gz: c3c60ec29a00fc124d7f964a4e2c3177b7146f3e5631f35133518d878fef1ffb
3
+ metadata.gz: 52f1405d587703b08529ef3f4a9cf78993dc3b3124e8312c79e4d6e7551f3706
4
+ data.tar.gz: db36e0f157c6b7fc3904c56d8e092aa5afedd06b20500f482c3b1241f67c30ec
5
5
  SHA512:
6
- metadata.gz: c0fbb507cb8d0d7f2c5fa718180e5cda8563627b5601c0f7baaa42985972bbdfe04ba7f66b7f81eedc25aa94503adc5956e622a700fb2ecbb6eb2b590fd2072b
7
- data.tar.gz: 66b25fd665d386bb80c10efc998dc93b21b6ddb6d0281071df82393f8baafe20da073ce80ba161859a10d690d574f3a08b0ef8269c29e96aa9e91dab3319cbde
6
+ metadata.gz: 9819622c840e1283e2330325d798a5cd45a9bcd566248491f8ce50c857bd0aafaef60290289ffccb68a56c1807c893d80019dcd4706a3cde9cec6c85b4ad2d06
7
+ data.tar.gz: 92b61e3a50dda655f00ade6559c8f54e2dde68f085986c15e1f7147dbaff051f7ed6ea054d6ad1750825ee14c8e0ecfab01ad132593e3f442bab21caf0ea6f42
@@ -8,11 +8,12 @@ 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
+ # 13 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
@@ -32,6 +33,7 @@ module Legion
32
33
  identity_entropy_check
33
34
  agenda_formation
34
35
  consolidation_commit
36
+ knowledge_promotion
35
37
  dream_reflection
36
38
  dream_narration
37
39
  ].freeze
@@ -58,7 +60,8 @@ module Legion
58
60
  PHASE_BUDGETS = {
59
61
  sensory_processing: 0.15,
60
62
  emotional_evaluation: 0.10,
61
- memory_retrieval: 0.20,
63
+ memory_retrieval: 0.15,
64
+ knowledge_retrieval: 0.05,
62
65
  identity_entropy_check: 0.05,
63
66
  working_memory_integration: 0.05,
64
67
  procedural_check: 0.10,
@@ -3,7 +3,7 @@
3
3
  module Legion
4
4
  module Extensions
5
5
  module Tick
6
- VERSION = '0.1.4'
6
+ VERSION = '0.1.6'
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 13 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(13)
23
23
  end
24
24
  end
@@ -15,7 +15,7 @@ RSpec.describe Legion::Extensions::Tick::Helpers::Constants do
15
15
 
16
16
  it 'returns all 12 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(13)
19
19
  end
20
20
  end
21
21
 
@@ -34,7 +34,7 @@ RSpec.describe Legion::Extensions::Tick::Helpers::Constants do
34
34
  end
35
35
 
36
36
  it 'defines exactly 12 phases' do
37
- expect(described_class::PHASES.size).to eq(12)
37
+ expect(described_class::PHASES.size).to eq(13)
38
38
  end
39
39
 
40
40
  it 'defines phase budgets for all active phases' do
@@ -54,20 +54,20 @@ RSpec.describe Legion::Extensions::Tick::Helpers::Constants do
54
54
  end
55
55
 
56
56
  describe 'DREAM_PHASES' do
57
- it 'defines 8 dream phases' do
58
- expect(described_class::DREAM_PHASES.size).to eq(8)
57
+ it 'defines 9 dream phases' do
58
+ expect(described_class::DREAM_PHASES.size).to eq(9)
59
59
  end
60
60
 
61
61
  it 'includes all expected dream phase symbols' do
62
62
  expected = %i[memory_audit association_walk contradiction_resolution
63
63
  identity_entropy_check agenda_formation consolidation_commit
64
- dream_reflection dream_narration]
64
+ knowledge_promotion dream_reflection dream_narration]
65
65
  expect(described_class::DREAM_PHASES).to eq(expected)
66
66
  end
67
67
  end
68
68
 
69
69
  describe 'MODE_PHASES' do
70
- it 'maps dormant_active to the 8 dream phases' do
70
+ it 'maps dormant_active to the 9 dream phases' do
71
71
  expect(described_class::MODE_PHASES[:dormant_active]).to eq(described_class::DREAM_PHASES)
72
72
  end
73
73
  end
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.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity