{"category_id":"repository","default_severity":"error","description":"Compare exact Git paths with the base tree or HEAD for staged checks. New .md and .mdx paths, case-insensitively, count toward documentation.maximum_added_pages (default zero). Only exact addition_exemptions from the base manifest apply; a candidate cannot authorize its own additions. Renamed and copied destinations count as new paths. Existing-page edits, deletions, non-Markdown files and paths under the base manifest's documentation.generated outputs pass.","examples":[{"after":"{\"base\":[\"README.md\"],\"head\":[\"README.md\"]}","before":"{\"base\":[\"README.md\"],\"head\":[\"README.md\",\"docs/notes.md\"]}","expected_severity":"error","id":"sarj-documentation-added-markdown","language":"json","title":"Update an existing guide instead of adding another page"}],"fix":"Prefer the existing canonical document or native CLI help. Keep private audit artifacts outside source. Review necessary pages using the existing documentation budget; do not rename files or delete required contracts to bypass review. Use --base for branch-wide comparison. No content rewrite or autofix is offered.","kind":"rule","references":[],"rule_id":"repository/documentation/added-markdown","rule_version":1,"slug":"added-markdown","source":{"path":"src/repo_standards/policy_sarj/policy.py","symbol":"repository/documentation/added-markdown"},"title":"Review new Markdown pages against the trusted documentation budget","topic_id":"documentation","why":"New notes, reports and duplicated guides increase review and maintenance noise. Required documentation can justify another page through the trusted base budget or an exact addition exemption; a candidate cannot authorize itself."}
