Treat image labels as Markdown alternative text

This commit is contained in:
2026-10-08 01:32:29 +00:00
parent 95599e96f6
commit 2e0d302178
4 changed files with 46 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# ReleaseKit implementation remediation
Status: Two open v0.2.0 findings (8–9). Findings 1–7 are addressed.
Status: One open v0.2.0 finding (9). Findings 1–8 are addressed.
The v0.2.0 review covers committed state `edd670e` and the implementation
commits after `89981ab`, against the [implementation plan](implementation.md),
@@ -330,6 +330,13 @@ Keep external destination availability outside this offline capability.
## 8. P2: Image alternative text creates additional release requirements
**Resolution:** Addressed. Destination extraction records an image source and
skips its alternative-text children. Regression coverage exercises nested
images/links, missing anchors, and outside-checkout label syntax under both
boundary settings. Real linked images still report missing sources and link
targets. The regression failed before the fix, and
`go test ./internal/validation` passed afterward.
**Owner:** [Markdown link extraction](../../internal/validation/markdown.go),
`parseMarkdown`, especially the image branch and AST traversal at lines 65–110.