Files
splinter/src
lotherk 6240f3f72a session: /rm removes the embedding index too
sp_session_delete() unlinked the .jsonl, meta, agent, model and the logs, but
not emb/<id>.emb. The index is derived data, yet it holds a copy of the
conversation text and 42 MB had piled up in ~/.splinter: 41 orphaned files
whose session was long gone. A delete that leaves a searchable copy of the
deleted session behind is also the wrong promise.

tests/test_session.c creates emb/s1.emb, removes the session and checks the
file is gone: red before (access(F_OK) == 0), green after. make check: all
tests passed, rc 0.
2026-11-23 00:13:49 +00:00
..