Files
graphify/tests
Ryan Peterson b117a6e420 fix(watch): keep code-span mention edges through a rebuild over an existing graph
_reconcile_markdown_links treats every AST-tier references edge owned by a re-parsed
Markdown file as an authored [link](file) and prunes any pair it did not author. A code-span
mention is also a references edge owned by its document, so a plain `graphify update` over
an existing graph, with or without changes, dropped every mention edge; only a build from
scratch kept them.

A mention targets a code symbol, never a file representative, so the reconcile now leaves
those edges to the AST ownership rule: re-extracting the document regenerates them and
re-extracting the code side keeps or drops them with the target node.

(cherry picked from commit 73cf2ae56c)
2026-09-16 14:50:54 +01:00
..