Anthropic · 29 अप्रैल 2026 · प्रमुख
Git commit message में 'HERMES.md' होने पर Claude Code requests को extra-usage billing पर भेज देता है
संक्षेप में
एक reproducible Claude Code bug में, जब हाल के git commit messages में case-sensitive string 'HERMES.md' मौजूद हो, तो Max-plan के API calls pay-as-you-go billing पर चले जाते हैं। एक reporter के $200.98 extra-usage credits में खर्च हो गए, जबकि उनका 86% plan quota बिना इस्तेमाल के बचा था।
Anthropic · 29 अप्रैल 2026 · 3 जाँचे गए स्रोत

git commit message में एक case-sensitive substring चुपचाप Claude Code को plan quota से extra-usage billing पर ले जाता है।
मुख्य स्पेक्स
| Extra usage billed | $200.98 |
|---|---|
| Plan quota remaining | 86% |
| Hn points | 1,200 |
यह क्या है?
anthropics/claude-code repo पर Issue #53262 (और संबंधित #53171) एक content-routing bug का वर्णन करता है। Claude Code हाल के git commit subjects को अपने system prompt में डालता है; जब इनमें से किसी subject में सटीक byte sequence 'HERMES.md' हो, तो server-side billing classifier उस request को flag कर देता है और उसे चुपचाप user के Max-plan quota की जगह pay-as-you-go credits पर भेज देता है। रिपोर्टर के weekly plan quota में 86%+ बचा दिखने के बावजूद उनके $200.98 extra-usage charges लग गए।
यह कैसे काम करता है?
ट्रिगर 'HERMES.md' का literal substring match है, जो case-sensitive है। 'hermes.md' (lowercase), 'HERMES' (बिना extension के), या 'HERMES.txt' सब सामान्य रूप से route होते हैं। यह string disk पर किसी file में होना ज़रूरी नहीं है, बस हाल के commit subject में हो, और यह bug claude-opus-4-6[1m] और claude-opus-4-7 दोनों पर चलता है। Classifier अप्रैल की शुरुआत में Anthropic द्वारा लागू किए गए harness-detection logic का हिस्सा लगता है, जो Nous Research के Hermes Agent जैसे third-party Claude Code wrappers पर रोक लगाने के लिए बना था। लेकिन substring match बहुत व्यापक है: यह किसी भी कारण से HERMES.md का ज़िक्र करने वाले किसी भी commit को पकड़ लेता है। यह गलत classification users को सिर्फ़ एक भ्रमित करने वाले 400 'out of extra usage' error के रूप में दिखता है।
यह क्यों मायने रखता है?
यह opaque server-side filters का एक स्पष्ट उदाहरण है, जो बिना ऐसी telemetry के billing में घुस जाते हैं जिसे user देख सके। Anthropic का content classifier निर्दोष commit history को harness-usage का संकेत मान रहा है, user से असली पैसे वसूल रहा है, और कारण को quota error के पीछे छिपा रहा है। यह कहानी /r/claudecode discussion में #1 पर पहुँची और Hacker News पर 1,200+ points मिले। Theo (@theo) ने इसे 'genuinely insane that Anthropic will bill you differently if you mention certain words in your prompt' कहा, यानी यह सच में पागलपन है कि आप prompt में कुछ खास शब्द लिखें तो Anthropic आपको अलग दर पर bill करता है। उसी दिन Consumer Rights wiki ने इस पर एक page खोला।
यह किसके लिए है?
Claude Code के Max subscribers, और वे सभी जो Anthropic के CLI को CI/CD में इस्तेमाल करते हैं
