Files
cozystack/docs/agents
Aleksei Sviridkin d0f22f5135 docs(contributing): ask what a new check protects and how a test fails
A repository-wide test merged that read chart sources from a Go
package, pinned hand-typed values, and guarded declarations nothing
read yet. Review checked that it passed and never asked what
requirement it enforced. The next legitimate change went red on it.

Such a check is a new rule for every contributor, and an ordinary
approval of the PR that adds it does not show the rule was weighed,
so the rule is agreed before that PR, and a test plan does not count
as the requirement behind it.

The failure evidence goes into the commit body rather than a separate
failing commit: branches merge without squash, so each commit has to
pass on its own. A test pinning unchanged behaviour has nothing to
revert, so it proves it can fail by a mutation instead. When an e2e
failure cannot be observed locally or in CI, recording that limit and
its reason lets the reviewer decide without inventing evidence.

Validation: the 79 relevant Bats checks pass on the branch and base;
no executable tests or checks are added.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-12-03 10:28:30 +03:00
..