"""
Legacy FlowTorch bridge (TF↔Torch) restored from artifacts/context_pack.

This namespace wraps the production FlowTorch engine that was refactored from
the historical fibpi3d/flowtorch_braid_loop_*.py files.

Historical context:
- Original files: /home/voidstr3m33/HELIX_ORIGINAL_CODE/fibpi3d/flowtorch_braid_loop_{2558,2560,1116}.py
- Current location: artifacts/context_pack/flowtorch/flowtorch_engine.py (1180 lines)
- Functionality: TensorFlow (prefill) → DLPack zero-copy → PyTorch (decode)
- Proven: 76% MMLU with Mistral-7B (HISTORICAL_CDC_EVIDENCE.md)

Components:
- legacy_flowtorch_engine: Main braid engine wrapper
- flowtorch_bridge_test: DLPack round-trip validation
"""

__version__ = "1.0.0-legacy"
