Release notes
Version 0.22.0
Breaking
- Grading has been overhauled: by default, every grader must pass for a trial to pass, and every evaluated trial must pass for the eval to pass. Advisory (
must_pass: false) graders still count in the pass-count summary, and a passing advisory grader can fail a negative-control oracle run unlessoracle_baseline: allow-passis set. Trial scores are binary;scoring.weightsandscoring.thresholdare deprecated and ignored, andvally eval --thresholdhas been removed. See the scoring reference for details. - The
@microsoft/vally/scoringtypes no longer exposeStimulusScore.aggregateScoreorSkillScore.overallScore; use the multi-trial metrics and individual grader scores instead. - The analytics database schema advances to v9. Existing databases cannot be migrated automatically; recreate the database and re-ingest the source JSONL.
- MCP server configuration is validated consistently across evals, project configuration, and experiments. Unsupported fields and invalid transports are rejected, and timeouts must use duration strings such as
5s. tool-callsandassistant-contains-tool-outputmatch tool results after ANSI/VT control sequences are removed. Update patterns that depended on those sequences.- Custom shard strategy plugins must export
registerShardStrategies(registry)and register exactly one strategy; replace the previouscreateShardStrategy()or default factory export. Built-in strategy names are reserved. - Plugin deduplication distinguishes resolved entry points. Selecting the same package by name and by directory can load separate
importandrequireentries; use a consistent specifier to avoid duplicate registrations. - Relative CLI
--exporterand--grader-pluginpaths now resolve from the current working directory. Update scripts that relied on the eval or experiment location;.vally.yamlplugin paths still resolve from the project config. - Harbor exports now reject selected stimuli with
simulationor non-empty promptattachments, which Harbor agents cannot reproduce, instead of silently omitting them.
Features
vally export --suiteexports a named suitevally experiment runaccepts repeated--variantflags to select a subset of variantsvally oracle --paramoverrides resolved eval parameters.- Markdown reports can show estimated Copilot agent costs using SDK pricing, with incomplete or unavailable estimates identified.
- Workspace diff graders capture executable-bit changes when Git’s
core.filemodepermits them. - Default Docker appliance builds honor the npm registry configured for the current working directory.
lintdiagnostics include source file and line locations alongside field paths.- Golden patches can be up to 20 MB, increased from 5 MB.
Fixed
- Explicitly selected evals inherit project parameters, with eval param files taking precedence.
lintandevalvalidate skill source directories, file paths, and grader-source overlaps in named environments.- Docker staging preserves attachment filenames and extensions.
- Improved Docker backend diagnostics.
- Workspace diffs handle long Windows paths.
- PowerShell tool-call matching preserves Windows backslashes.