Repository navigation
v1.28.0: bundled PyYAML, eval suite with a no-plugin baseline
Why
The first claude plugin eval run of feature-spec found that, in a clean environment (the eval sandbox), every script failed on import yaml. Anyone installing the plugin on a machine without PyYAML hit the same wall.
What
Bundled PyYAML. The scripts use the PyYAML installed on the machine (with its C loader when present) and otherwise the pure-Python PyYAML 6.0.3 in scripts/_vendor/yaml/ — copied unmodified from the PyPI sdist, whose sha256 was checked against PyPI's JSON API (scripts/_vendor/README.md records version, URL and hash; MIT license included). It is the same library, not a different parser, so a registry parses the same everywhere. README no longer asks for pip install pyyaml.
CI job tests-without-pyyaml runs every suite with no PyYAML installed.
Eval suite (evals/, run with evals/run.sh): four cases, each run with the plugin and without it. A case scaffolds a throwaway git repo from tests/fixtures, gives the agent one task and grades what it did — the scripts it ran (command patterns) and the files afterwards — not what it said.
| case | with | without | what differs |
|---|---|---|---|
| new | 1.0 | 0.0 | without the skill the set is never scaffolded |
| sync | 1.0 | 0.67 | without it a derived doc (release notes) gets patched by hand |
| audit | 1.0 | 0.71 | without it the agent reads everything instead of audit.py --open |
| handoff | 1.0 | 1.0 | the fixture's own log already teaches the stub rule — not discriminating yet |
Lessons baked into the cases: an LLM judge (Haiku) was inconsistent on long answers, so audit is graded by regex on the final message; command regexes accept escaped quotes; git does not run inside the eval sandbox on macOS, so the sync case uses the _facts.synced.yml snapshot (as most real sets do) instead of git history.
Verification
All 8 suites green with and without PyYAML installed (a venv with none loads scripts/_vendor/yaml). claude plugin validate . passes. Eval cost: about $2 estimated per pass with a claude.ai login (plan quota, not billed).
Release: v1.28.0 (plugin.json version, README row, install pins). Merge with a merge commit.