Expand description
Session persistence: one file per review source under .diffler/reviews/,
atomically written, self-gitignored. The legacy single-session file
.diffler/session.json is read once and migrated to reviews/working.json.
Enums§
Functions§
- load
- Working-tree session, the common case.
- load_
all - Every persisted review, for aggregating across sources (e.g. the MCP feed). Ordered by key for deterministic output. A corrupt file fails the whole call rather than silently vanishing.
- load_
source - Load the session for one source. The working tree falls back to the legacy
single-session file when no per-source file exists yet; the file is moved on
the next
save_source. - save
- Persist the working-tree session.
- save_
source - Persist one source’s session atomically (temp file then rename). Migrates the working tree off the legacy file by removing it once the new file lands.