SkillPedia Skills Encyclopedia
中文 EN
今日更新 2026-11-18 UTC

今天还没有新提交

查看更新动态

技能 2026-10-09 22:33 UTC

claude-dnd-skill

由提交人 Bobby-Gray 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(tests): the TTS harness decoded node's output with the locale encoding。解决了已知运行时异常与边界错误,提升系统稳定性。

Bobby-Gray d50bfec neuralinitiative/claude-dnd-skill

Commit提交信息原文

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.