From c2afcbddf534bb4cf9b679e71f136520776f7dd3 Mon Sep 17 00:00:00 2001 From: Tim Lingo Date: Wed, 10 Jun 2026 06:26:25 -0500 Subject: [PATCH] fix(engram): allow SessionSummary node_type in validation allowlist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit handle_api_consolidate writes a "SessionSummary" node, but engram_valid_node_type omitted it — so once this validation ships, every consolidate() would be silently REJECTED at the engram boundary. Add SessionSummary to the allowlist. Found in Will's PR review of neuron #1 / el #52. Co-Authored-By: Claude Opus 4.8 --- lang/runtime/engram.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/runtime/engram.el b/lang/runtime/engram.el index 08930f0..60015cd 100644 --- a/lang/runtime/engram.el +++ b/lang/runtime/engram.el @@ -17,6 +17,7 @@ fn engram_valid_node_type(t: String) -> Bool { || str_eq(t, "Artifact") || str_eq(t, "Conversation") || str_eq(t, "ExecutionContext") || str_eq(t, "InternalStateEvent") || str_eq(t, "Self") || str_eq(t, "Entity") || str_eq(t, "Process") || str_eq(t, "ConfigEntry") || str_eq(t, "Concept") || str_eq(t, "Imprint") + || str_eq(t, "SessionSummary") } fn engram_valid_tier(t: String) -> Bool {