copy(permission): soften high-risk card title to 敏感操作申请 - #20
Merged
Conversation
The high-risk permission card stays red and keeps the disabled "always allow" button — the severity signal is load-bearing since it only fires on a narrow destructive set (rm/sudo/eval, system & credential path writes, Feishu destructive deletes). Only the title wording is softened from 高危操作申请 / "high-risk operation request" to 敏感操作申请 / "sensitive operation request" so the card reads as "pay attention" rather than alarming. en/zh kept in sync. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR updates the Feishu permission-approval card copy to reduce alarm while keeping the “high-risk” visual severity and behavior unchanged (red template + no “allow always” for high-risk).
Changes:
- Update zh-CN Feishu high-risk card title from “高危操作申请” to “敏感操作申请”.
- Update en Feishu high-risk card title from “high-risk operation request” to “sensitive operation request”.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
高危权限审批卡的标题从 高危操作申请 / "high-risk operation request" 软化为 敏感操作申请 / "sensitive operation request"。
Why
用户反馈红色 + "高危" 看起来过于吓人。但红色严重度本身是 load-bearing 的——它只在窄的破坏性集合触发(
rm/sudo/eval、系统 & 凭证路径写入、飞书破坏性删除),并且和「禁用"以后都允许"按钮」绑死。降成黄色会让rm -rf和一次普通工具调用视觉上无法区分。所以保留红色 + 保留禁用 always-allow,只软化标题措辞,让卡片读起来是「请留意」而非「高危」。
Scope
只动
src/i18n/locales.ts两个字符串值(zh/en 同步),不动 key、不动_shapeCheck、不动严重度逻辑(high-risk.ts/permission-card.ts的redtemplate 与按钮裁剪均不变)。🤖 Generated with Claude Code