3 ms·
All sessions are located in the `~/.claude/projects/foldername` subdirectory.
by joemazerino 9mo ago
All sessions are located in the `~/.claude/projects/foldername` subdirectory.
- ukuina 9mo agoDoesn't it lose prompts prior to the latest compaction?
- onedognight 9mo agoIt’s loses them in the current context (say 200k tokens), not in its SQLite history db (limited by your local storage).
- neomantra 9mo agoI did not know it was SQLite, thx for noting. That gives the idea to make an MCP server or Skill or classical script which can slurp those and make a PROMPTS.md or answer other questions via SQL. Will try that this week.
- jitl 9mo agoI’ve sent Claude back to look at the transcript file from before compaction. It was pretty bad at it but did eventually recover the prompt and solution from the jsonl file.
- joemazerino 9mo agoIt doesn't lose the prompt but slowly drains out of context. Use the PreCompact hook to write a summary.