[STUDY] JSONL session storage — crash-safe append-only writes #168
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
src/utils/sessionStorage.ts uses JSONL (one JSON object per line, append-only). readHeadAndTail() reads first N and last M lines for fast session browsing. Crash-safe — partial writes dont corrupt the session.
Hermes target: hermes_state.py SessionDB
Estimate: medium
Maps to epic #154, pattern #7.