@aleph-ai/tinyaleph 1.5.6 → 1.5.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.
- package/observer/agency.js +885 -0
- package/observer/assays.js +973 -0
- package/observer/boundary.js +1155 -0
- package/observer/entanglement.js +673 -0
- package/observer/hqe.js +1465 -0
- package/observer/index.js +158 -0
- package/observer/prsc.js +1289 -0
- package/observer/safety.js +815 -0
- package/observer/smf.js +1015 -0
- package/observer/symbolic-smf.js +726 -0
- package/observer/symbolic-temporal.js +790 -0
- package/observer/temporal.js +669 -0
- package/package.json +2 -1
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* tinyaleph Observer Module
|
|
3
|
+
*
|
|
4
|
+
* Provides components for implementing sentient observer systems:
|
|
5
|
+
* - PRSC: Prime Resonance Semantic Coherence (oscillator bank)
|
|
6
|
+
* - HQE: Holographic Quaternion Engine (entropy dynamics)
|
|
7
|
+
* - SMF: Sedenion Memory Field (16D semantic orientation)
|
|
8
|
+
* - Temporal: Moment classification and time dilation
|
|
9
|
+
* - Agency: Goals, attention, and intention
|
|
10
|
+
* - Boundary: Self-other differentiation
|
|
11
|
+
* - Entanglement: Semantic phrase coherence
|
|
12
|
+
* - Safety: Constraint monitoring
|
|
13
|
+
* - Symbolic: Symbol grounding and I-Ching classification
|
|
14
|
+
* - Assays: Validation tests from whitepaper Section 15
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
// Core observer components
|
|
18
|
+
import { PrimeOscillator, PRSCLayer, EntanglementDetector, coherenceKernel } from './prsc.js';
|
|
19
|
+
|
|
20
|
+
import { TickGate, StabilizationController, HolographicEncoder, HQE } from './hqe.js';
|
|
21
|
+
|
|
22
|
+
import { SedenionMemoryField, SMF_AXES, AXIS_INDEX } from './smf.js';
|
|
23
|
+
|
|
24
|
+
import { Moment, TemporalLayer, TemporalPatternDetector } from './temporal.js';
|
|
25
|
+
|
|
26
|
+
import { AttentionFocus, Goal, Action, Intent, AgencyLayer } from './agency.js';
|
|
27
|
+
|
|
28
|
+
import { SensoryChannel, MotorChannel, EnvironmentalModel, SelfModel, BoundaryLayer } from './boundary.js';
|
|
29
|
+
|
|
30
|
+
import { EntangledPair, Phrase, EntanglementLayer } from './entanglement.js';
|
|
31
|
+
|
|
32
|
+
import { SafetyConstraint, ViolationEvent, SafetyMonitor, DEFAULT_CONSTRAINTS } from './safety.js';
|
|
33
|
+
|
|
34
|
+
// Symbolic processing extensions
|
|
35
|
+
import { SymbolicSMF, SMFSymbolMapper, smfMapper, AXIS_SYMBOL_MAPPING, TAG_TO_AXIS } from './symbolic-smf.js';
|
|
36
|
+
|
|
37
|
+
import { SymbolicMoment, SymbolicTemporalLayer, SymbolicPatternDetector, HEXAGRAM_ARCHETYPES } from './symbolic-temporal.js';
|
|
38
|
+
|
|
39
|
+
// Evaluation assays
|
|
40
|
+
import { TimeDilationAssay, MemoryContinuityAssay, AgencyConstraintAssay, NonCommutativeMeaningAssay, AssaySuite } from './assays.js';
|
|
41
|
+
|
|
42
|
+
export {
|
|
43
|
+
// PRSC - Prime Resonance Semantic Coherence
|
|
44
|
+
PrimeOscillator,
|
|
45
|
+
PRSCLayer,
|
|
46
|
+
EntanglementDetector,
|
|
47
|
+
coherenceKernel,
|
|
48
|
+
// HQE - Holographic Quaternion Engine
|
|
49
|
+
TickGate,
|
|
50
|
+
StabilizationController,
|
|
51
|
+
HolographicEncoder,
|
|
52
|
+
HQE,
|
|
53
|
+
// SMF - Sedenion Memory Field
|
|
54
|
+
SedenionMemoryField,
|
|
55
|
+
SMF_AXES,
|
|
56
|
+
AXIS_INDEX,
|
|
57
|
+
// Temporal - Moment classification
|
|
58
|
+
Moment,
|
|
59
|
+
TemporalLayer,
|
|
60
|
+
TemporalPatternDetector,
|
|
61
|
+
// Agency - Goals and intentions
|
|
62
|
+
AttentionFocus,
|
|
63
|
+
Goal,
|
|
64
|
+
Action,
|
|
65
|
+
Intent,
|
|
66
|
+
AgencyLayer,
|
|
67
|
+
// Boundary - Self-other differentiation
|
|
68
|
+
SensoryChannel,
|
|
69
|
+
MotorChannel,
|
|
70
|
+
EnvironmentalModel,
|
|
71
|
+
SelfModel,
|
|
72
|
+
BoundaryLayer,
|
|
73
|
+
// Entanglement - Semantic phrase coherence
|
|
74
|
+
EntangledPair,
|
|
75
|
+
Phrase,
|
|
76
|
+
EntanglementLayer,
|
|
77
|
+
// Safety - Constraint monitoring
|
|
78
|
+
SafetyConstraint,
|
|
79
|
+
ViolationEvent,
|
|
80
|
+
SafetyMonitor,
|
|
81
|
+
DEFAULT_CONSTRAINTS,
|
|
82
|
+
// Symbolic SMF - Symbol-grounded semantic field
|
|
83
|
+
SymbolicSMF,
|
|
84
|
+
SMFSymbolMapper,
|
|
85
|
+
smfMapper,
|
|
86
|
+
AXIS_SYMBOL_MAPPING,
|
|
87
|
+
TAG_TO_AXIS,
|
|
88
|
+
// Symbolic Temporal - I-Ching moment classification
|
|
89
|
+
SymbolicMoment,
|
|
90
|
+
SymbolicTemporalLayer,
|
|
91
|
+
SymbolicPatternDetector,
|
|
92
|
+
HEXAGRAM_ARCHETYPES,
|
|
93
|
+
// Assays - Validation tests
|
|
94
|
+
TimeDilationAssay,
|
|
95
|
+
MemoryContinuityAssay,
|
|
96
|
+
AgencyConstraintAssay,
|
|
97
|
+
NonCommutativeMeaningAssay,
|
|
98
|
+
AssaySuite
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export default {
|
|
102
|
+
// PRSC - Prime Resonance Semantic Coherence
|
|
103
|
+
PrimeOscillator,
|
|
104
|
+
PRSCLayer,
|
|
105
|
+
EntanglementDetector,
|
|
106
|
+
coherenceKernel,
|
|
107
|
+
// HQE - Holographic Quaternion Engine
|
|
108
|
+
TickGate,
|
|
109
|
+
StabilizationController,
|
|
110
|
+
HolographicEncoder,
|
|
111
|
+
HQE,
|
|
112
|
+
// SMF - Sedenion Memory Field
|
|
113
|
+
SedenionMemoryField,
|
|
114
|
+
SMF_AXES,
|
|
115
|
+
AXIS_INDEX,
|
|
116
|
+
// Temporal - Moment classification
|
|
117
|
+
Moment,
|
|
118
|
+
TemporalLayer,
|
|
119
|
+
TemporalPatternDetector,
|
|
120
|
+
// Agency - Goals and intentions
|
|
121
|
+
AttentionFocus,
|
|
122
|
+
Goal,
|
|
123
|
+
Action,
|
|
124
|
+
Intent,
|
|
125
|
+
AgencyLayer,
|
|
126
|
+
// Boundary - Self-other differentiation
|
|
127
|
+
SensoryChannel,
|
|
128
|
+
MotorChannel,
|
|
129
|
+
EnvironmentalModel,
|
|
130
|
+
SelfModel,
|
|
131
|
+
BoundaryLayer,
|
|
132
|
+
// Entanglement - Semantic phrase coherence
|
|
133
|
+
EntangledPair,
|
|
134
|
+
Phrase,
|
|
135
|
+
EntanglementLayer,
|
|
136
|
+
// Safety - Constraint monitoring
|
|
137
|
+
SafetyConstraint,
|
|
138
|
+
ViolationEvent,
|
|
139
|
+
SafetyMonitor,
|
|
140
|
+
DEFAULT_CONSTRAINTS,
|
|
141
|
+
// Symbolic SMF - Symbol-grounded semantic field
|
|
142
|
+
SymbolicSMF,
|
|
143
|
+
SMFSymbolMapper,
|
|
144
|
+
smfMapper,
|
|
145
|
+
AXIS_SYMBOL_MAPPING,
|
|
146
|
+
TAG_TO_AXIS,
|
|
147
|
+
// Symbolic Temporal - I-Ching moment classification
|
|
148
|
+
SymbolicMoment,
|
|
149
|
+
SymbolicTemporalLayer,
|
|
150
|
+
SymbolicPatternDetector,
|
|
151
|
+
HEXAGRAM_ARCHETYPES,
|
|
152
|
+
// Assays - Validation tests
|
|
153
|
+
TimeDilationAssay,
|
|
154
|
+
MemoryContinuityAssay,
|
|
155
|
+
AgencyConstraintAssay,
|
|
156
|
+
NonCommutativeMeaningAssay,
|
|
157
|
+
AssaySuite
|
|
158
|
+
};
|