# Every sentence Graph's reader refuses a setup file with, one pattern a line (Python regular expressions, matched whole).
# Left out: "a [depends] table's name is not a text", which no TOML file can reach.
the setup file is not TOML
the setup file has no \[system\] name
\[depends\] is not a table of tables
\[\[scenarios\]\] is not a list of tables
a scenario id is not a non-empty text
a scenario id is listed twice
two scenario ids, or two tool names, give one node
there are two tables of kind agent: a map has one agent
a name or an alias is held by two nodes of the \[depends\] tables: only model nodes may share an alias
.*: the table's name does not meet the name rule
.*: it is not a table
.*: the file never holds a version, a commit, a sha or a ref
.*: the kind( \(\S+\))? is not one of: agent, service, job, channel, shared, memory, index, model, prompt
.*: a table of kind \w+ may not carry this key
.*: a table of kind \w+ must carry this key
.*: it is not a list of texts
.*: a tool's name is empty
.*: a (model|prompt) serves no tool: tools may only be empty
.*: the repo's name does not meet the name rule
.*: the form( \(\S+\))? is not one of: .*
.*: a shared node of form library must say where its version is
.*: the source's name does not meet the name rule
.*: (paths|files) is not a list of paths
.*: the \w+ entry of (paths|files) is not a relative path with no \.\. part
.*: deploys( \(\S+\))? is not one of: branch, recorded
.*: files, read and key belong beside a version that setup reads, and this one is read from elsewhere
.*: a version that setup reads needs files and read
.*: files is empty
.*: read( \(\S+\))? is not one of: hash, id
.*: key is not a dotted key
.*: run( \(\S+\))? is not one of: .*
.*: the unit's name does not meet the name rule
.*: the \w+ name, sorted, is not an identifier
.*: core is not true or false
.*: the role( \(\S+\))? is not harness
.*: cited is empty: every table carries at least one citation
.*: the \w+ entry of \S+ is not repo:path:line with a relative path and a line from 1
.*: \S+ is not a list of citations
.*: versions is not a table
.*: a \w+ is not expected to carry the change kind( \(\S+\))? of this versions entry
.*: \w+ is the primary change kind of a \w+: it is read from where version_from says
.*: versions\.\w+ is not a table
.*: versions\.\w+ holds a key it may not carry
.*: versions\.\w+ does not say where the version is read from
.*: versions\.\w+: run( \(\S+\))? is not one of .*
.*: cites is not a table
.*: (cites\.\S+|a cites entry) is not a table
.*: (cites\.\S+|a cites entry) holds a key it may not carry
.*: (cites\.\S+|a cites entry) holds no citation on either end
.*: (cites\.\S+|a cites entry)\.unconfirmed is not true or false
.*: the table has the agent's name and is not of kind agent
.*: the agent's table is not named as the system is
.*: the table names itself
.*: the \w+ name, sorted, is not the name of another table
.*: a \w+ may not name a \w+ here: the map has no \w+ edge between those two kinds
.*: a cites entry names neither a table this table has an edge to nor one of its tools
.*: a \w+ must serve a tool or be an end of at least one edge
