A built model MUST add a row to a ledger table (its name, its sequence, the hash of its definition, its materialization, its row count and the number of warnings), made IF NOT EXISTS, in the transaction of the build; and a report MUST say, for each model, whether it was built, was ephemeral, failed (with the error or the findings) or was blocked, and whether the whole build succeeded.
Enforced (check): .github: cd commons/data && bun run verify — suite/transforms.test.ts: on three engines a view, a table, an ephemeral and an incremental model are made as they say, a table is made again under the views that read it, and each build is in the ledger
Proved by: data/suite/transforms.test.ts
Written in: data/sql/extensions/transforms/build.ts
Tests: passed: suite/transforms.test.ts on three engines a view, a table, an ephemeral and an incremental model are made as they s