Files
gbrain/test
393369090b fix(lint): only unwrap whole-page code fences, not mid-document blocks (takeover of #1417)
Detection used /m regexes (a fence anywhere) while the fixer used
string-anchored regexes, so a note that merely CONTAINS a ```markdown block
lost only its closing fence and was re-corrupted every autopilot lint cycle.
Detection and fix now share a single analyzeMarkdownWrap check: a page is
wrapped only when the entire body (after frontmatter) is one fence.

Salvaged from PR #1417 with the unrelated plugin.json + perplexity-research
commits dropped (off-mission, reference a private external system).

Co-authored-by: trinh-macbook <trinh-macbook@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 14:43:11 -07:00
..