Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

test: tighten Hermes skillignore regression coverage (#739)

Dustin Persek6e87b83d78bf
diff --git a/tests/test_hermes_skillignore.py b/tests/test_hermes_skillignore.py
index 8d2464e8..e3cd14b1 100644
--- a/tests/test_hermes_skillignore.py
+++ b/tests/test_hermes_skillignore.py
@@ -28,11 +28,22 @@ def test_hermes_skillignore_excludes_non_runtime_scan_surface() -> None:
}
assert expected <= entries
+ for entry in sorted(expected):
+ assert (SKILL_ROOT / entry.rstrip("/")).exists()
def test_hermes_skillignore_keeps_runtime_contract_scannable() -> None:
entries = _skillignore_entries()
- assert "SKILL.md" not in entries
- assert "scripts/last30days.py" not in entries
- assert "scripts/lib/" not in entries
+ expected_scannable = {
+ "SKILL.md",
+ "references",
+ "references/",
+ "references/save-html-brief.md",
+ "scripts/last30days.py",
+ "scripts/lib/",
+ }
+
+ for entry in sorted(expected_scannable):
+ assert entry not in entries
+ assert (SKILL_ROOT / entry.rstrip("/")).exists()