Repository navigation
Description
What happened?
Hi, is the following behavior intended for Ask this session · Pi?
While Pi is applying a correction requested through Plannotator, sending another request stops the current Pi run before I choose either Ask when it finishes or Interrupt and ask now. The busy-choice UI appears, but the work I wanted to wait for has already been interrupted.
Steps to reproduce
- Open an annotate session connected to Pi.
- Use Ask this session to request a correction and let Pi begin working on it.
- While that request is still running, select another passage and send an additional request through Ask AI.
- The current Pi run stops, and Plannotator shows “The session is busy with another turn” with the two choices above. This happens without selecting Interrupt and ask now.
I expected the current correction to keep running until I explicitly chose to interrupt it. Ask when it finishes suggests that the additional request can wait without cancelling the current work. My desired workflow is to keep submitting corrections while Pi works, then have them processed in order, similar to Pi's Alt+Enter follow-up queue.
Example Pi error
When the current run is interrupted in this flow, Pi displays:
Error: This operation was aborted
This appears before I select either busy-choice button.
Possible explanation
In the source inspected at e439758:
useAIChat.ask()aborts the previous request and posts/api/ai/abortbefore submitting the new question.- The Pi bridge's abort handler calls
ctx.abort()when that question has already started. - The new question's wait/interrupt choice is handled afterward.
The installed extension's bundled UI also contains this supersede behavior. Is that policy intended to apply to session-bridge requests, or should the current run remain untouched until Interrupt and ask now is selected?
I checked #1668 and #1703. The latter protects a run after another message enters through the host session, which seems different from submitting another question through Plannotator itself.
If this is a bug, I'd be happy to work on a fix and submit a PR. I'd like to confirm the intended behavior before changing the cancellation or queueing semantics.
Plannotator version
@plannotator/pi-extension 0.28.23. Source comparison against upstream 0.28.25; not a live reproduction on that newer version.
OS
macOS
Agent
Pi 1.3.0
Where did it happen?
Annotate — Ask this session
Activity
backnotprop commentedon Oct 24, 2026
Fixed in #2126.