Files
hermes-agent/tests
kshitijk4poor 85ac36f2ec fix(skills): validate a batch create's category before the snapshot
_skill_manage_batch resolved every create op's target dir (base / category / name)
before anything checked the category, so a non-string category raised TypeError
out of skill_manage instead of the JSON error the single-op path returns — and it
did so after mkdtemp, leaking the skill_batch_ snapshot dir. Reject it in
_validate_batch_ops with the same _validate_category the single-op path uses, so
the batch fails pre-effect like every other shape error.
2026-09-24 16:49:18 +05:30
..