Memories form a graph.
A rule supports a decision, a failure derives from a session, one fact contradicts another. ee stores those links and finds the memories many others rest on, and the ones that are a topic's only bridge to the rest.
What the links show.
Five lenses on a toy graph of 22 memories.
The question
Which memories does everything else lean on?
- $ ee graph pagerank --limit 10
- $ ee graph centrality --algorithm pagerank
Rank flows from each memory to the memories it leans on, so it collects in the facts and incidents the rules were built from. In this toy a contradicts link passes no rank.
Highest under this lens
Tap a memory to see its neighborhood.
On demand
Each lens is a command you run over your own store.
Off by default
The features that would change ranking, retention or pack explanations (Pack DNA, proximity, HITS profiles, structural decay), and the knowledge skyline. Each is a graph.feature.* flag.
Not available
Personalized PageRank: a request reports graph_ppr_upstream_unavailable and falls back to textual ranking.
Sources and assumptions
Each algorithm answers a question.
ee config set line that turns it on. Provenance, not the graph, stays the record of where a memory came from.PageRank
Which memories does everything else lean on?
ee graph pagerank --limit 10
HITS
Which memories are hubs that point at good ones, and which are the authorities?
ee graph hits --limit 10
Articulation points
Which single memory, if wrong, cuts a topic off from the rest?
ee graph articulation
Louvain communities
Which memories form a topic, whatever their tags say?
ee graph louvain
k-core
Where is the knowledge dense, and where is it thin?
ee graph k-core --json
Link prediction
Which links are missing? Proposed, never written silently.
ee graph suggest-links --propose
Gomory-Hu proximity
How tightly are two memories bound, and through what?
ee proximity <memory-a> <memory-b> --json
needs ee config set graph.feature.proximity.enabled true
k-truss and contradiction clusters
Which groups of memories hold together, and where do contradictions cluster?
ee health --robot-insights --json
needs ee config set graph.feature.structural_health.enabled true
Causal paths
What chain of events led to this failure?
ee why <memory-id> --causal-explain --json
needs ee config set graph.feature.causal_explain.enabled true
Pack DNA
Why does this pack look the way it does: dominators, communities, ego graphs.
ee pack "<task>" --explain --json
needs ee config set graph.feature.pack_dna.enabled true
Knowledge skyline
The store's posture across layers, communities, trust, age and support.
ee insights --section knowledgeSkyline --json
needs ee config set graph.feature.skyline.enabled true