// ============================================================================ // SyFox CLI — learn / calibrate / decide / demo // (thin tooling around the SI substrate core; no logic lives here) // ============================================================================ #include "core/syfox.hpp" #include "core/derive.hpp" #include "core/bench.hpp" #include "core/gate.hpp" #include "core/recall.hpp" #include "core/firewall.hpp" #include #include #include #include #include #include #include #include #include #include #include #if defined(_OPENMP) #include #endif namespace { void usage_exit(); struct Args { std::string model = "model"; std::string examples; std::string state; std::string questions; std::string domain; std::string concept; long steps = 64; // dream steps unsigned long long seed = 0x5EED5EEDull; // dream seed (deterministic by default) std::string eval; // bench eval rows (defaults to --examples) std::string gate; // derivation gate rows (no-regression replay) std::string memories; // recall memory store (jsonl) long topk = 5; // recall top-k std::string split; // bench --split train|heldout (P1 eval split) bool coverage_curve = false; // bench --coverage-curve (P2 headline metric) std::string synonyms; // synonym table path (default data/synonyms.txt) // v2.2 multilingual + active-learning surface std::string lang; // --lang auto|: route to -