Merge PR #1: Engram write-corruption: chat.el caller fix + full handoff
Deploy Soul to GKE / deploy (push) Failing after 12m33s
Neuron Soul CI / build (push) Failing after 12m43s

This commit is contained in:
2026-06-15 11:29:18 -05:00
2 changed files with 135 additions and 1 deletions
+9 -1
View File
@@ -520,7 +520,15 @@ fn handle_dharma_room_turn(body: String) -> String {
// Record what the soul said not where it was or with whom. Experience
// accumulates in the engram through the content of what was said.
let snap_path: String = state_get("soul_snapshot_path")
let discard_id: String = engram_node(clean_response, "episodic", el_from_float(0.6))
// Record what the soul said as a Conversation node with an Episodic tier. (Was:
// engram_node(content, "episodic", ...) which wrongly put a TIER into the node_type
// slot that's why nodes showed node_type="episodic". Use the full, correct contract.)
let utterance_tags: String = "[\"soul-utterance\",\"episodic\"]"
let discard_id: String = engram_node_full(
clean_response, "Conversation", "soul:utterance",
el_from_float(0.6), el_from_float(0.6), el_from_float(0.8),
"Episodic", utterance_tags
)
if !str_eq(snap_path, "") {
let discard_save: String = engram_save(snap_path)
}