You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add bb thread undelete so an accidental delete can be rescued #3598
Deleted a thread by mistake and wanted it back. BB has no undo, and the CLI has no undelete or restore.
What happens today
bb thread delete removes the thread row and its events outright. The threads table already has a deleted_at column, but nothing uses it. The provider session (Codex rollout, Claude Code JSONL) survives on disk, so recovery is possible, just not through BB. I got mine back by matching the thread-storage folder mtime to a Codex rollout and seeding a new thread with the transcript.
What you would expect
bb thread delete <id> # soft delete: set deleted_at, hide everywhere
bb thread list --deleted # show soft-deleted threads
bb thread undelete <id> # bring it back with its events
bb thread purge <id> # today's hard delete
Optional: auto-purge after a retention window, and a Restore button in the UI.
Applied Type: Feature, Priority: Medium, Effort: High, labels: threads, cli. All fields were missing; no existing values were replaced.
Deletion is explicitly permanent in the trusted source. Recovery adds new behavior involving stored data and thread lifecycle. No report or PR: this is a feature request, outside the bug-fix path.
Activity
bb-slop-cop commentedon Sep 12, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied Type: Feature, Priority: Medium, Effort: High, labels:
threads,cli. All fields were missing; no existing values were replaced.Deletion is explicitly permanent in the trusted source. Recovery adds new behavior involving stored data and thread lifecycle. No report or PR: this is a feature request, outside the bug-fix path.