Files
2125_GCE/glyphos/__pycache__/symbolic_pipeline.cpython-314.pyc
T

50 lines
5.0 KiB
Plaintext
Raw Normal View History

+
E—jaãó~Rt^RIHtHt^RIHtHtHtHt]!RR44t ]!RR44t
R
RR llt R#) zËSymbolic Pipeline Abstraction for XIC.
Provides a structured, glyph-aware pipeline for symbolic cognition execution.
Routes prompts through the LAIN 8-lane cognition kernel with explicit step tracking.
)Ú dataclassÚfield)ÚAnyÚDictÚListÚOptionalcóBa]tRt^ toRt]!]R7tV3RltRt Vt
R#)Ú SymbolicStepz1A single step in the symbolic pipeline execution.)Údefault_factorycó`<V^8„dQh/S[;R&S[;R&S[;R&S[S[S[3,;R&#)éÚnameÚkindÚpayloadÚcontext)Ústrrr)ÚformatÚ
__classdict__s"€Ú1/home/dave/superdave/glyphos/symbolic_pipeline.pyÚ __annotate__ÚSymbolicStep.__annotate__ s>ø‡ñ ñ ñ
 ñ #s(
ó©N) Ú__name__Ú
__module__Ú __qualname__Ú__firstlineno__Ú__doc__rÚdictrÚ__annotate_func__Ú__static_attributes__Ú__classdictcell__©rs@rr r sø‡á$°DÔ9€G÷
ƒrr có4a]tRt^toRtRtV3RltRtVtR#)ÚSymbolicPipelineResultz(Result of a symbolic pipeline execution.Ncót<V^8„dQh/S[S[,;R&S[;R&S[S[S[S[3,,;R&#)r ÚstepsÚ output_textÚ fused_symbol)rr rrrr)rrs"€rrÚ#SymbolicPipelineResult.__annotate__s>ø‡ñ  Õ ÑññÑñ ñ
™4¡¡S  rr) rrrrrr(rr r!r"s@rr$r$sø‡á.2€L÷ ƒrr$Ncó–V^8„dQhR\R\\\\3,,R\\,R\/#)r ÚpromptrÚglyph_idÚreturn)rrrrr$)rs"rrrsG÷cñcÜ ðcä
”dœ3¤˜8•nÕ
cô”scôñ crcó4^RIHp^RIHp.pV!4pVP R4pTP \
RRT\T;'g/4R74\T;'g/4pV'd&W(R&VP \
RV 2R VVR74VPV4p R
RRRRRRRRRRR^R^R^R\T4/./p RRR^R^R^R\T4/.p TPT T T RTR7p
T
PR4pT
PR4;'gT'dTPR4MTpT'dTP \
R RT/R74\TTTR 7# \dp
\TR
T
2R R 7uR p
?
#R p
?
ii;i)!aä
High-level symbolic pipeline entrypoint for XIC.
Accepts a prompt and optional symbolic/glyph context, routes through
the LAIN 8-lane cognition kernel via CognitiveKernel.execute_symbolic(),
and returns a structured SymbolicPipelineResult with execution steps,
final output text, and fused symbolic representation.
Args:
prompt: User or system prompt text.
context: Optional dict of symbolic/cognitive context metadata.
glyph_id: Optional glyph identifier for glyph-aware cognition.
Returns:
SymbolicPipelineResult with:
- steps: List of SymbolicStep objects tracking execution flow.
- output_text: Final text result from cognition layer.
- fused_symbol: Fused symbolic representation (if produced by LAIN).
)Ú GXCompressor)Ú
get_kernelzutf-8Úinitial_promptr+)r