Initial commit: 2125_GCE project

This commit is contained in:
GlyphRunner System
2026-07-09 12:54:44 -04:00
parent c3a826b65c
commit ae13f78c22
299 changed files with 124289 additions and 1031 deletions
Regular → Executable
+24 -2
View File
@@ -5,9 +5,12 @@ Routes prompts through the LAIN 8-lane cognition kernel with explicit step track
and comprehensive glyph resonance metrics.
"""
import logging
from dataclasses import dataclass, field
from typing import Any, Dict, List, Optional
logger = logging.getLogger(__name__)
@dataclass
class GlyphResonanceMetrics:
@@ -306,6 +309,7 @@ def run_symbolic_pipeline(
# Build telemetry for FedMart integration
try:
from integrations.fedmart.xic_adapter import emit_telemetry
from integrations.fedmart.glyph_telemetry import emit_glyph_activation
import time
from datetime import datetime
@@ -319,6 +323,7 @@ def run_symbolic_pipeline(
]
avg_resonance = fused_symbol.resonance_map.get_average_resonance()
# Emit standard XIC telemetry
telemetry = {
"event_type": "symbolic_pipeline_run",
"timestamp": datetime.utcnow().isoformat() + "Z",
@@ -346,9 +351,26 @@ def run_symbolic_pipeline(
}
emit_telemetry(telemetry)
# Emit glyph activation telemetry for each engaged glyph
if fused_symbol and fused_symbol.glyph_ids:
from glyphs.super_registry import get_super
for glyph_id in fused_symbol.glyph_ids:
glyph = get_super(glyph_id)
if glyph:
superpower_ids = glyph.get("superpowers", [])
specialized_type = glyph.get("specialized_type", "")
metrics = glyph.get("originalMetrics", {})
emit_glyph_activation(
glyph_id=glyph_id,
superpower_ids=superpower_ids,
specialized_type=specialized_type,
metrics=metrics,
context={"run_id": telemetry.get("run_id")}
)
except ImportError:
# FedMart integration optional
pass
logger.debug("FedMart integration not available — telemetry emission skipped")
return SymbolicPipelineResult(
steps=steps,