anthropics / anthropics/claude-code
[BUG] False-positive Usage Policy trigger on benign Jira licensing questions
- Ngôn ngữ chính
- Python
- Star
- 145k
- Fork
- 23.1k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
### Preflight Checklist
- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
### What's Wrong?
Repeatedly hit `API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy` while discussing completely benign internal IT administration topics — specifically, Jira Service Management Agent vs. Customer role licensing, and whether "User access admin" can be granted separately from "Agent" in Atlassian's Grant Access flow. No policy-violating content was involved.
Occurred multiple times in the same conversation, same general topic each time.
Request IDs:
* req_011CedRr8nGMSK7TuF9JUZGJ
* req_011CedS3Yt9jvTWJyVh9p3zf
* req_011CedT6VkapphDVP3tyiF4j
I searched existing issues before filing (title search for "Usage Policy", combined with "false positive", "Jira", "Atlassian licensing", "Grant Access"/"Service Management"/"access admin", and the request IDs above). There are many other Usage Policy false-positive reports on file, but none involving Jira/Atlassian licensing or access-role administration topics, so this appears to be a distinct case.
### What Should Happen?
The requests should complete normally. Discussing Jira Service Management licensing roles (Agent vs. Customer) and whether "User access admin" can be granted independently of "Agent" in Atlassian's Grant Access flow is ordinary IT-administration content and does not violate the Usage Policy. The classifier should not flag this topic.
### Error Messages/Logs
```shell
API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy
```
### Steps to Reproduce
1. Start a conversation with Claude Code about Jira Service Management administration.
2. Ask about the difference between the Agent and Customer roles for licensing purposes.
3. Ask whether the "User access admin" permission can be granted separately from the "Agent" role via Atlassian's Grant Access flow.
4. Continue the conversation on this same general topic.
5. Observe that at some point during the conversation, the request is blocked with: "API Error: Claude Code is unable to respond to this request, which appears to violate our Usage Policy."
This happened multiple times within the same conversation, on the same general topic (Jira licensing/role administration) each time. No policy-violating content was requested or discussed at any point.
### Claude Model
None
### Is this a regression?
I don't know
### Last Working Version
_No response_
### Claude Code Version
Not specified
### Platform
Anthropic API
### Operating System
macOS
### Terminal/Shell
VS Code integrated terminal
### Additional Information
_No response_
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by reproducing the listed Jira Service Management licensing conversation in Claude Code through the Anthropic API, using the reported request IDs and error message as evidence. Done means the benign Agent, Customer, and User access admin questions complete without a Usage Policy block; the payload names no source file or test to inspect.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- api, security
- Loại issue
- Lỗi
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100