Skip to content

prose_lint's Semicolon Check Fires on the Semicolon Inside TL;DR #3954

Closed

Description

@ptr727

Observed

scripts/prose_lint.py's semicolon check reports the semicolon inside the abbreviation TL;DR. That semicolon is part of one token rather than a clause joiner, so neither suggested fix ("a comma or two sentences") applies to it.

Constructed reproduction, at hub main c175d557:

$ printf '> **TL;DR**: Short summary here.\n\nA plain sentence with TL;DR inside it.\n' > semi.md
$ python3 scripts/prose_lint.py --check semicolon semi.md
2 violation(s) across 1 file(s)
  semicolon        2
semi.md:1: semicolon: semicolon in prose -> a comma or two sentences
semi.md:3: semicolon: semicolon in prose -> a comma or two sentences

Where it surfaced

ptr727/LanguageTags README resync, during this cycle's README-structure pull request. Removing the emoji from two > **TL;DR**: callouts touched those lines, which brought them into the diff-scoped gate. The downstream workaround was to reword the callouts to Summary.

Expected

A semicolon with a word character directly on both sides (TL;DR, and the same shape in any other abbreviation) is not read as prose punctuation. Alternatively, the rule states that such tokens are deliberately disallowed, so a carrier knows to reword rather than wonder whether the gate is wrong.

Actual

Every touched line holding TL;DR fails the prose gate.

Activity

  1. ptr727 commented on Nov 13, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim, round 1 (2026-11-13), away run, scope develop. Branch burndown/prose-charset-code-span, group: #4058, #3954. Tier: frontier (prose gate behavior and the carried comment-and-doc-style rules it enforces).

    Predicted files:

    • .github/actions/prose-gate/prose_lint.py
    • .github/actions/prose-gate/prose-gate.json
    • tests/test_prose_lint.py
    • scripts/README.md
    • GOVERNANCE.md ("Character Set" only)
    • .agents/skills/comment-and-doc-style/SKILL.md
    • .github/skills/comment-and-doc-style/SKILL.md
    • .claude-plugin/fleet-skills/skills/comment-and-doc-style/SKILL.md
    • .claude-plugin/fleet-skills/.source-digests/comment-and-doc-style
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions