Skip to content

Commit bd14e6b

Browse files
committed
docs: strengthen fix commit type rule in AGENTS.md
Add explicit NEVER warning and litmus test for fix vs ci/chore. Prevents accidental npm releases from non-consumer-facing changes.
1 parent f50cdb8 commit bd14e6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Commits must follow [Conventional Commits](https://www.conventionalcommits.org/)
6666
| `refactor` | none | Code restructuring with no behaviour change |
6767
| `test` | none | Adding or updating tests |
6868

69-
**Key rule**: `fix` means a consumer-facing bug fix that warrants an npm release. If the change only affects CI, dev tooling, or repo internals, use `ci` or `chore` instead — even if it "fixes" something.
69+
**NEVER use `fix` for non-consumer-facing changes.** `fix` triggers an npm release — it means a bug fix visible to package consumers (runtime behaviour, CLI output, published types). If the change only affects CI, dev tooling, tests, or repo internals, use `ci`, `chore`, or `test` instead — even if it "fixes" something. When in doubt, ask: "would a consumer notice if this change didn't exist?" If no, it's not `fix`.
7070

7171
## Module Layout
7272

0 commit comments

Comments
 (0)