You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Semantic cache replay loses same-source edges without an explicit source path #5616
An unattributed semantic edge can survive graph assembly and disappear on the next cache-backed build.
Reproduction
On Graphify 0.9.123 with Python 3.14, create a.md, then save a semantic extraction using save_semantic_cache. Include nodes one and two with source_file: "a.md", and a references edge between them with confidence: "EXTRACTED" and no source_file. Read the entry back via check_semantic_cache.
A graph built directly from the extraction keeps the edge and fills its source path from the endpoints. Cache replay returns both nodes and no edge. The cache groups edges only by explicit source path.
Recover the owner when both attached nodes identify the same unambiguous source file. Keep the existing allowlist and dangling-reference checks in force, and leave edges with ambiguous ownership uncached.
Activity
github-actions commentedon Nov 29, 2026
Thanks for opening this issue, @sdivyanshu90. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
fix(cache): retain unattributed same-file semantic edges