fix(session-journal): recreate removed event log directories
Merged
TH
3d ago+132+132+012345678901234567890123456789-22-22-01234567890123456789
Summary
Recreate missing session event log directories with bounded retries during append and rotation. Keep rotation recovery separate from queue handling. Document that full session directory loss resets cursor indices and requires discarding stored cursors.
Before / after
A file at the session directory path could surface as a rotation failure. Files at that path or at an ancestor now report a mkdir failure. If the directory disappears during either rotation rename, the two queued events are readable in order from cursor 0 after recovery.
Validation
CI is pending for 40bfd7e35e. CI owns tests and checks; no local tests or checks were run.
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.