self-review 2026-06-09: add periodic engram sync to soul awareness loop

Soul's in-process store had only 12 real knowledge nodes — curiosity_scan was
activating 0 nodes because all substantive Knowledge/Memory/BacklogItem content
lived in the HTTP Engram but was not being pulled into soul's local store.

Added engram_sync refresh every SOUL_REFRESH_MS (default 600s): calls
/api/sync to get all non-ISE nodes, writes to /tmp, merges via engram_load_merge.
After fix: engram_sync ISE shows added:3128; curiosity_scan activated 0-2 →
1889-3843; wm_active 0 → 557-796.
This commit is contained in:
2026-06-09 08:55:59 -05:00
parent df648a8f0b
commit c81f49d938
3 changed files with 394 additions and 327 deletions
+297 -276
View File
File diff suppressed because it is too large Load Diff