The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(plugins): typo'd requires_hermes clause fails `plugins validate` admission
teddychenfeiyang-pnga8ac7899b508
diff --git a/tests/hermes_cli/test_plugin_validate.py b/tests/hermes_cli/test_plugin_validate.pyindex afe626a675a..335ee750de1 100644--- a/tests/hermes_cli/test_plugin_validate.py+++ b/tests/hermes_cli/test_plugin_validate.py@@ -122,3 +122,18 @@ class TestCapabilityProbe:)report = validate_plugin_dir(d)assert report.ok, report.failures+++class TestRequiresHermesSpec:+ """A typo'd ``requires_hermes`` clause must fail admission, not silently gate nothing."""++ def test_typoed_clause_fails_admission(self, tmp_path):+ d = _make_plugin(+ tmp_path, manifest={**BASE_MANIFEST, "requires_hermes": ">=0.21.1,<0.x"}+ )+ report = validate_plugin_dir(d)+ assert not report.ok+ assert any(+ "requires_hermes" in f and "does not parse" in f for f in report.failures+ ), report.failures+