Skip to content

fix: remove leading zeros from ADR titles and add linter - #719

Merged
ralphbean merged 2 commits into
fullsend-ai:mainfrom
maruiz93:fix/adr-title-no-leading-zeros
May 7, 2026
Merged

fix: remove leading zeros from ADR titles and add linter#719
ralphbean merged 2 commits into
fullsend-ai:mainfrom
maruiz93:fix/adr-title-no-leading-zeros

Conversation

@maruiz93

@maruiz93 maruiz93 commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Updates the writing-adrs skill to document that ADR title numbers must not have leading zeros (zero-padded format is only for filenames)
  • Fixes 4 existing ADRs (17, 19, 25, 27) that had zero-padded numbers in their title: frontmatter and # heading
  • Extends hack/lint-adr-numbers to catch leading zeros in titles and headings going forward

Test plan

  • make lint passes
  • Linter correctly catches leading zeros (verified by temporarily reverting ADR 17)
  • Linter passes on all fixed ADR files

🤖 Generated with Claude Code

maruiz93 and others added 2 commits May 7, 2026 14:36
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Strip zero-padded numbers from title frontmatter and H1 headings in
ADRs 17, 19, 25, and 27. Extend lint-adr-numbers to catch this going
forward.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown

Site preview

Preview: https://8e6f2ba7-site.fullsend-ai.workers.dev

Commit: cd6182c87fd98310eeaaa2f8c40cd0a5b8610cc3

@fullsend-ai-review

Copy link
Copy Markdown

Review: #719

Head SHA: cd6182c
Timestamp: 2026-05-07T00:00:00Z
Outcome: approve

Summary

Clean, well-scoped fix. The PR removes leading zeros from the title: frontmatter and # heading in four ADRs (17, 19, 25, 27) and extends the existing hack/lint-adr-numbers script to catch this pattern going forward. The SKILL.md is updated to document the convention. All changes verified against the full set of ADR files — the four fixed files are the only ones that had the issue, and no ADRs were missed. The linter refactoring from early-exit to a has_errors flag is correct and allows both the duplicate-number and leading-zeros checks to run before reporting.

Findings

Info

  • [Style/conventions] hack/lint-adr-numbers:3 — The file header comment still reads "Check for duplicate ADR numeric identifiers" but the script now also checks for leading zeros in titles. Consider updating to reflect the expanded scope (e.g., "Check ADR numeric identifiers for duplicates and formatting").

Footer

Outcome: approve
This review applies to SHA cd6182c87fd98310eeaaa2f8c40cd0a5b8610cc3. Any push to the PR head clears this review and requires a new evaluation.

@ralphbean
ralphbean added this pull request to the merge queue May 7, 2026
Merged via the queue into fullsend-ai:main with commit 1893377 May 7, 2026
29 of 30 checks passed
@github-actions
github-actions Bot deleted the fix/adr-title-no-leading-zeros branch June 7, 2026 06:56
@qodo-code-review qodo-code-review Bot mentioned this pull request Jun 29, 2026
2 tasks
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.

2 participants