mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-09 20:00:11 -06:00
main() prints Failure::Error through escape_text (control, bidi and invisible characters; backslashes kept, since errors quote paths), so engine errors that carry file text (run --cmd with strict:true) can't forge or spoof a line. escape_peer and the JSON report line also escape soft hyphen, zero-width, word joiner, BOM and tag characters (surrogate pairs above U+FFFF). A picture's part and story are capped at 1024 characters in MissingPictures::push. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FypgCX8G9hbs6XYZFsgjbL