4. field_llm_judge / create_doc
{
"type": "field_llm_judge",
"tool": "create_doc",
"action_id": "create_appliance_card",
"path": "args",
"criterion": "The document must clearly be a current-condition card for the Cherrywood dishwasher and accurately state all of the following: the failed drain pump was replaced; a full fill-and-drain cycle completed successfully; checks found no leak, electrical fault, smoke, burning odor, or cabinet damage; and the dishwasher is now back in ordinary service, so the former non-use or pump-failure precautions no longer apply. It must not preserve or recommend those obsolete restrictions.",
"check_id": "riley_196_03"
}Complete grading specification
{
"type": "tool_trace",
"config": {
"check_version": 2,
"today": "2028-01-01",
"semantic_judge_version": 2,
"assertions": [
{
"type": "field_equals",
"tool": "create_doc",
"action_id": "create_appliance_card",
"path": "result.ok",
"value": true,
"check_id": "riley_196_00"
},
{
"type": "field_equals",
"tool": "send_sms",
"action_id": "send_condition_confirmation",
"path": "result.ok",
"value": true,
"check_id": "riley_196_01"
},
{
"check_id": "riley_196_02",
"type": "field_equals",
"tool": "send_sms",
"action_id": "send_condition_confirmation",
"path": "args.to",
"value": "+13125550101"
},
{
"type": "field_llm_judge",
"tool": "create_doc",
"action_id": "create_appliance_card",
"path": "args",
"criterion": "The document must clearly be a current-condition card for the Cherrywood dishwasher and accurately state all of the following: the failed drain pump was replaced; a full fill-and-drain cycle completed successfully; checks found no leak, electrical fault, smoke, burning odor, or cabinet damage; and the dishwasher is now back in ordinary service, so the former non-use or pump-failure precautions no longer apply. It must not preserve or recommend those obsolete restrictions.",
"check_id": "riley_196_03"
},
{
"type": "field_llm_judge",
"tool": "send_sms",
"action_id": "send_condition_confirmation",
"path": "args",
"criterion": "The message must be a brief confirmation that the Cherrywood dishwasher was repaired and successfully tested or checked, is currently back in ordinary service, and is no longer subject to the old non-use or pump-failure precautions. It must not suggest that the dishwasher remains restricted or unsafe.",
"check_id": "riley_196_04"
}
]
}
}