docs(global-settings): finish the toast correction, harden the CLI-path snippet - #718
Open
WilcoLouwerse wants to merge 1 commit into
Open
docs(global-settings): finish the toast correction, harden the CLI-path snippet#718WilcoLouwerse wants to merge 1 commit into
WilcoLouwerse wants to merge 1 commit into
Conversation
…th snippet Two findings from the Quick re-review of this PR: - The one-session-switch paragraph still said the EPERM toast follows a typed /model, contradicting the table two screens up (which the previous commit did correct). Say instead that "for this session only" IS Claude Code reporting the refused persist, and that the picker is what raises the toast. - The PATH fallback used an unquoted glob in a command substitution. VSCode keeps several extension versions during an upgrade, so with two installed the glob expands to two paths and the snippet breaks. Verified: two matching dirs give 2 words with the old form, 1 with 'ls -1d … | tail -1'. Co-Authored-By: Claude Fable 5.1 <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.
What
Two findings from the Quick re-review of #701. That PR merged while the re-review was still running, so its fixes could not ride along and land here instead.
1. The doc contradicted itself on its own central claim
#701's first round flagged that the
Failed to set model: EPERMtoast comes from the model picker, not from a typed/model. The fix commit corrected the comparison table but missed the "Switching to another model for one session" paragraph two screens down, which still read:So the merged doc explains the mechanism one way in the table and the opposite way in the prose. Corrected here: the "for this session only" wording is Claude Code reporting the refused persist, and the picker is what raises the toast with no switch at all.
2. The CLI-path fallback broke with two extension versions installed
The verification recipe used an unquoted glob inside a command substitution:
CLAUDE="$(command -v claude || echo ~/.vscode-server/extensions/anthropic.claude-code-*/resources/native-binary/claude)"VSCode keeps several extension versions during an upgrade — this machine currently has
2.1.260and2.1.263side by side. As soon as two of them ship the binary, the glob expands to two paths,$CLAUDEholds both, and every later use fails. Verified against two matching directories:Now uses
ls -1d … | tail -1, which yields exactly one path (the newest) regardless of how many versions are present.No VERSION bump
Docs-only —
docs/claude/global-claude-settings.mdis the single changed file and nothing underglobal-settings/is touched, so no installed artifact changes. This is exactly the case #701 amended the bump policy to cover.Related
v2.4.3), which does bump VERSION because it changes an installed artifact.🤖 Generated with Claude Code