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(cli): keep success metadata readable in PowerShell (#576)
Christopher Kevin8d6d6c5d0878
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 92cfa7c3..8eecef89 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -256,6 +256,8 @@ All notable changes to SkillEvaluator are documented in this file.case and retain custom grader explanations in collected results.- The Copilot CLI `CP-NO-FRONTMATTER` finding and the plugin component findingsof `harness-check` no longer show internal test notes in their messages.+- Success-detail metadata keeps the terminal's default text color. Values such+ as `grade=B` stay visible in the default blue Windows PowerShell console.- The behavior judge's FILE CHANGES evidence now covers Codex `apply_patch`calls. Codex passes its patch as a single `input` argument, which the writeevidence helpers did not read, so a Codex patch contributed no FILE CHANGESdiff --git a/src/skillevaluator/reporting/cli.py b/src/skillevaluator/reporting/cli.pyindex ef5c0d29..0bbdba6a 100644--- a/src/skillevaluator/reporting/cli.py+++ b/src/skillevaluator/reporting/cli.py@@ -754,7 +754,8 @@ class CLIReporter(ReporterBase):console.print(" [green][OK][/green] "f"{escape_markup(str(detail.check_name))}: "- f"{escape_markup(str(detail.message))}{escape_markup(meta_str)}"+ f"{escape_markup(str(detail.message))}{escape_markup(meta_str)}",+ highlight=False,)def _print_findings(self, result: ValidationResult, console: Console) -> None:diff --git a/tests/reporting/test_reporters.py b/tests/reporting/test_reporters.pyindex cdbae98b..f8cf106f 100644--- a/tests/reporting/test_reporters.py+++ b/tests/reporting/test_reporters.py@@ -376,6 +376,31 @@ class TestCLIReporter:assert "PASS" in outputassert "FAIL" in output+ @pytest.mark.parametrize("colored", [False, True])+ def test_success_metadata_uses_default_text_color(self, colored: bool) -> None:+ from io import StringIO++ from rich.console import Console++ result = ValidationResult(validator_name="QUALITY", validator_description="Quality checks")+ result.add_success("quality_score", "Quality score: 84.5/100", grade="B", skill_type="script-based", count=3)+ stream = StringIO()+ console = Console(+ file=stream,+ force_terminal=colored,+ color_system="standard" if colored else None,+ no_color=False,+ width=160,+ )++ CLIReporter()._print_success_details(result, console)++ output = stream.getvalue()+ # Syntax highlighting can hide values against PowerShell's blue background.+ assert "Quality score: 84.5/100 (grade=B, skill_type=script-based, count=3)" in output+ if colored:+ assert "\x1b[32m[OK]\x1b[0m" in output+@pytest.mark.parametrize("severity", [Severity.MEDIUM, Severity.LOW])def test_render_all_shows_passing_findings_without_changing_pass_state(self, severity: Severity) -> None:result = _similarity_result(severity=severity)