fix: frontmatter judge handles parsed object output #90
Reference in New Issue
Block a user
Delete Branch "fix/frontmatter-judge-object-output"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fix frontmatter-compliance judge scoring 0 on valid step outputs.
Why
The extract pipeline stores step output as a JSON object in CAS (
{"$status": "done", ...}), but the judge only accepted raw markdown strings (---\n$status: done\n---). Every eval run scored 0 on frontmatter-compliance even when$statuswas correctly set.Changes
frontmatter.ts— check for parsed object first (direct$statuslookup), fall through to YAML extraction for raw stringsbuiltin-judges.test.ts— add 2 tests for object output (valid + missing$status)Test
11/11 builtin-judges tests pass, 804 total pass