Skip to content

[FEAT] PR-aware restore + branch preview - #10

Merged
haimbj1 merged 2 commits into
mainfrom
feat/pr-aware-restore
Sep 14, 2026
Merged

haimbj1 merged 2 commits into
mainfrom
feat/pr-aware-restore

Conversation

@haimbj1

@haimbj1 haimbj1 commented Sep 14, 2026

Copy link
Copy Markdown
Owner

What

  • The ledger now stores each session's refs (from its status note). A dead entry keeps its last refs.
  • A PR row whose owner session died shows "⟲ Restore · " instead of "Start session" — one click resumes the exact session, context intact. Match: repo-qualified ref, bare #N, then worktree path. Ended-session rows show ref pills.
  • preview.sh [port]: run any branch on its own port against a snapshot copy of the real data. The live service stays untouched; Ctrl-C cleans up. This is how UI PRs get seen before merge.

Why

After a reboot the owner could not tell which ended session belonged to which PR, and had no way to see a UI change before merging it.

@haimbj1
haimbj1 merged commit 3687ec3 into main Sep 14, 2026
1 check passed
@haimbj1
haimbj1 deleted the feat/pr-aware-restore branch September 14, 2026 07:15
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