Food corrective action check
wever_food-corrective-action-checkAgent Food Safety Records: submit corrective action records across the whole food safety file with the deviations and verifications they answer to: the moment the records are read at; each deviation or violation with its id, reference, the record type it came from (plan, temperature, inspection, sanitation, allergen, supplier, recall or other), what deviated as a code or short wording, and the moment recorded; each corrective action with its id, reference, the deviation it answers, whether it is open or closed, the moment due and the moment closed; each verification with its id, reference, the corrective action it verifies and the moment verified. The signed report gives the deviations and the actions, each deviation against a corrective action recorded against it, each action recorded as closed against a verification entry, each closed action’s deviation against the same deviation recurring in a later record, and each open action against its stated due date, and counts them, and names divergent corrective action records: a deviation or violation with no corrective action recorded, an action recorded as closed with no verification entry, the same deviation recurring in later records after its action was closed, and an action still open past its stated due date; then an action naming a deviation the records do not hold and a verification naming an action they do not hold, with the fix for each and what would change the verdict. No deviations, or open actions with due dates and no reading moment, leaves those points unverified. Deviations, actions and verifications match by letters and digits, a deviation recurs when its code and record type appear again in a record dated after its action closed, an open action is overdue once the reading moment passes its due date, and dates compare by the day when either carries no time. This reads the fix-and-verify trail across every record type: wever_food-inspection-check reads the inspection findings themselves, while the corrective action check reads whether every deviation and violation in the file was fixed, verified and stayed fixed. Verdict food_corrective_action_divergent, food_corrective_action_partial, food_corrective_action_unverified or food_corrective_action_consistent. POST /api/food-corrective-action-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": {
"deviations": "<deviations>",
"actions": "<actions>",
"verifications": "<verifications>"
},
"name": "wever_food-corrective-action-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | The reading moment, such as 2026-03-02. | |
| label | No | Optional name recorded in the report. | |
| actions | Yes | Each corrective action. | |
| deviations | Yes | Each deviation or violation. | |
| verifications | Yes | Each verification. |