Allergen / Contamination Changeover Verifier: Prove the Line Is Clean
Pick a from-product → to-product changeover; the tool derives the exact required cleaning and verification steps from the allergen difference, the operator records visual, swab, and label-reconciliation results, and a quality lead approves line release before the next run can start.
An internal web tool where a line leader selects a from→to changeover, the tool generates the required cleaning and verification steps from the allergen difference, the operator records results (visual, swab, label reconciliation), a quality lead reviews and approves line release, and you export a complete changeover record — with the next run blocked until approval.
Before you start
- A Supabase account (free)
- A Vercel account (free)
- Exports you already have: a changeover/allergen matrix CSV (from-product vs to-product allergen profiles) and your cleaning/verification checklist CSV
- Your line-release sign-off rules (who can approve)
- Claude Code or any AI coding agent
The problem this kills
A production line just finished a run with peanut in it. The next run is allergen-free. Between those two runs, a precise sequence has to happen: a full wet clean, a visual inspection, sometimes an allergen swab test, and a label reconciliation so no peanut packaging sneaks onto the clean product. Skip a step — or fail to prove you did it — and you're one mislabeled pallet away from a recall, a hospital visit, or a regulator standing in your plant.
Today this is usually a clipboard. A paper checklist gets filled in, a supervisor scrawls a signature, the page goes in a binder, and the line starts. Nobody systematically checks that the right steps were required for this specific allergen change — a peanut→none changeover needs a far heavier clean than a sugar→salt one. Nobody enforces that the line can't restart until quality actually approved it. And when an auditor or a customer asks for proof six months later, you're digging through binders hoping the swab result was legible.
You don't need a six-figure manufacturing execution system to fix this. You can build the verifier yourself, this afternoon.
What you'll build
An internal web tool your line leaders, operators, and quality team log into. A line leader picks the changeover — from this product (or allergen profile) to that one — and the tool reads your changeover matrix, works out exactly which allergens are being removed, and generates the required cleaning and verification steps for that specific change. A full peanut removal pulls the deep-clean and swab steps; a same-allergen flavor change pulls the light checklist.
The operator works the generated checklist on the floor: marks each cleaning step done, records the visual inspection result, enters swab test readings (pass/fail or a numeric ppm against a limit), and completes the label reconciliation — old labels removed and counted, new labels staged. Then it goes to a quality lead, who reviews the completed checklist and every verification result and approves line release. Only on approval does the line get the green light — until then, starting the next run is blocked. When it's done you export a clean, timestamped changeover record for your batch file, your auditor, or your customer.
What's inside the Implementation Plan
The downloadable plan is a single markdown file you paste into an AI coding agent. It opens by interviewing you about your own plant — your products and their allergen profiles, how you name lines and SKUs, what's actually on your cleaning and verification checklists, your swab limits, your label-reconciliation rules, who is allowed to release a line, and your messiest edge cases — and then it reads a short spec back for your thumbs-up before it builds anything. That's the difference between a tool shaped to your allergen matrix and a generic template you'd have to fight.
From there it walks the agent through the data model (products and allergen profiles, the changeover matrix, the step library, changeover records and their results), the matrix and checklist importers, the step-derivation engine that turns an allergen difference into the right required steps, the operator results-capture screen, the duplicate guard (line + changeover timestamp), the quality review-and-release gate, and the final changeover-record export. Every step ends with a ready-to-copy prompt. There's a full "No API yet?" path: import your matrix and checklist CSVs, export a clean changeover-record CSV, and you never have to touch your MES or ERP API to ship.
The governance it includes (this is the point)
In food, pharma, and cosmetics the controls are the product. The plan builds them in: a login so only your team can use it; row-level security so each plant or organization only ever sees its own data; a complete audit trail of who selected the changeover, who recorded each result, who approved release, and exactly when; a hard human-in-the-loop gate so the line cannot be released until a quality lead signs off; and a duplicate guard (line + changeover timestamp) so the same changeover can't be recorded or released twice. A failed swab or an incomplete label reconciliation physically blocks release until it's resolved and re-approved. That's the audit story your quality director — and your customer's auditor — actually wants.
Who it's for
Food-safety and quality leads, line leaders, and operators in food, pharma, and cosmetics manufacturing who own changeover and line clearance and are tired of trusting a clipboard. If you can explain to a new hire which clean a peanut→none changeover needs and who's allowed to release the line, you can build this — no developer required.
You've got this — open the plan, paste the first prompt, answer a few questions about how your changeovers actually run, and you'll watch the tool derive your first clean-down checklist by itself.