# Configuration

A config file is optional: with none, the gate takes its trees from
`phpunit.xml`, its runner from what is installed and its preset from
`composer.json`. `vendor/bin/mutation-gate init` writes one for you, and
`vendor/bin/mutation-gate config:show` prints the config a run would use.
After a major release, `vendor/bin/mutation-gate migrate` shows how the
config and the baseline move to it, and `migrate --write` writes them.

## One config, four formats

`mutation-gate.php` is the canonical format, and JSON, YAML and NEON say
exactly the same things. The four files below are the same config.

**`mutation-gate.php`**

```php
<?php

declare(strict_types=1);

use NightWorksIO\MutationGate\Config\Floor;
use NightWorksIO\MutationGate\Config\Gate;
use NightWorksIO\MutationGate\Config\Ignore;
use NightWorksIO\MutationGate\Config\Preset;
use NightWorksIO\MutationGate\Config\Report;
use NightWorksIO\MutationGate\Config\Runner;
use NightWorksIO\MutationGate\Config\Tree;

return Gate::configure()
    ->preset(Preset::laravel())
    ->runner(Runner::pest())
    ->trees(
        Tree::at('app/Domain', floor: 100),
        Tree::at('app/Http', floor: 80),
    )
    ->newCode(Floor::of(100))
    ->ignoring(
        Ignore::mutant('3f9a1c2b7d04', because: 'Both branches build the same list', until: '2027-03-31'),
    )
    ->reporting(Report::sarif('build/mutation.sarif'), Report::html('build/mutation'));
```

**`mutation-gate.json`**, checked by the published JSON Schema:

```json
{
    "$schema": "vendor/nightworksio/mutation-gate/resources/mutation-gate.schema.json",
    "preset": "laravel",
    "runner": "pest",
    "trees": [
        { "path": "app/Domain", "floor": 100 },
        { "path": "app/Http", "floor": 80 }
    ],
    "newCode": { "floor": 100 },
    "ignores": {
        "entries": [
            { "mutant": "3f9a1c2b7d04", "reason": "Both branches build the same list", "expires": "2027-03-31" }
        ]
    },
    "reports": [
        { "use": "sarif", "path": "build/mutation.sarif" },
        { "use": "html", "path": "build/mutation" }
    ]
}
```

**`mutation-gate.yaml`**, which needs `symfony/yaml`:

```yaml
preset: laravel
runner: pest
trees:
  - path: app/Domain
    floor: 100
  - path: app/Http
    floor: 80
newCode:
  floor: 100
ignores:
  entries:
    - mutant: '3f9a1c2b7d04'
      reason: Both branches build the same list
      expires: 2027-03-31
reports:
  - use: sarif
    path: build/mutation.sarif
  - use: html
    path: build/mutation
```

**`mutation-gate.neon`**, which needs `nette/neon`:

```neon
preset: laravel
runner: pest
trees:
    - {path: app/Domain, floor: 100}
    - {path: app/Http, floor: 80}
newCode:
    floor: 100
ignores:
    entries:
        - {mutant: '3f9a1c2b7d04', reason: 'Both branches build the same list', expires: 2027-03-31}
reports:
    - {use: sarif, path: build/mutation.sarif}
    - {use: html, path: build/mutation}
```

Quote mutant ids in YAML and NEON: an id such as `12e456789012` would
otherwise be read as a number. Dates need no quotes.

A `mutation-gate.php` may `require` or `include` another file by a literal
path, or by `__DIR__` and a literal. A change to that file, or to one it
includes in turn, reaches everything, as a change to the config does. The
gate reads this from the code and never runs it to find out. A config that
reads a file any other way, such as an include of a path it builds,
`file_get_contents()`, `glob()`, a class outside the builder's, or a path
outside the project, makes every change reach everything. JSON, YAML and NEON
configs read no other file: NEON's `includes:` is refused.

## Paths

Every path and glob a config file writes is named from the file's own
directory, and one that goes up out of the project, or is absolute, is
refused
([ADR-0002](/docs/decisions/one-typed-config-from-several-formats)).
Only the command line names a file outside the project, by its absolute
path: `--report json:/tmp/mutation.json`.

## Every key

Every key, with its type, its default and the design decision that sets it. Durations
are written `50ms`, `90s`, `15m`, `1h30m` or `7d`, and dates `YYYY-MM-DD`. A key that
chooses an adapter takes a registered name or `{"use": <name or class>,
"with": <options>}`. A glob of paths is matched against the whole path: `*`
and `?` match within one directory, and `**` across any number of them.
A `use` with a backslash is a class, so a class in the global namespace is
written `"\\SlackReporter"`; [writing an
adapter](/docs/extending/adapters) says how one reads its
options.

A floor is a percentage held in hundredths, rounded up, so it is never lower
than written: `79.999` holds a score to `80`.

