gabriel / muse public
feat main #68 / 100

feat: add line numbers to diff child ops and fix move+edit symbols

Line numbers - Every child op summary now includes the source range as `L{start}–{end}` appended inline (e.g. `added function add L4–8`). Data was already present on SymbolRecord; this threads it through to the display layer.

Move+edit address normalisation - When diffing a renamed+edited file pair, strip the file-path prefix off both trees before calling diff_symbol_trees so that `math_utils.py::add` and `core_math.py::add` normalise to `add` on both sides. Previously every symbol looked deleted-and-added, producing spurious "moved to <name>" entries for functions that were in fact unchanged across the rename.

G Gabriel Cardona <gabriel@tellurstori.com> · 3d ago Mar 21, 2026 · 0637707c · parent 1afd410c
2
files changed
343
files in snapshot
Files Changed 343 in snapshot
~2

0 comments

No comments yet. Be the first to start the discussion.