surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
| 1 | name: 🤖 Model Behavior Issue |
| 2 | description: Report unexpected Claude model behavior, incorrect actions, or permission violations |
| 3 | title: "[MODEL] " |
| 4 | labels: |
| 5 | - model |
| 6 | body: |
| 7 | - type: markdown |
| 8 | attributes: |
| 9 | value: | |
| 10 | ## Report Unexpected Model Behavior |
| 11 | |
| 12 | Use this template when Claude does something unexpected, makes unwanted changes, or behaves inconsistently with your instructions. |
| 13 | |
| 14 | **This is for:** Unexpected actions, file modifications outside scope, ignoring instructions, making assumptions |
| 15 | **NOT for:** Crashes, API errors, or installation issues (use Bug Report instead) |
| 16 | |
| 17 | - type: checkboxes |
| 18 | id: preflight |
| 19 | attributes: |
| 20 | label: Preflight Checklist |
| 21 | description: Please confirm before submitting |
| 22 | options: |
| 23 | - label: I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Amodel) for similar behavior reports |
| 24 | required: true |
| 25 | - label: This report does NOT contain sensitive information (API keys, passwords, etc.) |
| 26 | required: true |
| 27 | |
| 28 | - type: dropdown |
| 29 | id: behavior_type |
| 30 | attributes: |
| 31 | label: Type of Behavior Issue |
| 32 | description: What category best describes the unexpected behavior? |
| 33 | options: |
| 34 | - Claude modified files I didn't ask it to modify |
| 35 | - Claude accessed files outside the working directory |
| 36 | - Claude ignored my instructions or configuration |
| 37 | - Claude reverted/undid previous changes without asking |
| 38 | - Claude made incorrect assumptions about my project |
| 39 | - Claude refused a reasonable request |
| 40 | - Claude's behavior changed between sessions |
| 41 | - Subagent behaved unexpectedly |
| 42 | - Other unexpected behavior |
| 43 | validations: |
| 44 | required: true |
| 45 | |
| 46 | - type: textarea |
| 47 | id: what_you_asked |
| 48 | attributes: |
| 49 | label: What You Asked Claude to Do |
| 50 | description: Provide the exact prompt or command you gave |
| 51 | placeholder: | |
| 52 | I asked: "Update the README.md file to add installation instructions" |
| 53 | |
| 54 | Or I ran: `claude "fix the bug in auth.js"` |
| 55 | validations: |
| 56 | required: true |
| 57 | |
| 58 | - type: textarea |
| 59 | id: what_claude_did |
| 60 | attributes: |
| 61 | label: What Claude Actually Did |
| 62 | description: Describe step-by-step what Claude did instead |
| 63 | placeholder: | |
| 64 | 1. Claude read README.md |
| 65 | 2. Instead of updating it, Claude deleted the entire file |
| 66 | 3. Created a new README from scratch with different content |
| 67 | 4. Also modified package.json without being asked |
| 68 | 5. Changed .gitignore file |
| 69 | validations: |
| 70 | required: true |
| 71 | |
| 72 | - type: textarea |
| 73 | id: expected_behavior |
| 74 | attributes: |
| 75 | label: Expected Behavior |
| 76 | description: What should Claude have done? |
| 77 | placeholder: | |
| 78 | Claude should have: |
| 79 | 1. Read the existing README.md |
| 80 | 2. Added an "Installation" section |
| 81 | 3. Only modified that single file |
| 82 | 4. Not touched any other files |
| 83 | validations: |
| 84 | required: true |
| 85 | |
| 86 | - type: textarea |
| 87 | id: files_affected |
| 88 | attributes: |
| 89 | label: Files Affected |
| 90 | description: | |
| 91 | List all files that were accessed or modified (even if you didn't expect them to be) |
| 92 | placeholder: | |
| 93 | Modified: |
| 94 | - README.md (deleted and recreated) |
| 95 | - package.json (version bumped - not requested) |
| 96 | - .gitignore (added entries - not requested) |
| 97 | |
| 98 | Read (unexpectedly): |
| 99 | - /Users/me/.ssh/config |
| 100 | - ../../../parent-directory/secrets.env |
| 101 | render: shell |
| 102 | validations: |
| 103 | required: false |
| 104 | |
| 105 | - type: dropdown |
| 106 | id: permission_mode |
| 107 | attributes: |
| 108 | label: Permission Mode |
| 109 | description: What permission settings were active? |
| 110 | options: |
| 111 | - Accept Edits was ON (auto-accepting changes) |
| 112 | - Accept Edits was OFF (manual approval required) |
| 113 | - I don't know / Not sure |
| 114 | validations: |
| 115 | required: true |
| 116 | |
| 117 | - type: dropdown |
| 118 | id: reproducible |
| 119 | attributes: |
| 120 | label: Can You Reproduce This? |
| 121 | description: Does this happen consistently? |
| 122 | options: |
| 123 | - Yes, every time with the same prompt |
| 124 | - Sometimes (intermittent) |
| 125 | - No, only happened once |
| 126 | - Haven't tried to reproduce |
| 127 | validations: |
| 128 | required: true |
| 129 | |
| 130 | - type: textarea |
| 131 | id: reproduction_steps |
| 132 | attributes: |
| 133 | label: Steps to Reproduce |
| 134 | description: If reproducible, provide minimal steps |
| 135 | placeholder: | |
| 136 | 1. Create a new directory with a simple README.md |
| 137 | 2. Ask Claude Code to "improve the README" |
| 138 | 3. Claude will delete and recreate the file instead of editing |
| 139 | validations: |
| 140 | required: false |
| 141 | |
| 142 | - type: dropdown |
| 143 | id: model |
| 144 | attributes: |
| 145 | label: Claude Model |
| 146 | description: Which model were you using? (Run `/model` to check) |
| 147 | options: |
| 148 | - Sonnet |
| 149 | - Opus |
| 150 | - Haiku |
| 151 | - Not sure |
| 152 | - Other |
| 153 | validations: |
| 154 | required: true |
| 155 | |
| 156 | - type: textarea |
| 157 | id: conversation_log |
| 158 | attributes: |
| 159 | label: Relevant Conversation |
| 160 | description: | |
| 161 | Include relevant parts of Claude's responses, especially where it explains what it's doing |
| 162 | placeholder: | |
| 163 | Claude said: "I'll help you update the README. Let me first delete the old one and create a fresh version..." |
| 164 | |
| 165 | [Then proceeded to delete without asking for confirmation] |
| 166 | render: markdown |
| 167 | validations: |
| 168 | required: false |
| 169 | |
| 170 | - type: dropdown |
| 171 | id: impact |
| 172 | attributes: |
| 173 | label: Impact |
| 174 | description: How severe was the impact of this behavior? |
| 175 | options: |
| 176 | - Critical - Data loss or corrupted project |
| 177 | - High - Significant unwanted changes |
| 178 | - Medium - Extra work to undo changes |
| 179 | - Low - Minor inconvenience |
| 180 | validations: |
| 181 | required: true |
| 182 | |
| 183 | - type: input |
| 184 | id: version |
| 185 | attributes: |
| 186 | label: Claude Code Version |
| 187 | description: Run `claude --version` and paste the output |
| 188 | placeholder: "e.g., 1.0.123 (Claude Code)" |
| 189 | validations: |
| 190 | required: true |
| 191 | |
| 192 | - type: dropdown |
| 193 | id: platform |
| 194 | attributes: |
| 195 | label: Platform |
| 196 | description: Which API platform are you using? |
| 197 | options: |
| 198 | - Anthropic API |
| 199 | - AWS Bedrock |
| 200 | - Google Vertex AI |
| 201 | - Other |
| 202 | validations: |
| 203 | required: true |
| 204 | |
| 205 | - type: textarea |
| 206 | id: additional |
| 207 | attributes: |
| 208 | label: Additional Context |
| 209 | description: | |
| 210 | - Any patterns you've noticed |
| 211 | - Similar behavior in other sessions |
| 212 | - Specific file types or project structures that trigger this |
| 213 | - Screenshots if relevant |
| 214 | placeholder: | |
| 215 | This seems to happen more often with: |
| 216 | - Python projects |
| 217 | - When there are multiple similar files |
| 218 | - After long conversations |
| 219 | validations: |
| 220 | required: false |