feat(extraction): background extraction with review stack#559
Merged
Conversation
Allow users to press ctrl+b during extraction to background it and continue working. Background extractions run to completion with a status bar indicator showing running/ready counts. Completed extractions stay in a review stack until the user foregrounds them (ctrl+b in normal mode) and explicitly accepts or discards. - Add unique ID to each extraction for message routing - Route progress/LLM messages via findExtraction(id) to support concurrent foreground + background extractions - Auto-background existing extraction when a new one starts - Extend spinner ticking to background extractions - Cancel all extractions on ctrl+q/ctrl+c - 17 user-flow tests covering the full lifecycle closes #490 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cpcloud
added a commit
that referenced
this pull request
Mar 19, 2026
## Summary - `ctrl+b` in the extraction overlay backgrounds a running extraction so the user can continue working - `ctrl+b` in normal/edit mode foregrounds the most recent background extraction for review - Completed background extractions stay in a review stack (no auto-accept) -- user must foreground and explicitly accept or discard - Status bar shows running (`N extracting` with spinner) and completed (`N ready`) background extraction counts - Each extraction gets a unique ID for message routing, enabling concurrent foreground + background processing - New extraction auto-backgrounds any existing foreground extraction instead of cancelling it - `ctrl+q` / `ctrl+c` cancel all foreground and background extractions - 17 user-flow tests covering background, foreground, completion, errors, concurrency, spinner ticking, and cancellation closes #490 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ctrl+bin the extraction overlay backgrounds a running extraction so the user can continue workingctrl+bin normal/edit mode foregrounds the most recent background extraction for reviewN extractingwith spinner) and completed (N ready) background extraction countsctrl+q/ctrl+ccancel all foreground and background extractionscloses #490