Commit Graph
26 Commits
Author SHA1 Message Date
L4XB 49b390d243 fix(docs-governance): hide only comments that cannot cross a container
A comment that opened after text in a list item and closed in a later
block quote hid the live link between them, because the paragraph check
only looked for blank lines. Read a comment across lines only where
CommonMark makes it a top-level HTML block, a `<!--` at column 0 after a
blank line, which only its closer ends. Elsewhere a comment is hidden
only when it closes on the line it opens on, so every other line stays
audited Markdown. The fence pass uses the same rule for comment blocks.

Drop the container and ordered-list heuristics this replaces, refresh
the registry digest, and keep the three copies of the script identical.
2026-11-05 11:17:47 +01:00
L4XB 0d12254a25 Merge remote-tracking branch 'origin/main' into fix/docs-governance-html-comments
# Conflicts:
#	manifests/context-packs/skill-triggers@1.json
2026-11-05 11:14:20 +01:00
haelyra 6d7d4920c8 fix: close final integration security and portability gaps 2026-10-29 12:57:39 -07:00
Seekers2001 7b1449ef53 feat(governance): port optional module and context workflows
Integrate contributor PRs #3533, #3534, and #3535 on current main. Preserve the read-only module audit, canonical glossary and ADR ownership, and opt-in install closure. Refresh only the manual trigger manifest registry binding and coverage after adding the skill.
2026-10-25 17:51:30 -04:00
L4XB 71bf9b6918 fix(docs-governance): take an indented line before '2.' for a list continuation
An indented line such as '   continued' after '1. first' continues the list item, so the '2.' after it starts the next item, and a comment there opens a block. The paragraph check took the indented line for a paragraph line and left the comment inline.
2026-10-23 04:52:12 +02:00
L4XB 10e43003ce fix(docs-governance): keep a comment after '2.' on a paragraph line inline
A list that starts at a number other than 1 cannot interrupt a paragraph, so 'Paragraph\n2. <!-- c --> [x](y)' is one paragraph whose comment is inline and whose link is real. The marker opened a comment block and hid the link. After a paragraph line, such a marker now leaves the comment inline. After a blank line, a list line or a '1.', it still opens a block.
2026-10-23 04:35:26 +02:00
L4XB 4e1dc5b0f9 fix(docs-governance): read a comment that starts a list item or a block quote line as an HTML block
Only indentation counted as the start of a block, so '- <!--' was inline HTML, and a blank line before its closer turned it into text. Its hidden links were then reported. Block quote and list markers before the opener now count too, as in CommonMark. A comment after text in a list item stays inline.
2026-10-23 04:07:23 +02:00
L4XB 46e3480c93 fix(docs-governance): bound a comment inside a line by its paragraph, and a comment block by its closing line
CommonMark reads a comment that starts a line, after at most three spaces, as an HTML block. The block may span blank lines, and it takes the rest of the line that holds its closer, so a link after '<!-- c -->' at the start of a line is raw HTML, not a link. A comment inside a line is inline HTML, which cannot outlast its paragraph: past a blank line its opener is text, and a link before the later closer is real. The scan keeps the first closer and the first blank line after an opener while they stay valid, so it remains linear.
2026-10-23 03:35:48 +02:00
L4XB 51fec836db fix(docs-governance): look for a blanked comment in the link destination, not its title
A title may hold comment-shaped text, as in [x](missing.md "<!-- c -->"). The filter for blanked comments looked at the whole target, title included, so it dropped that link and its broken destination went unreported. The filter now strips the title first, with the same pattern normalize_link_target uses, which moves to LINK_TITLE_RE.
2026-10-23 02:56:22 +02:00
L4XB f6d7f5c37e fix(docs-governance): keep fence lines inside comment blocks and blanked comments out of targets
A fence line inside an HTML comment block opened a fence that ran past the comment's closer, so the comment then had no closer and a link inside the real fence after it was audited. The fence pass now skips comment blocks that open at the start of a line. A destination made only of a blanked comment, as in [bar]: <!-- c -->, is no longer returned as a link target.
2026-10-23 02:08:24 +02:00
L4XB bf38bfcae2 fix(docs-governance): read HTML comments and code spans in one pass, as CommonMark does
Code spans were blanked before comments, so a code span could swallow a comment's closer and the comment then hid a real link after it. Comments and code spans are now read left to right, whichever opens first. An escaped \<!-- is text, and a comment becomes an opaque run of NUL characters rather than spaces, so a reference definition can no longer start across it.
2026-10-23 01:54:04 +02:00
L4XB 72229119a3 fix(docs-governance): ignore link-shaped text inside HTML comments
The audit read links inside <!-- --> comments, so a commented-out link to a removed or planned page was reported as a broken Markdown link. Blank out closed HTML comments after code is removed, the same way code examples are already skipped; an opener without a closer stays literal text, as in CommonMark. The three copies of markdown_links.py stay identical, and the skill trigger manifest's registry binding is refreshed for the changed skill files.
2026-10-23 01:24:15 +02:00
haelyra aac9b3d34b fix: preserve activity errors, asset bytes and runner summaries
Treat non-2xx activity responses as feed errors, preserve non-Markdown Copilot agent assets, and apply the reviewed reference escape parity correction with regenerated bindings. Allow the test runner to drain piped output on its existing success or failure exit status. Validate installed workflows and bounded real Node20/24 pipe regressions.
2026-10-09 19:33:37 -04:00
haelyra 5981dd7092 fix: complete reviewed integration workflows and safety checks 2026-10-09 18:54:39 -04:00
Seekers2001 4494ffc1e5 fix(docs-governance): audit UNC markdown links 2026-09-29 17:41:36 +08:00
Seekers2001 9d1e05a06e fix: normalize markdown link path separators 2026-09-27 11:05:25 +08:00
Seekers2001 e306b8bc69 fix(governance): require ADR successor 2026-09-13 17:54:25 +08:00
Seekers2001 a47327d998 fix(governance): harden ADR audit boundaries 2026-09-12 17:49:13 +08:00
Seekers2001 03ca6c39e0 fix(governance): validate inline ADR successors 2026-09-11 17:31:10 +08:00
Seekers2001 188bdf2d6a fix(governance): validate shortcut references before colons 2026-09-09 17:35:35 +08:00
Seekers2001 51a0ba9ec6 fix(governance): handle documented parser forms 2026-09-07 17:37:44 +08:00
Seekers2001 f5a4d33797 fix(governance): preserve inline link title context 2026-09-06 17:48:13 +08:00
Seekers2001 9b21b2ccd5 fix(governance): retain malformed link follow-ups 2026-09-05 17:40:33 +08:00
Seekers2001 162bff9438 fix(governance): bound incomplete link scans 2026-09-04 17:39:54 +08:00
Seekers2001 06e67e3a2c fix(skills): harden docs governance audit 2026-09-03 12:33:52 +08:00
Seekers2001 1ea94397b5 feat(skills): add read-only docs governance audit 2026-09-03 10:00:25 +08:00