fix(agents): validate visible HTML and image source sets

This commit is contained in:
4gray committed 2026-09-20 20:57:34 +02:00
1 parent e028712e61
commit d6a35cfa31
6 files changed
+119 -9

No files matched your search

+5 -1
View File
@@ -53,7 +53,11 @@ as Markdown links, including decoded attributes and fragment validation.
Image references check file existence without interpreting image fragments as
Markdown headings; document links keep anchor checks even when sharing a target.
Inline guidance imports are rejected after punctuation as well as whitespace.
The Nx test hash includes `marked`, `parse5` and `github-slugger` so dependency changes invalidate parser coverage.
The import scan includes visible HTML text and excludes code and non-rendered containers.
Image source sets use `parse-srcset` to check each candidate URL. Root-relative
literals never suppress source-relative definition checks.
The Nx test hash includes `marked`, `parse5`, `github-slugger` and `parse-srcset`
so dependency changes invalidate parser coverage.
It cannot prove semantic equivalence; review changed contracts as well.
## Protected Markdown edits