ADR-0029: A new mechanism retires or simplifies one, or says why it cannot#
- Status: accepted. Refines principle 7.
- Date: 2026-11-26
Context#
Principle 2 says to prefer mechanisms to discipline, and the project has followed it: nine workflows, a dozen check and test targets, and scripts that check the checks, for one static website. Each was justified on its own, and several found real faults. Together they are a cost principle 7 already names: "a service to monitor and a dependency to track are costs too". Every workflow has to be pinned, time-limited, kept running and understood by the next person who reads the repository.
Nothing weighed a new mechanism against the ones already there. The principles asked whether a mechanism could fail, never whether the project could afford one more.
Decision#
- A pull request that adds a workflow, a check target or a scheduled job also retires or simplifies an existing one, or says in its description why none can go. A test suite for code that already exists is not a new mechanism.
- Principle 7 says so, beside "money is not the only cost".
- The monthly radar review asks whether any workflow or check has stopped earning its place, alongside its Hold items.
Alternatives considered#
A fixed budget, such as at most ten workflows. Easy to check, and arbitrary: it would block a mechanism that replaces two others as readily as one that adds a third.
No rule. The status quo, under which each addition is reasonable and the sum is not reviewed.
Consequences#
Positive: every addition is weighed against what exists, in the pull request where it is cheapest to say no.
Negative: a judgement, not a check. It relies on the reviewer reading the description.
Neutral: nothing existing is removed by this decision.
Revisit when#
- The rule is routinely answered with "none can go" for mechanisms that were later removed.
- A second maintainer joins, and the review it relies on becomes shared.