diff --git a/AGENTS.md b/AGENTS.md index c413e33..e102e97 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -211,6 +211,10 @@ seconds instead of the full run's minute — and the full run stays the gate. tests grow the numerator. Read the reasons before moving the number, and add one when you do — a gate whose verdict flips on which PHP built the run is measuring the environment, not the suite. + For the published `0.x` line, `minMsi: 92` is therefore the explicit release + policy: a single local run at 94.1% is evidence, not a new gate. Before the + `1.0` release, rerun a reproducible CI-like matrix and raise the threshold + only when it has stable headroom above the new value. - **The only `&` in the package is in generated code, and that is deliberate.** Psalm cannot follow a reference into an object property and says so by name; the way out is not a suppression but moving the reference to where Psalm never diff --git a/README.md b/README.md index 34e215a..38f3059 100644 --- a/README.md +++ b/README.md @@ -906,7 +906,7 @@ make build # validate, normalize, require-checker, cs, psalm, unit, int make cs-fix make psalm make test -make mutation # infection, gate at 92% MSI +make mutation # infection, release gate at 92% MSI for the 0.x line make release-check make perf-install # once: the comparative benchmark harness in perf/ @@ -915,6 +915,11 @@ make perf-cold # cold start, one process per double make perf-memory # bytes retained per live double ``` +The `0.x` release policy keeps Infection's Covered Code gate at 92% MSI. A +single local run above that value does not change the gate because mutant +counts vary across environments. Before `1.0`, the threshold will be +reconsidered only after a reproducible CI-like matrix shows stable headroom. + Or through Docker directly: ```bash diff --git a/README.ru.md b/README.ru.md index 59b5e93..5dd6aa5 100644 --- a/README.ru.md +++ b/README.ru.md @@ -906,7 +906,7 @@ make build # validate, normalize, require-checker, cs, psalm, unit, int make cs-fix make psalm make test -make mutation # infection, гейт 92% MSI +make mutation # infection, релизный гейт 92% MSI для линии 0.x make release-check make perf-install # один раз: сравнительный харнесс в perf/ @@ -915,6 +915,11 @@ make perf-cold # холодный старт, один процесс на make perf-memory # память на живой дубль ``` +Для релизов линии `0.x` политика оставляет гейт Covered Code в Infection на +уровне 92% MSI. Один локальный прогон выше этого значения сам по себе гейт не +меняет: число мутантов зависит от окружения. Перед `1.0` порог пересмотрим +только после воспроизводимой CI-подобной матрицы со стабильным запасом. + Или напрямую через Docker: ```bash