Skip to content

The agent that grows with you

test: assert skills-guard scanner version is past v1, not pinned to v2

teknium1fd60c70375d8
diff --git a/tests/tools/test_skills_guard_agent_config.py b/tests/tools/test_skills_guard_agent_config.py
index 9d3162b0875..42da5becbae 100644
--- a/tests/tools/test_skills_guard_agent_config.py
+++ b/tests/tools/test_skills_guard_agent_config.py
@@ -34,10 +34,11 @@ def _scan(tmp_path: Path, content: str):
return scan_skill(skill_dir, source="community/test")
-# The scanner version moved to v2 precisely so cached v1 dangerous verdicts
-# for previously-blocked skills are invalidated and re-scanned.
+# The scanner version moved past v1 precisely so cached v1 dangerous verdicts
+# for previously-blocked skills are invalidated and re-scanned. Later bumps
+# are expected whenever rules change; only regressing to v1 is a bug.
def test_scanner_version_bumped():
- assert SCANNER_VERSION == "skills-guard-v2"
+ assert SCANNER_VERSION != "skills-guard-v1"
class TestFalsePositivesUnblocked: