Files
alzeo/tests
Hasan BasbunarandClaude Opus 5.5 dc7facaa56 oc-merge-limits: an insert keeps the user's comment between "{" and the first member
The code review of v1.56.0 found that set_member() spliced over the gap between an object's "{"
and its first member (or its "}") whenever it consumed that gap, and blank() had turned any
comment there into spaces: `"compaction": { /* mine */ "prune": false }` lost /* mine */ on a v2
install, and `{ // note }` its note, although the file is promised byte for byte apart from our
keys. A commented gap is now kept, the new member put before it; a whitespace gap is consumed as
before (no drift). Test red on the old code (the comment was gone), green now, and a second pass
gives the same text; the other opencode config suites pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:01:46 +01:00
..