How Memory Matures
Engrams does not ship smart — it becomes smart, on your project, at the speed you log to it. The data below is this repository's own knowledge graph measured across five real milestones—showing how daily decision logging evolves from simple contract lookup into active playbook guidance.
23/1
Day 1 · nodes/links
71/29
Day 26 (v0.9) · nodes/links
142/62
v0.12 · nodes/links
318/808
v0.17 · nodes/edges
The evolution of advice
| Stage | Graph | What engrams delivers |
|---|---|---|
| Day 1 | 23 nodes, 1 link | Immediate Token Savings. Decisions capture exact interface contracts via --contract. Even with a single link, the AI avoids opening 300-line source files on prompt #1. |
| Week 1 | 43 nodes, 11 links | Topological Linking. The first reasoning links appear: supersedes and extends. Code nodes extract exported symbols and line counts automatically. engrams relevant surfaces anchored constraints before edits. |
| Month 1 | 71 nodes, 29 links | A Reasoning Web. Policy engine patterns, contradiction gates, and causal chains (graph why). The AI understands why architecture choices were made and what breaks if a dependency changes. |
| v0.12.0 | 142 nodes, 62 manual links | Self-Sufficient Architecture Graph. One-call feature context via brief, convention-aware search, Git staleness drift checks, and PR gates. |
| v0.17.0 (Current) | 318 nodes, 808 edges, 3 Schemas | Active Schema Playbooks. Session-close prompts group 3+ related decisions into human-confirmed playbooks that fire in 1ms via engrams advise—even on brand-new files inside scoped folders. |
Why density is what makes it advice
Retrieval quality scales with records. Advice quality scales with connections:
- More anchors for priming. Every linked decision and pattern is surface area for
engrams primeandengrams relevantto catch on. A file you're about to edit is no longer isolated — it inherits the reasoning of everything anchored to it and everything those nodes link to. - More contradictions to catch. A
supersedeslink is only possible when both decisions exist. Density is what letsengrams checkand the ontology's disjointness rules detect that your new direction conflicts with a settled one — while it is still a staged diff, not a regression. - Longer chains of why. Month 1's web means a question like “why does the policy engine write through to the workspace DB?” resolves through
part_of→ #44 →refines→ the omp-integration decision. Sparse graphs answer questions; dense graphs answer follow-up questions.
The multiplierThe 29 manual reasoning links are only the seed. Engrams materializes derived edges from them — inverses, transitive closures, git co-change topology. The full graph behind these 71 knowledge nodes carries 802 edges: 45 manual, 757 derived, across 67 code nodes. Every link you add is amplified.
The arc is the point
None of this required curation sessions or documentation sprints. The agent logged decisions as they were made and linked them as relationships became clear — and 26 days later the graph had crossed from storage into advice. The cycle that produces this density is short enough to run on every task:The Advisor Loop. To see the graph itself, go back toWhat is an Advisor?