Skip to content

feat(extraction): background extraction with review stack#559

Merged
cpcloud merged 1 commit intomainfrom
worktree-eager-bouncing-lark
Feb 28, 2026
Merged

feat(extraction): background extraction with review stack#559
cpcloud merged 1 commit intomainfrom
worktree-eager-bouncing-lark

Conversation

@cpcloud
Copy link
Copy Markdown
Collaborator

@cpcloud cpcloud commented Feb 27, 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

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 cpcloud merged commit a58a01d into main Feb 28, 2026
38 of 41 checks passed
@cpcloud cpcloud deleted the worktree-eager-bouncing-lark branch February 28, 2026 10:48
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>
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.

feat(ui): background extraction with processing indicator

1 participant