Files
hermes-agent/tests
kshitijk4poor 97657239b1 test(skills): decode bundled files exactly like skill_view
r2 quality Low: bundled_skill_texts skipped any file that failed a strict
UTF-8 decode, but skill_view's _read_skill_text reads with
encoding="utf-8-sig", errors="replace" and never raises, so a file with one
stray byte is still served to the model while the guard skipped it. Read
every file the same way and drop the try/except; the helper becomes a list
comprehension.
2026-10-04 11:56:08 +05:30
..