b2008f4894c615bcb4c4b202bd2b6fe2e9c1a2b2
Neuron Soul CI / build (pull_request) Successful in 5m36s
- auto_persist: detect bell level (soft/hard) on every user message using safety_detect_bell_level; write a dedicated BellEvent engram node with calibrated salience alongside the Conversation node when a bell fires. Tag the Conversation node with bell:soft/bell:hard and 'affective' for direct discovery without scanning all chat nodes. - auto_persist: track per-session bell count, dominant level, and last signal in state (session_bell_count/level/signal keys) so downstream functions can act on the emotional history without re-scanning engram. - engram_compile: include the top-1 most recent BellEvent node within 72h in every context build. Distress context from earlier turns (same or recent session) automatically travels into all subsequent LLM calls. - hist_trim_with_bell_guard: replace hist_trim at the handle_chat call site. Before evicting the oldest turn from the 20-turn window, inspect the user message for bell signals. If a bell was present, write a preservation BellEvent to engram before dropping the turn so the full message survives the rolling window. - session_hist_save: after writing the history node, check session bell counters. On the first save where bell_count > 0, write a session:emotional-summary BellEvent node with distress signal, count, and dominant level. A state flag prevents duplicate writes on subsequent saves in the same session.
Description
Neuron - the canonical CGI substrate. Real soul.el lives here.
22 MiB
Languages
Emacs Lisp
93%
Python
3.3%
Shell
1.8%
HTML
1.3%
Dockerfile
0.6%