Skip to content

Add 70-character page title length limit#16

Merged
arberx merged 2 commits intomainfrom
arberx/title-char-limit-rule
Mar 17, 2026
Merged

Add 70-character page title length limit#16
arberx merged 2 commits intomainfrom
arberx/title-char-limit-rule

Conversation

@arberx
Copy link
Copy Markdown
Member

@arberx arberx commented Mar 17, 2026

Summary

Enforce a 70-character limit on page titles to prevent truncation in AI citations and search results. This rule integrates naturally into the entity consistency analyzer, which already validates metadata quality. Titles within the limit earn 10 points; titles exceeding it receive an info finding with a recommendation to shorten.

Test plan

  • Typecheck passes
  • All 15 existing tests pass
  • Manual verification that titles ≤70 chars score the bonus and titles >70 chars trigger the recommendation

🤖 Generated with Claude Code

arberx and others added 2 commits March 17, 2026 15:16
Enforce a 70-character page title limit to prevent truncation in AI citations and search results. Award 10 points when titles comply, and recommend shortening when they exceed the limit.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
The title length rule adds 10 points to entity-consistency when the
fixture page title is under 70 characters, changing score from 84 to 94.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@arberx arberx merged commit da10552 into main Mar 17, 2026
2 checks passed
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