Repository navigation
feat(permissions): deprecate the Cline command-permissions output - #3510
Merged
dyoshikawa merged 2 commits intoOct 17, 2026
Merged
Conversation
No Cline CLI 3 release reads CLINE_COMMAND_PERMISSIONS. Upstream removed it from the docs (cline/cline@6354d209), and the CLI reference now says the CLI has no allow or deny list for shell commands and points to a PreToolUse hook instead. Warn on every generation of .cline/command-permissions.json, point users to a preToolUse hook for the cline target, and drop the docs citation claiming Cline documents deny precedence. Refs #2405 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012y9fNo2AAJdGocxvsHtDhv
…ine-permissions-deprecation # Conflicts: # src/generated/docs-content.ts
dyoshikawa
deleted the
resolve-issue-2405-cline-permissions-deprecation
branch
October 17, 2026 13:46
This was referenced Oct 17, 2026
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
Refs #2405 (the 2026-10-13 re-check item on the Cline permissions output).
No Cline CLI 3 release reads
CLINE_COMMAND_PERMISSIONS. Upstream commit cline/cline@6354d209 removed it from the docs ("No CLI 3 release reads CLINE_COMMAND_PERMISSIONS"). The CLI reference now says "The CLI has no allow or deny list for shell commands" and recommends aPreToolUsehook. A code search ofcline/clinefinds no remaining reference to the variable.rulesync still wrote
.cline/command-permissions.json, told users to export it, and the docs cited a deny-precedence claim that upstream has deleted.Changes
ClinePermissions.fromRulesyncPermissionsnow logs a deprecation warning on every generation. The warning says current Cline releases do not enforce the file and points users to apreToolUsehook for theclinehooks target.docs/reference/file-formats.md: the Cline permissions paragraph now opens with a deprecation note, and the deleted "Cline documents that deny rules always take precedence" citation is gone. The source comments and the allow/deny collision warning no longer cite that upstream doc.Still open in #2405
.cline/rulesand.cline/workflows. This is optional, since.clinerulesis still read..clineignoreoutput.~/Cline/Rules.🤖 Generated with Claude Code
https://claude.ai/code/session_012y9fNo2AAJdGocxvsHtDhv