Include autolink text in Markdown heading anchors

This commit is contained in:
2026-10-08 01:31:18 +00:00
parent 1eb1cc6491
commit 95599e96f6
4 changed files with 21 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
# ReleaseKit implementation remediation
Status: Three open v0.2.0 findings (7–9). The six foundation findings (1–6)
are addressed.
Status: Two open v0.2.0 findings (8–9). Findings 1–7 are addressed.
The v0.2.0 review covers committed state `edd670e` and the implementation
commits after `89981ab`, against the [implementation plan](implementation.md),
@@ -295,6 +294,11 @@ check, arbitrary inspection limit, or change to source-publication completion.
## 7. P2: Heading anchors omit autolink display text
**Resolution:** Addressed. Heading extraction includes autolink display labels.
Parser coverage includes URL/email headings and surrounding text; committed
fragment checks cover both forms. The new cases failed before the fix, and
`go test ./internal/validation` passed afterward.
**Owner:** [Markdown heading extraction](../../internal/validation/markdown.go),
`markdownHeadingText`, lines 115–139.