Model::add_formula now ensures the formula target exists as an item in the target category (same fix as AddFormula effect, but at the model level — covers file loading and headless paths). Formula panel now shows raw formula text instead of debug-formatted string with redundant target name and quotes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>