You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Strip a List Item's Opening Label for Every Marker the Prose Gate Recognizes #2738
bugSomething isn't workingpre-existingReview finding classed pre-existing per local-strict-review Disposing of FindingsproseA defect in rule or procedure text
LABEL_COLON in .github/actions/prose-gate/prose_lint.py strips a list item's opening **Label**: (or **Label:**) before the semicolon check reads the line, but it accepts only -, *, and N. as list markers. LIST_MARKER in the same file already accepts + and N) as well.
So the same bullet is judged two ways depending on its marker. Constructed example:
- **Inputs**: a, b; **Outputs**: c and d. is reported, since the opening label is stripped and no colon is left before the semicolon.
+ **Inputs**: a, b; **Outputs**: c and d. and 1) **Inputs**: a, b; **Outputs**: c and d. are exempt, since the label survives and announces a list.
Done Looks Like
LABEL_COLON reuses LIST_MARKER's marker set, and a test feeds each marker spelling and asserts one verdict for all of them.
Found by the local review of #2737, on code that change did not touch.
Widened: every bold spelling, not only every marker.LABEL_COLON matches only \*\*[^*]+?, so an opening label spelled __Label__:, __Label:__, or ***Label***: is not stripped either. Constructed examples:
- **Inputs**: a, b; outputs: c and d. is reported.
- __Inputs__: a, b; outputs: c and d. and - ***Inputs***: a, b; outputs: c and d. are exempt.
The rule text in comment-and-doc-style (from #2737) says a list item's bold opening label is not the first of a labeled pair. The fix makes the gate recognize every bold spelling on every marker LIST_MARKER accepts. No tree line currently uses the __ or *** spelling on a list opener.
bugSomething isn't workingpre-existingReview finding classed pre-existing per local-strict-review Disposing of FindingsproseA defect in rule or procedure text
Activity
ptr727 commentedon Oct 10, 2026
Widened: every bold spelling, not only every marker.
LABEL_COLONmatches only\*\*[^*]+?, so an opening label spelled__Label__:,__Label:__, or***Label***:is not stripped either. Constructed examples:- **Inputs**: a, b; outputs: c and d.is reported.- __Inputs__: a, b; outputs: c and d.and- ***Inputs***: a, b; outputs: c and d.are exempt.The rule text in
comment-and-doc-style(from #2737) says a list item's bold opening label is not the first of a labeled pair. The fix makes the gate recognize every bold spelling on every markerLIST_MARKERaccepts. No tree line currently uses the__or***spelling on a list opener.Flag a Lone Semicolon After an Explanatory Colon in the Prose Gate (#…
Strip a List Item's Opening Label for Every Marker and Bold Spelling …