anthropics / anthropics/claude-code
[Bug] Excessive API token consumption from instruction non-compliance
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
**Bug Description**
didnt follow intructions, then it burned 30% of my weekly usage
**Environment Info**
- Platform: linux
- Terminal: vscode
- Version: 2.1.270
- Feedback ID: 0ff9b5b1-3caa-42dd-9672-40ddedc39b4b
**Errors**
```json
[{"error":"TelemetrySafeError: task output swap refused (not a regular nlink-1 file): /tmp/claude-1000/-home-pgc-timecloqv4-claude/4a62fd8d-0c7b-449b-a8e9-94f42dd29510/tasks/b7dmu6550.output\n at P (/$bunfs/root/chunk-rv1fshsj.js:16:10536)\n at Mee (/$bunfs/root/chunk-rv1fshsj.js:16:2950)\n at async ble (/$bunfs/root/chunk-rv1fshsj.js:16:7371)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-09-17T03:23:39.302Z"}]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reviewing feedback ID 0ff9b5b1-3caa-42dd-9672-40ddedc39b4b and reproducing on Linux in VS Code with version 2.1.270, focusing on the reported task output swap error. Done means the excessive token consumption and error can be reproduced, explained, and verified as fixed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, vscode
- Domain
- cli, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100