dd22130faf39a0f915ff25fbf38e41dc36844f68
1. perceive() guard — gate on engram_search_json before running activation. engram_activate_json with no matching seeds cleared all WM weights every second during idle operation, destroying context built by MCP-layer calls. The search-based guard is a no-WM-side-effect pre-check. 2. emit_heartbeat() pulse field — replace broken if-else string default with int_to_str(pulse_count()). EL codegen initialises inline if-else result slots to 0, producing "pulse":, (invalid JSON) when the true branch fires. 3. proactive_curiosity() — new function that activates a rotating 4-domain seed every beat_interval/2 idle ticks to build working memory between heartbeats. Seeds rotate on wall-clock minute cycle to avoid single-topic WM dominance. Seed selection uses imperative let-rebinding (not inline if-else) to avoid the same EL codegen empty-string bug.
Description
Neuron - the canonical CGI substrate. Real soul.el lives here.
33 MiB
Languages
Emacs Lisp
80.2%
Shell
13.4%
Python
4.2%
HTML
1%
Go Template
0.7%
Other
0.5%