schemaVersion | version | Yes | | The version of this document's schema that this document was written under -- granted by the meta-schema to every definition named in metadata.documentRoots, never declared |
|---|
ownRoots | set[string] | No | ["src"] | The roots this repository owns, relative to its root: what its own commands cover, and where they stop. schema gen and todo list walk these and every pinned repository's; test, lint, format and typecheck cover these alone and stop at each pinned checkout, which --recurse crosses -- under --recurse-mode isolate by running each pinned repository's own command in its own checkout, leaving these roots the whole of what is covered here, and under full by running this repository's tools over the tree, which reads these not at all; and lint rule DATA001 holds these, less schemaGenExcludePaths, to generated data classes. It was srcPaths while generation was the only reader, and the name said input to a generator rather than the boundary four readers now share. |
|---|
inertPaths | set[glob] | No | ["/*.md"] | Paths whose changes reach no test and no check, as globs from the repository root -- rooted with / where one names a path there rather than at any depth: documentation, release notes. test, lint and typecheck under --select affected read a change to one as no change at all, where otherwise a path no module owns runs the whole repository. A fact about this repository rather than a choice for one run, so it is configuration. A repository that states none gets the documents at its own root, /*.md, which is what every repository was found stating: a suite that mentions a README writes its own under a temporary root. One whose suite does read a document at its root states the list it means instead, an empty one included. |
|---|
testReads | list[testRead] | No | [] | What the tests no module owns read, each entry naming tests and the paths a change has to touch to reach them. It is read for a test file in an own root standing outside every module: a statement about the repository's files -- and, where it pins others, about theirs -- which the dependency graph cannot place, since the graph places a module by its imports and such a test reads files no import shows. A test named by an entry runs under test --select affected when a file its reads name changed or a package its dependencies name was reached; one named by none runs whenever anything changed, here or in a checkout this repository pins, which is the answer for a test nobody has spoken for. A fact about the repository's tests, so configuration. |
|---|
readPaths | set[glob] | No | [] | Paths no module owns whose changes reach only the tests that say they read them, as globs from the repository root -- rooted with / where one names a path there rather than at any depth, and one naming a directory names everything beneath it: a workflow file, an installer script, a .gitattributes. A change to one runs the tests whose testReads names it and the tests no entry names, where otherwise a path no module owns runs the whole repository; a change inside an own root that holds such tests runs them all. A check covers the own root holding the path, if one does, and nothing otherwise. A path that configures a tool -- a lock file, the project declaration, the manifest -- is not one: what it reaches is everything, and leaving it out of this list is how that is said. |
|---|
schemaGenExcludePaths | set[glob] | No | [] | Trees under ownRoots that hold no generated types, as globs from the repository root, rooted with / where one names a tree there rather than at any depth. schema gen does not scan them, and lint rule DATA001 reads this same list so that the trees it holds to generated data classes are exactly the ones generation covers. It stays configuration although schema gen is its only command: it states what the repository generates, and a second reader outside the command needs it in a document it can read. |
|---|
gate | list[gateCommand] | No | [] | The verification gate: the checks dev gate runs, in the order it runs them, each a command of this tool and the arguments it is given -- lint with --fix, schema gen with --validate. A check is reported under the two joined, lint --fix. A repository stating none runs the list this application declares for itself, as defaultAppConfig in its dev.app.yml; that is the one statement of the list: the prose, CI and the release tooling run dev gate and read what it reports rather than restating these. dev gate --recurse adds --recurse to each check whose command declares it, which is read off the command and not written here. It holds no test: dev test is the test command, run beside the gate and never by it, so an entry naming test -- or gate itself -- is refused as GATE_CHECK_NOT_A_CHECK. Configuration rather than an argument: what a repository's gate holds is a fact about the repository, and a check left out for one run is a gate that did not run. A repository that runs more than the default adds to it with gateAdditions and leaves a check out with gateOmissions rather than restating it here, so stating this list is for a repository whose gate reorders its checks. |
|---|
gateAdditions | list[gateAddition] | No | [] | Checks this repository's gate runs beyond gate, each group placed after the check it names or at the end. It is how a repository adds to the default without restating it: a tree that pins others builds and vendors after the two checks that write, and names those two steps here, so a check dev-tool adds to the default reaches that tree's gate with no edit in it. The same half of the pair gitignoreAdditions is for the shared ignore rules. |
|---|
gateOmissions | set[string] | No | [] | Checks this repository's gate leaves out, each named as the gate reports it -- the command and its arguments joined, typecheck, lint --fix. They are taken out of the list the gate would otherwise run, gate or the default with gateAdditions placed in it, after the additions. It is how a repository drops a check it has nothing to run with -- one whose adapter declares no type checker leaves out typecheck -- without restating the default, so a check dev-tool adds to the default still reaches it. A name the list does not hold is refused as GATE_OMISSION_UNKNOWN, so a misspelt omission cannot leave the check running unnoticed. |
|---|
refresh | list[refreshStep] | No | [] | The steps dev tree refresh runs to bring the tree's generated, git-ignored state in step with its source, in the order it runs them, each a command of this tool and the arguments it is given. Unlike a gate's checks, each reads what the one before it wrote, so the run stops at the first that fails. A repository stating none runs the list this application declares for itself, as defaultAppConfig in its dev.app.yml, which is the one statement of it; stating this list replaces it whole. An entry naming no command of this tool is refused as TREE_REFRESH_STEP_UNKNOWN, one naming tree refresh itself as TREE_REFRESH_STEP_NOT_A_STEP, and an empty list as TREE_REFRESH_HOLDS_NO_STEP. |
|---|
testTiers | list[testTier] | No | [] | The tiers this repository's tests are kept in, each named once, and which of them a run that names none collects. A test says its tier by the directory it sits in inside a test directory, as the repository's adapter spells it -- __tests__/__integration__/ in Python -- so nothing per test can be forgotten and a run does not collect a tier it was not asked for. test --tier names the tiers one run collects and test --all-tiers collects every one. A repository stating none takes the list this application declares for itself, as defaultAppConfig in its dev.app.yml: unit, which crosses no process boundary and is what runs after every edit, and integration, which starts real processes or builds real repositories and catalogs and runs on CI or when it is asked for. Every test is in the directory of a tier listed here: one kept directly in a test directory, or under a directory spelling a tier this list does not name, is refused as TEST_NOT_IN_A_TIER, so a further tier is one more entry here rather than a folder somebody made. This list is all that says which directories are tiers. Configuration rather than an argument: which tiers exist is a fact about the repository, and which run by default is what an edit is owed, not a choice for one run -- that choice is --tier. |
|---|
coordinatePattern | regex | No | | The pattern each half of a coordinate declared in this repository's tree has to match in full: a manifest's namespace, the name of every module it declares, and a schema document's metadata.name and metadata.namespace, in this repository and in every checkout it pins. project list --validate and schema list --validate refuse one that does not, as COORDINATE_PATTERN_MISMATCH. Absent, nothing is asked: how a coordinate is spelled is a convention a tree keeps, not a rule this tool has, so the tree that wants one spelling states it here, once, at the root its gate runs from. A pattern that does not compile is refused where this file is read. |
|---|
vendoredSchemas | set[coordinate] | No | [] | Schema documents this repository references by coordinate and does not hold, each named by that coordinate. Generation seeds each one into this repository's own store, reading it from the stores its schema catalog defers to -- so a reference to schema:metaschema resolves against a store inside this repository rather than against one it happened to be nested in. It is the schema half of vendoredLibraries: what a repository obtains rather than finds around it, declared as a coordinate rather than as a path into somebody else's checkout. |
|---|
prebuiltExecutables | dict[string, string] | No | | Executable modules this repository does not build, keyed by module name, each naming the file somebody else's build produces. A relative path resolves against the repository root. The named file is copied into the build location as that module's artifact and asked whether it starts, and no adapter is invoked for it. It exists for a repository we do not own: the client's build can go on producing the executable exactly as it does now, while everything downstream -- the build location, the boot check, whatever consumes the artifact -- sees one where it expects one, and our build system is integrated a module at a time rather than all at once. A declaration here is not a cache entry and --rebuild does not override it: there is nothing to rebuild, because the repository has said this module is not ours to build. |
|---|
vendoredLibraries | list[vendoredPackage] | No | [] | What this repository obtains rather than finds beside it, each named by the coordinate a build catalog holds it under. vendor looks each one up in this repository's build catalog and the upstream ones it names, and unpacks the archive where the entry says -- so a dependency arrives as source this repository placed rather than as something a language's package manager installed from a path outside it. |
|---|
gitignoreAdditions | list[string] | No | [] | Ignore rules this repository needs and the others do not, written below the marker dev gitignore gen puts at the foot of its .gitignore. Everything above that marker is the shared set, which dev-tool declares once with the reason for each entry beside it, so a repository with one extra rule states one line rather than restating the shared set to add to it. Configuration rather than an argument for the same reason ownRoots is -- it states a fact about this repository, and a value somebody would want to change for a single run is not one of them. |
|---|
gitignoreOmissions | set[string] | No | [] | Shared ignore rules this repository does not take, each spelled exactly as the shared set spells it. A rule is shared because it is right for every repository here, so an omission is a statement that this one is different in a way the shared set cannot be: a repository that keeps its adapter catalog's repo-adapter/ as a checkout it develops, rather than obtaining it, omits that rule. The generated file names each omission and says the reason is here, so a reader meeting the gap is not left guessing. |
|---|
repoAdapterCommands | dict[enum, adapterCommandOverride] one of build, test, lint, format, typecheck, sync | No | {} | Commands this repository runs instead of the ones its repo adapter would produce, keyed by adapter method -- build, test, lint, format, typecheck or sync, and a key that is none of them is refused where the configuration loads. A repository whose peculiarity is one command states the command here rather than carrying an adapter of its own: an adapter describes a language, and a fork of one to change a single invocation is a language implementation with one repository's exception compiled into it. |
|---|
features | dict[string, boolean] | No | {} | The feature flags this configuration switches, keyed by the name the application declares each under in its *.app.yml, true for on: a flag left out takes the default its declaration states, and a name the application does not declare is refused -- granted by the meta-schema to every definition named in metadata.configRoots, never declared |
|---|