render_index emitted a blank line only after a heading or text line, so a
paragraph following an entry that stays in the index was written directly
under the bullet, and Markdown read it as a lazy continuation of the list.
debt_split resolve anchored an added entry to the previous entry of the whole index. When that entry was in another section or another library's file, the new entry was appended to the end of its section instead of being placed before the entry it precedes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
On Windows debt_split rewrote the index and the debt files with CRLF, and resolve staged them that way when core.autocrlf is off. The files are now written through open(..., newline="\n"), which also works on Python 3.9, where Path.write_text has no newline argument.
Co-Authored-By: Claude Opus 5.5 <[email protected]>