Repository navigation
Fix quote-block Shift+Enter caret at position 0; correct stale find_skills comments - #4303
Merged
Merged
Conversation
…kills comments Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
mstomar125
force-pushed
the
issue-4286-leftovers
branch
from
November 19, 2026 06:49
7867d91 to
57ad189
Compare
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.
Closes #4286
insertQuoteLineBreakcomputed the line start withlastIndexOf('\n', start - 1), which forstart === 0finds a newline at index 0 and treats the caret as being on line 2. With a block that starts with an empty line and the caret at 0, the caret landed one line too far. Nowstart === 0 ? 0 : .... New vitest case fails without the fix and passes with it.packages/agent/src/local_agent/tools.rs(the doc onis_system_only_tooland the test comment insearch_skills_stays_in_the_registry_for_external_agents): they referred to an MCPfind_skillshandler that no longer exists. They now say routing renders retrieved candidates into the prompt,search_skillsis withheld from the model, and external agents usenodespace skill guidance. The user approved editing these two comments inpackages/agentonly; there is no code change there (the diff there is comment lines only).Tests: vitest quote-block-shift-enter 12/12; reverting the fix makes the new test fail (mutation check). Pre-push gate passed.
🤖 Generated with Claude Code