Commit Graph
3 Commits
Author SHA1 Message Date
Ole André Vadla Ravnås c9fc806c10 Persist event log as a single file
events/ → events.log; EventStore takes a file URL directly. Open
copies follow the new name.
2026-05-20 19:16:41 +02:00
Ole André Vadla Ravnås 9d3cd786b8 Quiet stray var/unused-result warnings
- record_finding's MissionFinding local: var → let
- OpenAI request builder's messages: var → let
- EventStore.appendBytes: discard seekToEnd offset
- LumaGtk MainWindow: discard addObserver return
2026-05-10 23:33:43 +02:00
Ole André Vadla Ravnås 704f6e05bc core: Persist event log across runs
Length-prefixed JSON log at events.log next to db.sqlite,
configurable byte cap with rolling compaction. Replays on
Engine.start.

toLogJSON/fromLogJSON carry the .raw payload and sessionID
that wire JSON drops. EventLog flushes a pendingPersist
queue so the visible-window trim can't drop events.
2026-05-10 15:45:27 +02:00