docs(security): document EndConversation as the sanctioned termination path (2.1.214)#1571
Closed
elhoim wants to merge 1 commit into
Closed
docs(security): document EndConversation as the sanctioned termination path (2.1.214)#1571elhoim wants to merge 1 commit into
elhoim wants to merge 1 commit into
Conversation
Owner
|
Ported with credit — a new "Session termination — EndConversation" subsection under L1 with the use/don't-use split and the deferred-load line. The over-application risk you flagged is why the thresholds are stated explicitly rather than just naming the tool. (Closing rather than merging — generated-repo doctrine; the port ships in the next release.) |
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.
Problem
DOCUMENTATION/Security/README.mddocuments the full security model — L1 constitutional rule, L2 native deny-list, L3 safety hook — but says nothing about how a session is ended.EndConversationappears nowhere in the documentation tree.Why it matters
Claude Code 2.1.214 added the
EndConversationtool, giving Claude a sanctioned way to end sessions with abusive users or persistent jailbreak attempts. This matches claude.ai behavior since 2025.Leaving it undocumented has two costs:
There is also a real risk in the other direction. Ending a conversation and declining a request are different actions with different thresholds, and an undocumented tool invites over-application.
Fix
Adds a
### Session termination — EndConversationsubsection under L1 covering:ToolSearch("select:EndConversation")load line, since it ships deferred.Documentation-only change.
Affected versions
Introduced in Claude Code 2.1.214.
Reference: https://www.anthropic.com/research/end-subset-conversations