5ddb8602015cb552e29f8617a88337691026782f
Genesis boot previously seeded a fresh identity and saved it over snapshot.json whenever the in-memory graph looked empty. Replace the fixed node-count threshold with a ratio guard: refuse to seed when the on-disk snapshot is large (>200KB) but the loaded graph is sparse (< disk/16000 nodes). KNOWN LIMITATION: this gates only the seed/pre-serve-save path. The deeper cause is a non-atomic engram_save (fopen wb truncates to 0 before writing 47MB), which creates a window where a concurrent load reads an empty file -> genesis -> and if guard_disk is read in that same window the guard passes. The real fix is an atomic engram_save (temp + fsync + rename) in el_runtime.c, tracked separately. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Merge pull request 'fix(sessions): unify dual suspension systems, wire approve to agentic_resume' (#18) from fix/agentic-tool-approval-unification into main
Description
Neuron - the canonical CGI substrate. Real soul.el lives here.
16 MiB
Languages
Emacs Lisp
91.1%
Python
3.9%
Shell
2.1%
HTML
1.5%
Dockerfile
1.4%