mirror of
https://github.com/safishamsi/graphify.git
synced 2026-07-12 18:37:12 +00:00
21294f0d4f
The query reference doc's inline vocab-harvest / fallback-search snippets used bare Path(...).read_text()/write_text(), which on Windows (default cp1252) crash with UnicodeEncodeError on the cross-language corpora the doc itself demonstrates (Cyrillic labels like обработчик). Add encoding="utf-8" to all five sites in the skillgen source fragment and regenerate; blessed expected/, skillgen --check + --monolith-roundtrip green. Scoped to the concrete reproduced crash; the larger #1619 findings (the Windows .exe interpreter-guard rewrite, INPUT_PATH backslash guidance, BOM handling) are a separate skill-template pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>