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(reporting): honor explicit blocking gates
Narendran Raghavan55d2e27f04e9
diff --git a/src/skillevaluator/reporting/base.py b/src/skillevaluator/reporting/base.pyindex 61f97b5a..5028d771 100644--- a/src/skillevaluator/reporting/base.py+++ b/src/skillevaluator/reporting/base.py@@ -354,10 +354,10 @@ def is_advisory_agent_eval_skip(result: ValidationResult) -> bool:def passes_required_gate(result: ValidationResult) -> bool:"""Return whether *result* permits the required validation gate to pass."""- if result.passed or is_advisory_agent_eval_skip(result):- return Truegating = result.metadata.get("gating") if isinstance(result.metadata, dict) else None- return bool(isinstance(gating, dict) and not gating.get("blocking", True))+ if isinstance(gating, dict):+ return bool(result.passed or not gating.get("blocking", True))+ return bool(result.passed or is_advisory_agent_eval_skip(result))class ReporterBase(ABC):diff --git a/tests/reporting/test_advisory_skip_verdict.py b/tests/reporting/test_advisory_skip_verdict.pyindex 78a356dc..8a936e95 100644--- a/tests/reporting/test_advisory_skip_verdict.py+++ b/tests/reporting/test_advisory_skip_verdict.py@@ -149,3 +149,21 @@ def test_explicit_blocking_gating_promotes_tier3_failure() -> None:assert payload["gating"]["tiers"]["3"]["blocking"] is Trueassert html_data["summary"]["status"] == "failed"assert html_data["gating"]["would_block"] is True+++def test_explicit_blocking_gating_overrides_legacy_advisory_skip_shape() -> None:+ result = advisory_skip_result("Harbor runtime unavailable", skill_name="demo")+ result.metadata["gating"] = {"tier": 3, "blocking": True}++ payload = json.loads(JSONReporter(include_timestamp=False).render_all([result]))+ html_data = _html_report_data(HTMLReporter(include_timestamp=False).render_all([result]))+ markdown = MarkdownReporter(include_timestamp=False).render_all([result])+ benchmark = BenchmarkReporter(include_timestamp=False).render_all([result])++ assert payload["overall_status"] == "failed"+ assert payload["overall_passed"] is False+ assert payload["gating"]["tiers"]["3"]["blocking"] is True+ assert html_data["summary"]["status"] == "failed"+ assert html_data["gating"]["would_block"] is True+ assert "**Status:** ❌ FAILED" in markdown+ assert "Overall verdict: FAIL" in benchmark