Archived
self-review 2026-05-15: wire engram_cosine_sim into activation scoring
engram_cosine_sim was defined but never called. Nodes have 768-dim nomic-embed-text vectors. Now: - engram_embed_query() embeds the query string once per activate() call - engram_goal_bias() takes (qvec, qdim) and adds cosine-similarity bonus up to +0.6 when sim > 0.5 — semantic relevance now augments lexical bias - engram_wm_count() exposes working-memory-active node count to EL - el_runtime.h declares engram_wm_count for soul-daemon linking
This commit is contained in:
@@ -618,6 +618,7 @@ el_val_t engram_scan_nodes_by_type_json(el_val_t node_type, el_val_t limit, el_
|
||||
el_val_t engram_neighbors_json(el_val_t node_id, el_val_t max_depth, el_val_t direction);
|
||||
el_val_t engram_activate_json(el_val_t query, el_val_t depth);
|
||||
el_val_t engram_stats_json(void);
|
||||
el_val_t engram_wm_count(void);
|
||||
el_val_t engram_apply_decay_json(void);
|
||||
el_val_t engram_list_layers_json(void);
|
||||
/* engram_compile_layered_json — produce a prompt-ready text block split
|
||||
|
||||
Reference in New Issue
Block a user