- Updated boundary repair to skip dropping closing suffix lines when the replacement payload already restates them.
- Added a helper that checks whether a replacement payload ends with the same trailing deleted lines before sparing structural closers.
- Added a boundary repair test that confirms a replacement preserving an internal closer produces no duplicate closer or warning.