The store surface store_ingest_result writes through. Every
StoreAdmin has it through the blanket impl below; tests implement it
directly to inject failing writes.
The project a transcript belongs to is the directory directly under the
adapter’s projects root. Nothing below that level is a project: Claude
Code nests subagent transcripts as <session>/subagents/*.jsonl and
Cursor nests its own as agent-transcripts/<session>/*.jsonl, so the
file’s parent directory names the wrong thing for both.
Persists one adapter result: its conversation, every memory whose first
128 characters are not already stored (embedded first when an embedder is
given), a derived_from edge per stored memory, and a mentions edge per
entity whose memory actually landed. Write failures are counted in the
outcome rather than returned, so one bad row does not cost the rest.