anthropics / anthropics/claude-code
[Bug] Anthropic API Error: Fable 5.1 safety filter triggered on HTML escaping operations
- Dominant language
- Python
- Stars
- 145k
- Forks
- 23.1k
- PR merge metrics
- PR metrics pending
Description
**Bug Description**
在維護自己的code時處理一些html的轉譯和跳脫偵測處理,常常出現Fable 5.1's safeguards flagged this message.
**Environment Info**
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.274
- Feedback ID: f6568a87-cd54-4bb0-be97-02d55761a0af
**Errors**
```json
[{"error":"TelemetrySafeError: task output swap refused (output is an unregistered symlink made during this session): /private/tmp/claude-501/-Users-scl-web-worktrees-xxx-upgrade/7358065b-f89e-4362-8fa4-0dab3d746da1/tasks/a63741f1135acd7ab.output\n at w (/$bunfs/root/chunk-k19rjs18.js:16:10476)\n at ct (/$bunfs/root/chunk-k19rjs18.js:16:3524)\n at async J (/$bunfs/root/chunk-k19rjs18.js:16:3778)\n at async jse (/$bunfs/root/chunk-k19rjs18.js:16:2858)\n at async IKn (/$bunfs/root/chunk-k19rjs18.js:15:2182)\n at async DVn (/$bunfs/root/chunk-dmb7fad3.js:2746:27961)\n at async HRs (/$bunfs/root/chunk-dmb7fad3.js:3834:4811)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-09-17T03:25:57.339Z"},{"error":"TelemetrySafeError: task output swap refused (output is an unregistered symlink made during this session): /private/tmp/claude-501/-Users-scl-web-worktrees-xxx-upgrade/7358065b-f89e-4362-8fa4-0dab3d746da1/tasks/a63741f1135acd7ab.output\n at w (/$bunfs/root/chunk-k19rjs18.js:16:10476)\n at ct (/$bunfs/root/chunk-k19rjs18.js:16:3524)\n at async J (/$bunfs/root/chunk-k19rjs18.js:16:3778)\n at async jse (/$bunfs/root/chunk-k19rjs18.js:16:2858)\n at async IKn (/$bunfs/root/chunk-k19rjs18.js:15:2182)\n at async DVn (/$bunfs/root/chunk-dmb7fad3.js:2746:27961)\n at async HRs (/$bunfs/root/chunk-dmb7fad3.js:3834:4811)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-09-17T03:25:57.341Z"}]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The report identifies no repository file, test, or source entry point; it only provides the HTML-escaping context, environment details, and a TelemetrySafeError stack from bundled Bun files. Start by reproducing the failure on darwin with the reported operation and capture whether the same output-swap error occurs; done requires a confirmed project-side cause and regression coverage or a documented external limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- cli, security, tooling
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100