docs: capture CC edit-diff collapse; rename row to "Collapsed Write lines" (CLFY-23) #56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "clfy-23-collapse-write-scope"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Capture
CLFY-23 asked whether to make edit/Update rows honour "Collapsed diff lines," and flagged that Option 1 needed a capture of Claude Code's actual collapsed Update height first (capture-don't-guess). I drove Claude Code 2.1.212 in tmux and forced single Edit calls rewriting 50- and 130-line files.
Result: Claude Code does not collapse edit diffs at all — it renders them in full. No
… +N lines, noctrl+r to expand, no pager, at either size. (The earlier "History 2/2" was Claude Code's input-history indicator from my own Up-arrow presses, not a diff pager.) Full write-up:docs/plans/2026-07-17-cc-edit-diff-collapse.md.So there is no CC "collapsed Update height" to match — the premise behind Option 1's blocker dissolves.
Decision — "which is most like CC? do that one"
Since CC shows diffs in full, the option that shows more of the diff is closer to CC. That's claudify's existing larger edit budget (32) — not collapsing edits down to the setting's default of 10, which would move Update rows away from CC. So:
"Collapsed diff lines"→"Collapsed Write lines", so its name stops implying it governs Update rows. The description was already Write-scoped (CLFY-22); this aligns the label. ThediffCollapsedLinessettings key is unchanged — existing configs keep working.Trade-off, stated plainly: the setting still doesn't affect Update rows — but that's now honest, and it's the CC-faithful outcome (CC never compacts edit diffs). Option 1 (a unified compaction knob) stays available as a future choice if claudify ever prioritises that over CC fidelity.
Test plan
bun run test— 15/15 suites green (hub test updated to the new label)tsc --strictcleanCloses CLFY-23