File size: 5,983 Bytes
31226fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d98328
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31226fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d98328
 
 
 
 
 
 
 
 
 
 
 
31226fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d98328
 
 
 
 
 
31226fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
"""Embodiment interfaces for MHRN perception-action experiments."""

from .actuator import ActuatorAdapter
from .actuator_hub import ActionRouter, ActuatorHub
from .agent import EmbodimentAgent
from .audit import ActionAuditRecord, ActionAuditTrail
from .connections import (
    ConnectionDescriptor,
    ConnectionKind,
    ConnectionStatus,
    RelationshipClass,
)
from .controlled import ControlledEmbodimentAgent, ControlledSensorAdapter
from .deterministic import DeterministicTargetEnvironment
from .environment import EnvironmentAdapter
from .gateway_runtime import (
    GatewayCondition,
    GatewayEdge,
    GatewayGuardError,
    GatewayJournalEvent,
    GatewayLimits,
    GatewayResourceMode,
    GatewayRuntime,
    GatewayRuntimeError,
    GatewayState,
    GatewayTopology,
    PreregistrationGuard,
)
from .interoception import (
    DriveState,
    FunctionalState,
    InteroceptionFrame,
    RegulatoryState,
    VitalSignal,
    derive_drives,
    derive_functional_state,
    derive_regulatory_state,
    normalize_vital_signals,
)
from .models import (
    ActionCommand,
    ActionReceipt,
    ActuatorResult,
    EmbodimentMetrics,
    EnvironmentKind,
    EnvironmentObservation,
    SensorFrame,
)
from .msba import (
    EmbodimentTreatmentProvenance,
    EnergyCoefficients,
    EnergyEstimate,
    EnergyObservation,
    EnergyState,
    Modality,
    ModalityProfile,
    MSBAGatewayConfig,
    ResourcePressure,
    SymbolFrame,
    allocation_gate,
    default_modality_profiles,
    energy_price,
    energy_state,
    energy_units,
    msba_contract,
    phase_coherence,
    phase_weighted_stdp,
    recommended_protection_policy,
    resource_pressure,
    visual_growth_probability,
)
from .neural_io_adapter import NeuralIOAreaAdapter, neural_io_adapter_contract_check
from .neural_io_codecs import (
    CODEC_CATALOG,
    DECODER_CATALOG,
    DEFAULT_SYMBOL_VOCABULARY,
    decode_output,
    encode_input,
)
from .neural_io_contracts import (
    BoundaryFrame,
    CodecContract,
    DecodeResult,
    InterfacePhase,
    NeuralRole,
    PopulationLayout,
    SpikeEvent,
    SpikeFrame,
    canonical_payload_bytes,
    event_digest,
    readout_digest,
)
from .neural_symbiosis import (
    AreaDescriptor,
    AreaKind,
    NetworkAreaAdapter,
    NeuralSymbiosisCatalog,
    PipelineDirection,
    PipelineTemplate,
    PlasticGatewayConfig,
    formation_probability,
    gate_signal,
    homeostatic_scale,
    pair_stdp_delta,
    pruning_probability,
    reward_modulated_delta,
)
from .pipeline import EmbodimentPipeline
from .real_body import ConnectionManager
from .registry import EmbodimentRegistry
from .sensor import SensorAdapter
from .sensor_activation import SensorActivationAudit, SensorActivationService
from .specialized_areas import (
    LATEST_MSBA_DATA,
    STAGE4_MIN_NEURONS,
    STAGE4_MIN_SYNAPSES,
    SpecializedAreaNetwork,
    SpecializedAreaSpec,
    default_specialized_areas,
    reference_probe_suite,
    specialized_area_contract,
)
from .system_sensor import (
    SystemSensorAdapter,
    host_system_readings,
    wall_clock_readings,
)
from .task_outcome import TaskOutcome, TaskOutcomeVerifier

__all__ = [
    "ActionCommand",
    "ActionReceipt",
    "ActuatorAdapter",
    "ActuatorHub",
    "ActionRouter",
    "ActuatorResult",
    "ActionAuditRecord",
    "ActionAuditTrail",
    "AreaDescriptor",
    "AreaKind",
    "ConnectionDescriptor",
    "ConnectionKind",
    "ConnectionManager",
    "ConnectionStatus",
    "EmbodimentAgent",
    "ControlledEmbodimentAgent",
    "ControlledSensorAdapter",
    "DeterministicTargetEnvironment",
    "EmbodimentMetrics",
    "EmbodimentRegistry",
    "EnvironmentAdapter",
    "EnvironmentKind",
    "EnvironmentObservation",
    "GatewayCondition",
    "GatewayEdge",
    "GatewayGuardError",
    "GatewayJournalEvent",
    "GatewayLimits",
    "GatewayResourceMode",
    "GatewayRuntime",
    "GatewayRuntimeError",
    "GatewayState",
    "GatewayTopology",
    "DriveState",
    "EnergyCoefficients",
    "EnergyEstimate",
    "EnergyObservation",
    "EnergyState",
    "EmbodimentTreatmentProvenance",
    "FunctionalState",
    "InteroceptionFrame",
    "MSBAGatewayConfig",
    "Modality",
    "ModalityProfile",
    "BoundaryFrame",
    "CODEC_CATALOG",
    "DECODER_CATALOG",
    "DEFAULT_SYMBOL_VOCABULARY",
    "NeuralIOAreaAdapter",
    "CodecContract",
    "DecodeResult",
    "InterfacePhase",
    "NeuralRole",
    "PopulationLayout",
    "SpikeEvent",
    "SpikeFrame",
    "NetworkAreaAdapter",
    "NeuralSymbiosisCatalog",
    "PipelineDirection",
    "PipelineTemplate",
    "PlasticGatewayConfig",
    "PreregistrationGuard",
    "RegulatoryState",
    "ResourcePressure",
    "EmbodimentPipeline",
    "RelationshipClass",
    "SensorAdapter",
    "SensorActivationAudit",
    "SensorActivationService",
    "SensorFrame",
    "LATEST_MSBA_DATA",
    "STAGE4_MIN_NEURONS",
    "STAGE4_MIN_SYNAPSES",
    "SpecializedAreaNetwork",
    "SpecializedAreaSpec",
    "SymbolFrame",
    "TaskOutcome",
    "TaskOutcomeVerifier",
    "SystemSensorAdapter",
    "VitalSignal",
    "canonical_payload_bytes",
    "decode_output",
    "encode_input",
    "neural_io_adapter_contract_check",
    "event_digest",
    "readout_digest",
    "allocation_gate",
    "default_modality_profiles",
    "default_specialized_areas",
    "reference_probe_suite",
    "specialized_area_contract",
    "derive_drives",
    "derive_functional_state",
    "derive_regulatory_state",
    "energy_price",
    "energy_state",
    "energy_units",
    "formation_probability",
    "gate_signal",
    "homeostatic_scale",
    "host_system_readings",
    "msba_contract",
    "normalize_vital_signals",
    "pair_stdp_delta",
    "phase_coherence",
    "phase_weighted_stdp",
    "pruning_probability",
    "recommended_protection_policy",
    "resource_pressure",
    "reward_modulated_delta",
    "visual_growth_probability",
    "wall_clock_readings",
]