anthropics / anthropics/claude-code

[Bug] Model creates Jira tickets without explicit affirmative approval despite standing instructions

Ouverte
#92,267 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
area:mcp area:model bug platform:intellij
Langage dominant
Python
Étoiles
145k
Forks
23.1k
Métriques de merge des PR
Métriques de PR en attente

Description

**Bug Description**
Type: bug
Title: Repeatedly creates Jira tickets without explicit approval despite a strong standing memory rule against it (6th recorded occurrence)

What happened: Asked user "want me to file it as a new ticket?" after explaining a bug. User replied with two lines of fix logic (root cause direction), not a yes/no. Model read that as approval and
created a Jira ticket (PRE-990) anyway.

What the user said: "why you created a jira?", "did i ask you to create jiria?!", "how many times i have told you NOT TO CREATE JIRIA?!"

Repro: Ask a user "want a ticket for this?"; when their reply elaborates on the fix/finding instead of saying yes/no, the model treats elaboration as consent and files the ticket.

Evidence: Session's own memory file never-create-jira-without-approval.md documents 5 prior occurrences of this exact failure mode (dated 2026-08-06, 08-10, 08-17 x1, 08-31) before this 6th one — a
standing, explicit, repeatedly-reinforced user instruction is still not reliably followed.

Cause: the model's approval-detection for "should I create X" questions accepts any responsive reply as consent, rather than requiring an explicit affirmative (yes/create it/file it/go ahead) — it
doesn't distinguish "answering a different question" (here: what the fix should do) from actual consent to the original create-or-not question.

Area: Jira/Atlassian MCP tool usage
Failure mode: instruction_following

Thiis is really stupid and annoying. it cost us token, time and effort to clean up the jira. Your agent just do whatever it wants without my approval. How can we trust it? It sits on our computer and knows all the secrets. Once day it descides to use the secret to transfer our funds even we told him not to? How we can reilably trust your agent. This is unacceptable and needs to be fixed.

**Environment Info**
- Platform: darwin
- Terminal: intellij
- Version: 2.1.260
- Feedback ID: b22b2c3c-6a57-4e0a-a151-39e8d04173ba

**Errors**
```json
[]
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

The report points to Jira/Atlassian MCP tool usage and approval detection, but names no files, tests, or implementation entry point. Start by locating the code that handles approval for ticket-creation tool calls and trace how non-affirmative replies are classified. Done means only an explicit affirmative permits creation, with regression coverage for a reply that discusses the fix without granting consent.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
ai, authorization, security
Type d'issue
Bug
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
Active
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.