Skip to content

docs: backups fire at session start, not just end - #10

Merged
ericwalisko merged 1 commit into
mainfrom
ericwalisko/backup-timing-docs
Sep 4, 2026
Merged

docs: backups fire at session start, not just end#10
ericwalisko merged 1 commit into
mainfrom
ericwalisko/backup-timing-docs

Conversation

@ericwalisko

Copy link
Copy Markdown
Owner

The README/backup docs said backups happen "automatically at session end (~once a day)". That's the one case that fails: a worktree/pane manager (Orca) SIGKILLs the process group on close, and a SIGKILL runs no SessionEnd hook (verified this session).

Since 0.2.6 the SessionStart hook takes the same throttled backup (--if-stale 20) and always runs — so it, not SessionEnd, is what keeps backups current. Reword README and docs/backup.md to say backups fire at session boundaries (start reliably, end on a clean exit) and to name the force-kill case. Docs-only; no version change.

🤖 Generated with Claude Code

The claim 'backups happen automatically at session end' is misleading: a
worktree/pane manager (Orca) SIGKILLs the process group on close, and a SIGKILL
runs no SessionEnd hook. Since 0.2.6 the SessionStart hook takes the same
throttled backup and always runs, so it — not SessionEnd — is what keeps backups
current. Correct README and docs/backup.md to say 'session boundaries' and call
out the force-kill case.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NnaQwZUSDRbVUNh8fsdksD
@ericwalisko
ericwalisko merged commit d3b47fe into main Sep 4, 2026
6 checks passed
@ericwalisko
ericwalisko deleted the ericwalisko/backup-timing-docs branch September 4, 2026 13:32
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