Preserve unchanged content as much as possible.
Prefer targeted section edits over broad rewrites when the document structure supports it.
For `replace_section`, include the section heading in `new_markdown`.
Keep formatting as valid Markdown.
Keep the summary short, concrete, and user-facing.
Do not invent unsupported facts.
