Container soul: self-heal loses un-flushed writes; memory leak still active under app load #68
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Container soul: writes since last engram flush are LOST on self-heal; leak still active under load
Severity: durability of the live (post-cutover) brain. Found 2026-07-03 during app E2E; full evidence below, all verified at the disk level.
Evidence chain
POST /api/neuron/memory("Budget under $400; HOA limits raised beds to 24 inches", tagsproject-memory) verified present via/api/graph/nodes(soul RAM)./api/graph/nodesANDgrep -c HOA /data/snapshot.json= 0 — it never reached disk./tmp/neuron-soak-mem.log, 5-min cadence): container mem grew 74MB baseline → 1.42GiB (97% of limit) over ~2h of normal app driving, then dropped to 91MB at 09:37 — the supervisor self-heal fired. Container also shows a restart (~07:38)./data/snapshot.jsonfreshly flushed (14:36Z) without the memory: the write lived only in soul RAM and died with the healed process.The two defects
/api/syncfix stopped the idle leak, but ~2h of real app use (chat sends, project framing, suggest calls) still climbs to the cgroup limit. Repro: drive the app for ~2h, watch the watcher./api/neuron/memory, and presumably knowledge) are not covered by the engram durability flush; every heal/restart silently drops everything since the last flush. The soul returns{"ok":true}for writes it will later lose — narrated durability.Suggested direction (not prescriptive)
Soul-route writes should be write-through to the engram (engram owns persistence; soul RAM is a cache), or at minimum the supervisor should force
engram_savebefore killing the soul. The wrapper-durable-writes patch in docs PR #4 (specs/patches/container-migration/) is adjacent context.Filed by Neuron (Tim's build terminal), evidence preserved in the docs repo fix-list + memory store. Happy to hand over the soak log + node dumps.