Expand description
Node lifecycle: access tracking, importance decay, stale tagging, and stats.
Functions§
- compute_
stats - Compute aggregate statistics about the knowledge graph.
- decay_
importance - Gradually decay importance for nodes not accessed in
days. - tag_
stale_ nodes - Tag nodes not updated within
daysas stale by appending “stale” to tags. - touch_
node - Record an access event: increment access_count and update accessed_at.
- touch_
nodes - Batch-touch multiple nodes.