SkillPedia Skills Encyclopedia
中文 EN
Today's updates 2026-11-18 UTC

No new commits yet today

Open the update feed

Skills 2026-10-09 22:33 UTC

claude-dnd-skill

Committed by Bobby-Gray. Update Category: Bug Fixes & Stability Improvements. Commit details: fix(tests): the TTS harness decoded node's output with the locale encoding. This update resolves known runtime errors and enhances system reliability.

Bobby-Gray d50bfec neuralinitiative/claude-dnd-skill

CommitRaw commit message

fix(tests): the TTS harness decoded node's output with the locale encoding

`subprocess.run(..., text=True)` without an explicit encoding decodes the
child's stdout and stderr using the LOCALE encoding. That is ascii under the
non-UTF-8 locale job and cp1252 on Windows, and the payload these cases exist
to check is Japanese and Chinese — so the harness died on the very text it was
written to verify. Three cases failed on ubuntu/ascii and on both Windows
runners while passing everywhere else.

Pins encoding="utf-8" with errors="replace", which is the same rule
scripts/utf8io.py applies to every other read in this repo. Also stops
assuming the captured streams are non-None: the Windows failure surfaced as
`'NoneType' object has no attribute 'strip'` from the error path itself, which
hid the decode error underneath it, and an empty stdout now reports stderr
instead of an IndexError.

Verified by reproducing the failure locally under LC_ALL=C with PYTHONUTF8=0
before the change and confirming 18/18 after, plus the full suite under a
normal locale.