Skip to content

Commit 1d9ee9e

Browse files
authored
Merge pull request #2805 from fermga/copilot/implement-state-management-latency
Implement SHA operator latency state management, remove arbitrary compatibility tables, audit all sequences, and translate codebase to English
2 parents b5bef21 + 47202a2 commit 1d9ee9e

19 files changed

+470
-249
lines changed

src/tnfr/dynamics/propagation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
frequency matching, and coupling strength.
77
88
According to TNFR canonical theory:
9-
"Interferencia nodal: Disonancia entre nodos que perturba la coherencia.
10-
Puede inducir reorganización o colapso."
9+
"Nodal interference: Dissonance between nodes that disrupts coherence.
10+
Can induce reorganization or collapse."
1111
1212
OZ introduces topological asymmetry that propagates beyond the local node,
1313
potentially triggering bifurcation cascades in phase-compatible neighbors.
1414
1515
References
1616
----------
1717
- TNFR.pdf §2.3.3: OZ introduces topological dissonance
18-
- Issue: [OZ] Implementar propagación de disonancia y efectos de red vecinal
18+
- Issue: [OZ] Implement dissonance propagation and neighborhood network effects
1919
"""
2020

2121
from __future__ import annotations

src/tnfr/operators/canonical_patterns.py

Lines changed: 71 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
"""Canonical operator sequences and archetypal patterns from TNFR theory.
22
33
This module defines the 6 canonical archetypal sequences involving OZ (Dissonance)
4-
as documented in "El pulso que nos atraviesa" (Table 2.5 - Tipología estructural glífica).
4+
as documented in "El pulso que nos atraviesa" (Table 2.5 - Glyphic structural typology).
55
66
These sequences represent validated structural patterns that can be reused across
77
different domains and applications while maintaining TNFR coherence and grammar.
88
99
References
1010
----------
11-
"El pulso que nos atraviesa", Tabla 2.5: Tipología estructural glífica
12-
Section 2.3.8: Ejemplos completos
13-
Section 2.3.5: Escritura glífica avanzada (Macros glíficas)
11+
"El pulso que nos atraviesa", Table 2.5: Glyphic structural typology
12+
Section 2.3.8: Complete examples
13+
Section 2.3.5: Advanced glyphic writing (Glyphic macros)
1414
"""
1515

1616
from __future__ import annotations
@@ -74,146 +74,147 @@ class CanonicalSequence(NamedTuple):
7474
glyphs=[Glyph.AL, Glyph.EN, Glyph.IL, Glyph.OZ, Glyph.ZHIR, Glyph.IL, Glyph.SHA],
7575
pattern_type=StructuralPattern.BIFURCATED,
7676
description=(
77-
"Disonancia estructural que genera umbral de bifurcación. "
78-
"El nodo puede reorganizarse (ZHIR) o colapsar a latencia (NUL). "
79-
"Este patrón representa la resolución creativa de la disonancia "
80-
"mediante mutación transformativa. "
81-
"Incluye EN → IL (reception→coherence) para validación gramática."
77+
"Structural dissonance that generates bifurcation threshold. "
78+
"The node can reorganize (ZHIR) or collapse to latency (NUL). "
79+
"This pattern represents the creative resolution of dissonance "
80+
"through transformative mutation. "
81+
"Includes EN → IL (reception→coherence) for grammar validation."
8282
),
8383
use_cases=[
84-
"Intervención terapéutica ante bloqueos emocionales o cognitivos",
85-
"Análisis de crisis culturales o paradigmas en tensión",
86-
"Diseño de sistemas con respuesta adaptativa a perturbaciones",
87-
"Modelado de puntos de decisión en redes complejas",
84+
"Therapeutic intervention for emotional or cognitive blockages",
85+
"Analysis of cultural crises or paradigms under tension",
86+
"Design of systems with adaptive response to perturbations",
87+
"Modeling of decision points in complex networks",
8888
],
8989
domain="general",
90-
references="El pulso que nos atraviesa, Tabla 2.5, Sección 2.3.4 (Bifurcación)",
90+
references="El pulso que nos atraviesa, Table 2.5, Section 2.3.4 (Bifurcation)",
9191
)
9292

9393
BIFURCATED_COLLAPSE = CanonicalSequence(
9494
name="bifurcated_collapse",
9595
glyphs=[Glyph.AL, Glyph.EN, Glyph.IL, Glyph.OZ, Glyph.NUL, Glyph.IL, Glyph.SHA],
9696
pattern_type=StructuralPattern.BIFURCATED,
9797
description=(
98-
"Path alternativo de bifurcación: disonancia lleva a colapso controlado (NUL) "
99-
"en lugar de mutación. Útil para reset estructural cuando la transformación "
100-
"no es viable. El nodo retorna a latencia preservando potencialidad. "
101-
"Incluye EN → IL (reception→coherence) para validación gramática."
98+
"Alternative bifurcation path: dissonance leads to controlled collapse (NUL) "
99+
"instead of mutation. Useful for structural reset when transformation "
100+
"is not viable. The node returns to latency preserving potentiality. "
101+
"Includes EN → IL (reception→coherence) for grammar validation."
102102
),
103103
use_cases=[
104-
"Reset cognitivo tras sobrecarga informacional",
105-
"Desinversión organizacional estratégica",
106-
"Retorno a potencialidad tras exploración fallida",
107-
"Simplificación estructural ante complejidad insostenible",
104+
"Cognitive reset after informational overload",
105+
"Strategic organizational disinvestment",
106+
"Return to potentiality after failed exploration",
107+
"Structural simplification facing unsustainable complexity",
108108
],
109109
domain="general",
110-
references="El pulso que nos atraviesa, Sección 2.3.3 (Bifurcación y mutación)",
110+
references="El pulso que nos atraviesa, Section 2.3.3 (Bifurcation and mutation)",
111111
)
112112

113113

114114
# ============================================================================
115-
# Therapeutic Protocol: Ritual de Reorganización
115+
# Therapeutic Protocol: Reorganization Ritual
116116
# ============================================================================
117117

118118
THERAPEUTIC_PROTOCOL = CanonicalSequence(
119119
name="therapeutic_protocol",
120-
glyphs=[Glyph.AL, Glyph.EN, Glyph.IL, Glyph.OZ, Glyph.ZHIR, Glyph.IL, Glyph.RA, Glyph.SHA],
120+
glyphs=[Glyph.AL, Glyph.EN, Glyph.IL, Glyph.OZ, Glyph.ZHIR, Glyph.IL, Glyph.RA, Glyph.IL, Glyph.SHA],
121121
pattern_type=StructuralPattern.THERAPEUTIC,
122122
description=(
123-
"Protocolo ritual o terapéutico: emisión simbólica (AL), recepción "
124-
"estabilizadora (EN), coherencia inicial (IL), disonancia creativa como "
125-
"confrontación (OZ), mutación del sujeto (ZHIR), estabilización de la "
126-
"nueva forma (IL), propagación resonante (RA), entrada en latencia (SHA). "
127-
"Ciclo de transformación personal o colectiva con resolución creativa."
123+
"Ritual or therapeutic protocol: symbolic emission (AL), stabilizing "
124+
"reception (EN), initial coherence (IL), creative dissonance as "
125+
"confrontation (OZ), subject mutation (ZHIR), stabilization of the "
126+
"new form (IL), resonant propagation (RA), post-resonance stabilization (IL), "
127+
"entry into latency (SHA). Personal or collective transformation cycle with "
128+
"creative resolution and coherent frequency transitions."
128129
),
129130
use_cases=[
130-
"Ceremonias de transformación personal o iniciación",
131-
"Sesiones de reestructuración terapéutica profunda",
132-
"Acompañamiento simbólico de procesos de cambio vital",
133-
"Rituales de sanación colectiva o comunitaria",
131+
"Personal transformation or initiation ceremonies",
132+
"Deep therapeutic restructuring sessions",
133+
"Symbolic accompaniment of vital change processes",
134+
"Collective or community healing rituals",
134135
],
135136
domain="biomedical",
136137
references="El pulso que nos atraviesa, Ejemplo 3 (Sección 2.3.8)",
137138
)
138139

139140

140141
# ============================================================================
141-
# Theory System: Construcción Epistemológica
142+
# Theory System: Epistemological Construction
142143
# ============================================================================
143144

144145
THEORY_SYSTEM = CanonicalSequence(
145146
name="theory_system",
146147
glyphs=[Glyph.AL, Glyph.EN, Glyph.IL, Glyph.OZ, Glyph.ZHIR, Glyph.IL, Glyph.THOL, Glyph.SHA],
147148
pattern_type=StructuralPattern.EDUCATIONAL,
148149
description=(
149-
"Sistema de ideas o teoría emergente: emisión inicial (AL), recepción de "
150-
"información (EN), estabilización (IL), disonancia conceptual o paradoja (OZ), "
151-
"mutación hacia nuevo paradigma (ZHIR), estabilización en comprensión coherente (IL), "
152-
"autoorganización en sistema teórico (THOL), integración en conocimiento "
153-
"encarnado (SHA). Trayectoria de construcción epistemológica."
150+
"Emerging system of ideas or theory: initial emission (AL), information "
151+
"reception (EN), stabilization (IL), conceptual dissonance or paradox (OZ), "
152+
"mutation toward new paradigm (ZHIR), stabilization in coherent understanding (IL), "
153+
"self-organization into theoretical system (THOL), integration into embodied "
154+
"knowledge (SHA). Epistemological construction trajectory."
154155
),
155156
use_cases=[
156-
"Diseño de marcos epistemológicos o paradigmas científicos",
157-
"Construcción de teorías coherentes en ciencias sociales",
158-
"Modelado de evolución conceptual en comunidades académicas",
159-
"Desarrollo de sistemas filosóficos o cosmovisiones",
157+
"Design of epistemological frameworks or scientific paradigms",
158+
"Construction of coherent theories in social sciences",
159+
"Modeling of conceptual evolution in academic communities",
160+
"Development of philosophical systems or worldviews",
160161
],
161162
domain="cognitive",
162-
references="El pulso que nos atraviesa, Ejemplo 2 (Sección 2.3.8)",
163+
references="El pulso que nos atraviesa, Example 2 (Section 2.3.8)",
163164
)
164165

165166

166167
# ============================================================================
167-
# Full Deployment: Despliegue Total
168+
# Full Deployment: Complete Deployment
168169
# ============================================================================
169170

170171
FULL_DEPLOYMENT = CanonicalSequence(
171172
name="full_deployment",
172-
glyphs=[Glyph.AL, Glyph.EN, Glyph.IL, Glyph.OZ, Glyph.ZHIR, Glyph.IL, Glyph.RA, Glyph.SHA],
173+
glyphs=[Glyph.AL, Glyph.EN, Glyph.IL, Glyph.OZ, Glyph.ZHIR, Glyph.IL, Glyph.RA, Glyph.IL, Glyph.SHA],
173174
pattern_type=StructuralPattern.COMPLEX,
174175
description=(
175-
"Trayectoria completa de reorganización nodal: emisión iniciadora (AL), "
176-
"recepción estabilizadora (EN), coherencia inicial (IL), disonancia "
177-
"exploradora (OZ), mutación transformativa (ZHIR), estabilización coherente (IL), "
178-
"propagación resonante (RA), cierre en latencia (SHA). Secuencia exhaustiva "
179-
"de reorganización estructural."
176+
"Complete nodal reorganization trajectory: initiating emission (AL), "
177+
"stabilizing reception (EN), initial coherence (IL), exploratory "
178+
"dissonance (OZ), transformative mutation (ZHIR), coherent stabilization (IL), "
179+
"resonant propagation (RA), post-resonance consolidation (IL), closure in latency (SHA). "
180+
"Exhaustive structural reorganization sequence with coherent frequency transitions."
180181
),
181182
use_cases=[
182-
"Procesos de transformación organizacional completa",
183-
"Ciclos de innovación radical con múltiples fases",
184-
"Trayectorias de aprendizaje profundo y transformativo",
185-
"Reorganización sistémica de comunidades o ecosistemas",
183+
"Complete organizational transformation processes",
184+
"Radical innovation cycles with multiple phases",
185+
"Deep and transformative learning trajectories",
186+
"Systemic reorganization of communities or ecosystems",
186187
],
187188
domain="general",
188-
references="El pulso que nos atraviesa, Tabla 2.5 (Despliegue total)",
189+
references="El pulso que nos atraviesa, Table 2.5 (Complete deployment)",
189190
)
190191

191192

192193
# ============================================================================
193-
# MOD_STABILIZER: Macro Glífica Reutilizable
194+
# MOD_STABILIZER: Reusable Glyphic Macro
194195
# ============================================================================
195196

196197
MOD_STABILIZER = CanonicalSequence(
197198
name="mod_stabilizer",
198199
glyphs=[Glyph.REMESH, Glyph.EN, Glyph.IL, Glyph.OZ, Glyph.ZHIR, Glyph.IL, Glyph.REMESH],
199200
pattern_type=StructuralPattern.EXPLORE,
200201
description=(
201-
"MOD_ESTABILIZADOR: macro glífica para transformación controlada. "
202-
"Activa recursividad (REMESH), recibe estado actual (EN), estabiliza (IL), "
203-
"introduce disonancia controlada (OZ), muta estructura (ZHIR), estabiliza "
204-
"nueva forma (IL), cierra con recursividad (REMESH). Reutilizable como "
205-
"subunidad modular dentro de secuencias más complejas. Representa el patrón "
206-
"mínimo de exploración-transformación-consolidación con validación gramática "
207-
"completa (EN → IL) y cierre recursivo."
202+
"MOD_STABILIZER: glyphic macro for controlled transformation. "
203+
"Activates recursivity (REMESH), receives current state (EN), stabilizes (IL), "
204+
"introduces controlled dissonance (OZ), mutates structure (ZHIR), stabilizes "
205+
"new form (IL), closes with recursivity (REMESH). Reusable as "
206+
"modular subunit within more complex sequences. Represents the "
207+
"minimal pattern of exploration-transformation-consolidation with complete "
208+
"grammar validation (EN → IL) and recursive closure."
208209
),
209210
use_cases=[
210-
"Módulo de transformación segura para composición",
211-
"Componente reutilizable en secuencias complejas",
212-
"Patrón de resolución creativa encapsulado",
213-
"Bloque de construcción para T'HOL (autoorganización)",
211+
"Safe transformation module for composition",
212+
"Reusable component in complex sequences",
213+
"Encapsulated creative resolution pattern",
214+
"Building block for T'HOL (self-organization)",
214215
],
215216
domain="general",
216-
references="El pulso que nos atraviesa, Sección 2.3.5 (Macros glíficas)",
217+
references="El pulso que nos atraviesa, Section 2.3.5 (Glyphic macros)",
217218
)
218219

219220

0 commit comments

Comments
 (0)