consciousness/poc-memory/src/store
Kent Overstreet 9775d468b2 persist: disable rewrite_store() — it destroyed append-only log history
rewrite_store() used File::create() to truncate and overwrite the
entire nodes.capnp log with only the latest version of each node
from the in-memory store. This destroyed all historical versions
and made no backup. Worse, any node missing from the in-memory
store due to a loading bug would be permanently lost.

strip_md_keys() now appends migrated nodes to the existing log
instead of rewriting it. The dead function is kept with a warning
comment explaining what went wrong.

Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
2026-03-17 17:53:11 -04:00
..
mod.rs agents: deduplicate timestamps, plan expansion, rename agent 2026-03-10 17:48:00 -04:00
ops.rs feedback: not-relevant/not-useful commands, edge strength adjustment 2026-03-14 12:14:17 -04:00
parse.rs split into workspace: poc-memory and poc-daemon subcrates 2026-03-08 20:43:59 -04:00
persist.rs persist: disable rewrite_store() — it destroyed append-only log history 2026-03-17 17:53:11 -04:00
types.rs transcript progress: capnp append-only log replaces stub nodes 2026-03-16 17:40:32 -04:00
view.rs graph: add implicit temporal edges between episodic nodes 2026-03-14 02:40:00 -04:00