You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address self-review findings on ce918cf.
- marketplace: drop unused `extract_description` import left over from
the frontmatter-parser consolidation. The manifest builder emits only
fixed strings; no per-skill description is interpolated here.
- validator: scope the foreign-wikilink scan. Was running on the full
SKILL.md text including frontmatter, which produced a body-pointing
error message even when the offending wikilink was inside the
description. Now scans the description and body separately, with
location-specific error wording.
- skill/__init__: add `extract_body(text)` — a line-anchored body
extractor that mirrors `extract_frontmatter`'s logic. The validator
and evaluator both route through it, replacing the brittle
`text.split("---", 2)[-1]` shortcut that mis-handled bodies starting
with a Markdown horizontal rule.
- evaluator: `grade_coverage` no longer fail-closes ambiguous LLM
outputs to "unsupported". A third "ambiguous" verdict surfaces grader
malfunction as a distinct state on `EvalResult.coverage_ambiguous`,
which is excluded from both numerator and denominator of
`coverage_rate` so a garbled grader doesn't masquerade as a hollow
skill. CLI prints a separate WARN block when ambiguous outputs occur.
- evaluator: lift `from agents.exceptions import MaxTurnsExceeded` to
the module top; the three intra-function imports it had were not
circular-import workarounds.
Tests: +1 covering the ambiguous-vs-unsupported segregation; the
previous fail-closed test is rewritten to assert the new "ambiguous"
state. 505 passing.
0 commit comments