fix(agents): count all Markdown line endings in budgets

This commit is contained in:
4gray committed 2026-09-21 00:10:57 +02:00
1 parent b863d8e4d4
commit bbbaebce83
3 files changed
+32 -1

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ Later normal edits maintain the canonical docs, not duplicate historical prose.
Run `pnpm run agents:validate` after guidance changes. It checks line/byte budgets,
root imports and local navigation links/anchors, including migration destinations.
Line budgets count LF, CRLF and standalone CR endings consistently.
Markdown navigation is parsed with the already-declared `marked` dependency;
undefined explicit references (including shortcut images) are errors, and code examples are excluded.
Backticked concrete paths in root guidance and the context map are checked from