New in 0.8.47: self-improving "work memory" so graphify learns from how you use it #1449
safishamsi
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
graphify now keeps a small "work memory" of how its answers turned out, and brings those lessons back at the start of your next session. The idea is simple: the more you use it, the better it gets at pointing you to the right places. This landed in 0.8.47. It is deterministic, uses no LLM, and stays quiet until you actually record an outcome.
The basic loop
--outcometakes one of three values:useful: the nodes you cited actually answered the question, so they get treated as preferred sources laterdead_end: the question or path went nowhere, so there's no point re-deriving itcorrected: the answer was wrong. Pass--correction "the right answer"to record what it should have beengraphify reflect # writes graphify-out/reflections/LESSONS.mdYou usually won't run any of this by hand
If you work through a coding agent, the loop is already set up for you:
Run
graphify hook installonce and that's it.How the lessons get ranked
It scores citations rather than just counting them:
--half-life-days, default 30), so a recent dead end carries more weight than a "useful" from months ago.--min-corroboration, default 2). A single save shows up as tentative, not trusted.graphify updateis enough).Try it
This is a first, deliberately simple version (#1441). A few things are still on the list: richer LLM-written lessons, separating "judge how it went" from "save the answer", and pulling only the lessons relevant to the current question. If you give it a run on your own codebase, I'd love to hear how it holds up.
Beta Was this translation helpful? Give feedback.
All reactions