{"category_id":"repository","default_severity":"warning","description":"With an explicit Git base, warn once when every changed old and new path is a regular .md or .mdx file, case-insensitively. Existing-page edits and deletions count; empty comparisons, mixed source changes and nonregular paths do not warn. Native repository inspection retains its separate symlink restrictions. An added-page budget finding takes precedence when both rules are enabled.","examples":[{"after":"{\"changed\":[\"README.md\",\"src/app.py\"]}","before":"{\"changed\":[\"README.md\"]}","expected_severity":"warning","id":"sarj-documentation-markdown-only-change","language":"json","title":"Review an existing-page-only change"}],"fix":"Keep necessary documentation with its implementation when practical. Retain required guides and useful correction-only PRs after review. Do not delete or rename content to silence this advisory. Requires --base; staged, last-commit and worktree-only scans do not establish the full PR boundary. No autofix.","kind":"rule","references":[],"rule_id":"repository/documentation/markdown-only-change","rule_version":1,"slug":"markdown-only-change","source":{"path":"src/repo_standards/policy_sarj/policy.py","symbol":"repository/documentation/markdown-only-change"},"title":"Review standalone Markdown-only changes","topic_id":"documentation","why":"Standalone task notes and prose-only changes can create review and maintenance noise."}
