""" TD Lang Engine — the merge/heal/validate runtime (formerly td_fuse). All model merging, transport, healing, and validation logic lives here. td_lang compiles .td files into Python that imports from this engine. Architecture: td_lang/engine/ ├── __init__.py ← This file ├── config.py ← Model configs, merge order, hyperparameters ├── canary.py ← Canary injection + testing ("brain surgery") ├── transport.py ← Wrapper around official T&M code ├── techniques.py ← Advanced techniques (Theseus, ARM, OTMF, RAM, Mergeability) ├── merge.py ← Sequential merge orchestrator ├── validate.py ← Post-merge validation (canary, perplexity, benchmarks) ├── heal.py ← QLoRA healing fine-tune via Unsloth └── run.py ← Standalone entry point (optional) Usage (via td_lang): python -m td_lang run td_start.td python -m td_lang run demo_merge.td """ __version__ = "0.2.0" __author__ = "Milan (TD Project)"