Security, controls and FSMA 204 record-keeping, built so the audit is the easy part
Foodline AI checks every user's access twice, in the application and again in the database, and lets WorkOS handle sign-in, MFA and SSO. FSMA 204 key data elements are captured at receiving, recall drills take minutes, and every sub-processor holding customer data is SOC 2 Type II attested; Foodline AI's own SOC 2 examination is the next milestone.
What is a recall drill?
A recall drill is a rehearsal of a product recall: trace a lot backward to its supplier and forward to every customer who received it, before a real recall happens.
What is FSMA 204?
FSMA 204 is the FDA Food Traceability Rule. It requires businesses that handle foods on the Food Traceability List to keep key data elements for critical tracking events and provide records to FDA within 24 hours. FDA won't enforce FSMA 204 before July 20, 2028.
The architecture, the controls, the certification roadmap and the food-safety record-keeping behind Foodline AI. Designed on the assumption that it would be audited, by a partner, by an insurer, and by the FDA.
Access is enforced independently in the application and again in the database. A bug in one does not become a breach.
Posted invoices, inventory movements and price changes cannot be edited. Corrections are linked reversals, on the record.
No automation moves money or stock without a named person approving it. That is a product rule, not a setting.
Automated runs a month, none unattended on money or stock.
The six layers
Most ERP breaches are not exotic. They are a permission check that lived in only one place, a credential that outlived its owner, or an edit nobody could see afterwards. Our model is built against those three failure modes specifically.
Proves who the user is. Owns credentials, MFA, session lifetime, device trust, SSO federation and lockout. Foodline AI never sees or stores a password.
Decides what that identity may do. Role, tenant and module scope are re-evaluated on every request. Financial and margin fields are filtered before they reach a response body.
Constrains what automation may do. The AI inherits the user's scope, never more, and is blocked from posting money or stock without a human approval. Every tool call is logged.
Enforces the same rules a second time, at the row. Tenant isolation lives here, so it survives a mistake in the layers above. Posted records are immutable by design.
Encryption at rest and in transit, DDoS protection at the edge, automated backups, point-in-time recovery, continuous patching.
Lot genealogy, FEFO enforcement, catch weights, temperature checks at receiving, recall drills and FSMA 204 key data elements captured at the moment of receiving.
Nothing that moves money or stock runs unattended.
Published in-product as one of four Trust Rules, not marketing copy, a constraint in the system. Every routine declares its trigger, its output and the named role who approves it.
| Trigger | Output | Approver |
|---|---|---|
| Any financial or inventory movement | Draft held in approval queue | Named role with clearance |
| Lot approaching expiry window | Clearance plan with promo drafts | Buyer |
| Stock needs replenishing | Purchase order drafts | Buyer |
| Orders ready for delivery | Delivery route plan draft | Dispatcher |
The layer generic ERPs do not have.
Lot genealogy, FEFO enforcement, catch weights, temperature checks at receiving, recall drills and FSMA 204 key data elements captured at the moment of receiving, not reconstructed afterwards.
FSMA 204 traceability
Key data elements captured at receiving for every critical tracking event. One-click trace-forward and trace-back across the full lot genealogy. FSMA 204 traceability software
Temperature at receiving
Product temperature is recorded when it is received, as part of the receiving record.
Recall drills
Rehearse a recall in minutes, not days. The system knows which lots went to which customers on which routes, with proof of delivery attached.
Catch weights
Variable-weight items tracked at the unit level. No more rounding errors between what was ordered, what was picked and what was invoiced.
Where we are, and where we are going.
Every sub-processor that holds customer data is SOC 2 Type II attested today. Foodline AI's own SOC 2 examination is the next milestone, with a Type I available sooner as an interim artifact.
Live now
- WorkOS authentication with MFA and SSO
- Row-level security on every table
- Immutable posted records
- AI approval gates on every routine
- FSMA 204 traceability and recall drills
- Temperature checks at receiving
In progress
- Production Supabase Postgres migration with validated RLS
- Secrets consolidation and rotation
- Rate limiting on all public endpoints
- Dependency and secret scanning in CI
Next milestone
- SOC 2 Type I examination
- Penetration test by independent vendor
- SCIM directory sync for enterprise customers
Roadmap
- SOC 2 Type II examination
- ISO 27001 certification
- Single-tenant deployment option
- HIPAA BAA for healthcare foodservice
Three to four days if the data is clean.
We rehearse before committing. The legacy system stays available throughout. Cutover is gated on validation, not a calendar date.
| Phase | Duration | Disruption |
|---|---|---|
| Extract — pull data from existing ERP | 3-4 days (clean data) | None, read-only |
| Convert — clean and reformat into Foodline AI schema | 4-5 days if needed | None, parallel process |
| Create users — set up accounts, pilot-ready | 1 day | None |
| Pilot — small group runs both systems | 1-2 weeks | Minimal, dual-run |
| Cutover — full switch, gated on validation | 1 day | Planned window |
Frequently asked questions
Is Foodline AI SOC 2 certified?
Not yet. Every sub-processor that holds customer data is SOC 2 Type II attested today. Foodline AI's own SOC 2 examination is the next milestone, with a Type I available sooner as an interim artifact, followed by SOC 2 Type II.
How does Foodline AI keep each company's data separate?
Access is enforced twice, by two different systems: role, tenant and module scope are checked in the application on every request, and the database enforces the same rules again at the row. An application bug alone doesn't hand over the database, because the database checks access again for every row.
Who handles sign-in and passwords?
WorkOS handles identity, MFA, SSO and session security. Foodline AI never sees or stores a password.
How does Foodline AI support FSMA 204 traceability?
Key data elements are captured at receiving for every critical tracking event, and any lot can be traced forward and back in one click across its full genealogy. FDA won't enforce FSMA 204 before July 20, 2028.
How quickly can we run a recall drill?
In minutes, not days. Foodline AI knows which lots went to which customers on which routes, with proof of delivery attached.
Is data encrypted and backed up?
Yes. Data is encrypted at rest and in transit, with DDoS protection at the edge, automated backups, point-in-time recovery and continuous patching.