Plugin eval JSON output is validated before printing, and suppressed with a stderr warning if invalid.
What's wrong with this entry?
claude plugin eval --json now checks its result against the expected shape before printing. If validation fails the JSON is not printed at all and a warning goes to stderr instead; if it merely differs from the expected shape a warning is printed and the result is still emitted.
- On drift, a
result_schema_driftcounter fires and the result is still printed. - On outright validation failure, output is withheld entirely and stderr carries the explanation.
- New outcome telemetry records pass and fail counts, how many cases hit run errors, and separates exits caused by a cost ceiling from exits caused by a case that failed to load.
warning: --json result withheld because it failed schema validation
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.242
Session spawn aborts on host-specific write paths committed to a repo
Both mention json
-
v2.1.247
Warning when
~/.claude.jsoncannot be watched for outside editsBoth mention json
-
v2.1.234
plugin evalno longer swallows piped inputBoth mention eval