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
query never uses the work memory: a question already answered, asked in other words, starts from scratch #4477
graphify save-result --outcome useful and graphify reflect --graph already record which nodes answered which questions: the .graphify_learning.json sidecar keeps each lesson's provenance questions. graphify query only uses that memory to label nodes (learning=...). It never uses it to decide where to start. So a question that was already answered, asked again in other words by a teammate or the next session, starts from scratch. Keyword seeding often misses it, because the new wording doesn't name the same symbols.
On SWE-bench Lite (12 repos), with the older half of each repo's issues saved as useful answers (question = issue title, cited node = the fixed file) and each one asked again by its issue body, the default query puts the right file first for 26 of 140.
Proposal
Add an opt-in mode that reads the sidecar. Nodes whose useful provenance questions are well covered by the new question's query terms become start nodes ahead of the keyword seeds:
no embeddings, using the same _query_terms;
stale lessons skipped, using the existing code fingerprint;
explicit --seed values never overridden.
In the same setup it puts the right file first for 98 of 140, while new, never-taught questions are unchanged in the top 5. A PR follows.
Activity
github-actions commentedon Oct 15, 2026
Thanks for opening this issue, @devkancheti4-design. 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.