Repository navigation
Could subagent acceptance checks verify required top-level JSON keys? #8583
Inference1
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
A delegated grader can write
{}tograding.jsonand satisfyjson-valid. In DeerFlow’s skill-creator, the grader’s documented output includessummaryandexpectations. When I passed an empty object to the existing benchmark reader, it returned a run withtotal: 0and an empty expectations list. Is there value in surfacing that omission when the subagent hands the file back? Grader output format · Benchmark readerI’d like to propose one opt-in criterion for
taskand durablebatch_taskitems:It would hold when the complete file parses as a JSON object containing every listed key. Extra keys are fine, order is irrelevant, and a key set to
nullcounts as present. A missing key, a non-object root, or invalid JSON would give a negative result. An incomplete read, denied access, or a file over the existing 50,000-byte limit would stayUNVERIFIED. The verdict would be advisory. The grader’s values would still need their own checks.#5947 provides the bounded JSON reader, and #6714 introduced a similar name-presence check for CSV headers. I’d reuse the existing sandbox access and checklist paths for both forms of delegation. The first version would cover exact top-level names only.
Would you want this in the built-in checklist, or would you prefer that callers keep the check in their grading scripts? If there’s another delegated artifact where this would help, I’d be interested in that example before implementing it.
All reactions