Repository navigation
fix(plan): allow revision requests from the pending composer - #2581
Merged
Merged
Conversation
Keep the proposal pending while the user edits their draft. Sending a revision rejects the displayed checkpoint before starting a new planning turn in the same session, preserving the explicit approval boundary. Closes vastsa#2576
Match the composer and submission guards to the live Plan checkpoint. Keep Stop available for an empty running turn, retain draft references on plain-text paste, and give the revision action a compact accessible control at narrow widths. Exercise localized toolbar geometry and pending-state regressions. Refs vastsa#2576
Keep the toolbar button padding independent of the shared button rule and verify the rendered glyph has its full aspect ratio. Refs vastsa#2576
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
Closes #2576.
In a local Plan session, users can now type directly into the existing composer while reviewing a proposed plan. The new Send revision request action rejects the displayed proposal and sends the instructions in a new planning turn in the same session. Typing alone leaves the proposal pending. Each version has its own artifact and still requires explicit approval before execution.
The keyboard send shortcut follows the same path. A stale proposal or a competing approval cannot redirect the revision into an execution turn. Failed submissions preserve the draft. An empty composer keeps Stop available while the original turn finishes. Plain-text paste preserves existing draft references outside the selection.
Screenshots
At 640 px and below, the revision button uses a send icon with the full localized tooltip and accessible name. Wider composers display the text label.
Verification
649c3456a. Desktop build, renderer typecheck, architecture check and PR-base check passed.E2E-106-live-agentcase with a controlled local provider. On both clean base and PR head the approved plan ran and produced the expected marker, then the assertion comparing the runtime object IDs before and after approval failed. The new revision case passed in both runs on the PR head. No external model was used.