Files
hermes-agent/tools
teknium1 05e74268ea test: trim prose/comment guard coverage to invariants; drop the unused CSS comment prefix
Fold the three PRs' overlapping tests into two invariants per behaviour:
- comment/changelog prose demoted to caution and confirmable; trailing comments,
  runtime code and agent-facing docs still dangerous (#111193)
- Markdown plan/design prose demoted to caution; the same content in runtime
  code still dangerous (#103364)
- skills_guard: context_exfil needs a transfer directive; rm -rf under temp
  roots is not destructive_root_rm

The #111199 regression test is kept (behaviour is the same); its mechanism
(re-read the file per finding, cap every .md) was not carried since the
match-based cap already covers it without touching agent-facing docs.
'//' is not a CSS comment marker, so .css is dropped from the prefix table.
2026-09-14 16:12:07 -07:00
..