Problem
Any write re-serializes the entire file, so a raw diff is unusable for review.
Repro
cp config.Loxone copy.Loxone
lox-cli config add --type memory --title "X" copy.Loxone
diff config.Loxone copy.Loxone | grep -c '^>'
# → ~11,500 changed lines for ONE added block (identical content, re-emitted)
Expected
Either minimal-diff writes (preserve element order/whitespace so only the real change shows), or a prominent doc note that raw diffs are meaningless and config diff/Loxone Config is the review path.
Impact
Users/agents cannot review a change before uploading it to a live house. Trust in add/wire-connector suffers.
Found during an agent-driven analysis session (Claude Code) building multi-room logic on a real config.
Problem
Any write re-serializes the entire file, so a raw
diffis unusable for review.Repro
Expected
Either minimal-diff writes (preserve element order/whitespace so only the real change shows), or a prominent doc note that raw diffs are meaningless and
config diff/Loxone Config is the review path.Impact
Users/agents cannot review a change before uploading it to a live house. Trust in
add/wire-connectorsuffers.Found during an agent-driven analysis session (Claude Code) building multi-room logic on a real config.