95cb49a8b03441527507dd5c6921b4d0829555b7
1. Missing closing brace on hard_bell block in handle_chat_agentic — safety gate was broken and all subsequent code unreachable. 2. Replace phantom engram_get_node_by_label() (not a runtime builtin) with engram_search_json + exact label filter in all three call sites (chat.el session_preload, session_summary_write, soul.el boot loader). 3. Fix session_summary_autogenerate scoping bug — snippets/count mutations were inside an if block and silently discarded each iteration; moved to top-level of while body using if-expressions per the el mutation rule. 4. Fix agentic session history restore — state_get fallback now calls session_hist_load (session:messages:SESSION_ID) on cold start; persist now uses session_hist_save so the write and read use the same label scheme. 5. Wire soul_prev_session_summary state key into session_preload as primary source, eliminating the dead state write. 6. Wire soul_affective_context state key into handle_chat affective prefix check, eliminating the dead state write. 7. Add session_summary_autogenerate + session_summary_write to the agentic path so users on handle_chat_agentic get session summary continuity. 8. Add import "chat.el" to neuron-api.el to make session_summary_write dependency explicit. 9. Replace corrupted em-dash bytes (\xc3\xa2\xc2\x80\xc2\x94) in session_preload headers with plain hyphen per VOICE RULE. 10. Add newline before return in handle_api_consolidate to fix statement-separator issue. 11. Add delete-before-write to conv_history_persist to prevent unbounded engram accumulation per turn.
Merge pull request 'fix(reliability): safety-resilience' (#39) from improve/reliability-safety-resilience into main
Merge pull request 'fix(reliability): session-boundary' (#41) from improve/reliability-session-boundary into main
Description
Neuron - the canonical CGI substrate. Real soul.el lives here.
23 MiB
Languages
Emacs Lisp
93%
Python
3.3%
Shell
1.8%
HTML
1.3%
Dockerfile
0.6%