Multi-tier framework for evaluating AI agent skills and plugins with quality gates, security scanning, harness compatibility checks, semantic overlap detection, synthetic evaluation dataset generation, and live agent evaluation that measures how skills affect agent behavior. Ships reusable CI templates that bring every check to any repository.
Python agent-evaluationagent-pluginsagent-securityagent-skillsagentic-aibenchmarkci-templatesclaude-codecodexevaluateevaluationharnesspluginplugin-evaluationsecurity-scannerskill-evalskill-evaluationskill-evaluatorskill-gap-analysisskills
fix(discovery): scope exclusions below the requested scan root (#746)
Afloat13f224a7badb
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 0f10ad4a..38830995 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,10 @@ All notable changes to SkillEvaluator are documented in this file.### Fixed+- Folder validators apply skill-discovery exclusions only below the requested+ scan root. A checkout inside a directory named `results`, `evals`, or `.versions`+ no longer loses every live skill, while nested evaluation snapshots remain excluded.+- Reject duplicate price-file keys and boolean rates before budget accounting, and report unrepresentable integer rates as configuration errors.## 1.0.0 - 2026-11-17diff --git a/src/skillevaluator/validators/base.py b/src/skillevaluator/validators/base.pyindex 4c064a57..252c2740 100644--- a/src/skillevaluator/validators/base.py+++ b/src/skillevaluator/validators/base.py@@ -205,15 +205,15 @@ class ValidatorBase(ABC):def _find_all_skills(self, root_path: Path) -> list[Path]:"""Recursively find all skill directories containing SKILL.md files.- Manifests beneath any directory in :data:`SCAN_EXCLUDED_DIRS` (e.g.- ``evals/``, ``results/``, ``.versions/``) are skipped so that- evaluation snapshots and version archives do not get scanned as- live skills.+ Manifests beneath an excluded directory below ``root_path`` (e.g.+ ``evals/``, ``results/``, ``.versions/`` in :data:`SCAN_EXCLUDED_DIRS`)+ are skipped so that evaluation snapshots and version archives do not+ get scanned as live skills."""skill_dirs: set[Path] = set()for manifest_name in SKILL_MANIFEST_VARIANTS:for skill_md in root_path.rglob(manifest_name):- if any(part in SCAN_EXCLUDED_DIRS for part in skill_md.parts):+ if any(part in SCAN_EXCLUDED_DIRS for part in skill_md.relative_to(root_path).parts):continueskill_dirs.add(skill_md.parent)return sorted(skill_dirs)diff --git a/tests/validators/test_base.py b/tests/validators/test_base.pyindex 3df75106..3c8a9467 100644--- a/tests/validators/test_base.py+++ b/tests/validators/test_base.py@@ -188,6 +188,26 @@ class TestValidatorBase:assert "skill-b" in namesassert "skill-c" in names+ @pytest.mark.parametrize("excluded_name", ["results", "evals", ".versions"])+ @pytest.mark.parametrize("at_root", [False, True], ids=["ancestor", "scan-root"])+ def test_find_all_skills_scopes_exclusions_below_the_root(self, tmp_path, excluded_name, at_root):+ root = tmp_path / excluded_name+ if not at_root:+ root /= "checkout"+ live = root / "live-skill"+ live.mkdir(parents=True)+ (live / "SKILL.md").write_text("---\nname: live-skill\n---", encoding="utf-8")+ snapshot = root / "evals" / "snapshot"+ snapshot.mkdir(parents=True)+ (snapshot / "SKILL.md").write_text("---\nname: snapshot\n---", encoding="utf-8")++ validator = ConcreteValidator()++ assert validator._find_all_skills(root) == [live]+ result = validator.validate(root)+ assert result.passed+ assert any(detail.metadata.get("skill_count") == 1 for detail in result.success_details)+def test_find_all_skills_nested(self, tmp_path):"""Test finding skills in nested directory structure."""root = tmp_path / "project"