From 0f739eef0af5ab543a21d0b70c445ddba0286434 Mon Sep 17 00:00:00 2001 From: Solaria Lumis Havens Date: Thu, 19 Feb 2026 18:01:15 +0000 Subject: [PATCH] fix: Use MasterConfig and EmissaryConfig for transducer initialization --- becomingone/api.py | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/becomingone/api.py b/becomingone/api.py index e76166f..24bfa42 100644 --- a/becomingone/api.py +++ b/becomingone/api.py @@ -202,16 +202,34 @@ def init_engine( max_signatures=10000, ) - # Create master and emissary transducers + # Create master and emissary transducers with proper configs + master_config = MasterConfig( + tau_scale=master_tau, + tau_max=3600.0, + omega=2.0 * 3.14159, + coherence_threshold=coherence_threshold, + witness_interval=0.1, + memory_enabled=True, + ) + + emissary_config = EmissaryConfig( + tau_scale=emissary_tau, + tau_max=1.0, + omega=2.0 * 3.14159 * 10, + coherence_threshold=coherence_threshold * 0.8, + witness_interval=0.001, + action_delay=0.0, + ) + master = MasterTransducer( - tau=master_tau, + config=master_config, sync_layer=sync_layer, witnessing_layer=witnessing_layer, temporal_memory=temporal_memory, ) emissary = EmissaryTransducer( - tau=emissary_tau, + config=emissary_config, sync_layer=sync_layer, witnessing_layer=witnessing_layer, temporal_memory=temporal_memory,