| Key                                                                              | Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Default                                                                                                                                                                                                                                                | Decided in                                                                                                                                                                                                                                                                      |
| -------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `extensions`                                                                     | list of class names                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `[]`                                                                                                                                                                                                                                                   | [0002](/docs/decisions/one-typed-config-from-several-formats)                                                                                                                                                                                                                  |
| `preset`                                                                         | a preset name, or a list of them: `library`, `laravel`, `symfony`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | chosen from `composer.json`                                                                                                                                                                                                                            | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `runner`                                                                         | adapter: `pest`, `infection`, `phpunit`, `phpspec`, `codeception`, `testo`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | the one installed: `phpunit`, `phpspec`, `codeception` or `testo` only where neither Pest's mutation plugin nor Infection is, and Pest is not; Codeception installs PHPUnit, which counts beside it only where `composer.json` requires PHPUnit itself | [0002](/docs/decisions/one-typed-config-from-several-formats), [0023](/docs/decisions/the-gate-mutates-for-native-runners-and-reuses-what-it-measured), [0027](/docs/decisions/codeception-phpspec-and-testo-get-native-runners)                                             |
| `runner.withhold`                                                                | list of environment-variable names or globs the runner never hands the project's tests, added to those every run withholds; a guard against accidents, not a sandbox                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `[]`                                                                                                                                                                                                                                                   | [0004](/docs/decisions/pest-and-infection-behind-one-runner-port)                                                                                                                                                                                                              |
| `runner.memory`                                                                  | the `memory_limit` of every PHP process a mutation run starts, as PHP writes it (`512M`, `1G`), or `-1` for none; a `memory_limit` the project sets in `phpunit.xml` or a bootstrap file wins over it. The Codeception runner passes it as Codeception's `settings.memory_limit`, which Codeception otherwise sets to `1024M` or what `codeception.yml` says. Under Infection and the PHPUnit, PhpSpec, Codeception and Testo runners it also sets `display_errors=stdout`, so a warning raised outside a test, such as in a bootstrap file, also prints on standard output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `1G`                                                                                                                                                                                                                                                   | [0004](/docs/decisions/pest-and-infection-behind-one-runner-port)                                                                                                                                                                                                              |
| `runner.workers`                                                                 | how the PHPUnit runner, and Pest under `pest.patch`, start each mutant's run and each run of the verification tail after it, the unmutated controls, baselines, replays, trials, confirmation and survivors' runs again: `fork`, each forked from a worker per process; `mutants`, each mutant's run forked and each run of the tail in a new PHP process; or `fresh`, a new PHP process for each. The PHPUnit runner's worker boots the autoloader and the bootstrap once; a boot that leaves a socket or database connection open, starts PHPUnit's events or loads a file the run mutates is refused: its mutants run fresh, and the run warns of why, as `doctor` does. Pest's worker loads nothing of the project, and a Laravel suite that uses `RefreshDatabase` migrates its test database once a worker: each later mutant starts on the database the first migration left, checked and its counters set back first, and migrates again where a test left it otherwise. `fork` needs `pcntl` in the PHP the runner starts, and `posix` too under Pest, and mutants run fresh without them. A run a worker forks no child for runs fresh. Under Pest the gate's own process starts the tail's workers. Infection starts its own processes, and the PhpSpec, Codeception and Testo runners start each mutant's run fresh, so it changes nothing for them                                                                                                                                                                                                                                                                                                                                                                         | `fork`                                                                                                                                                                                                                                                 | [0023](/docs/decisions/the-gate-mutates-for-native-runners-and-reuses-what-it-measured), [0070](/docs/decisions/the-verification-tail-forks-from-warm-workers)                                                                                                                |
| `runner.pathRules`                                                               | how a shard applies `paths`: `partitioned`, each group of its units the same entries match run after the units none matches, with a runner its settings build                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `partitioned`                                                                                                                                                                                                                                          | [0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)                                                                                                                                                                                               |
| `runner.recycleAfter`                                                            | integer, at least 1: with the PHPUnit, phpspec, Codeception and Testo runners, how many runs a batch holds for each place, so each place has a queue of runs while a batch runs and few stand idle as its last runs end                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `16`                                                                                                                                                                                                                                                   | [0023](/docs/decisions/the-gate-mutates-for-native-runners-and-reuses-what-it-measured)                                                                                                                                                                                        |
| `runner.warmSlack`                                                               | duration: with those runners, how long a warm worker may run past the end of a run's time and the longest run's limit, for its boot and its writing                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `1m`                                                                                                                                                                                                                                                   | [0023](/docs/decisions/the-gate-mutates-for-native-runners-and-reuses-what-it-measured)                                                                                                                                                                                        |
| `runner.poll`                                                                    | number of seconds, above 0 and at most 60: how long the gate waits between looks at a process it waits on to end by a deadline                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `0.01`                                                                                                                                                                                                                                                 | [0023](/docs/decisions/the-gate-mutates-for-native-runners-and-reuses-what-it-measured)                                                                                                                                                                                        |
| `runner.processes`                                                               | integer, at least 1: how many mutants a runner that runs them side by side runs at once, and how many the gate's proofs of equivalence run; a smaller count leaves a shared machine room, and a plan's estimates count with it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | one per core                                                                                                                                                                                                                                           | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `runner.workerWait`                                                              | duration: how long the gate waits for a warm worker to start, and to end once its run is done                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `timeouts.startUp`                                                                                                                                                                                                                                     | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `runner.deadlineGrace`                                                           | duration: how long a control or a heavy mutant's part already running may run past the run's deadline before it is halted; the mutant it judges is then unjudged, out of time, for the second wave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `15s`                                                                                                                                                                                                                                                  | [0197](/docs/decisions/a-job-takes-what-fits-and-halts-what-runs-past)                                                                                                                                                                                                         |
| `treeSource`                                                                     | adapter: `phpunit`, `composer`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `phpunit`                                                                                                                                                                                                                                              | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                                                                                                                                                                                                               |
| `treeSource.with.fallback`                                                       | list of paths, the trees when `phpunit.xml` has no `<source>`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `[]`, or the preset's; `[]` takes the `autoload` paths of `composer.json`                                                                                                                                                                              | [0002](/docs/decisions/one-typed-config-from-several-formats)                                                                                                                                                                                                                  |
| `trees`                                                                          | list of `{path, floor, reason, exclude}`, laid over the tree source's trees: a listed path takes its floor, reason and exclude from here                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | the tree source's trees                                                                                                                                                                                                                                | [0003](/docs/decisions/a-floor-only-rises)                                                                                                                                                                                                                                     |
| `trees[].floor`                                                                  | number, 0 to 100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | the nearest manifest's, if any                                                                                                                                                                                                                         | [0003](/docs/decisions/a-floor-only-rises)                                                                                                                                                                                                                                     |
| `trees[].reason`                                                                 | string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | none; required when `floor` is 0, and refused beside any other                                                                                                                                                                                         | [0003](/docs/decisions/a-floor-only-rises)                                                                                                                                                                                                                                     |
| `trees[].exclude`                                                                | list of globs, each matching a file in the tree                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `[]`                                                                                                                                                                                                                                                   | [0016](/docs/decisions/the-gate-takes-over-from-infection-and-reports-what-a-run-costs)                                                                                                                                                                                        |
| `newCode.floor`                                                                  | number, 0 to 100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `100`                                                                                                                                                                                                                                                  | [0003](/docs/decisions/a-floor-only-rises)                                                                                                                                                                                                                                     |
| `newCode.alone`                                                                  | boolean. **`true` loosens**: a pull request, a merge group and `pre-push` are held to their new code alone and run the units that hold it and none beside them, each tree shown against its floor without failing the run; the default branch is held to its trees and runs every unit it reaches whatever this says                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `false`                                                                                                                                                                                                                                                | [0337](/docs/decisions/a-pull-request-can-be-held-to-its-new-code-alone)                                                                                                                                                                                                       |
| `security.floor`                                                                 | number, 0 to 100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | none                                                                                                                                                                                                                                                   | [0021](/docs/decisions/mutators-are-written-once-and-first-party-sets-can-leave)                                                                                                                                                                                               |
| `uncovered`                                                                      | `count` or `exclude`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `count`                                                                                                                                                                                                                                                | [0003](/docs/decisions/a-floor-only-rises)                                                                                                                                                                                                                                     |
| `baseline.path`                                                                  | path of the committed floors, in the [baseline format](/docs/using/files#the-baseline). A pull request that moves the baseline is checked against the floors the branch it merges into keeps, or the default branch where its CI names none, in the file that branch's own config names                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `mutation-gate.baseline.json`                                                                                                                                                                                                                          | [0003](/docs/decisions/a-floor-only-rises)                                                                                                                                                                                                                                     |
| `baseline.improvement`                                                           | `require` or `report`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `require`                                                                                                                                                                                                                                              | [0003](/docs/decisions/a-floor-only-rises)                                                                                                                                                                                                                                     |
| `owners.floors`                                                                  | map of an owner as CODEOWNERS writes it, `@user`, `@org/team` or an email address, to a number from 0 to 100: the floor of the code of every file whose rule names the owner                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `{}`                                                                                                                                                                                                                                                   | [0022](/docs/decisions/survivors-reach-their-owners-and-a-merge-queue-trusts-no-pull-requests-own-proofs)                                                                                                                                                                      |
| `owners.mention`                                                                 | `first`, the pull request comment mentions each user and team in the update that first heads a group of survivors naming it, or `never`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `first`                                                                                                                                                                                                                                                | [0022](/docs/decisions/survivors-reach-their-owners-and-a-merge-queue-trusts-no-pull-requests-own-proofs), [0049](/docs/decisions/an-owner-is-mentioned-once-and-a-merge-group-trusts-its-pull-request-as-a-merged-one)                                                       |
| `versionControl`                                                                 | adapter: `git`, `github`, or a change source and repository an extension registers under one name: where a run learns what changed and what the repository holds                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `github` under GitHub Actions, otherwise `git`                                                                                                                                                                                                         | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                                                                                                                                                                                                               |
| `packages`                                                                       | list of globs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `[]`                                                                                                                                                                                                                                                   | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                                                                                                                                                                                                               |
| `reach.everything`                                                               | list of globs, from the repository's root                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `[]`, plus the preset's                                                                                                                                                                                                                                | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                                                                                                                                                                                                               |
| `reach.lockMoves`                                                                | `everything`, **`named`** or **`loaded`**. What a package's move in a `composer.lock` reaches: every unit; every unit only where it moved what `reach.lockPackages` names; or the units run by the tests that loaded a moved package, and by each test that started a process. `loaded` still reaches every unit where a package was added or removed, moved its `autoload.files`, `extra` or `type`, where the lock moved anything besides its packages, or where the coverage map records no loads for some test: the first run after setting it. **Each value but `everything` can miss a package a test reaches, so a kill it carries may no longer hold: under `loaded`, a child process not yet waited for when its test ends, a worker already running, a package read as data rather than loaded, and a preloaded one are not seen. Run the whole suite on a schedule.** It records under the Pest runner alone; another runner reaches every unit. See [ADR-0115](/docs/decisions/a-lock-move-reaches-what-loaded-the-package)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `everything`, `named` where a layer lists `reach.lockPackages`                                                                                                                                                                                         | [0115](/docs/decisions/a-lock-move-reaches-what-loaded-the-package)                                                                                                                                                                                                            |
| `reach.lockPackages`                                                             | list of Composer package names, `vendor/name`, where `*` stands for any run of characters within either part: a change to a `composer.lock` decides how the gate runs only where it moved one of these or a package this repository ships, or a key besides the package lists; a change to a `composer.json` only where it moved such a package's line in `require`, `require-dev`, `conflict`, `replace` or `provide`, or a key besides those and the keys that only describe the package or name its scripts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | none: every package decides                                                                                                                                                                                                                            | [0030](/docs/decisions/a-lock-file-decides-by-the-packages-it-moved), [0056](/docs/decisions/a-manifest-decides-how-the-gate-runs-only-by-the-keys-that-install-and-load)                                                                                                     |
| `reach.changedTests`                                                             | `narrow`: a changed test file reaches what the tests it changed run, by the coverage map's ids of them, and what `file` reaches where the change also moved code they share, such as a hook, a helper, a data provider, an import it removed or changed, or an import it added of a name the file already spelt; or `file`: what all its tests run, and what the runner judges by the file                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `narrow`                                                                                                                                                                                                                                               | [0065](/docs/decisions/a-changed-test-file-reaches-what-its-changed-tests-run), [0068](/docs/decisions/an-added-import-reaches-nothing-and-support-is-wherever-the-tests-load-it), [0069](/docs/decisions/an-added-import-of-a-name-the-file-spelt-widens)                   |
| `reach.fixtures`                                                                 | list of globs, from the repository's root, each matching the directory of a fixture project the tests read: a change to a file in one reaches only what the tests that name its path, or a class or function its PHP declares, run, directly or through test support                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `[]`                                                                                                                                                                                                                                                   | [0064](/docs/decisions/a-fixture-project-reaches-the-tests-that-name-its-path), [0066](/docs/decisions/a-fixture-project-is-used-by-the-tests-that-name-what-it-declares)                                                                                                     |
| `reach.defaultBranchSince`                                                       | `judged`, `judged-off-branch` or `passed`: what the default branch's changes are read since. `judged` reads them since its last judged run, passed or failed, for every unit, and since its last pass for the units that run left open; `judged-off-branch` does so off the default branch, a push to it reading since its last pass; `passed` reads since its last pass on every run. It decides how the gate runs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `judged`                                                                                                                                                                                                                                               | [0141](/docs/decisions/a-failed-run-on-the-default-branch-still-stands-for-the-units-it-fully-judged)                                                                                                                                                                          |
| `holds.hotPath`                                                                  | number, 0 to 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `0.8`                                                                                                                                                                                                                                                  | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                                                                                                                                                                                                               |
| `holds.fewestTests`                                                              | The fewest tests a suite needs for `holds.hotPath` to name a file hot                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `20`                                                                                                                                                                                                                                                   | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `holds.coverage`                                                                 | `measure`, `measure-in-each-shard` or `map` (**loosens under `uncovered: exclude`**): how a run learns which lines a held unit's holding tests cover. `measure` runs them alone under coverage once, as the plan is made, and they must pass; every shard takes what the plan measured. `measure-in-each-shard` runs them alone in every shard that holds the unit. `map` reads their lines from the map the plan handed the shard, and does not check that they pass alone. It acts on no mutant a split stream judged                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `measure`                                                                                                                                                                                                                                              | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value), [0161](/docs/decisions/a-held-unit-s-coverage-is-measured-once-for-the-whole-run)                                                                                 |
| `run.full`                                                                       | boolean: a run given neither `--full` nor `--changed-since` considers every unit, rather than what changed since `last-passed`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `false`                                                                                                                                                                                                                                                | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                                                                                                                                                                                                               |
| `run.failFast`                                                                   | `off`, `mark`, `stop` or `cancel`: what a pull request's shard does once a confirmed survivor leaves its run no way to pass: nothing, so the verdict alone fails; fail once it has judged every unit, so the verdict names every survivor, and warn what stopping would have saved; stop there, its other units unjudged, and fail; or stop, fail and, in the reusable workflow, have GitHub cancel the other shards, which acts as `stop` on any other CI                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `mark`                                                                                                                                                                                                                                                 | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first), [0103](/docs/decisions/a-doomed-shard-fails-fast)                                                                                                                                                   |
| `run.failFastWaits`                                                              | list of `unidentified`, `no-warm-up`, `out-of-scope`, `no-mutant`, `print-differs`, `failed` or `out-of-time`: why static analysis may leave a survivor unchecked that a shard waits on rather than counting it as a survivor that dooms the run, since a check may still kill it; `[]` lets every unchecked survivor doom it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `[out-of-time, failed]`                                                                                                                                                                                                                                | [0103](/docs/decisions/a-doomed-shard-fails-fast)                                                                                                                                                                                                                              |
| `plan.chunkMinutes`                                                              | integer, at least 1: how much expected work, in minutes, a chunk of a shard that can stop once it cannot pass holds                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `15`                                                                                                                                                                                                                                                   | [0032](/docs/decisions/a-pull-requests-shard-stops-in-chunks-of-fifteen-minutes)                                                                                                                                                                                               |
| `plan.provingRange`                                                              | integer, at least 0: how many commits since a base a change source asks GitHub to have proved, one question each, before it reads the range whole. Past it, a full reach is the safe answer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `20`                                                                                                                                                                                                                                                   | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                                                                                                                                                                                                               |
| `timing.newest`                                                                  | number above 0 and at most 1: the weight a unit's newest measurement takes in its smoothed timing, the earlier one taking the rest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `0.9`                                                                                                                                                                                                                                                  | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)                                                                                                                                                                                                        |
| `timing.startUpSamples`                                                          | integer, at least 1: how many runs of no test a plan times to read the start-up; their median is the least noisy estimate of a fixed cost                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `3`                                                                                                                                                                                                                                                    | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)                                                                                                                                                                                                        |
| `timing.planSteps`                                                               | boolean: whether the plan prints how long each of its steps took, every second of the plan in one step or another, and records them beside the plan in `.mutation-gate/plan-steps.json`, which the workflow hands on with the plan. It changes no output of the run's                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `true`                                                                                                                                                                                                                                                 | [0220](/docs/decisions/the-plan-times-every-step)                                                                                                                                                                                                                              |
| `shards.seconds`                                                                 | integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `600`                                                                                                                                                                                                                                                  | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)                                                                                                                                                                                                        |
| `shards.max`                                                                     | integer, or `"learned"`: the most shards the default branch's last 10 runs ran at once, by `shards.learnedFrom`, kept between 1 and 20; 20 until a sharded run is learned. The plan prints what it learned                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `20`                                                                                                                                                                                                                                                   | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once), [0073](/docs/decisions/a-limit-can-be-learned-from-what-earlier-runs-measured)                                                                                                                       |
| `shards.learnedFrom`                                                             | `max` or `median`: which of the shard counts the last 10 runs ran at once a learned `shards.max` takes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `max`                                                                                                                                                                                                                                                  | [0073](/docs/decisions/a-limit-can-be-learned-from-what-earlier-runs-measured)                                                                                                                                                                                                 |
| `shards.cutAt`                                                                   | number of at least 0: how many times its overhead, its opening run and `shards.setup`, a shard's share of the cost must be at least, for a cut to make it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `2.0`                                                                                                                                                                                                                                                  | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `shards.target`                                                                  | duration; replaces `shards.seconds`, and setting both is an error. A run that `splitStream.sharding` cuts into test parts fits its shards to it at their wall time, its plan's cost spread over the plan job's processes, ten minutes where it is unset (thirty where `costs.mode` is `minutes`), up to as many shards as one matrix of jobs holds, whatever `shards.seconds` or a learned `shards.max` says; where its jobs run their own tail and that comes to more than `shards.max`, written or learned, it cuts `shards.max` shards instead (`shards.tail`). A CI job's gate stops before it, as `shards.margin` says                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | none                                                                                                                                                                                                                                                   | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut), [0195](/docs/decisions/a-streamed-job-is-priced-at-its-wall-time), [0303](/docs/decisions/a-job-runs-its-own-tail-where-its-wave-outnumbers-the-pool)                                             |
| `shards.setup`                                                                   | duration: each shard's CI setup before the gate starts. With the opening run it is a shard's overhead, and no shard is cut whose share of the cost is below `shards.cutAt` times that                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `1m`                                                                                                                                                                                                                                                   | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `shards.fill`                                                                    | number above 0 and at most 1: the share of its stop the cut fills a job that runs its own tail with (`shards.tail`), each shard's work cut to fit it; the rest is left for the gate's own steps no unit's cost holds, such as opening the shard's map and reading its results, and for costs the plan misjudged, so that a job seldom hands work to a second wave. Lower cuts more shards and fewer second-wave jobs. It changes no result                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `0.92`                                                                                                                                                                                                                                                 | [0303](/docs/decisions/a-job-runs-its-own-tail-where-its-wave-outnumbers-the-pool)                                                                                                                                                                                             |
| `shards.confirm`                                                                 | number above 0 and at most 1: the share of its time a job that stops at a deadline, a shard's of the first wave or a share's of the wave after, keeps back from its mutants' own run to vouch for its kills in: the runs of their test files alone, the run again of doubtful kills with every test file, and the unmutated controls of the kills it confirms. A run with no deadline keeps nothing back. It changes when a kill is vouched for and never its status                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `0.1`                                                                                                                                                                                                                                                  | [0332](/docs/decisions/a-first-wave-job-confirms-doubtful-kills-within-a-share-of-its-time), [0335](/docs/decisions/a-job-that-stops-keeps-a-share-of-its-time-to-vouch-for-its-kills)                                                                                        |
| `shards.jobLimit`                                                                | duration: the longest a shard's gate may run, past what its target leaves it; where it is set and `shards.target` is not, it alone stops the gate; where unset, the target alone does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | none                                                                                                                                                                                                                                                   | [0114](/docs/decisions/a-shard-is-cut-to-fit-its-job-and-stops-before-it), [0196](/docs/decisions/a-job-stops-at-its-target-less-what-it-measured)                                                                                                                            |
| `shards.margin`                                                                  | duration: how long a CI job's gate keeps clear of `shards.target` past its own wind-down. A CI shard's gate stops at the target less the setup before it started, which the job measures from when it began (the action's `job-started`), or else the longest recent jobs on its platform measured, or `shards.setup`; less the longest wind-down recent gates took once they stopped, 35 s where none was measured; and less this margin. At the stop no further unit, trial or static check starts, the runner's process is stopped with its children, and what they left is unjudged for the second wave; the cut keeps each shard within the same stop, and the mutants a shard left are cut into shares that a second wave of jobs, each within it, judges (`mutation-gate leftovers`, `run --leftover`), each share priced at the wall seconds its job's split streams take. It changes no result                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `45s`                                                                                                                                                                                                                                                  | [0190](/docs/decisions/a-shard-hands-what-it-left-to-a-second-wave), [0196](/docs/decisions/a-job-stops-at-its-target-less-what-it-measured)                                                                                                                                  |
| `shards.tail`                                                                    | `auto`, `stop` or `run`: whether a CI job's gate stops at its target and hands what it left to a second wave (`stop`), or runs its own tail to its job's limit (`run`): `shards.jobLimit` where set, otherwise the job's own timeout less its setup, wind-down and `shards.margin`, which the workflow hands the plan from `shard-timeout`, or six hours. `auto` runs its own tail where the shards come to more than `shards.max`, written or learned, the jobs that run at once, and then cuts that many shards, or more where the cost needs them, since no shard is cut past its job's limit and jobs that queue in waves gain no wall time by stopping early; and where `costs.mode` is `minutes`. A second wave whose shares come to more than `shards.max` is folded the same way into at most that many shares whose jobs run their own tail, or more within the job's limit, each shard's shares priced at the second pass its own job measured. It changes no result                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `auto`                                                                                                                                                                                                                                                 | [0303](/docs/decisions/a-job-runs-its-own-tail-where-its-wave-outnumbers-the-pool)                                                                                                                                                                                             |
| `shards.pull`                                                                    | `auto`, `claim`, `steal`, `redo` or `off`: how a shard finds its work on GitHub Actions. Every value but `off` has the plan cut each package's work into items of `plan.chunkMinutes`, or under test parts into one part for each shard, each listed first for one of its shards, longest first; a push's shard then runs in chunks too. Under `claim` a shard claims each item by an empty artifact named for the plan, the run's attempt and the item before it runs it, through the artifact service the action hands the gate's process alone in a file it removes once read, working through its own list and then the other shards' lists from their backs; under `steal` it skips an item a done marker or another shard's start marker names, marks its own start before it runs an item and marks each item it finished, so no item runs twice but where two shards start it at once; under `redo` it also takes an item another shard started and has not finished, so a lost shard's item runs again at the cost of running items twice. `auto` steals, since no service's claims pass the gate's nightly claim race: github.com accepts a second claim of an item once the first is written. A shard whose claims cannot be written or read runs its own items, and says so. The verdict needs one result for every item; where two runs of an item judged a mutant differently, it is flaky. It changes no result                                                                                                                                                                                                                                                                                                          | `auto`                                                                                                                                                                                                                                                 | [0134](/docs/decisions/shards-pull-the-work-left-instead-of-owning-a-fixed-part)                                                                                                                                                                                               |
| `shards.progress`                                                                | duration: how long a CI shard waits between two artifacts that say how far it got: how long it has run, what the machine has left, the processes that hold the most memory and the gate's last lines of its log, which name the mutant it judges. A process forked from the gate's leaves the first as the shard starts, through the artifact service the action hands every shard, and replaces each with the next; a shard that ends deletes the last, so only a lost job keeps its progress. `0s` leaves none, and a shard run from the gate's PHAR leaves none either. It changes no result                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `3m`                                                                                                                                                                                                                                                   | [0157](/docs/decisions/a-ci-shard-leaves-its-progress-as-it-runs), [0224](/docs/decisions/the-gate-forks-no-child-beside-itself-under-its-phar)                                                                                                                               |
| `costs.secondsPerLine`                                                           | map of path prefix to number                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `{"": 0.2}`                                                                                                                                                                                                                                            | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)                                                                                                                                                                                                        |
| `costs.perRunnerMinute`                                                          | `{amount, currency}`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | none                                                                                                                                                                                                                                                   | [0016](/docs/decisions/the-gate-takes-over-from-infection-and-reports-what-a-run-costs)                                                                                                                                                                                        |
| `costs.savingsWindow`                                                            | duration: how far back the runner time the gate saved is counted, which the step summary, `savings.json` and `summary.json` show                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `30d`                                                                                                                                                                                                                                                  | [0016](/docs/decisions/the-gate-takes-over-from-infection-and-reports-what-a-run-costs), [0017](/docs/decisions/adopting-the-gate-takes-one-command-and-every-run-says-what-it-saved)                                                                                         |
| `costs.model`                                                                    | adapter: `learned`, or a cost model an extension registers: what the plan expects each unit's work to cost                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `learned`                                                                                                                                                                                                                                              | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)                                                                                                                                                                                                        |
| `costs.testsBeforeAKill`                                                         | integer: how many covering tests of average time a first estimate expects a killed mutant to run before one kills it. Higher plans more shards for a suite whose tests rarely kill first; lower plans fewer, and such a suite runs longer than planned                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `5`                                                                                                                                                                                                                                                    | [0114](/docs/decisions/a-shard-is-cut-to-fit-its-job-and-stops-before-it)                                                                                                                                                                                                      |
| `costs.surviving`                                                                | number from 0 to 1: the share of mutants a first estimate expects to survive and run every covering test. Raise it for a project with many survivors, which a low share plans too few shards for; a high one plans too many for a well-tested project                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `0.02`                                                                                                                                                                                                                                                 | [0114](/docs/decisions/a-shard-is-cut-to-fit-its-job-and-stops-before-it)                                                                                                                                                                                                      |
| `costs.shardOverhead`                                                            | number, at least 1: how many times its mutants' own runs a first estimate takes a shard to be, with its controls, baselines and static checks. Higher pays for more shards on a first run and leaves more room under `shards.jobLimit`; lower risks a shard stopping there with mutants unjudged. All three apply only until a shard has timed the unit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `2.5`                                                                                                                                                                                                                                                  | [0114](/docs/decisions/a-shard-is-cut-to-fit-its-job-and-stops-before-it)                                                                                                                                                                                                      |
| `costs.mode`                                                                     | `wall` or `minutes`: what a plan spends least of. `minutes`, for runners that bill by the minute, cuts shards to 30 minutes where neither `shards.target` nor `shards.seconds` is set, and gives each package the count its jobs bill the fewest whole minutes at; under `shards.tail` `auto` its jobs run their own tail and cut no second wave. Every run on a CI reports the minutes it billed either way                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `wall`                                                                                                                                                                                                                                                 | [0240](/docs/decisions/a-metered-runner-plans-for-the-fewest-billed-minutes)                                                                                                                                                                                                   |
| `processes.group`                                                                | `auto`, `off` or `require`: whether every process the gate starts leads a session of its own, so the gate kills, with a process it stops, every process of its session, and once a process ends, whatever it left, even a process whose parent ended before it. `auto` starts it under `setsid`, else under the gate's PHP with no ini, which leaves the session where it can, else as before; `require` refuses to run where neither can. It changes no result                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `auto`                                                                                                                                                                                                                                                 | [0158](/docs/decisions/the-gate-holds-every-process-it-starts-in-a-session-and-a-cgroup)                                                                                                                                                                                       |
| `processes.contain`                                                              | `auto`, `off` or `require`: whether, on Linux, every process the gate starts runs in a cgroup of its own, under one of the gate's capped at `processes.memory` with no swap and at `processes.pids`, which an out-of-memory kill takes whole and the gate kills whole once the process ends. The gate makes its cgroup beside the one it runs in, where its user may write that one's parent and the memory and pids controllers are handed down; in CI, where none is, it hands itself `/sys/fs/cgroup/mutation-gate` with `sudo -n`. `auto` runs uncontained where it cannot; `require` refuses to run there                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `auto`                                                                                                                                                                                                                                                 | [0158](/docs/decisions/the-gate-holds-every-process-it-starts-in-a-session-and-a-cgroup)                                                                                                                                                                                       |
| `processes.memory`                                                               | whole number, 1 to 100: the share of the machine's memory, in percent, that every process the gate starts may hold together under `processes.contain`; the rest is the runner's, the gate's and the system's                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `85`                                                                                                                                                                                                                                                   | [0158](/docs/decisions/the-gate-holds-every-process-it-starts-in-a-session-and-a-cgroup)                                                                                                                                                                                       |
| `processes.pids`                                                                 | whole number, at least 1: how many processes every process the gate starts may be together under `processes.contain`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `8192`                                                                                                                                                                                                                                                 | [0158](/docs/decisions/the-gate-holds-every-process-it-starts-in-a-session-and-a-cgroup)                                                                                                                                                                                       |
| `ci.plan`                                                                        | adapter: `github`, `gitlab`, `buildkite`, `circleci`, `azure`, `bitbucket`, `jenkins`, `json`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | detected from the environment                                                                                                                                                                                                                          | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once), [0024](/docs/decisions/the-gate-runs-and-comments-beyond-github-and-aggregates-an-organisation)                                                                                                      |
| `ci.defaultBranch`                                                               | branch name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | the CI's answer, else git's `origin/HEAD`, else `main`                                                                                                                                                                                                 | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)                                                                                                                                                                                                        |
| `ci.check`                                                                       | the check-run name the verdict reports under                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `mutation / verdict`                                                                                                                                                                                                                                   | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `ci.schedule`                                                                    | five cron fields: when the full run `init --ci` writes runs, on GitHub Actions and Jenkins. It reaches the units no change does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `0 3 * * 1`                                                                                                                                                                                                                                            | [0122](/docs/decisions/a-push-spends-only-what-its-pull-request-did-not)                                                                                                                                                                                                       |
| `ci.gitlab.template`                                                             | path                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `.gitlab/mutation-gate.yml`                                                                                                                                                                                                                            | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)                                                                                                                                                                                                        |
| `ci.buildkite.step`                                                              | map of step keys                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `{}`                                                                                                                                                                                                                                                   | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)                                                                                                                                                                                                        |
| `ci.buildkite.definition`                                                        | path of the pipeline file that runs the gate under Buildkite                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `.buildkite/pipeline.yml`                                                                                                                                                                                                                              | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)                                                                                                                                                                                                        |
| `ci.azure.definition`                                                            | path of the pipeline file that runs the gate under Azure DevOps                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `azure-pipelines.yml`                                                                                                                                                                                                                                  | [0024](/docs/decisions/the-gate-runs-and-comments-beyond-github-and-aggregates-an-organisation)                                                                                                                                                                                |
| `ci.bitbucket.definition`                                                        | path of the pipeline file that runs the gate under Bitbucket Pipelines                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `bitbucket-pipelines.yml`                                                                                                                                                                                                                              | [0024](/docs/decisions/the-gate-runs-and-comments-beyond-github-and-aggregates-an-organisation)                                                                                                                                                                                |
| `ci.jenkins.definition`                                                          | path of the Jenkinsfile that runs the gate under Jenkins                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `Jenkinsfile`                                                                                                                                                                                                                                          | [0024](/docs/decisions/the-gate-runs-and-comments-beyond-github-and-aggregates-an-organisation)                                                                                                                                                                                |
| `reuse.identical`                                                                | `on`, `pulls` or `off`: where a passed verdict whose run read inputs identical to the run's stands, so the run plans nothing and records that verdict again, naming its run. The inputs are what every proof's key reads first, every file of the repository by content, the gate's release, the runner's image and the variables `reuse.environment` names. A pass is read from the run's own scope, the default branch and, on a push or a merge group, the merged pull request GitHub names. `on` reuses on pull requests and the default branch; `pulls` on pull requests alone; `off` never. On the default branch a merged pull request's pass also lends its results, which prove a unit only where its key matches, and the merged range is judged                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `on`                                                                                                                                                                                                                                                   | [0198](/docs/decisions/a-run-whose-every-input-is-identical-reuses-the-verdict)                                                                                                                                                                                                |
| `reuse.forks`                                                                    | `false` or **`true`**: whether a pass or results a fork's run recorded are read; `true` trusts a run whose author chose what it wrote                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `false`                                                                                                                                                                                                                                                | [0198](/docs/decisions/a-run-whose-every-input-is-identical-reuses-the-verdict)                                                                                                                                                                                                |
| `reuse.ownScopeProofs`                                                           | `reach`, `refuse` or **`trust`**: what a merged pull request's pass that took results from its own scope's proofs is trusted for. `reach` lends its other results, runs the units it took from its own scope again, and reuses no such verdict whole; `refuse` takes no such pass; `trust` takes it whole                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `reach`                                                                                                                                                                                                                                                | [0139](/docs/decisions/a-merged-pull-request-s-pass-reaches-its-push-as-an-artifact-of-its-run), [0198](/docs/decisions/a-run-whose-every-input-is-identical-reuses-the-verdict)                                                                                              |
| `reuse.delta`                                                                    | `false` or **`true`**: whether a merged pull request's pass proves its commit, so the default branch reaches only the change from its judged head where the landed tree differs, carrying its results whatever their keys                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `false`                                                                                                                                                                                                                                                | [0139](/docs/decisions/a-merged-pull-request-s-pass-reaches-its-push-as-an-artifact-of-its-run), [0198](/docs/decisions/a-run-whose-every-input-is-identical-reuses-the-verdict)                                                                                              |
| `reuse.environment`                                                              | list of variable names: the variables whose values are among a run's inputs, for a value that changes a verdict and is in no file. A variable no run sets reads as unset                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `[]`                                                                                                                                                                                                                                                   | [0198](/docs/decisions/a-run-whose-every-input-is-identical-reuses-the-verdict)                                                                                                                                                                                                |
| `reuse.passes`                                                                   | How many passes that record their run's inputs a ledger keeps, the newest, for `reuse.identical` to find a re-land or a revert                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `10`                                                                                                                                                                                                                                                   | [0198](/docs/decisions/a-run-whose-every-input-is-identical-reuses-the-verdict)                                                                                                                                                                                                |
| `proofs.store`                                                                   | adapter: `directory`, `s3`, `gcs`, `azure`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `directory`                                                                                                                                                                                                                                            | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `proofs.store.with.path` (`directory`)                                           | path                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `.mutation-gate/ledger`                                                                                                                                                                                                                                | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `proofs.store.with.bucket` (`s3`)                                                | string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | none; required                                                                                                                                                                                                                                         | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `proofs.store.with.prefix` (`s3`)                                                | string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `mutation-gate`                                                                                                                                                                                                                                        | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `proofs.store.with.region` (`s3`)                                                | a region's name: lowercase letters and digits in parts joined by single hyphens, such as `eu-west-1`, or R2's `auto`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `us-east-1`                                                                                                                                                                                                                                            | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `proofs.store.with.endpoint` (`s3`)                                              | `https://` URL, or `http://` where `insecureEndpoint` is true                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | AWS's own                                                                                                                                                                                                                                              | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `proofs.store.with.insecureEndpoint` (`s3`)                                      | boolean: whether an `http://` endpoint is allowed, for a store on a network you trust; it sends the signed requests and the ledgers in the clear                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `false`                                                                                                                                                                                                                                                | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `proofs.store.with.publicUrl` (`s3`)                                             | `https://` URL a run without credentials reads the default branch's ledger from, at `<publicUrl>/<prefix>/refs/heads/<default branch>/ledger.json.gz`; one with a user, a query or a fragment is refused                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | none                                                                                                                                                                                                                                                   | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `proofs.store.with.bucket` (`gcs`)                                               | a Cloud Storage bucket's name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | none; required                                                                                                                                                                                                                                         | [0028](/docs/decisions/proofs-live-in-gcs-or-azure-and-survivors-reach-sonarqube)                                                                                                                                                                                              |
| `proofs.store.with.prefix` (`gcs`, `azure`)                                      | string                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `mutation-gate`                                                                                                                                                                                                                                        | [0028](/docs/decisions/proofs-live-in-gcs-or-azure-and-survivors-reach-sonarqube)                                                                                                                                                                                              |
| `proofs.store.with.publicUrl` (`gcs`)                                            | `https://storage.googleapis.com/<bucket>`, over a managed folder `<prefix>/refs/heads/<default branch>/` that `allUsers` may read                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | none                                                                                                                                                                                                                                                   | [0028](/docs/decisions/proofs-live-in-gcs-or-azure-and-survivors-reach-sonarqube)                                                                                                                                                                                              |
| `proofs.store.with.account` (`azure`)                                            | a storage account's name                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | none; required                                                                                                                                                                                                                                         | [0028](/docs/decisions/proofs-live-in-gcs-or-azure-and-survivors-reach-sonarqube)                                                                                                                                                                                              |
| `proofs.store.with.container` (`azure`)                                          | the private container every scope but the default branch's is kept in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | none; required                                                                                                                                                                                                                                         | [0028](/docs/decisions/proofs-live-in-gcs-or-azure-and-survivors-reach-sonarqube)                                                                                                                                                                                              |
| `proofs.store.with.publicContainer` (`azure`)                                    | a container at the `Blob` access level, which keeps the default branch's scope                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | none                                                                                                                                                                                                                                                   | [0028](/docs/decisions/proofs-live-in-gcs-or-azure-and-survivors-reach-sonarqube)                                                                                                                                                                                              |
| `proofs.store.with.publicUrl` (`azure`)                                          | `https://<account>.blob.core.windows.net/<publicContainer>`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | none                                                                                                                                                                                                                                                   | [0028](/docs/decisions/proofs-live-in-gcs-or-azure-and-survivors-reach-sonarqube)                                                                                                                                                                                              |
| `proofs.ignore`                                                                  | list of globs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `[]`                                                                                                                                                                                                                                                   | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `proofs.write`                                                                   | `auto` or `never`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | `auto`                                                                                                                                                                                                                                                 | [0007](/docs/decisions/a-proof-is-keyed-by-everything-its-verdict-reads)                                                                                                                                                                                                       |
| `proofs.copies`                                                                  | where the store's copy of a ledger, which `fetch` writes into `.mutation-gate/fetched`, and the copy the run keeps both hold a scope's ledger, the one the run reads: `newest`, the copy with the later record, the store's where neither is later, for most projects; `together`, the store's copy, with the reusable workflow keeping its own copy only once the store holds the same, where the cache must never get ahead of the store, as where a fork's run reads it through `publicUrl`, or another system reads it; or `merged`, both read as one, where each copy can hold proofs the other lacks, as where another pipeline also writes the store                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `newest`                                                                                                                                                                                                                                               | [0061](/docs/decisions/a-run-reads-the-copy-of-a-ledger-proofs-copies-chooses)                                                                                                                                                                                                 |
| `proofs.ownScope`                                                                | boolean: a run takes the proofs its own scope's earlier runs left, so a new push to a pull request mutates again only the units whose key moved; `false` reads none of them, and every unit the run reaches runs. The default branch and a merge group take none of a pull request's proofs either way. The plan says how many units the scope's earlier runs stand for                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `true`                                                                                                                                                                                                                                                 | [0081](/docs/decisions/a-new-push-mutates-only-what-its-earlier-runs-do-not-prove)                                                                                                                                                                                             |
| `proofs.keep.killers`                                                            | integer of at least 1, or `all`: how many mutants a ledger keeps the killers of, those that learned one most recently. `all` lets the byte limits alone cap them                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `all`                                                                                                                                                                                                                                                  | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `proofs.keep.bases`                                                              | integer, at least 1: how many of the bases its runs saw most recently keep their proofs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `5`                                                                                                                                                                                                                                                    | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `proofs.keep.proofs`                                                             | integer, at least 1: how many proofs a ledger keeps at most, the newest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `20000`                                                                                                                                                                                                                                                | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `proofs.keep.functions`                                                          | integer, at least 1: how many functions keep their killers at most, those that learned one most recently                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `5000`                                                                                                                                                                                                                                                 | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `proofs.keep.kills`, `proofs.keep.runs`                                          | How many kills the learned timeout multiple is read from, and how many runs the learned shard count is, the newest of each, as a ledger keeps them                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `2000`, `10`                                                                                                                                                                                                                                           | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `proofs.limits.ledger.packed`, `proofs.limits.ledger.unpacked`                   | integer of bytes, at least 1: the most of a ledger, compressed and decompressed, a store reads or writes. A ledger past them loses its oldest proofs where it is written, and is refused where it is read. `deliver`, which reads no config, reads and writes within the defaults                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | `11000000`, `38000000`                                                                                                                                                                                                                                 | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `proofs.limits.map.packed`, `proofs.limits.map.unpacked`                         | integer of bytes, at least 1: the most of a kept coverage map, compressed and decompressed. A map past either is not kept, which costs the next run a full measure and never a verdict                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `8100000`, `201200000`                                                                                                                                                                                                                                 | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `proofs.limits.handoff.packed`, `proofs.limits.handoff.unpacked`                 | integer of bytes, at least 1: the most of a coverage map one job hands another, compressed and decompressed. Unset, the decompressed limit is what the reading process's memory holds                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `256000000`, what memory holds                                                                                                                                                                                                                         | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `proofs.limits.read`                                                             | The longest one read of a ledger over a network may take                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `60s`                                                                                                                                                                                                                                                  | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `proofs.compression`                                                             | `auto`, `gzip` or `zstd`: how a ledger's file is compressed. `auto` writes zstd where PHP's zstd extension (0.13 or later) is loaded or the `zstd` program is on the path, and gzip where neither is; `zstd` leaves the ledger unwritten where neither is, and says why. A reader tells the two by the file's first bytes, whatever wrote it, and one with no zstd says what to install                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `auto`                                                                                                                                                                                                                                                 | [0085](/docs/decisions/the-ledger-is-compact-and-compressed-with-zstd-where-it-can-be)                                                                                                                                                                                         |
| `proofs.compressionLevel`                                                        | integer, 1 to 19: the level a ledger is packed at; gzip packs at 9 at most                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `9`                                                                                                                                                                                                                                                    | [0085](/docs/decisions/the-ledger-is-compact-and-compressed-with-zstd-where-it-can-be)                                                                                                                                                                                         |
| `coverage.incremental`                                                           | boolean: whether a run measures again only the test files whose coverage could have moved, keeping the rest from the map its own scope keeps, or else the default branch's                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `true`                                                                                                                                                                                                                                                 | [0023](/docs/decisions/the-gate-mutates-for-native-runners-and-reuses-what-it-measured)                                                                                                                                                                                        |
| `coverage.compressionLevel`                                                      | 1 to 9: the gzip level a coverage map the gate keeps beside the ledger or hands its shards is packed at. It changes only the map's bytes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `6`                                                                                                                                                                                                                                                    | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `budget`                                                                         | duration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | none                                                                                                                                                                                                                                                   | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `timeouts.mode`                                                                  | `confirm` or `unjudged`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `confirm`                                                                                                                                                                                                                                              | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `timeouts.headroom`                                                              | number from 0 to 0.9: the share of a timed-out mutant's limit its tests, run unmutated, must leave unused for the timeout to count as a kill; a mutant whose tests leave less is too slow to judge                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `0.1`                                                                                                                                                                                                                                                  | [0108](/docs/decisions/no-shortcut-stands-on-a-result-its-tests-or-its-evidence-no-longer-hold)                                                                                                                                                                                |
| `timeouts.seconds`                                                               | integer, or `"learned"`: three times the start-up each shard measures, at least 1 s, and 10 s in a shard that measures none; an integer is the least a mutant's run is allowed, and what one whose covering tests were not all timed is; each mutant otherwise gets three times the start-up its shard's run measured (5 s where it measured none) plus `timeouts.multiple` times its covering tests' own time, within the two bounds. Under `pest.patch`, `infection:patch` and with the PHPUnit, PhpSpec, Codeception and Testo runners, a mutant's run is also stopped where no test finishes for that rule of its slowest covering test's time. Infection does so under `infection:patch`; unpatched, it keeps its own limit under `timeouts.most`, with no floor, and every run warns of it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `10`; `30` in the `laravel` and `symfony` presets                                                                                                                                                                                                      | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `timeouts.most`                                                                  | integer, at least `timeouts.seconds`: the most a mutant's run is allowed; unpatched Infection skips a mutant whose covering tests take as long                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `300`                                                                                                                                                                                                                                                  | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `timeouts.multiple`                                                              | number of at least 1, or `"learned"`: how many times its covering tests' own time each mutant is allowed. Learned, it is what 99 in 100 of the last 2,000 kills the ledger holds took over their covering tests' own time, kept between 2 and 10, and 3 until a kill is learned. The plan prints what it learned                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `3`                                                                                                                                                                                                                                                    | [0073](/docs/decisions/a-limit-can-be-learned-from-what-earlier-runs-measured)                                                                                                                                                                                                 |
| `timeouts.startUp`                                                               | duration: what a mutant's limit allows a run to start in where nothing measured its start-up; where one was measured, the limit is laid on `timeouts.startUpMultiple` times it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `5s`                                                                                                                                                                                                                                                   | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `timeouts.startUpMultiple`                                                       | number, at least 1: how many times a run of no test's measured start-up a mutant's limit allows it to start in, and how many times it a learned `timeouts.seconds` is                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `3`                                                                                                                                                                                                                                                    | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `timeouts.tighter.mutators`                                                      | list of mutators by their short names, the last part of the name a runner gives a mutator, after its last `\` or `/`: `RemoveArrayItem` matches Pest's `Pest\Mutate\Mutators\Removal\RemoveArrayItem` and the default set's `default/RemoveArrayItem`. A mutant of a listed mutator has its silence limit kept above `timeouts.tighter.floor` instead of `timeouts.seconds`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `RemoveArrayItem`, `DecrementInteger`, `IncrementInteger`, `ForeachEmptyIterable`, `UnwrapArrayValues`, `InstanceOfToTrue`, `InstanceOfToFalse`, `TernaryNegated`, and Infection's `ArrayItemRemoval`, `Foreach_`, `InstanceOf_` and `Ternary`         | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `timeouts.tighter.floor`                                                         | integer, at least 1: the floor of the silence limit of a mutant of a mutator `timeouts.tighter.mutators` lists, where it is under `timeouts.seconds`; its whole-run limit keeps `timeouts.seconds`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `7`                                                                                                                                                                                                                                                    | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `timeouts.perTest`                                                               | integer, at least 1, or `false`: each test of a mutant's run, and of a timed-out mutant's unmutated control, is stopped once it has run this many times its own time, as the coverage map timed it, or `timeouts.testFloor` where that is longer; the mutant is a timeout whose reason names the test, and a control stopped so leaves its timeout too slow to judge. A test the map did not time is held only to the run's silence limit and whole limit. A split stream's child is held instead to this many times its parent's own time of the test, less the time the parent waited for a place, once the parent ended the test, and to `timeouts.most` alone until then; where the parent needs its place first, a child past the map's time leaves its place and runs on beside the others. Applies under `pest.patch` and with the PHPUnit, PhpSpec, Codeception and Testo runners. `false` holds no test to a limit of its own                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `3`                                                                                                                                                                                                                                                    | [0090](/docs/decisions/each-test-of-a-mutants-run-is-held-to-a-multiple-of-its-own-time), [0177](/docs/decisions/a-child-times-out-only-against-its-parents-own-time)                                                                                                         |
| `timeouts.testFloor`                                                             | integer, at least 1: the least seconds a test is allowed under `timeouts.perTest`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | `3`                                                                                                                                                                                                                                                    | [0090](/docs/decisions/each-test-of-a-mutants-run-is-held-to-a-multiple-of-its-own-time)                                                                                                                                                                                       |
| `timeouts.controlMost`                                                           | integer, at least `timeouts.most`: the most a kill's unmutated control is allowed. It runs the tests its mutant's run selected, the standard limit of their time, and a run that left its filter out, as too long to pass, selected every test of the files it loaded, which take far longer than the tests that failed in it. Below what the control needs, it runs out and leaves the kill unjudged                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `900`, or `timeouts.most` where that is longer                                                                                                                                                                                                         | [0014](/docs/decisions/every-test-is-judged-by-what-it-kills)                                                                                                                                                                                                                  |
| `timeouts.learned.percentile`, `timeouts.learned.least`, `timeouts.learned.most` | How `timeouts.multiple: learned` reads a ledger's kills: the share of them the multiple covers, between 0 and 1, kept between the least and the most                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `0.99`, `2`, `10`                                                                                                                                                                                                                                      | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `timeouts.heavyFill`                                                             | boolean: a round of heavy mutants' parts runs each mutant's next part and fills the rest of the pool with parts ahead. It changes when a mutant is judged and never how: what a part ahead found is read in the order of the parts. It trades runs past a part that kills for a pool with no idle slot; off, a heavy mutant runs one part at a time                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `true`                                                                                                                                                                                                                                                 | [0114](/docs/decisions/a-shard-is-cut-to-fit-its-job-and-stops-before-it)                                                                                                                                                                                                      |
| `timeouts.heavyParts`                                                            | integer, at least 1: a heavy mutant no part has settled by this many parts is left unjudged, which fails the verdict. It trades a red verdict on every such mutant, which a later part might have killed or passed, for the minutes those parts take, and its unit keeps no proof, so it runs again on every run; a higher cap judges them. Never a pass, and never a kill                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | off: every part runs                                                                                                                                                                                                                                   | [0114](/docs/decisions/a-shard-is-cut-to-fit-its-job-and-stops-before-it)                                                                                                                                                                                                      |
| `timeouts.parts`                                                                 | boolean: whether a mutant whose tests cannot fit `timeouts.most` in one run is judged in parts; off, it is unjudged                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `true`                                                                                                                                                                                                                                                 | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value)                                                                                                                                                                     |
| `timeouts.startUpAtPlan`                                                         | boolean: whether a mutant's start-up, which each mutant's limit is laid on, is measured once as the plan is made and left beside the plan for every shard whose runner runs on the same platform; off, or on another platform, each shard measures it. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `true`                                                                                                                                                                                                                                                 | [0165](/docs/decisions/a-mutant-s-start-up-is-measured-once-as-the-plan-is-made)                                                                                                                                                                                               |
| `timeouts.heavyBeside`                                                           | boolean: whether the first round of an invocation's heavy mutants' parts is queued in its controls' pool, behind the controls, so the places the controls leave idle run it; off, it starts once every control has ended. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `true`                                                                                                                                                                                                                                                 | [0201](/docs/decisions/a-heavy-mutants-first-round-runs-beside-the-controls)                                                                                                                                                                                                   |
| `flaky.killControls`                                                             | `order`: a kill's unmutated control runs its run again in its order, up to its last killer where the runner recorded the order and otherwise all it selected, so a test that fails only after the tests before it kills nothing. **`alone` loosens**: it runs the killers alone, which is quicker and gives up that proof; `doctor` advises against it, and the verdict names it as a loose value in force. Under Pest, `alone` only turns off the replay of a run that loaded every test file: a narrowed run's replay stays, since it also vouches for the files that run left out.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `order`                                                                                                                                                                                                                                                | [0143](/docs/decisions/a-kills-control-replays-its-order)                                                                                                                                                                                                                      |
| `flaky.confirmSurvivors`                                                         | boolean: run each survivor once more, alone, and report one killed then as flaky; where `splitStream.sharding: tests` cuts the test files across the shards, each shard runs its own survivors again by its part of their covering tests, or by every covering test for a mutant no stream can ever judge. A suite whose CI runs each test file alone may turn it off                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `true`                                                                                                                                                                                                                                                 | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first), [0034](/docs/decisions/a-suite-whose-test-files-pass-alone-need-not-confirm-survivors)                                                                                                              |
| `tests.order`                                                                    | `killers-first` or `runner`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `killers-first`                                                                                                                                                                                                                                        | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `tests.suites`                                                                   | list of `<testsuite>` names of the PHPUnit config, at least one: the suites whose tests judge                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | every suite                                                                                                                                                                                                                                            | [0002](/docs/decisions/one-typed-config-from-several-formats)                                                                                                                                                                                                                  |
| `tests.holding`                                                                  | list of `<testsuite>` names, none in `tests.suites`: the suites whose tests judge only the units they hold with `#[Holds]` or a `holds:` group, adding to their judges. An empty list holds none, as leaving it out does, and where `tests.suites` names the suites that judge, the verdict notes that the other suites' tests judge no mutant unless `suggest.emptyHolding` is off                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | none                                                                                                                                                                                                                                                   | [0002](/docs/decisions/one-typed-config-from-several-formats), [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated), [0116](/docs/decisions/an-empty-holding-list-is-allowed-and-noted)                                                                          |
| `survivorsFirst.max`                                                             | whole number, at least 0: how many of the last run's survivors a pull request's run re-checks before its shards, those on changed lines first; `0` re-checks none                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | `20`                                                                                                                                                                                                                                                   | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `survivorsFirst.budget`                                                          | duration, as `20m` or `1h`: the time the re-check spends at most; a file of survivors it has no time left for is not run, and the comment says how many                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `20m`                                                                                                                                                                                                                                                  | [0106](/docs/decisions/carried-survivors-are-judged-again-and-their-re-check-is-bounded-and-shared)                                                                                                                                                                            |
| `survivorsFirst.shards`                                                          | whole number, 1 to 20: how many jobs share the re-check at most, each taking its share of the files of survivors; never more than there are such files                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `4`                                                                                                                                                                                                                                                    | [0106](/docs/decisions/carried-survivors-are-judged-again-and-their-re-check-is-bounded-and-shared)                                                                                                                                                                            |
| `ignores.entries`                                                                | list of `{mutant, reason, expires}` or `{path, mutator, reason, expires}`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `[]`                                                                                                                                                                                                                                                   | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `ignores.maxDays`                                                                | integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | none                                                                                                                                                                                                                                                   | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `ignores.native`                                                                 | `refuse` or `allow`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `refuse`                                                                                                                                                                                                                                               | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `ignores.notice`                                                                 | duration in days: how far ahead an ignore's end is named, in the comment and in `doctor`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `14`                                                                                                                                                                                                                                                   | [0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)                                                                                                                                                                                                       |
| `equivalence.static`                                                             | boolean                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `true`                                                                                                                                                                                                                                                 | [0013](/docs/decisions/a-run-learns-which-tests-kill-and-how-wide-to-cut)                                                                                                                                                                                                      |
| `reports`                                                                        | list of `{use, path, with}`; built-in `json`, `junit`, `sarif`, `html`, `stryker`, `digest`, `tests`, `kill-matrix`, `gitlab`, `sonar`; `badge`, whose `path` is `--publish-dir` where it names none; and without a `path` `console`, `problems`, `slack`, `discord`, `webhook`, `otlp`, `github-annotations`, `github-summary`, `github-comment`, `gitlab-comment`, `bitbucket-comment`, `bitbucket-insights`, `azure-comment`, `azure-summary`, `buildkite-annotation`. A config names every `path` inside the project. `with` holds a built-in reporter's options: `problems` `{only: changed}`; `github-comment` `{identity: <account>}`; `badge` `{commit: <sha>}`, the commit the trend records, which is otherwise `GITHUB_SHA`, `CI_COMMIT_SHA`, `BUILDKITE_COMMIT` or `CIRCLE_SHA1`, and `{colors, logo, trendKept}`, which take `badge.colors`, `badge.logo` and `badge.trendKept` where it sets none; `html` `{files: 8, survivors: 25}`, how many of the lowest-scoring files and of the survivors the page lists; `slack`, `discord` and `webhook` `{urlEnv: <variable>}`, the variable holding the URL, and never the URL itself, and `{timeout: 10s, longestWait: 30s}`, how long one post may take and the longest `Retry-After` it waits out; `slack` and `discord` `{survivors: 5, lineLength: 120}`, how many survivors the message lists and how long each line is; `webhook` `{secretEnv: <variable>}`; `otlp` `{endpoint: <https URL>}`; `gitlab-comment` and `bitbucket-comment` `{tokenEnv: <variable>}`, the variable their token is read from, `MUTATION_GATE_GITLAB_TOKEN` and `MUTATION_GATE_BITBUCKET_TOKEN` by default, and they refuse a `token` written in the config ([reports](/docs/using/reports)) | `[]`                                                                                                                                                                                                                                                   | [0009](/docs/decisions/every-verdict-is-readable-by-a-machine-and-a-reviewer), [0024](/docs/decisions/the-gate-runs-and-comments-beyond-github-and-aggregates-an-organisation)                                                                                                |
| `suggest.enabled`                                                                | boolean: whether the gate suggests changes: what `config:suggest` proposes, which otherwise says suggestions are off; what stopping a doomed pull request's run would have saved; the files most of the suite runs through that nothing holds; and what an empty `tests.holding` means. Turn it off for one CI with that CI's `contexts` block                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `true`                                                                                                                                                                                                                                                 | [0104](/docs/decisions/suggestions-can-be-turned-off-and-each-ci-has-a-context)                                                                                                                                                                                                |
| `suggest.emptyHolding`                                                           | boolean: whether the verdict notes what `tests.holding` written as an empty list means, where `tests.suites` names the suites that judge: the other suites' tests judge no mutant, not even of the code they hold. Off with `suggest.enabled`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `true`                                                                                                                                                                                                                                                 | [0116](/docs/decisions/an-empty-holding-list-is-allowed-and-noted)                                                                                                                                                                                                             |
| `suggest.looseValues`                                                            | boolean: whether the verdict and the pull request's comment note each loose value in force; `config:show` marks them whatever it says, and `suggest.enabled: false` turns the note off too                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `true`                                                                                                                                                                                                                                                 | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value)                                                                                                                                                                     |
| `suggest.idle.judged`                                                            | integer, at least 1: how many of a mutator's mutants the ledger's tally must hold judged, killed or survived, before `config:suggest` calls it idle and proposes turning it off                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `500`                                                                                                                                                                                                                                                  | [0076](/docs/decisions/a-ledger-tallies-what-each-mutator-costs-and-finds-and-config-suggest-proposes-changes)                                                                                                                                                                 |
| `suggest.idle.survivors`                                                         | integer, at least 0: the most survivors an idle mutator's tally holds                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `0`                                                                                                                                                                                                                                                    | [0076](/docs/decisions/a-ledger-tallies-what-each-mutator-costs-and-finds-and-config-suggest-proposes-changes)                                                                                                                                                                 |
| `suggest.idle.share`                                                             | number, 0 to 100: the least percent of every mutator's runner time an idle mutator's mutants took                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | `5`                                                                                                                                                                                                                                                    | [0076](/docs/decisions/a-ledger-tallies-what-each-mutator-costs-and-finds-and-config-suggest-proposes-changes)                                                                                                                                                                 |
| `suggest.ignored.share`                                                          | number, 0 to 100: the least percent of a mutator's mutants an ignore, a runner's marker or proof of equivalence left out before `config:suggest` calls it noisy and proposes turning it off                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `80`                                                                                                                                                                                                                                                   | [0076](/docs/decisions/a-ledger-tallies-what-each-mutator-costs-and-finds-and-config-suggest-proposes-changes)                                                                                                                                                                 |
| `suggest.ignored.mutants`                                                        | integer, at least 1: how many mutants a mutator's tally must hold before it can be noisy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `50`                                                                                                                                                                                                                                                   | [0076](/docs/decisions/a-ledger-tallies-what-each-mutator-costs-and-finds-and-config-suggest-proposes-changes)                                                                                                                                                                 |
| `suggest.timeouts.cluster`                                                       | integer, at least 1: how many mutants of one directory, in the newest proof of each unit, must have run out of time before `config:suggest` proposes a `paths` entry that doubles its files' `timeouts.seconds`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `3`                                                                                                                                                                                                                                                    | [0076](/docs/decisions/a-ledger-tallies-what-each-mutator-costs-and-finds-and-config-suggest-proposes-changes)                                                                                                                                                                 |
| `heatmap.files`                                                                  | integer, at least 0: how many of the lowest-scoring files `summary.json` lists, which an organisation's dashboard shows under each repository                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `10`                                                                                                                                                                                                                                                   | [0100](/docs/decisions/a-heatmap-scores-every-file-and-function-against-the-base)                                                                                                                                                                                              |
| `heatmap.methods`                                                                | boolean: whether the heatmap scores each function and method of a file, and each proof names the functions that hold its mutants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `true`                                                                                                                                                                                                                                                 | [0100](/docs/decisions/a-heatmap-scores-every-file-and-function-against-the-base)                                                                                                                                                                                              |
| `digest.tests`                                                                   | integer, at least 0: how many of a mutant's covering tests `digest --detail=<id>` names, which `--tests=<n>` overrides                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `5`                                                                                                                                                                                                                                                    | [0009](/docs/decisions/every-verdict-is-readable-by-a-machine-and-a-reviewer)                                                                                                                                                                                                  |
| `outputs.verdictOnly`                                                            | boolean: a run writes the verdict alone, not the reports where it is, under `outputs.automatic`, nor those the action asks for, under `outputs.actionReports`. Those `reports` lists are written still                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `false`                                                                                                                                                                                                                                                | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `outputs.automatic`                                                              | list of `github-annotations`, `github-summary`, `github-comment` and `badge`: the reporters a run writes because of where it is. A run writes the re-check of survivors only where the comment or the summary reads it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | all four                                                                                                                                                                                                                                               | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `outputs.actionReports`                                                          | list of `json`, `html` and `digest`: the reports the action and the reusable workflow ask of the verdict                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | all three                                                                                                                                                                                                                                              | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `outputs.costs`                                                                  | boolean: the reports say what the run cost and saved                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `true`                                                                                                                                                                                                                                                 | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `outputs.costReport`                                                             | boolean: the step summary and the JSON report say where a costed run's minutes went: each route's mutants, wall time and core-seconds per mutant beside the fork floor, the costliest mutants and tests, and the run's multiple of one run of the test suite                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `true`                                                                                                                                                                                                                                                 | [0230](/docs/decisions/every-run-says-where-its-minutes-went)                                                                                                                                                                                                                  |
| `outputs.costliest`                                                              | whole number, 1 or more: how many of its costliest mutants and tests the cost report names                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `10`                                                                                                                                                                                                                                                   | [0230](/docs/decisions/every-run-says-where-its-minutes-went)                                                                                                                                                                                                                  |
| `comment.sections`                                                               | list of `verdict`, `security`, `trees`, `sets`, `heatmap`, `survivors`, `unjudged`, `ignored`, `problems`, `notes`, `floors`, `report` and `costs`, each once, `verdict` first: the sections every `*-comment` reporter's comment shows, in this order; a run that cannot judge says why whatever it lists. A reporter's `with.comment` sets any `comment` key for its comment alone                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | every section, in that order                                                                                                                                                                                                                           | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.open`                                                                   | list of sections: those shown open; every other section is folded, except on Bitbucket, which cannot fold                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `[verdict, trees, heatmap]`                                                                                                                                                                                                                            | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.states`                                                                 | list of `planned`, `rechecked` and `verdict`: the states of a run the comment is written in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `[planned, rechecked, verdict]`                                                                                                                                                                                                                        | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.on`                                                                     | list of `pull-request`, which takes a GitLab merge request too, and `default-branch`: the kinds of run that comment; `buildkite-annotation`, whose non-pull-request builds count as `default-branch`, takes both by default                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `[pull-request]`                                                                                                                                                                                                                                       | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.mode`                                                                   | `sticky`, one comment updated in place; `new`, a new comment each run; or `new-hiding-old`, a new one that hides the one before, on GitHub                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `sticky`                                                                                                                                                                                                                                               | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.passing`                                                                | `update`, a passing run updates a comment already there and writes no new one; `always`; or `never`, which writes none and says why                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `update`                                                                                                                                                                                                                                               | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.try`                                                                    | boolean: whether each survivor says what test would kill it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `true`                                                                                                                                                                                                                                                 | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.reproduce`                                                              | boolean: whether each survivor says how to reproduce it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `true`                                                                                                                                                                                                                                                 | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.drafts`                                                                 | boolean: whether a draft pull request's run comments                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `true`                                                                                                                                                                                                                                                 | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.sampled`                                                                | boolean: whether a sampled run comments                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `true`                                                                                                                                                                                                                                                 | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.cutShort`                                                               | boolean: whether a run its budget cut short comments                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `true`                                                                                                                                                                                                                                                 | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.survivors.most`                                                         | integer, at least 0: the most survivors the comment lists; `0` leaves the section out                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `20`                                                                                                                                                                                                                                                   | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.survivors.lines`                                                        | `changed`, the survivors on lines the change touched, or `all`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `changed`                                                                                                                                                                                                                                              | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.survivors.detail`                                                       | `full`, each survivor folded with its diff, hint, what to try and how to reproduce it, or `row`, one table row each                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `full`                                                                                                                                                                                                                                                 | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.security.most`                                                          | integer, at least 0: the most security survivors the comment lists                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `20`                                                                                                                                                                                                                                                   | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.unjudged.most`                                                          | integer, at least 0: the most unjudged and flaky mutants the comment lists                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `20`                                                                                                                                                                                                                                                   | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.ignored.most`                                                           | integer, at least 0: the most ignored mutants the comment lists                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `20`                                                                                                                                                                                                                                                   | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.heatmap.most`                                                           | integer, at least 0: the most files the change reaches that fell since the base the comment lists, with any below its tree's floor                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `5`                                                                                                                                                                                                                                                    | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `comment.text.most`                                                              | integer, at least 0: the most characters of one diff or hint the comment shows; the whole comment is fitted to what the channel holds                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `1500`                                                                                                                                                                                                                                                 | [0102](/docs/decisions/one-comment-section-shapes-every-pull-request-comment)                                                                                                                                                                                                  |
| `badge.colors`                                                                   | map of shields.io colour to lowest score                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `{"brightgreen": 90, "green": 80, "yellow": 70, "orange": 60}`, red below                                                                                                                                                                              | [0009](/docs/decisions/every-verdict-is-readable-by-a-machine-and-a-reviewer)                                                                                                                                                                                                  |
| `badge.logo`                                                                     | `true`, the gate's helix; `false`, none; or the path of an SVG file, which shields.io shows at 14 pixels high: the logo beside each badge's label, as `logoSvg`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `true`                                                                                                                                                                                                                                                 | [0009](/docs/decisions/every-verdict-is-readable-by-a-machine-and-a-reviewer)                                                                                                                                                                                                  |
| `badge.trendKept`                                                                | integer, at least 1: how many of the newest entries `trend.json` keeps, which the sparkline draws and the savings are counted from                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `500`                                                                                                                                                                                                                                                  | [0009](/docs/decisions/every-verdict-is-readable-by-a-machine-and-a-reviewer)                                                                                                                                                                                                  |
| `dashboard.topic`                                                                | string: the GitHub topic of the repositories `mutation-gate dashboard` shows, where `dashboard.repositories` names none                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `"mutation-gate"`                                                                                                                                                                                                                                      | [0024](/docs/decisions/the-gate-runs-and-comments-beyond-github-and-aggregates-an-organisation)                                                                                                                                                                                |
| `dashboard.repositories`                                                         | list of the names of the organisation's repositories that `mutation-gate dashboard` shows, in place of a topic                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | none                                                                                                                                                                                                                                                   | [0024](/docs/decisions/the-gate-runs-and-comments-beyond-github-and-aggregates-an-organisation)                                                                                                                                                                                |
| `pest.patch`                                                                     | boolean                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `false`                                                                                                                                                                                                                                                | [0004](/docs/decisions/pest-and-infection-behind-one-runner-port)                                                                                                                                                                                                              |
| `pest.canary`                                                                    | group name, with no whitespace                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `mutation-canary`                                                                                                                                                                                                                                      | [0004](/docs/decisions/pest-and-infection-behind-one-runner-port)                                                                                                                                                                                                              |
| `pest.bootTail`                                                                  | boolean: under `pest.patch` and `runner.workers: fork`, the verification tail's warm workers boot the project, every test file of the suites a run names loaded, before they fork its controls, confirmation and other runs of every test file; runs of some test files, and every mutant's own run, keep the unbooted worker. A run of a file the boot loaded, a project whose PHPUnit config caches its test index, and a boot that leaves a socket open run fresh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `false`                                                                                                                                                                                                                                                | [0075](/docs/decisions/the-verification-tail-may-fork-from-a-booted-pest-worker)                                                                                                                                                                                               |
| `pest.workerOpcache`                                                             | boolean: under `pest.patch` and `runner.workers: fork`, Pest's warm workers compile through opcache, which every run they fork shares, with each file the run mutates, pest-plugin-mutate's copies and the gate's own directory kept out of it by `opcache.blacklist_filename`, so no mutant or original a mutant is served in place of is ever cached; `false` runs them with opcache off, every run compiling Pest, PHPUnit and the project afresh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `true`                                                                                                                                                                                                                                                 | [0088](/docs/decisions/pest-workers-compile-through-opcache-keeping-mutated-files-out)                                                                                                                                                                                         |
| `pest.schemata`                                                                  | boolean: under `pest.patch`, each file's mutants are compiled into one schema, every mutant a switch on the line its original stands on, and a mutant's own run is served the schema in its file's place, its switch in force, rather than a mutated copy of its own. A mutant whose change cannot be switched where it stands, in a constant expression, a default, an attribute, a signature, a string's interpolation, a place written to, a call's result passed as an argument, a declaration or a change printed on more than one line, keeps its own copy. Pest's mutant cache is not read while it is on, so each mutant's node is at hand                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `true`                                                                                                                                                                                                                                                 | [0091](/docs/decisions/a-files-mutants-are-compiled-into-one-schema)                                                                                                                                                                                                           |
| `pest.bootMutants`                                                               | boolean: under `pest.patch`, where `runner.workers` forks mutants' own runs, each warm worker of them boots the project once before it forks: Composer's autoloader, Pest's kernel, the PHPUnit config's PHP settings and bootstraps, with each file's schema served in its place, and no test file loaded. Each child boots Pest's plugins and loads its own test files. A mutant of a file the worker loaded, other than through a schema that switches it, runs fresh, as does every run of a worker whose boot left a socket open; a project with no PHPUnit config has each run forked unbooted. Off, each child boots the project as a fresh run does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `true`                                                                                                                                                                                                                                                 | [0091](/docs/decisions/a-files-mutants-are-compiled-into-one-schema)                                                                                                                                                                                                           |
| `pest.bootChunks`                                                                | boolean: under `pest.patch` and `runner.workers: fork`, whether a shard's chunks keep the warm workers of their mutants' own runs for the next chunk, each living as long as the gate's process. A worker is kept only where `pest.bootMutants` and `pest.workerOpcache` are off, so it boots nothing of the project and caches nothing, and every chunk forks from the state a fresh worker starts in. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `false`                                                                                                                                                                                                                                                | [0023](/docs/decisions/the-gate-mutates-for-native-runners-and-reuses-what-it-measured)                                                                                                                                                                                        |
| `pest.trials`                                                                    | boolean (**`false` loosens under `uncovered: exclude`**): whether a mutant left uncovered on a line that is not executable is tried; off, it stays uncovered, which is stricter under `uncovered: count`. It acts on no mutant a split stream judged                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `true`                                                                                                                                                                                                                                                 | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value)                                                                                                                                                                     |
| `pest.valueReaders`                                                              | boolean: whether a declared value's lines are covered by the tests that read it (ADR-0037); off, its mutants are tried instead                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `true`                                                                                                                                                                                                                                                 | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value)                                                                                                                                                                     |
| `pest.narrow`                                                                    | boolean: whether a patched mutant's own run loads only the test files its covering tests need; off, every run loads every test file, and no narrowed kill needs vouching for                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `true`                                                                                                                                                                                                                                                 | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value)                                                                                                                                                                     |
| `pest.narrowedKills`                                                             | `vouch` or **`trust`**: what a kill in a narrowed run needs before it counts. `vouch` takes its replay, its alone run or its run again with every test file; `trust` counts it as the narrowed run found it. It acts on no mutant a split stream judged                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `vouch`                                                                                                                                                                                                                                                | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value)                                                                                                                                                                     |
| `pest.longFilter`                                                                | `files`, `set` or `until-killer`: what a mutant's own run and its control select where its covering tests' filter cannot be passed on a command line. `files` runs every test of the files it loaded, and its control runs them again; `set` names exactly the covering tests in a file the patched plugin reads, and controls a kill by its killers; `until-killer` runs as `files`, its control stopping after its last killer in the run's own order. A PHPUnit that reads no test id file runs as under `files`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `set`                                                                                                                                                                                                                                                  | [0138](/docs/decisions/a-covering-set-too-long-for-a-filter-is-selected-exactly), [0168](/docs/decisions/a-covering-set-too-long-for-a-filter-is-selected-exactly-by-default)                                                                                                 |
| `pest.preloaded`                                                                 | `fresh` or `unjudged`: what becomes of a mutant whose own Pest run had loaded its file before the mutant was in place, so its tests ran the original code. `fresh` judges it again in a fresh `pest` process over its covering tests, the mutant served before Composer's autoloader loads anything, its verdict read from Pest's JUnit log and exit status; a run that fails before any test counts only where the same run serving the file unmutated passes, and a kill by a test named is controlled by the tests the log says ran up to its killer, in that order. `unjudged` leaves it unjudged                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `fresh`                                                                                                                                                                                                                                                | [0148](/docs/decisions/a-mutant-of-a-file-pest-loads-first-is-judged-in-a-fresh-run), [0192](/docs/decisions/a-fresh-runs-kill-is-controlled-by-its-own-order)                                                                                                                |
| `pest.freshOrder`                                                                | boolean: whether a fresh run (see `pest.preloaded`) asks Pest for its covering tests in the order a mutant's own run takes under `tests.order: killers-first`: the likely killers first, the rest fastest first. For a test that does not depend on the tests before it, only the test named for a kill can differ; an order-dependent test can move a status either way, as it can in a mutant's own run. Off, or under `tests.order: runner`, a fresh run keeps Pest's own order                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `true`                                                                                                                                                                                                                                                 | [0202](/docs/decisions/a-fresh-run-asks-for-its-likely-killers-first)                                                                                                                                                                                                          |
| `pest.freshRace`                                                                 | boolean: whether fresh runs that leave places of the pool idle are raced: their covering tests are dealt, fastest first, to parts that run beside them on those places, each under its fresh run's own limit. A mutant is settled when its fresh run ends, or when a part kills it by a named test before that and the same part with the file unmutated then passes; where that fails, the fresh run runs again in full. A part's kill settles the mutant whatever the fresh run would have ended in, so a raced mutant can be judged killed where the fresh run alone would time out, run out of memory, end unjudged or let it survive, and never the other way round. Off, each fresh run runs alone                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `true`                                                                                                                                                                                                                                                 | [0203](/docs/decisions/a-fresh-run-is-raced-on-idle-places)                                                                                                                                                                                                                    |
| `pest.childProcesses`                                                            | `serve` or `off`: whether a mutant is served to the PHP processes its tests start. `serve` has every PHP process a mutant's own run or a stream's child starts run the mutant in its file's place, through an ini file the run's command scans, so a test that runs code in a process of its own can kill its mutants; `off` leaves those processes running the file on disk. It takes effect under `pest.patch`. A child that sets its own `auto_prepend_file` or starts PHP with an empty environment runs the file on disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `serve`                                                                                                                                                                                                                                                | [0150](/docs/decisions/a-mutant-reaches-the-php-processes-its-tests-start)                                                                                                                                                                                                     |
| `pest.shardScan`                                                                 | boolean: whether a patched shard scans the codebase for the tests that read a value once, each later chunk reading only the files it mutates that the scan did not. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `true`                                                                                                                                                                                                                                                 | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `pest.readyAtPlan`                                                               | boolean: whether the map a patched shard opens on, its value readers' and match arms' lines covered, is readied once as the plan is made, for every shard's files, and left beside the whole map; off, each shard readies its own. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `true`                                                                                                                                                                                                                                                 | [0163](/docs/decisions/the-map-a-shard-opens-on-is-readied-once-as-the-plan-is-made)                                                                                                                                                                                           |
| `pest.makeSideBySide`                                                            | boolean: whether a patched run makes every file's mutants side by side before it takes any, the files cut by size into a share for each core, each share made by a forked child; off, or where the run cannot fork, one file's after another's. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `true`                                                                                                                                                                                                                                                 | [0166](/docs/decisions/a-run-makes-its-mutants-side-by-side)                                                                                                                                                                                                                   |
| `pest.longestFirst`                                                              | boolean: whether the commands a run starts side by side, its controls, replays and trials, start the longest-limited first, so the slowest is not the last to start. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `true`                                                                                                                                                                                                                                                 | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `pest.remember`                                                                  | boolean: whether a shard keeps what it read, listed, scanned and ran unmutated once for every later run of it. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `true`                                                                                                                                                                                                                                                 | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `pest.overlapSteps`                                                              | boolean: whether an invocation's unmutated controls start beside its survivors' runs again, each in a share of the pool's places proportional to its runs, so neither waits for the other's slowest run. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `true`                                                                                                                                                                                                                                                 | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `pest.switchGuard`                                                               | boolean: whether each switch of a schema stands behind a guard a split stream keeps: a site whose mutant is not in the stream's plan, or is killed already, runs its original without a call or a closure. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `true`                                                                                                                                                                                                                                                 | [0204](/docs/decisions/a-decided-site-makes-no-call)                                                                                                                                                                                                                           |
| `pest.pcovOff`                                                                   | boolean: whether every process a mutation run starts, its streams, their children, its own runs, its warm workers and its controls, starts with pcov off, by an ini file that sets `pcov.enabled=0` in a directory added to `PHP_INI_SCAN_DIR`, unless its streams record lines with pcov or PHP prepends a file to every script (`auto_prepend_file`), which may read the driver in every process. Pest's own mutation process keeps pcov on, as it refuses to mutate without a coverage driver. A process that runs a test that reads the coverage driver, one that executes or is declared in a file that starts, stops or reads pcov or Xdebug's coverage, picks a driver through php-code-coverage, or asks whether pcov or Xdebug is on, or one whose own test file starts a run that collects coverage, keeps pcov as PHP is configured; so does every process the gate starts from a mutation run's processes, such as a coverage run a test starts. It changes no verdict                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `true`                                                                                                                                                                                                                                                 | [0147](/docs/decisions/a-stream-records-its-own-lines-and-holds-a-child-to-its-parent-s-steps), [0183](/docs/decisions/pcov-is-off-wherever-no-test-reads-it)                                                                                                                 |
| `pest.pcovKept`                                                                  | list of globs, spelt from the project's root: test files and source files whose tests keep pcov as PHP is configured where `pest.pcovOff` turns it off, beside the tests the gate finds reading the coverage driver. A test declared in a file a glob names, or that executes one, runs in the readers' streams, its own runs and its mutants' controls with pcov kept. Every layer's globs count together. A list set enters the proof key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `[]`                                                                                                                                                                                                                                                   | [0185](/docs/decisions/a-project-names-the-tests-that-keep-pcov)                                                                                                                                                                                                               |
| `pest.xdebugOff`                                                                 | boolean: whether a mutation run and every process it starts get `XDEBUG_MODE=off`. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `true`                                                                                                                                                                                                                                                 | [0147](/docs/decisions/a-stream-records-its-own-lines-and-holds-a-child-to-its-parent-s-steps)                                                                                                                                                                                 |
| `splitStream.enabled`                                                            | boolean: under `pest.patch` and `pest.schemata`, a shard judges each mutant its file's schema switches in split streams: Pest runs of whole test files, every schema served, each forking at a mutant's site the first time a test reaches it, the child finishing that test with the mutant on and the parent going on without it. A test the child fails, errors or ends in, and the parent passes, kills the mutant; a streamed verdict runs no control. A test holding a regular file open for writing (a temporary file or a file-backed SQLite database among them), a pipe open for writing or a socket the stream did not hold as it started, or running in a separate process, forks nothing, since a child shares each descriptor and its offset with the parent, and a mutant it covers that no stream killed runs its own run. Without `pcntl` and `posix`, every mutant runs its own run                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `false`                                                                                                                                                                                                                                                | [0117](/docs/decisions/a-kill-judged-against-its-own-unmutated-stream-needs-no-control)                                                                                                                                                                                        |
| `splitStream.children`                                                           | integer, at least 1, or `cores`: the most children a stream holds at once. `cores` shares the machine's logical cores among the streams of a run still running, at least one a stream, so a stream left running alone forks on every core                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `cores`                                                                                                                                                                                                                                                | [0117](/docs/decisions/a-kill-judged-against-its-own-unmutated-stream-needs-no-control), [0173](/docs/decisions/a-stream-forks-on-its-share-of-the-cores)                                                                                                                     |
| `splitStream.changeCheck`                                                        | boolean: a stream forks a mutant whose original and replacement are expressions of literals, constants, variables and operators only where it changes the value, and a mutant no test changed survives without a fork                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `true`                                                                                                                                                                                                                                                 | [0117](/docs/decisions/a-kill-judged-against-its-own-unmutated-stream-needs-no-control)                                                                                                                                                                                        |
| `splitStream.killersFirst`                                                       | boolean: a stream forks each mutant first at the test the ledger last saw kill it, and only what that test did not kill at every covering test, in a second pass                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `true`                                                                                                                                                                                                                                                 | [0117](/docs/decisions/a-kill-judged-against-its-own-unmutated-stream-needs-no-control)                                                                                                                                                                                        |
| `splitStream.killerStreams`                                                      | boolean: under `splitStream.killersFirst`, a first-pass stream runs, in the suite's order, only the tests the ledger names as a killer of its mutants, selected by their ids where PHPUnit is 13.2.0 or later; every mutant it did not kill streams its covering tests in the second pass. It does nothing for a mutant that runs its own run, nor where no mutant of the part has a killer in the ledger                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `false`                                                                                                                                                                                                                                                | [0136](/docs/decisions/a-first-pass-stream-may-run-only-the-tests-that-killed-before)                                                                                                                                                                                          |
| `splitStream.bootOnce`                                                           | **`true`** or `false`: a first-pass stream that records no lines boots a Laravel 11+ application once, through `APP_BASE_PATH`, and runs each test in a process forked from it, which forks its mutants' children; a mutant whose site runs during the boot streams in the second pass with a boot in every test, and a test the stream cannot fork in boots its own                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `false`                                                                                                                                                                                                                                                | [0145](/docs/decisions/a-stream-may-fork-each-test-from-an-application-booted-once)                                                                                                                                                                                            |
| `splitStream.reconnect`                                                          | `true` or `false`: a test that holds sockets or a file-backed SQLite database the stream did not hold as it started forks where each is a Laravel connection of its own, none in a transaction, none set to read and write apart, and none whose session holds a temporary table, a variable, a lock, a listened channel, a prepared statement or a held cursor, or settings a fresh connection lacks, as each dialect reads them. At each fork the parent checks that, closes each connection, which reconnects as it is next used, copies each MySQL or MariaDB database (one with a view, trigger, routine or event falls back), PostgreSQL database (as a template) or SQLite file, and the child reconnects to its copies before its mutant runs; the parent drops each copy once the child ended. A test any of that fails for falls back                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `true`                                                                                                                                                                                                                                                 | [0147](/docs/decisions/a-stream-records-its-own-lines-and-holds-a-child-to-its-parent-s-steps)                                                                                                                                                                                 |
| `splitStream.early`                                                              | `no-match`, `always`, `unproven-only` or `never`: which full split-stream runs, sharded by tests and handed no map, plan without a fresh one. `no-match` starts one under `unproven`, or where no proof of the ledgers it reads may share its first five key items; `always` every one, taking no proof; `unproven-only` only under `unproven`; `never` none. Such a run reads the map kept beside the default branch's ledger for its tests' times alone, takes no proof, streams every test file of each part, records the lines each test executes with pcov, judges each mutant by the tests that executed it, and its verdict keys by the map its streams recorded. It is in no key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `no-match`                                                                                                                                                                                                                                             | [0135](/docs/decisions/a-full-split-stream-run-starts-without-waiting-for-a-fresh-map)                                                                                                                                                                                         |
| `splitStream.sharding`                                                           | `tests`: a run of n shards cuts the test files into n parts of about the same time by the coverage map's times, every shard of a package taking every unit of it and streaming its own part, and each held unit whole, judged by every test that holds it, in one shard alone; `tests-every-part`: the same, each held unit in every shard, judged by that shard's part of its holding tests; the verdict merges each mutant across the parts: a kill in any part wins, then a timeout; a mutant survives only where every part that reached it let it survive; a mutant no stream can ever judge runs one own run, by every covering test, in the one shard whose part holds its first covering test; a mutant a stream falls back on in a part runs an own run in that part's shard by that part's covering tests alone, each part that falls back running its own; `source`: each shard takes its own part of the source and streams the test files that cover it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `tests`                                                                                                                                                                                                                                                | [0117](/docs/decisions/a-kill-judged-against-its-own-unmutated-stream-needs-no-control), [0162](/docs/decisions/a-held-unit-is-judged-whole-in-one-shard)                                                                                                                     |
| `splitStream.judging`                                                            | where a run that `splitStream.sharding` cuts into test parts judges each mutant: `whole`: in the one part that owns it, by every test that covers it, its streams forking it first at the covering tests of that part and then at the rest; the owner is the part of the ledger's likely killer among its covering tests, or of its first covering test where the ledger names none, and every other part leaves it not reached; `parted`: in every part that holds a test that covers it, by that part's tests, the verdict merging the parts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `whole`                                                                                                                                                                                                                                                | [0174](/docs/decisions/a-mutant-is-judged-whole-in-the-one-part-that-owns-it)                                                                                                                                                                                                  |
| `splitStream.fallbackOwnRun`                                                     | boolean: under `splitStream.killersFirst`, a mutant the first pass left undecided whose likely killer it could not fork it in, as the test forked nothing or held a descriptor at the mutant's site, skips the second pass and runs its own run, which runs that killer first under `tests.order` `killers-first`; off, it streams in the second pass first, and runs its own run where no stream decides it. It changes no status, only which test may name a kill                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `true`                                                                                                                                                                                                                                                 | [0179](/docs/decisions/a-mutant-whose-killer-the-first-pass-fell-back-on-runs-its-own-run)                                                                                                                                                                                     |
| `splitStream.coveringTestsOnly`                                                  | boolean: each stream of a pass of covering tests runs only the covering tests of its part, named by their ids in a file, beside their files; off, it runs every test of those files. A stream whose tests' ids cannot be named so runs its whole files. The killers-only pass selects its killers by their ids either way; a run planned without a fresh map, and a quick round whose streams record their tests' lines for the kept map, stream every test of their files                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `true`                                                                                                                                                                                                                                                 | [0181](/docs/decisions/a-stream-runs-only-the-tests-that-cover-its-mutants)                                                                                                                                                                                                    |
| `splitStream.parentDeadline`                                                     | boolean: a stream's parent keeps the deadline of the test it runs: the limit a child of that test is held to, of the map's time times how much slower than the map the stream ran its tests so far (`timeouts.perTest` times that, at least `timeouts.testFloor`), or `timeouts.most` where the map timed none, moved on by each wait for a child's place; a stream whose parent passes it is stopped with every process under it, and a stream of the tests it had not ended, but that one, starts in its place where its tests are named by their ids. The mutants of the stopped test that no other test killed run their own runs. Off, Pest's own process waits for every stream however long its tests take. Moves no verdict, and is in no key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `true`                                                                                                                                                                                                                                                 | [0182](/docs/decisions/no-test-holds-a-stream)                                                                                                                                                                                                                                 |
| `splitStream.deadlineBackoff`                                                    | number of at least 1: the times its slowdown a stream started in the place of one its parent's deadline stopped starts at, over the slowdown the stopped one reached (kept in its mark); no later test brings a stream's slowdown under the one it started at, and no deadline gives a test more than `timeouts.most`, so a chain of restarts reaches `timeouts.most` within a few. `1` carries the stopped stream's slowdown on unchanged. Moves no verdict, and is in no key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `2`                                                                                                                                                                                                                                                    | [0184](/docs/decisions/a-restarted-stream-starts-slower)                                                                                                                                                                                                                       |
| `splitStream.slowdownCarry`                                                      | `shard`, `run` or `none`: where the highest slowdown a pass's streams measured themselves at carries on to, as the slowdown the next pass's streams start at. `shard` carries it to the run's next pass and, kept beside the run's results, to the first pass of the shard's next run; `run` to the next pass of the same run alone; `none` starts every pass as fast as the map. Moves no verdict, and is in no key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `shard`                                                                                                                                                                                                                                                | [0184](/docs/decisions/a-restarted-stream-starts-slower)                                                                                                                                                                                                                       |
| `splitStream.firstFork`                                                          | `cheapest` or `every`: where a first-pass stream forks a mutant the ledger names no likely killer of, under `splitStream.killersFirst`. `cheapest` forks it at the one covering test of the shard's part the coverage map timed fastest (a test the map did not time after every timed one), and the second pass at every other covering test where no child killed it there; `every` forks it at every covering test of the part. A mutant's status is the same either way; the test named as its killer may differ. In no key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `cheapest`                                                                                                                                                                                                                                             | [0187](/docs/decisions/a-mutant-with-no-known-killer-forks-first-at-its-cheapest-test)                                                                                                                                                                                         |
| `splitStream.partsPerProcess`                                                    | integer, at least 1: how many parts a pass of split streams cuts its covering test files into for each stream it runs at once. The parts are cut by cost, a test's coverage-map time once for its parent and once more for each mutant the pass forks at it, and started costliest first, the next as one ends, so no process sits idle while parts remain. `1` cuts one part a stream, all started at once. Moves no verdict, and is in no key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `4`                                                                                                                                                                                                                                                    | [0188](/docs/decisions/a-pass-queues-its-parts-costliest-first)                                                                                                                                                                                                                |
| `splitStream.reachableOnly`                                                      | boolean: in a run that `splitStream.sharding` cuts into test parts, each part makes only the mutants that span a line its tests cover or a line no test covers in a file whose such lines fall to it, each file's falling to one part, spread by how many it has, the rest being mutants it would leave to the parts that own them; it lists each file it made on some lines alone in its result, and the verdict refuses a unit unless each part holds exactly the mutants that span a line it made and the parts made every line together. Off, each part makes every mutant. A run that records each test's lines in place of the map makes every mutant either way                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `true`                                                                                                                                                                                                                                                 | [0193](/docs/decisions/a-part-makes-the-mutants-its-tests-can-reach)                                                                                                                                                                                                           |
| `splitStream.earlyVerdicts`                                                      | boolean: a mutant the first pass of split streams settled, one the second pass streams no site of and runs no test file of any covering test of, is given its result before the second pass starts, so a run its deadline stops in the second pass keeps it, and only what is still unjudged goes to the second wave. Off, every mutant is given its result once the last pass ended. Either way each mutant gets the same verdict                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `true`                                                                                                                                                                                                                                                 | [0194](/docs/decisions/a-first-pass-gives-what-it-settled)                                                                                                                                                                                                                     |
| `controls.kills`                                                                 | boolean (**`false` loosens**): whether every kill runs its control on the unmutated code, a kill a test is named for by its killers and one no test is named for by its covering tests. Off, a kill whose killers fail on the unmutated code too counts. It acts on no mutant a split stream judged                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `true`                                                                                                                                                                                                                                                 | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value)                                                                                                                                                                     |
| `controls.memory`                                                                | boolean: whether an out-of-memory mutant's tests run unmutated under the same cap before it counts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `true`                                                                                                                                                                                                                                                 | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value)                                                                                                                                                                     |
| `mutants.duplicates`                                                             | `judge-once` or `judge-each`: whether mutants that are one program are judged once. Under `judge-once` the first of mutants of one file that leave it alike, or that a rule the gate ships makes one program (a removed negation and the same condition negated again), is judged, and every other takes its judgement in no time; each keeps its id and place, and counts in the score. Infection runs every mutant whatever it says                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `judge-once`                                                                                                                                                                                                                                           | [0137](/docs/decisions/a-mutant-that-is-the-same-program-as-another-is-judged-once)                                                                                                                                                                                            |
| `staticCheck.tool`                                                               | adapter: `mago`, `phpstan`, `psalm`; or `auto`, the first installed and configured, or `none`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `auto`                                                                                                                                                                                                                                                 | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `staticCheck.config`                                                             | path                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | the analyser's own                                                                                                                                                                                                                                     | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `staticCheck.seconds`                                                            | integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `60`                                                                                                                                                                                                                                                   | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `staticCheck.before`                                                             | boolean: also check a mutant before its tests where its mutator's rejection rate times its tests' time outweighs one check                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `true`; `false` under `splitStream.enabled`                                                                                                                                                                                                            | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled), [0077](/docs/decisions/a-mutant-is-checked-before-its-tests-by-default), [0117](/docs/decisions/a-kill-judged-against-its-own-unmutated-stream-needs-no-control) |
| `staticCheck.testsTime`                                                          | `learned`: weigh a check before a mutant's tests against its covering tests' own time × the median pace the ledger's kills took, or their own time while it holds no kill; `covering`: against every covering test's own time                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `learned`                                                                                                                                                                                                                                              | [0107](/docs/decisions/a-pre-check-is-weighed-against-what-a-kill-is-learned-to-cost)                                                                                                                                                                                          |
| `staticCheck.dependents`                                                         | How many dependents of a changed file an analyser reads at most, the first in path order                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `25`                                                                                                                                                                                                                                                   | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `staticCheck.preCheckAfter`                                                      | How many checks of a mutator come before its rejection rate decides whether it is checked before its tests                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `50`                                                                                                                                                                                                                                                   | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `staticCheck.after`                                                              | boolean: whether a survivor the analyser rejects after its tests counts as killed by static analysis                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `true`                                                                                                                                                                                                                                                 | [0142](/docs/decisions/a-check-that-vouches-for-a-kill-can-be-turned-off-and-a-run-notes-each-loose-value)                                                                                                                                                                     |
| `staticCheck.php`                                                                | object of ini settings each PHPStan process runs under, so PHPStan does not restart it. Where `opcache.file_cache_only` is `1` and no `opcache.file_cache` is named, the cache is kept under the gate's workspace; where `xdebug.mode` is named, PHPStan's `XDEBUG_MODE` is set to it too, since the variable overrides the setting. It changes no finding; `doctor` reports a PHPStan that still restarts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `{"pcov.enabled": "0", "xdebug.mode": "off", "opcache.enable_cli": "1", "opcache.file_cache_only": "1", "opcache.validate_timestamps": "0"}`                                                                                                           | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `staticCheck.turbo`                                                              | boolean: whether PHPStan's processes load its turbo extension, where PHPStan ships a build of it for this PHP and machine and it is not loaded already. It changes no finding                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `true`                                                                                                                                                                                                                                                 | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `staticCheck.warmAtPlan`                                                         | boolean: whether the analyser warms up once over the originals as the plan is made, where its shards check mutants with it, and every shard's warm-up starts from the cache it leaves beside the plan, taking the plan's time for a check's; off, each shard warms up from nothing. It changes no output                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `true`                                                                                                                                                                                                                                                 | [0164](/docs/decisions/the-analyser-warms-up-once-as-the-plan-is-made)                                                                                                                                                                                                         |
| `staticCheck.opcache.batch`                                                      | integer, at least 1: the programs one child compiles when opcache proves mutants equivalent, few enough that opcache's memory never fills                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `100`                                                                                                                                                                                                                                                  | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `staticCheck.opcache.limit`                                                      | duration: how long one child may take to compile its programs; one that takes longer proves none                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `1m`                                                                                                                                                                                                                                                   | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `staticCheck.opcache.kept`                                                       | integer, at least 0: how many compiled programs one process keeps, each by the PHP, the child's settings and the program's text, so a program it compiled before, such as an unchanged survivor in each round of `watch`, is not compiled again; `0` keeps none                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `384`                                                                                                                                                                                                                                                  | [0260](/docs/decisions/a-process-compiles-each-program-once)                                                                                                                                                                                                                   |
| `pruning.enabled`                                                                | boolean: whether a run with a base leaves out, on a unit whose code is as its newest full result recorded it, the mutators that let no mutant through lately, carrying their last results                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `true`                                                                                                                                                                                                                                                 | [0025](/docs/decisions/unchanged-code-is-pruned-and-tests-are-judged-by-their-assertions)                                                                                                                                                                                      |
| `pruning.window`                                                                 | integer, at least 1: how many of a mutator's newest judged mutants must all be killed before it is pruned                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `500`                                                                                                                                                                                                                                                  | [0025](/docs/decisions/unchanged-code-is-pruned-and-tests-are-judged-by-their-assertions)                                                                                                                                                                                      |
| `pruning.audit`                                                                  | duration: how old a unit's newest full result may be for a pruned mutator's results to be carried from it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `7d`                                                                                                                                                                                                                                                   | [0025](/docs/decisions/unchanged-code-is-pruned-and-tests-are-judged-by-their-assertions)                                                                                                                                                                                      |
| `sampling.confidence`                                                            | `90`, `95` or `99`: how sure a sampled run's interval of each tree is to hold its score                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `95`                                                                                                                                                                                                                                                   | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `sampling.margin`                                                                | number, above 0 and at most 10: the half-width in points each tree's interval is sized for                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `2.0`                                                                                                                                                                                                                                                  | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `sampling.minUnits`                                                              | integer, at least 1: the fewest units of a tree's sampled stratum a sample runs, or every one where it holds fewer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `30`                                                                                                                                                                                                                                                   | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `sampling.seed`                                                                  | string: what a sample is drawn from                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | the change's base commit in a change-scoped run, and the plan's commit otherwise                                                                                                                                                                       | [0020](/docs/decisions/a-change-lists-its-tests-an-analyser-can-kill-and-a-huge-repository-can-be-sampled)                                                                                                                                                                     |
| `sampling.auto`                                                                  | `off`, an integer of at least 1, or a duration: a run of a kind `sampling.autoRuns` lists samples by itself where the units it runs beyond its new code, outside a tree held to 100, are expected to hold more mutants than the count, or to take more runner time than the duration ([sampling by itself](#sampling-by-itself))                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `off`                                                                                                                                                                                                                                                  | [0086](/docs/decisions/a-pull-request-can-sample-by-itself-above-a-threshold)                                                                                                                                                                                                  |
| `sampling.autoRuns`                                                              | list of `pullRequests`, `mergeGroups` and `branches`, a push to a branch that is not the default: the kinds of run that may sample by themselves; the default branch, a tag and an `--unproven` run never do                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `["pullRequests"]`                                                                                                                                                                                                                                     | [0086](/docs/decisions/a-pull-request-can-sample-by-itself-above-a-threshold)                                                                                                                                                                                                  |
| `sampling.top`                                                                   | boolean. **`true` loosens**: a run that samples also samples a tree held to a floor of 100, which otherwise runs whole; such a tree passes where no mutant the run counted in it survived, and fails where one did, so a survivor in a unit the sample left out is found only by a run that judges every unit. The verdict names it as a loose value in force                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `false`                                                                                                                                                                                                                                                | [0334](/docs/decisions/a-run-that-samples-can-sample-a-tree-held-to-100)                                                                                                                                                                                                       |
| `mutators.sets`                                                                  | list of mutator set names, never `default`, which is always on                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `[]`, plus the preset's                                                                                                                                                                                                                                | [0021](/docs/decisions/mutators-are-written-once-and-first-party-sets-can-leave)                                                                                                                                                                                               |
| `mutators.except`                                                                | list of mutator names, `<set>/<Name>`, each held by a set in `mutators.sets` or by the default set; under Pest or Infection, by a set in `mutators.sets`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `[]`                                                                                                                                                                                                                                                   | [0021](/docs/decisions/mutators-are-written-once-and-first-party-sets-can-leave)                                                                                                                                                                                               |
| `triage.fewest`                                                                  | integer, at least 2: the fewest runs `triage --repeat` takes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `2`                                                                                                                                                                                                                                                    | [0014](/docs/decisions/every-test-is-judged-by-what-it-kills)                                                                                                                                                                                                                  |
| `local.watchBudget`                                                              | duration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `30s`                                                                                                                                                                                                                                                  | [0010](/docs/decisions/the-gate-runs-while-you-work-and-before-you-push)                                                                                                                                                                                                       |
| `local.prePushBudget`                                                            | duration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `2m`                                                                                                                                                                                                                                                   | [0010](/docs/decisions/the-gate-runs-while-you-work-and-before-you-push)                                                                                                                                                                                                       |
| `local.watchPoll`                                                                | duration: how long `watch` waits between two looks at the files it polls; while a round runs, it looks for a change before a batch only once this long has passed since its last look                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `2s`                                                                                                                                                                                                                                                   | [0010](/docs/decisions/the-gate-runs-while-you-work-and-before-you-push), [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                  |
| `local.serveIdle`                                                                | duration: how long a daemon of `serve` waits for a request before it stops                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `30m`                                                                                                                                                                                                                                                  | [0078](/docs/decisions/a-daemon-keeps-the-gate-loaded-between-local-runs)                                                                                                                                                                                                      |
| `local.serveRequest`                                                             | How long a client may take to send a daemon its request                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `5s`                                                                                                                                                                                                                                                   | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `local.serveStart`                                                               | `watch`: `watch` starts a daemon where none runs; `never`: no command starts one, and each uses one only where it runs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `watch`                                                                                                                                                                                                                                                | [0078](/docs/decisions/a-daemon-keeps-the-gate-loaded-between-local-runs)                                                                                                                                                                                                      |
| `local.serveStartWait`                                                           | duration: how long `watch` waits for a daemon it starts to listen before it runs the flow itself                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `10s`                                                                                                                                                                                                                                                  | [0078](/docs/decisions/a-daemon-keeps-the-gate-loaded-between-local-runs)                                                                                                                                                                                                      |
| `local.quick`                                                                    | boolean: each round of `watch` after the first takes the coverage of the files a save changed from the last round's map and the static graph instead of measuring it again, streams its mutants in split streams of their covering test files with no static check, labels what it shows `quick` and never `passed`, and keys its proofs apart, so `pre-push`, `run` and CI never take one; `false` judges each round as `run` does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `true`                                                                                                                                                                                                                                                 | [0146](/docs/decisions/a-watch-round-is-quick-advisory-and-keyed-apart)                                                                                                                                                                                                        |
| `local.cancelByUnit`                                                             | boolean: a save during a round of `watch` drops the queued work of the units whose files it changed, halts a batch running one and reads nothing it came to, leaving its units unjudged, and the round goes on with every other unit; `false` stops the round before its next batch                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `true`                                                                                                                                                                                                                                                 | [0146](/docs/decisions/a-watch-round-is-quick-advisory-and-keyed-apart)                                                                                                                                                                                                        |
| `local.rounds`                                                                   | integer, at least 1: how many rounds `watch` runs before it ends; it exits passed once the last round judged, and failed where that round could not judge. `watch --rounds` sets it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | runs until it is stopped                                                                                                                                                                                                                               | [0146](/docs/decisions/a-watch-round-is-quick-advisory-and-keyed-apart)                                                                                                                                                                                                        |
| `local.fromMap`                                                                  | path: the directory of a map `coverage --into` wrote in a clean working tree, which the first round of `watch` measures against as a quick round does against the round before, over every file changed since the commit it was measured at; a map that cannot be read, says no commit or was measured in a dirty tree is named and the first round measures every test. `watch --from-map` sets it                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | none: the first round measures every test                                                                                                                                                                                                              | [0146](/docs/decisions/a-watch-round-is-quick-advisory-and-keyed-apart)                                                                                                                                                                                                        |
| `local.inferSubsumed`                                                            | boolean: outside CI, run each mutant another subsumes after the others, and show one the budget left unrun as inferred killed where a mutant subsuming it was killed; never a proof, a score or a verdict                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `true`                                                                                                                                                                                                                                                 | [0079](/docs/decisions/a-local-run-infers-what-a-killed-mutant-subsumes)                                                                                                                                                                                                       |
| `local.memoryHeadroom`                                                           | How many times the suite's peak `doctor` wants a memory cap to hold                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `2`                                                                                                                                                                                                                                                    | [0112](/docs/decisions/every-number-a-run-goes-by-is-a-setting)                                                                                                                                                                                                                |
| `local.watchStatus`                                                              | boolean: `watch` looks through `git status` and hashes only the files that differ from the commit or differed at its last look; `false` hashes every file at every look                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `true`                                                                                                                                                                                                                                                 | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.cpu`                                                                      | `balanced` (half the logical cores, at least 1 and at most 8, at utility priority), `fast` (every core but one, at normal priority) or `quiet` (one worker at background priority): how much of the machine `watch` and `serve` take                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `balanced`                                                                                                                                                                                                                                             | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.workers`                                                                  | integer, at least 1, `half` or `all-but-one`: how many workers a `watch` round runs, for its coverage run, its pools, Pest's mutants at once and the opcache equivalence check's children                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `local.cpu`'s                                                                                                                                                                                                                                          | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.priority`                                                                 | `normal`, `utility` or `background`: the priority `watch` and the daemon it starts run at                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `local.cpu`'s                                                                                                                                                                                                                                          | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.macosClass`                                                               | `none`, `utility`, `background` or `maintenance`: the QoS clamp on macOS. The daemon starts under `taskpolicy -c`; `watch` on its own takes darwin background for `background` and `maintenance`, and nice 10 for `utility`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `local.priority`'s                                                                                                                                                                                                                                     | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.linuxNice`                                                                | integer, 0 to 19: the niceness on Linux, which a process raises and never lowers again                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `local.priority`'s: 0, 10 or 19                                                                                                                                                                                                                        | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.windowsClass`                                                             | `normal`, `below-normal` or `idle`: the priority class `watch` runs in on Windows                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | `local.priority`'s                                                                                                                                                                                                                                     | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.onBattery`                                                                | `reduce` (one worker at background priority), `pause` (no round until the machine runs on power) or `run` (as on power): what `watch` does on battery or in Low Power Mode, read from `pmset`, `/sys/class/power_supply` or PowerShell at the start of each round, and where `outbreak serve` tells of the power source's changes (notifyd on macOS, the kernel's device events on Linux) read again only once it changed; `pre-push` and `run` are never held                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `reduce`                                                                                                                                                                                                                                               | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed), [0133](/docs/decisions/outbreak-serve-holds-the-map-the-ledgers-and-the-coverage-in-memory)                                                                               |
| `local.childWait`                                                                | duration: how long a warm worker and its client wait for a wake in the local loop before they look anyway                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | `1s`                                                                                                                                                                                                                                                   | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.coverageAlone`                                                            | boolean: a coverage run of one test file runs in Pest's own process                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `true`                                                                                                                                                                                                                                                 | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.sizedPools`                                                               | boolean: a set of warm workers boots no more workers than it has runs                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `true`                                                                                                                                                                                                                                                 | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.listOnce`                                                                 | boolean: a `watch` round lists the tests only where a file in a test directory was added, changed or removed since the listing it reuses                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `true`                                                                                                                                                                                                                                                 | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.streamBatches`                                                            | boolean: `watch` prints what each batch judged as it ends, before the round's verdict                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `true`                                                                                                                                                                                                                                                 | [0120](/docs/decisions/the-local-loop-takes-a-share-of-the-machine-and-looks-only-at-what-changed)                                                                                                                                                                             |
| `local.recordLines`                                                              | boolean: a quick round's streams record the lines each test their parent runs whole executes, with `outbreak.so` where `outbreak.lines` lets them and with pcov otherwise, and the kept map takes the recorded lines in place of that test's entries after the round; a test that ran in a process of its own, or that a stream handed to a forked process, keeps its entries                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `true`                                                                                                                                                                                                                                                 | [0147](/docs/decisions/a-stream-records-its-own-lines-and-holds-a-child-to-its-parent-s-steps)                                                                                                                                                                                 |
| `local.siteHits`                                                                 | boolean: where the round's streams record lines, a quick round does not measure a changed test file the static graph answers for: each of its tests keeps its entries and covers every line of each source file the graph says the test file reaches, until a stream records it. A test file the graph does not answer for is measured as before                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `true`                                                                                                                                                                                                                                                 | [0147](/docs/decisions/a-stream-records-its-own-lines-and-holds-a-child-to-its-parent-s-steps)                                                                                                                                                                                 |
| `local.changeOnly`                                                               | boolean: a quick round judges only the units its change reaches; off, it then judges every unit no proof stands for, as far as `local.watchBudget` lets it, as `run` does on an empty ledger. A quick round never times a run of no test either, since its one shard needs no estimate to be cut                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `true`                                                                                                                                                                                                                                                 | [0159](/docs/decisions/a-quick-round-judges-its-change-and-local-runs-are-held-to-tight-budgets)                                                                                                                                                                               |
| `outbreak.enabled`                                                               | boolean: run Outbreak's core, the `outbreak` binary, where one fits the machine and passes its checksum, to vouch for each coverage map a shard and the verdict read, to write the maps a plan hands them, and to convert the PHP report a run left into the map `coverage --from` writes; where none does, or it declines, the gate does the work in PHP. Either way the output is the same                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `true`                                                                                                                                                                                                                                                 | [0118](/docs/decisions/outbreak-s-core-vouches-for-and-slices-coverage-maps), [0119](/docs/decisions/outbreak-s-core-converts-a-run-s-php-report-into-the-gate-s-map)                                                                                                         |
| `outbreak.binary`                                                                | path to the `outbreak` binary, from the project's root where relative, run in place of the one the package ships; no checksum is asked of it, only that it speak contract 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | none                                                                                                                                                                                                                                                   | [0118](/docs/decisions/outbreak-s-core-vouches-for-and-slices-coverage-maps)                                                                                                                                                                                                   |
| `outbreak.timeout`                                                               | duration: how long one run of the binary may take before it is stopped and the gate does the work in PHP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `5m`                                                                                                                                                                                                                                                   | [0118](/docs/decisions/outbreak-s-core-vouches-for-and-slices-coverage-maps)                                                                                                                                                                                                   |
| `outbreak.threads`                                                               | integer, at least 1: how many threads the binary writes a plan's maps on                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | as many as the machine has cores                                                                                                                                                                                                                       | [0118](/docs/decisions/outbreak-s-core-vouches-for-and-slices-coverage-maps)                                                                                                                                                                                                   |
| `outbreak.equivalence`                                                           | boolean: where `outbreak.so` ships for the platform and the tests' PHP minor and loads into that PHP, compile each mutant beside its original before any test runs, and prove it equivalent where its op arrays are its original's and the gate finds its declarations alike. A proven mutant is never run, and the verdict leaves it out of the score as *equivalent, proven*, whatever `equivalence.static` says. Affects results, so it is in a proof's key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `true`                                                                                                                                                                                                                                                 | [0130](/docs/decisions/a-mutant-that-compiles-to-its-original-is-equivalent-and-is-never-run)                                                                                                                                                                                  |
| `outbreak.forkStates`                                                            | boolean: where `outbreak.so` ships for the platform and the tests' PHP minor, a split stream loads it, and at each fork reads, in the parent and in the child, the state the call that reached the mutant's site leaves as it returns: what it returned and the properties of the object it ran on. The run's log counts the forks whose two states are equal. A measurement, which no verdict reads                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | `false`                                                                                                                                                                                                                                                | [0130](/docs/decisions/a-mutant-that-compiles-to-its-original-is-equivalent-and-is-never-run)                                                                                                                                                                                  |
| `outbreak.recheckTouchedKills`                                                   | **`false`** or `true`: where `outbreak.so` ships for the platform and the tests' PHP minor, a split stream loads it, and a kill by a child whose test touched the clock, randomness, the environment, another process, the network or a file outside the project after the fork is not taken from the stream: the mutant runs its own run, with its verification. A kill by a test that touched none is never trusted more for it, since the extension cannot see every source. `false` takes every streamed kill as the stream judged it. Affects results, so it is in a proof's key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `true`                                                                                                                                                                                                                                                 | [0130](/docs/decisions/a-mutant-that-compiles-to-its-original-is-equivalent-and-is-never-run)                                                                                                                                                                                  |
| `outbreak.graph`                                                                 | `local`, **`narrow`**, `widen` or `off`: where Outbreak's static graph of the sources and the tests acts, a graph of the files each file names, resolved by its namespace and imports. `local` adds, in `watch`'s quick rounds, the tests the graph says reach an edited file after the coverage map's covering tests. `narrow` also lets a change the map cannot place (a deleted test, no map to read, support that runs code when it is loaded or is named by anything but a test or support) reach the files the tests that reach it reach, in place of every unit of its package, wherever the graph can place every test; an edge the graph misses leaves a unit unreached until the scheduled full run. `widen` also lets a changed source file reach the files the map shows its joined tests running. `off` acts nowhere. A test the map shows running a file the graph does not join to it gives no answer. Without the binary, or with `outbreak.enabled` off, every value acts as `off`. Decides how the gate runs, so it is in no key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `local`                                                                                                                                                                                                                                                | [0132](/docs/decisions/a-static-graph-places-what-the-coverage-map-cannot-and-the-map-stays-the-check)                                                                                                                                                                         |
| `outbreak.lines`                                                                 | boolean: where `outbreak.so` ships for the platform and the tests' PHP minor, a stream that records its tests' lines loads it and records with it each line an executed op of a user function carries, a superset of pcov's executed lines; where another extension took PHP's executor over after it, or off, the stream records with pcov. A run that stands in for the suite's coverage report records with pcov. Decides how the gate runs, so it is in no key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `true`                                                                                                                                                                                                                                                 | [0147](/docs/decisions/a-stream-records-its-own-lines-and-holds-a-child-to-its-parent-s-steps)                                                                                                                                                                                 |
| `outbreak.steps`                                                                 | boolean: where `outbreak.so` ships for the platform and the tests' PHP minor, a stream's processes count the jumps their ops take and their calls of user functions, and a child is a timeout once its steps since the fork pass `timeouts.perTest` times its parent's steps from the fork to the test's end, plus `outbreak.stepFloor`; wall time then holds it to `timeouts.most` alone. Off, a child is held to its parent's time. Affects results, so it is in a proof's key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `true`                                                                                                                                                                                                                                                 | [0147](/docs/decisions/a-stream-records-its-own-lines-and-holds-a-child-to-its-parent-s-steps)                                                                                                                                                                                 |
| `outbreak.stepFloor`                                                             | integer, at least 1: the least steps a child may take past its parent's share under `outbreak.steps`. Affects results, so it is in a proof's key                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | `10000000`                                                                                                                                                                                                                                             | [0147](/docs/decisions/a-stream-records-its-own-lines-and-holds-a-child-to-its-parent-s-steps)                                                                                                                                                                                 |
| `outbreak.serve.enabled`                                                         | boolean: where the binary is in use, the daemon `watch` starts is `outbreak serve`, which starts the PHP daemon (ADR-0078) as its child and lives as long as it, holding the proofs the gate keeps and the names of the static graph's files in memory under `.mutation-gate/outbreak/`, a file read for its names again only where its bytes changed; the gate asks it on `.mutation-gate/outbreak/state.sock`, and reads the files itself wherever it does not answer within `outbreak.timeout`. Off, `watch` starts the PHP daemon alone. Judges or reports only                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `true`                                                                                                                                                                                                                                                 | [0133](/docs/decisions/outbreak-serve-holds-the-map-the-ledgers-and-the-coverage-in-memory)                                                                                                                                                                                    |
| `outbreak.serve.snapshotEvery`                                                   | duration: how often, at most, `outbreak serve` writes its state's snapshot, `state.bin`, while no client is connected; it writes one as it starts and as it stops too. Judges or reports only                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `10m`                                                                                                                                                                                                                                                  | [0133](/docs/decisions/outbreak-serve-holds-the-map-the-ledgers-and-the-coverage-in-memory)                                                                                                                                                                                    |
| `outbreak.serve.syncEvery`                                                       | duration: how often, at most, `outbreak serve` syncs the journal of what it was asked to keep, `journal.bin`, to disk; a record whose checksum fails ends the journal there when it is read back. Judges or reports only                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `1s`                                                                                                                                                                                                                                                   | [0133](/docs/decisions/outbreak-serve-holds-the-map-the-ledgers-and-the-coverage-in-memory)                                                                                                                                                                                    |
| `outbreak.serve.debounce`                                                        | duration: how long the changes `outbreak serve` watches through the platform's notifications (inotify on Linux, kqueue on macOS and the BSDs) settle before `watch` looks at the files and starts a round; where the watcher cannot arm or a look finds a change it did not report, `watch` says so once and waits `local.watchPoll` between looks. Judges or reports only                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `50ms`                                                                                                                                                                                                                                                 | [0133](/docs/decisions/outbreak-serve-holds-the-map-the-ledgers-and-the-coverage-in-memory)                                                                                                                                                                                    |
| `outbreak.cache.store`                                                           | `auto`, `none`, `actions` or `oci`: where `outbreak cache` keeps the proofs a verdict accepted by their keys, packed by base, for any run whose key matches to take after its ledgers. `auto` is `oci` where `outbreak.cache.registry` names a repository, `actions` under the package's action, and `none` elsewhere                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `auto`                                                                                                                                                                                                                                                 | [0131](/docs/decisions/proofs-are-shared-across-scopes-by-their-keys)                                                                                                                                                                                                          |
| `outbreak.cache.registry`                                                        | an OCI repository as a plain `host[:port]/path`, such as `ghcr.io/owner/proofs`, that holds the packs under `oci`. Packs move only where the workflow names the same repository in the `MUTATION_GATE_REGISTRY` variable: `fetch` pulls each class's newest pack before the plan, with the job's token on any run but a pull request's, and `deliver` pushes a verdict's entries. The plan, which runs the project's code, reaches no registry and holds no token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | none                                                                                                                                                                                                                                                   | [0131](/docs/decisions/proofs-are-shared-across-scopes-by-their-keys)                                                                                                                                                                                                          |
| `outbreak.cache.trust`                                                           | `default-branch` or **`repository`**: which packs the default branch and a merge group read. `default-branch` reads only what the default branch's own runs wrote; `repository` also reads what any branch of the repository wrote, a proof another branch's code computed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `default-branch`                                                                                                                                                                                                                                       | [0131](/docs/decisions/proofs-are-shared-across-scopes-by-their-keys)                                                                                                                                                                                                          |
| `contexts`                                                                       | object of blocks, `local`, `ci`, `github`, `gitlab`, `bitbucket`, `azure`, `buildkite`, `jenkins`, `circleci`, `pr` and `main`, each holding any key of this table but `preset`, `extensions`, `ci.plan` and `ci.defaultBranch`: what a run in that context lays over the rest of its layer. A run outside CI lays `local`; a run in CI lays `ci`, then the block of the CI its plan is for, then `pr` on a pull request or a merge group, or `main` on the default branch                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | `{}`                                                                                                                                                                                                                                                   | [0071](/docs/decisions/a-config-holds-a-block-for-each-context-a-run-is-in), [0104](/docs/decisions/suggestions-can-be-turned-off-and-each-ci-has-a-context)                                                                                                                  |
| `paths`                                                                          | list of `{glob, mutators, timeouts, staticCheck}`: what each entry sets for the files its glob matches, every match laid over the settings least specific first, by the length of the glob's literal prefix, then as written                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | `[]`                                                                                                                                                                                                                                                   | [0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)                                                                                                                                                                                               |
| `paths[].glob`                                                                   | glob, matched as `trees[].exclude` is                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | none; required                                                                                                                                                                                                                                         | [0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)                                                                                                                                                                                               |
| `paths[].mutators.sets`                                                          | as `mutators.sets`, added to it for the files the entry matches                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `[]`                                                                                                                                                                                                                                                   | [0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)                                                                                                                                                                                               |
| `paths[].mutators.except`                                                        | as `mutators.except`, added to it; under Pest or Infection, only of a set `mutators.sets` turns on, as their own mutants stand in for the default set's                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `[]`                                                                                                                                                                                                                                                   | [0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)                                                                                                                                                                                               |
| `paths[].timeouts.seconds`                                                       | as `timeouts.seconds`, for the files the entry matches                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `timeouts.seconds`                                                                                                                                                                                                                                     | [0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)                                                                                                                                                                                               |
| `paths[].timeouts.most`                                                          | as `timeouts.most`, at least the entry's `timeouts.seconds`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `timeouts.most`                                                                                                                                                                                                                                        | [0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)                                                                                                                                                                                               |
| `paths[].staticCheck.tool`                                                       | as `staticCheck.tool`, `none` included                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `staticCheck.tool`                                                                                                                                                                                                                                     | [0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)                                                                                                                                                                                               |
| `paths[].staticCheck.before`                                                     | as `staticCheck.before`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `staticCheck.before`                                                                                                                                                                                                                                   | [0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)                                                                                                                                                                                               |

## Sampling by itself

With `sampling.auto` set, a pull request that reaches more than the threshold
beyond its own lines runs a sample in place of every unit it reaches, as
`--sample` would, and its plan says why:

```json
{
    "sampling": {
        "auto": "1h",
        "autoRuns": ["pullRequests"]
    }
}
```

The units holding a line of the change, and every tree held to 100, still run
in full, and the threshold counts neither. Everything else the run would run
is sampled, sized by `sampling.margin` and `sampling.minUnits`, and each tree
is judged on its interval.

- **Gains:** a change to a file that reaches everything, such as the lock or
  the test bootstrap, costs a sample's runner time and wall time, not a full
  run's.
- **Costs:** a pull request can merge on a sampled pass, so a survivor in a
  unit the sample left out is caught only by the next run that runs that unit
  in full: the default branch's run after the merge, or a scheduled or
  `--unproven` run. A sampled pass is never `last-passed` and raises no floor.
- **Keep it off** where every merge must be proved whole. Merge groups and
  branches are listed by name only: a merge group's pass merges at once.

## Presets

A preset is a layer of config laid before the config file, so every key the
project writes wins over it
([ADR-0008](/docs/decisions/a-run-spends-its-time-on-the-riskiest-code-first)).
With no `preset` key, the gate chooses `laravel` where `composer.json`
requires `laravel/framework`, `symfony` where it requires
`symfony/framework-bundle`, and `library` otherwise. A list of presets lays
each over the one before it, so a later preset replaces each value an earlier
one sets.

| Key                        | `library`                                     | `laravel`                                                    | `symfony`                                           |
| -------------------------- | --------------------------------------------- | ------------------------------------------------------------ | --------------------------------------------------- |
| `treeSource.with.fallback` | `[]`: the `autoload` paths of `composer.json` | `["app"]`                                                    | `["src"]`                                           |
| `reach.everything`         | `[]`                                          | `["bootstrap/**", "config/**", "routes/**", ".env.testing"]` | `["config/**", ".env.test", "tests/bootstrap.php"]` |
| `timeouts.seconds`         | `10`                                          | `30`                                                         | `30`                                                |
| `mutators.sets`            | `["security"]`                                | `["laravel", "security"]`                                    | `["symfony", "security"]`                           |
| `newCode.floor`            | `100`                                         | `100`                                                        | `100`                                               |

Paths every framework test runs through, such as a Laravel app's
`app/Providers` and a Symfony app's `src/Kernel.php`, stay in their trees,
where the warning for code no test holds finds them
([holding tests](/docs/features/holding-tests)).

## Context blocks

`contexts` holds what a run lays over the rest of the config in each context
it is in
([ADR-0071](/docs/decisions/a-config-holds-a-block-for-each-context-a-run-is-in)):

```json
{
    "budget": "30m",
    "contexts": {
        "local": { "budget": "2m" },
        "pr": { "budget": "10m", "shards": { "max": 4 } },
        "main": { "shards": { "max": 16 } }
    }
}
```

- **`local`**: outside CI, and in watch, pre-commit and pre-push wherever
  they run.
- **`ci`**: in CI.
- **`pr`**: in CI, on a pull request or a merge group, laid over `ci`.
- **`main`**: in CI, on the default branch, laid over `ci`.

`--context=<local|ci|pr|main>` puts a run in a context, and in `ci` beneath
`pr` and `main`. A block holds any key but `preset`, `extensions`, `ci.plan`
and `ci.defaultBranch`, which are read before the context is known. Each
layer, a preset's too, lays its blocks over its own rest before the layers
are laid, so the config file's own setting beats a preset's block.
`config:show` prints the blocks as written, and `config:show --resolved`
prints the config of a run in its contexts, which it names on standard
error.

## Path rules

`paths` sets mutators, timeouts and the static check for the files a glob
matches
([ADR-0074](/docs/decisions/paths-set-mutators-timeouts-and-the-static-check-by-glob)):

```json
{
    "paths": [
        { "glob": "src/Legacy/**", "timeouts": { "seconds": 60, "most": 600 } },
        { "glob": "src/Generated/**", "mutators": { "except": ["default/Plus"] }, "staticCheck": { "tool": "none" } }
    ]
}
```

Every entry that matches a file is laid over the settings, least specific
first, so the innermost entry wins for what it sets and a broader one keeps
the rest. A unit's proof key holds what its entries set that affects
results, so an edit to one entry re-runs only the units it matches. Under
`runner.pathRules: partitioned`, a shard runs the units no entry matches as
it always does, then each other group with a runner its settings build:
one runner boot more per group, and only where `paths` is used. Mutators
an entry turns off are the gate's own: under Pest or Infection, which make
their own mutants, an entry cannot turn off one only the default set holds.

## In a package's `composer.json`

In a `composer.json`, under `extra.mutation-gate`:

| Key             | Type                                                  | Default                          | Decided in                                                                        |
| --------------- | ----------------------------------------------------- | -------------------------------- | --------------------------------------------------------------------------------- |
| `extensions`    | list of class names                                   | `[]`                             | [0001](/docs/decisions/a-framework-free-core-behind-nine-ports)                  |
| `floor`         | number, 0 to 100                                      | none                             | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                 |
| `floorReason`   | string                                                | none; required when `floor` is 0 | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                 |
| `newCodeFloor`  | number, 0 to 100                                      | `newCode.floor`                  | [0005](/docs/decisions/what-a-change-reaches-is-what-is-mutated)                 |
| `securityFloor` | number, 0 to 100, in a package's `composer.json` only | `security.floor`                 | [0021](/docs/decisions/mutators-are-written-once-and-first-party-sets-can-leave) |

## In the reusable workflow's call

The reusable workflow takes the action's inputs, which the
[GitHub Actions guide](/docs/using/ci/github-actions) lists, less `shard`, `deliver`,
`install`, since it always runs the copy the project requires with Composer,
and `composer-auth`, whose credentials it takes as the secret `COMPOSER_AUTH`.
Its `cache` is a boolean, where the action's is the text `true` or `false`. It
has three inputs of its own:

| Input           | Type                                                                                                                                    | Default                                      | Decided in                                                                            |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------- |
| `coverage`      | the name of an artifact of the run that holds `map.json.gz`                                                                             | none: the plan runs the suite under coverage | [0006](/docs/decisions/shards-are-cut-by-learned-cost-and-planned-once)              |
| `runs-on`       | the runner the plan, the shards, the survivors and the verdict run on: a label, or a JSON list of labels a runner must all have         | `ubuntu-latest`                              | [0035](/docs/decisions/the-reusable-workflow-runs-on-the-runner-its-caller-names)    |
| `keyed-runs-on` | the runner `fetch`, the `deliver` jobs and `publish` run on, which hold a key or a token that writes: a label, or a JSON list of labels | `ubuntu-latest`                              | [0039](/docs/decisions/the-jobs-that-hold-a-credential-run-on-a-runner-of-their-own) |

The one-step action runs on the runner of the job that uses it, so that job's
`runs-on` sets it.
