const MEMORY_EDGE_EXPANSION_WEIGHTS: Record = { derives_from: 0.2, supports: 0.18, applies_to: 0.14, mentions: 0.08, }; export function isSupportiveMemoryEdge(relation: string): boolean { return memoryEdgeExpansionWeight(relation) > 0; } export function memoryEdgeExpansionWeight(relation: string): number { return MEMORY_EDGE_EXPANSION_WEIGHTS[relation] ?? 0; }