atc MUST make, from a logical schema, the SQLite dialect and entries (a table name for osquery, a table and columns by the words of their names, the path of the database and optionally a platform), a configuration of auto_table_construction entries and the text of it as JSON, the same bytes every time with the entries in the order of their names, and MUST give errors as values for a table or column the schema does not have, a dialect that is not SQLite's, two entries with one name, and a name that is not lower-case letters, digits and underscores that begins with a letter.
Enforced (check): .github: cd commons/data && bun run verify — suite/osquery-atc.test.ts: the configuration has an entry for each table in the order of their names, whose query selects its columns, written by the dialect, from its table, and it is the same bytes every time; suite/osquery-atc.test.ts: what osquery refuses is an error as a value: another dialect, an unknown table or column, a name, a duplicate, a column called path, no columns, a platform and a path that does not fit its platform
Proved by: data/suite/osquery-atc.test.ts
Written in: data/sql/extensions/osquery-atc/atc.ts, data/sql/extensions/osquery-atc/mod.ts
Tests: passed: suite/osquery-atc.test.ts the configuration has an entry for each table in the order of their names, whose query sel; passed: suite/osquery-atc.test.ts what osquery refuses is an error as a value: another dialect, an unknown table or column,