From c79dad20eb7ebf551af925a8734e3454576fb793 Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 29 Apr 2026 16:58:08 -0500 Subject: [PATCH] chore(lint): exclude CHANGELOG.md from markdownlint CHANGELOG.md is a generated artifact (scripts/generate-changelog.sh writes single-line bullets per PR; one bullet often exceeds the 120-char MD013 line-length limit because PR-body content is dense). Wrapping those lines would conflict with the generator on every regen. Mirrors the existing exclusion for spec/CHANGELOG.md (also a generated or vendored artifact). Both files share the same exclusion rationale: content is authored elsewhere, lint rules don't apply at this layer. Surfaced when the v0.2.0 release CHANGELOG (rich PR-body bullets across 9 cherry-picked PRs after the parallel PR-body audit) tripped MD013 on the release/v0.2.0 -> main CI run. --- .markdownlint-cli2.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml index 3dbb9d5..7e0d44d 100644 --- a/.markdownlint-cli2.yaml +++ b/.markdownlint-cli2.yaml @@ -83,6 +83,10 @@ ignores: # Vendored agentnative-spec content. Edited upstream; we do not enforce # this repo's lint rules on it. Resync via scripts/sync-spec.sh. - "spec/CHANGELOG.md" + # Generated artifact. scripts/generate-changelog.sh writes single-line + # bullets per PR; line-length wrapping would conflict with the generator. + # CHANGELOG.md is regenerated, never hand-edited. + - "CHANGELOG.md" # Fix automatically when --fix is used fix: true