Food safety plan check
wever_food-safety-plan-checkAgent Food Safety Records: submit a food safety or HACCP plan record with the monitoring, inspection and corrective-action records it answers to: the plan with its reference, the version on file, the facility it covers, the plan elements the record shows and the plan elements the facility’s standard requires; each hazard the plan names with its id, reference, the hazard, the process step and the critical control point that controls it; each critical control point the plan lists with its id, reference, name and the critical limit it states; each monitoring log record with its id, reference, the control point logged, the hazard, the plan version it cites and the moment logged; each other facility record citing the plan (inspection, audit, corrective_action, verification or training) with its id, reference, kind, the plan version it cites and the moment dated. The signed report gives the plan and the hazards, each hazard against a monitoring record behind it, each control point the logs monitor against the plan’s list, the plan version on file against the version every log and record cites, and each required element against the elements the plan shows, and counts them, and names divergent food safety plan records: a hazard the plan names with no monitoring record behind it, a critical control point in the logs that the plan does not list, a plan version on file that the facility’s other records do not match, and a required plan element the record does not show; then a critical control point the plan lists with no critical limit stated and one no hazard names, with the fix for each and what would change the verdict. No hazards, hazards with no monitoring logs beside them, no plan version beside records that cite one, or no required elements leaves those points unverified. Hazards, control points, logs and records match by letters and digits, a hazard reads as monitored when a log names it or the control point that controls it, versions compare by letters and digits, and a required element reads as shown when its words agree with a plan element, plurals folded. This reads the food safety plan as a whole against the monitoring, inspection and corrective-action records behind every hazard and control point it names. Verdict food_safety_plan_divergent, food_safety_plan_partial, food_safety_plan_unverified or food_safety_plan_consistent. POST /api/food-safety-plan-check. Reads the food safety records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads the records as supplied only: it inspects no facility, takes no temperature, contacts no regulator or auditor and issues no certification, which stay with the business, its food safety team, its regulators and its auditors, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Food Safety Records reads a food business’s own safety records: food safety and HACCP plan records, critical-control-point and temperature monitoring logs, health inspection and third-party audit reports, recall and traceability records, supplier approval and receiving records, sanitation records, allergen and labeling records and corrective action records, each against the monitoring, inspection and corrective-action records, the corrective actions and the schedule, the plan’s limits and equipment, the lot traceability and inventory records, the supplier approvals and certificates, the cleaning schedule and safety data sheets, the formulation and production records or the deviations and verifications on record. The family’s ground is the paper trail behind the food: what the plan requires, what the logs show, what the inspectors found, and whether the fixes and the traceability hold up; the Agent Customs Records family reads the border filings for goods as trade records, and the Agent Automotive family reads vehicle records, while this family reads neither. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-food-safety-records-contract. Human page: https://weverlabs.com/agent-food-safety-records/.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plan": "<plan>",
"hazards": "<hazards>",
"control_points": "<control_points>",
"logs": "<logs>",
"records": "<records>"
},
"name": "wever_food-safety-plan-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logs | Yes | Each monitoring log. | |
| plan | Yes | ||
| label | No | Optional name recorded in the report. | |
| hazards | Yes | Each hazard the plan names. | |
| records | Yes | Each other record citing the plan. | |
| control_points | Yes | Each critical control point listed. |