The request
{
"name": "wever_food-safety-plan-check",
"arguments": {
"plan": {
"ref": "HACCP-MKF",
"version": "v4.1",
"facility": "Marigold Foods, central kitchen",
"elements": [
"Hazard analysis",
"Critical control points",
"Critical limits",
"Monitoring procedures",
"Corrective actions",
"Verification procedures",
"Record keeping"
],
"required": [
"Hazard analysis",
"Critical control points",
"Critical limits",
"Monitoring procedures",
"Corrective actions",
"Verification procedures",
"Record keeping"
]
},
"hazards": [
{
"id": "H1",
"ref": "HZ-1",
"hazard": "Salmonella in undercooked poultry",
"step": "Cooking",
"control_point": "CCP-1"
},
{
"id": "H2",
"ref": "HZ-2",
"hazard": "Listeria growth in cold holding",
"step": "Cold holding",
"control_point": "CCP-2"
},
{
"id": "H3",
"ref": "HZ-3",
"hazard": "Undeclared peanut",
"step": "Labeling"
}
],
"control_points": [
{
"id": "C1",
"ref": "CCP-1",
"name": "Cook poultry",
"limit": "165 F for 15 seconds"
},
{
"id": "C2",
"ref": "CCP-2",
"name": "Walk-in cooler",
"limit": "41 F or below"
}
],
"logs": [
{
"id": "L1",
"ref": "LOG-101",
"control_point": "CCP-1",
"plan_version": "v4.1",
"at": "2026-04-01"
},
{
"id": "L2",
"ref": "LOG-102",
"control_point": "ccp 2",
"plan_version": "V4.1",
"at": "2026-04-01"
},
{
"id": "L3",
"ref": "LOG-103",
"hazard": "HZ-3",
"plan_version": "v4.1",
"at": "2026-04-01"
}
],
"records": [
{
"id": "R1",
"ref": "INSP-0402",
"kind": "inspection",
"plan_version": "v4.1",
"at": "2026-04-02"
},
{
"id": "R2",
"ref": "CA-0403",
"kind": "corrective_action",
"plan_version": "v3.9",
"at": "2026-04-03"
}
]
}
}What the report returns
Verdict: food_safety_plan_divergent.
| Finding, version differs | 1 facility record cites another plan version than the v4.1 on file: CA-0403 cites v3.9. |
|---|
| Fix, version differs | Bring the facility’s records onto the plan version on file, or file the plan version they cite. |
|---|
The food safety plan diverges from the monitoring, inspection and corrective-action records: version differs.
The plan names three hazards. Each hazard has a monitoring log behind it, each control point the logs monitor is listed in the plan and each required element is shown, so the hazards, control points and elements read as the records set; the corrective-action record CA-0403 cites plan version v3.9 while v4.1 is on file.