Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
docs(csv-import): state the one-way invariant the test actually asserts
Raul3cca65fe2e00
diff --git a/.claude/rules/csv-import-system.md b/.claude/rules/csv-import-system.mdindex 89417d3c56..da4d90631c 100644--- a/.claude/rules/csv-import-system.md+++ b/.claude/rules/csv-import-system.md@@ -59,7 +59,7 @@ Three exported maps, all keyed by table name:Other exports: `creatableLookups`, and types `CreatableLookup`, `CreatableForm`.-> **`fieldMappings[table]` and `importSchemas[table]` must declare the same fields.**+> **Every field in `fieldMappings[table]` must also be declared in `importSchemas[table]`.**> The route builds `columnMappings` from the zod parse result, and a zod object strips> keys it does not declare — so a field the wizard offers but the schema omits is mapped> by the user, submitted, and silently dropped before the edge function sees it. That is