Skip to content

One language rule, not two that disagree about commit messages - #270

Merged
bastien-gallay merged 1 commit into
mainfrom
fix-contradicting-language-rule
Aug 3, 2026
Merged

bastien-gallay merged 1 commit into
mainfrom
fix-contradicting-language-rule

Conversation

@bastien-gallay

Copy link
Copy Markdown
Collaborator

AGENTS.md on main states the opposite of itself within ten lines:

Line Rule Commit messages
464 (#269) Everything written for the project is in English included
474 (#268) Issues are written in English explicit exception

Nothing conflicted at merge time, because the two bullets attached to different
anchors — one after the Markdown-wrap bullet, the other after the
Claude-signature one — so git took both. docs/src/project/contributing.md
published the narrower one into the book.

The wider rule wins: broader, later, and the one the repo has been following
since. This removes the narrower bullet and restates the wider one in the book.

One argument from the removed text is deliberately not preserved — that a
bilingual tracker makes a backlog only half of it can be searched. True, but it
argues for the surviving rule rather than qualifying it, and #269 already
carries a sharper reason: GitHub only auto-closes on English keywords, which
has cost this repo an issue left open after its fix merged (#239 / #236).

Introduced by #268, which is mine. It is the failure AGENTS.md names one
section down — an invariant expressed twice will drift — reached without
drifting, since the two never agreed.

#268 added an "Issues are written in English" bullet whose closing sentence
made commit messages an explicit exception. #269 had already landed the wider
rule ten lines above: everything written for the project is in English, commit
messages named first.

Nothing conflicted, because the two attached to different anchors — one after
the Markdown-wrap bullet, the other after the Claude-signature one — so git
merged both and `main` now states the opposite of itself within ten lines. The
file that arbitrates every other convention had no way to arbitrate this one.

The wider rule wins: it is broader, it is the later decision, and it is the one
the repository has since been following. The narrower bullet goes, and the
book's contributing page, which had published the exception, now restates the
rule it should have restated in the first place.

One argument from the removed text is not preserved, deliberately: that a
bilingual tracker makes a backlog only half of it can be searched. It is true,
but it argues for the rule that stays rather than qualifying it, and #269's
version already carries a sharper reason — GitHub only auto-closes on English
keywords, which has cost this repo an issue left open after its fix merged.

This is the failure AGENTS.md names one section down — an invariant expressed
twice will drift — reached without drifting, since the two never agreed.
@bastien-gallay
bastien-gallay merged commit 6e7cfe5 into main Aug 3, 2026
20 checks passed
@bastien-gallay
bastien-gallay deleted the fix-contradicting-language-rule branch August 3, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant