{"category_id":"repository","default_severity":"warning","description":"Compare whitespace-separated words in every tracked .md and .mdx file, case-insensitively, outside the base manifest's documentation.generated outputs, with the base tree or HEAD for staged checks. Deletions offset additions and unchanged content is neutral wherever it moves. Warn once when net growth exceeds documentation.maximum_added_words from the base manifest (default 150); a candidate cannot raise its own budget.","examples":[{"after":"{\"added_words\":40}","before":"{\"added_words\":400}","expected_severity":"warning","id":"sarj-documentation-markdown-word-growth","language":"json","title":"Replace text instead of appending more"}],"fix":"Trim or replace existing Markdown so net growth fits the budget: delete stale or duplicated text, link the canonical page, or move checkable guidance into rules or CLI help. Raise the base budget in a separate reviewed change when growth is required. Use --base for branch-wide comparison. No autofix.","kind":"rule","references":[],"rule_id":"repository/documentation/markdown-word-growth","rule_version":1,"slug":"markdown-word-growth","source":{"path":"src/repo_standards/policy_sarj/policy.py","symbol":"repository/documentation/markdown-word-growth"},"title":"Keep net tracked Markdown growth within the trusted word budget","topic_id":"documentation","why":"Documentation that only grows accumulates stale and duplicated context that readers and agents must load. A small net budget admits a short update with ordinary changes while larger additions replace existing text."}
