Files
Trevin Chow c5d277f4f1 fix(ce-compound): cite code by name and check it against the tree the learning merges with
Learnings cited code as file:line, so every refresh rewrote line numbers
after unrelated edits moved code. Grounding checked those citations against
the local working tree, which in a workspace holding other unmerged branches
gave numbers that were wrong on the base branch.

Capture now cites the file plus the function, class, or config key, using a
line number only when no name identifies the spot. Grounding verifies code
claims against the code the learning will merge with and tells its validator
which tree that is. Refresh judges citations against the default branch and
replaces a moved line number with the symbol instead of a new number.

Fixes #2083
2026-11-19 17:42:57 -08:00
..