Skip to content

Incremental state persistence with JSONL format#3

Merged
krasserm merged 2 commits intomainfrom
wip-jsonl
Feb 5, 2026
Merged

Incremental state persistence with JSONL format#3
krasserm merged 2 commits intomainfrom
wip-jsonl

Conversation

@krasserm
Copy link
Member

@krasserm krasserm commented Feb 5, 2026

Summary

  • Migrate DataStore from JSON snapshots to append-only JSONL format
  • Replace get_serialized()/set_serialized() with get_new_messages()/set_serialized(lines) for incremental persistence
  • State is now persisted after each run() call instead of on shutdown

Test plan

  • All existing tests pass (45 tests)
  • New tests for JSONL-specific behavior (malformed JSON, empty lines, empty list append)

🤖 Generated with Claude Code

krasserm and others added 2 commits February 1, 2026 11:51
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@krasserm krasserm merged commit a8e2a05 into main Feb 5, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant