A source MUST give rows of a type in batches, and MUST be made from rows in memory, from CSV text (RFC 4180: quoted cells, doubled quotes, line breaks inside quotes, a byte order mark) with a typed parser for each column of the row (text, integer, decimal, boolean, date, timestamp, a closed list of codes, optional), from lines of JSON read by a function that checks a row, and from a typed select of any database.
Enforced (check): .github: cd commons/data && bun run verify — suite/loads.test.ts: sources give rows in batches: CSV with quoted cells, doubled quotes, line breaks inside quotes, a byte order mark and typed cells; a line that does not read is rejected with its line and why; lines of JSON; rows; and a select
Proved by: data/suite/loads.test.ts
Written in: data/sql/loads/mod.ts, data/sql/loads/source.ts
Tests: passed: suite/loads.test.ts sources give rows in batches: CSV with quoted cells, doubled quotes, line breaks inside qu