Bring memory in and take it out
Recover stuck notes
Work can be captured but not yet turned into a note, for example while your note writer was signed out or out of allowance. This page covers how MemIndex catches up on its own, and how to get unstuck when it does not.
Why notes get stuck
Capture and note writing are separate steps. MemIndex saves what your agent did first, then asks your note writer to write notes. If that step cannot run, the captured work waits:
- Your sign-in expired or an API key is missing.
- Your plan or key hit a rate limit or its allowance.
- The background service was stopped or crashed.
Let it catch up
When the cause goes away, MemIndex retries. After a refused sign-in, waiting sessions try again as soon as a changed login or token is found, or after a 30-minute wait. It checks about once a minute. Nothing needs to be re-entered.
Find the cause:
npx memindex doctorThe Note writer row names what is wrong and how to fix it.
Fix it. For a Claude login, run
/loginin Claude Code, or runclaude setup-tokenand put the token in~/.memindex/.envasCLAUDE_CODE_OAUTH_TOKEN.Make sure the service is up:
npx memindex status npx memindex restart
A fallback writer can take over while your chosen one is unavailable. See Several keys and fallback.
Replay Claude Code transcripts
If notes are missing for sessions that already happened, MemIndex can read your saved Claude Code transcripts again. Preview first:
npx memindex transcript import --dry-run
Session 11111111-2222-3333-4444-555555555555 project shop (/work/shop)
prompt 2026-11-10T10:00:00.000Z Fix the login redirect
summary 2026-11-10T10:00:05.000Z Looking at it now.
Would send 1 prompts, 0 tool uses and 1 summaries from 1 sessions (1 sessions read, 0 events already in MemIndex, 0 sessions in excluded folders).
Then run npx memindex transcript import. Add --since or --until with a date and time to limit the range. It is safe to run again: what MemIndex already holds is skipped, and if it stops partway, run the same command to carry on. Projects you excluded are skipped.