anthropics / anthropics/claude-code

[BUG] False-positive Usage Policy trigger on benign Jira licensing questions

Abierto
#91,335 0 comentarios 0 reacciones 0 asignados Ver en GitHub
api:anthropic area:model bug platform:macos
Lenguaje dominante
Python
Estrellas
145k
Forks
23.1k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

### 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_

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
api, security
Tipo de issue
Error
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.